/* ==================== */
/* FUENTES */
/* ==================== */
@font-face {
    font-family: 'GreatVibes';
    src: url('../fonts/GreatVibes-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaStd-Medium-bdda1a9e.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'LibreBaskerville';
    src: url('../fonts/LibreBaskerville-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'RougeScript';
    src: url('../fonts/RougeScript-Regular.ttf') format('truetype');
    font-display: swap;
}

/* ==================== */
/* VARIABLES GLOBALES */
/* ==================== */
:root {
    /* --color-fondo: #FFF; */
    --color-fondo: #FFFFFD;
    --color-texto: #333;
    --color-primario: #d36c6c;
    --color-menu: #f8f8f8;
    --sombra-menu: 2px 4px 6px rgba(0, 0, 0, 0.5);
    --transicion: all 0.3s ease;
    --verde-salvia: #9CAF88;
    --marron-nuez: #5E503F;
    --arena-suave: #D8CAB8;
}

/* ==================== */
/* ESTILOS BASE */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    user-select: none;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    /* font-family: 'LibreBaskerville', serif; */
}

body.no-scroll {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 8px;
    border-left: 1px solid #888;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primario);
}

a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

button {
    background: none;
    color: #333;
    border: 2px solid var(--verde-salvia);
    margin: 0 auto;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

button:hover {
    background-color: var(--verde-salvia);
    /* color: black; */
}

/* ==================== */
/* LAYOUT PRINCIPAL */
/* ==================== */
.wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    height: 100%;
}

/* ==================== */
/* HERO */
/* ==================== */
#hero {
    position: sticky;
    top: 0;
    height: 100vh;
    /* background: url('../assets/img/Imagen\ de\ WhatsApp\ 2025-04-27\ a\ las\ 19.32.03_a4917038.jpg') center/cover no-repeat; */
    background: url('../assets/img/hero.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: end;
}

/*.hero-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    font-family: 'CormorantGaramond';
    font-size: 2vw;
    color: #FFF;
    letter-spacing: 5px;
}*/

/*.hero-wrapper h1 {
    white-space: pre-line;
    text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.5);
}*/

/*.hero-blur {
    width: 100%;
    padding: 2rem 3rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}*/


/* ==================== */
/* CONTENIDO PRINCIPAL */
/* ==================== */
.content {
    width: 100%;
    font-family: 'LibreBaskerville';
    background-color: var(--color-fondo);
}



/* ==================== */
/* SECCIONES */
/* ==================== */
section {
    padding: 2rem 4rem;
    scroll-margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    color: var(--color-texto);
    text-align: center;
}

section h2 {
    /* font-family: 'GreatVibes', serif; */
    font-family: 'RougeScript';
    font-size: 4.5rem;
}

section h3 {
    font-size: 1.5rem;
}

section p {
    line-height: 2rem;
}

.section-contenido {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bloque-info {
    padding: 2rem 4rem;
    background-color: #a1b8cc;
    color: #30404d;
    text-align: center;
    line-height: 2rem;
}

/* ==================== */
/* SECCIÓN INICIO  */
/* ==================== */
#inicio {
    justify-content: center;
    align-items: center;
    min-height: 100svh;
}

#inicio p {
    font-size: 5rem;
    font-family: 'RougeScript', cursive;
}

#inicio p:first-of-type {
    margin-top: -6rem;
    /* color: var(--color-primario); */
}

#temporizador {
    font-family: 'Futura';
    font-size: 2.2rem !important;

}

/* ==================== */
/* SECCIÓN NOSOTROS */
/* ==================== */
.masonry {
    column-count: 2;
    column-gap: 1rem;
}

.masonry img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.masonry img:hover {
    transform: scale(1.02);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox button {
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.lightbox .prev {
    left: 1rem;
}

.lightbox .next {
    right: 1rem;
}

/*
    FAQ
*/

.pregunta {
    /* margin-bottom: 0.5rem; */
}

.pregunta h4 {
    font-weight: bold;
    margin-bottom: 0.7rem;
}

/* ==================== */
/* MENÚ NAVEGACIÓN */
/* ==================== */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    /* TODO */
    padding: 1rem 0;
    background: var(--color-menu);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: var(--sombra-menu);
}

.menu-btn {
    background: none;
    border: 1px solid var(--verde-salvia);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Futura', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: var(--transicion);
}

.menu-btn:hover,
.menu-btn.active {
    /* background: var(--verde-salvia); */
    background-color: #748d5b;
    color: white;
    /* font-weight: bold; */
}

.menu-btn[data-target="hero"] {
    display: none;
}

/* ==================== */
/* MENÚ HAMBURGUESA */
/* ==================== */
.hamburger {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    line-height: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-texto);
    background-color: #EEE;
    color: var(--color-texto);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: font-size ease-out 0.1s;
    z-index: 20;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
    background: white;
    font-family: 'PlayfairDisplay';
    font-size: 1.1em;
    font-weight: bold;
    color: var(--color-texto);
    text-align: center;
    padding: 1rem;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

/* ==================== */
/* ELEMENTOS DECORATIVOS */
/* ==================== */
.deco-flor {
    align-self: center;
    justify-self: center;
}

.deco-flor::before {
    /* background-image: url('../assets/img/logo.jpg'); */
    background-image: url('../assets/img/pollos1500_lol_sin_fondo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 105px;
    width: 172px;
    content: " ";
    display: block;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #999;
}

.divisor-corto {
    background-color: #999;
    margin: 0 auto;
    width: 40%;
}

.scroll-down-btn {
    display: none;
}

.navegacion {
    display: none;
}

.view-more {
    stroke: var(--color-texto);
    stroke-width: 2;
    width: 32px;
    height: 32px;
    stroke-linejoin: round;
    stroke-linecap: round;
    cursor: pointer;
}

/*
    Utilidades
*/

.verde-salvia {
    background-color: var(--verde-salvia);
    color: var(--color-texto);
}

.marron-nuez {
    background-color: var(--marron-nuez);
    color: white;
}

.arena-suave {
    background-color: var(--arena-suave);
    color: black;
}

/* ==================== */
/* MEDIA QUERIES */
/* ==================== */
@media (max-width: 1024px) {
    .wrapper {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    /* TODO: revisar esto */
    
    /*#hero {
        position: relative;
        height: 100svh;
        z-index: 1;
    }*/

    /*.hero-wrapper {
        font-size: 2rem;
        padding-bottom: 60px;
    }*/

    .hero-timer {
        margin-top: 1.5rem;
        font-family: 'LibreBaskerville';
        font-size: 1.8rem;
    }

    .content {
        position: relative;
        z-index: 2;
        margin-top: -60px;
        padding-top: 80px;
        background: #fff;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, .5);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: var(--color-menu);
        gap: 1rem;
        padding: 1rem;
        text-align: center;
        position: fixed;
        left: 0;
        right: 0;
        z-index: 15;
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .menu-btn {
        font-size: 1.25rem;
        border: none;
        text-transform: uppercase;
    }

    .menu-btn[data-target="hero"] {
        display: block;
    }

    .menu-btn[data-target="inicio"] {
        display: none;
    }

    .view-more {
        display: none;
    }

    section {
        padding: 3rem 7rem;
        scroll-margin-top: inherit;
        min-height: 50vh;
    }

    #inicio {
        display: none;
    }

    #temporizador {
        /* margin-top: 1rem; */
        margin-bottom: 6rem;
        font-size: 1rem !important;
        /* font-family: 'RougeScript'; */
    }

    .masonry {
        column-count: 2;
    }

    .scroll-down-btn {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: end;
        cursor: pointer;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }

    .scroll-down-btn svg {
        width: 24px;
        height: 24px;
        stroke: var(--color-texto);
        stroke-width: 2;
        stroke-linejoin: round;
        stroke-linecap: round;
        animation: pulse 3s infinite;
        /* transform-origin: center; */
    }

    @keyframes pulse {
        0% {
            transform: rotate(180deg) scale(1) translateY(0);
        }

        50% {
            transform: rotate(180deg) scale(1.4) translateY(25px);
        }

        100% {
            transform: rotate(180deg) scale(1) translateY(0);
        }

    }
}

@media (max-width: 768px) {
    .hamburger {
        padding: 1rem;
    }

    section {
        padding: 3rem 2rem;
    }

    /*.masonry {
        column-count: 1;
    }*/
}

@media (orientation: landscape) {

    /* TODO: ajustar para apaisado */
    .hero-wrapper h1 {
        white-space: inherit;
    }
}