/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Libre Bodoni', serif;
    color: #fff;
    overflow-x: hidden;
    overscroll-behavior: none;
}

/* Estilos para GSAP ScrollSmoother */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.boton-principal {
    display: flex;
    padding: 16px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    background: #B48C09;
    font-family: 'Bodoni Moda', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.14px;
    color: #fff;
    text-decoration: none;
}

.boton-principal:hover {
    background: #939391;
    color: #fff;
    transition: all 0.3s ease;
}

#smooth-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#smooth-content {
    width: 100%;
    min-height: 100vh;
    will-change: transform;
}

/* Contenedor principal del hero */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 987px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Fondo del hero con overlay */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000; /* Placeholder para el video */
    overflow: hidden;
    /* Aseguramos que el contenedor del video no se anime con el scroll */
    transform: none !important;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Fijamos el video para que no se anime con el scroll */
    will-change: auto !important;
    backface-visibility: visible !important;
    /* Mantenemos solo un transform para el zoom inicial */
    transform: scale(1.05) !important; /* Ligero zoom inicial */
}

/* Clases para elementos que no deben tener animación de scroll */
.no-scroll-animation,
.gsap-no-transform {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

/* Asegurarse de que GSAP no transforme estos elementos */
.gsap-no-transform {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay negro con 60% de opacidad */
}

/* Header y navegación */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5rem;
    width: 100%;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

/* Contenido central del hero */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    flex-grow: 1;
    gap: 10rem;
}

.hero-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    margin-top: -5rem; /* Ajuste para centrar visualmente */
}

.title-frame {
    width: 100%;
    max-width: 1042px;
}

.hero-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 85%; /* 85px */
    letter-spacing: -6px;
    color: #C3B59B;
    font-style: italic;
}

.hero-title .highlight {
    color: #F7EDD9;
    font-style: normal;
}

.subtitle-frame {
    width: 100%;
    max-width: 1042px;
}

.hero-subtitle {
    font-family: 'Libre Bodoni', serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 85%; /* 85px */
    letter-spacing: -6px;
    color: #C3B59B;
    font-style: italic;
}

.hero-subtitle .highlight {
    color: #F7EDD9;
    font-style: normal;
}

/* Footer del hero */
.hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 445px;
    max-width: 90%;
}

.hero-footer .description {
    font-family: "Libre Bodoni";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 111%; /* 33.3px */ 
    text-align: center;
}

.hero-footer.logo-footer {
    width: 104px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Animaciones para los títulos con efecto elegante de fade y movimiento */
.hero-title, .hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

.hero-title.animate {
    animation: elegantFadeUp 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1s;
}

.hero-subtitle.animate {
    animation: elegantFadeUp 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1.5s;
}

@keyframes elegantFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.description {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

.logo-footer {
    animation: fadeIn 1.2s ease forwards, floatEffect 3s ease-in-out infinite 3s;
    animation-delay: 2.5s;
    opacity: 0;
}

/* Efecto de scroll reveal para elementos */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

