/* =========================================
   VARIABLES Y PALETA DE COLORES
========================================= */
:root {
    --color-beige-calido: #E8DCC4;
    --color-tierra-suave: #A68A6E;
    --color-blanco-hueso: #F7F5F0;
    --color-rosa-antiguo: #C09A98;
    --color-negro-profundo: #1A1A1A;
    --font-titulos: 'Cormorant Garamond', serif;
    --font-cuerpo: 'Montserrat', sans-serif;
}

body {
    background-color: var(--color-blanco-hueso);
    color: var(--color-negro-profundo);
    font-family: var(--font-cuerpo);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   NAVBAR (Transparente y minimalista)
========================================= */
.navbar-ritual {
    background: transparent;
    transition: background 0.4s ease;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar-ritual .nav-link {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
}

/* =========================================
   HERO SECTION (Video Background)
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* 100vh en desktop */
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh; /* 80vh en móvil */
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.25); /* Overlay oscuro muy sutil */
    z-index: -1;
}

/* Tipografía del Hero */
.hero-title {
    font-family: var(--font-titulos);
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: 0.15em;
    font-weight: 300;
}

.hero-subtitle {
    font-family: var(--font-cuerpo);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 1px;
    font-weight: 300;
}

.hero-subtitle-en {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* =========================================
   BOTONES PERSONALIZADOS
========================================= */
.btn-ritual {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.8rem 2.5rem;
    font-family: var(--font-cuerpo);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0; /* Sin bordes redondeados estándar */
    transition: all 0.3s ease;
}

.btn-ritual:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* =========================================
   COMPORTAMIENTO GLOBAL
========================================= */
html {
    scroll-behavior: smooth; /* Hace que el salto del click sea fluido */
}

/* =========================================
   SCROLL NAVBAR (Efecto de transición)
========================================= */
.nav-text-color {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

/* Esta clase se añadirá por JavaScript al hacer scroll */
.navbar-scrolled {
    background-color: var(--color-blanco-hueso) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Sombra muy sutil */
}

.navbar-scrolled .nav-text-color {
    color: var(--color-negro-profundo) !important;
}

.navbar-scrolled .navbar-toggler-icon {
    filter: invert(0) !important; /* Vuelve el icono de hamburguesa oscuro */
}

/* =========================================
   SECCIÓN MI CAMINAR (Biografía)
========================================= */
.mi-caminar-section {
    padding: 150px 0; /* Mucho espacio en blanco / aire visual */
    background-color: var(--color-blanco-hueso);
}

.section-title {
    font-family: var(--font-titulos);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: 2px;
    font-weight: 300;
}

.bio-profesional p {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.bio-poetica p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic; /* Toque poético */
}

.elegant-divider {
    width: 50px;
    border-top: 1px solid var(--color-tierra-suave);
    opacity: 1;
}

.image-frame {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-tierra-suave);
    z-index: 1;
}

.bio-img {
    position: relative;
    z-index: 2;
    width: 100%;
    filter: grayscale(20%) contrast(110%); /* Sobriedad editorial */
}

/* Botón versión oscura */
.btn-ritual-dark {
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.8rem 2rem;
    border-color: var(--color-negro-profundo);
    transition: all 0.3s ease;
}