:root{
    --pergamino:#F3EBDD;
    --borgona:#6E0F1F;
    --borgona-hover:#530916;

    --negro:#1D1C1C;
    --negro-profundo:#181818;

    --texto:#2D2B28;
    --texto-claro:#E9E1D6;

    --shadow-soft:
    0 10px 30px rgba(0,0,0,.06);

    --shadow-medium:
    0 22px 60px rgba(0,0,0,.16);
}

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--pergamino);

    color:var(--texto);

    font-family:
    Georgia,
    "Times New Roman",
    serif;

    line-height:1.7;

    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

/* ======================================================
TIPOGRAFÍA
====================================================== */

h1,h2,h3{
    font-weight:400;

    letter-spacing:.4px;
}

h1{
    font-size:6rem;

    line-height:.95;
}

h2{
    font-size:3.25rem;

    line-height:1.12;
}

h3{
    font-size:1.75rem;
}

p{
    font-size:1.05rem;
}

/* ======================================================
LAYOUT
====================================================== */

.container{
    width:min(1240px,90%);

    margin:auto;
}

.section{
    padding:80px 0;
}

.section-small{
    padding:20px 0 70px;
}

/* ======================================================
NAVBAR
====================================================== */

.navbar{
    position:absolute;

    top:0;
    left:0;

    width:100%;

    z-index:20;

    padding:34px 0;
}

.nav-inner{
    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo{
    color:white;

    text-decoration:none;

    font-size:1.55rem;

    position:relative;

    z-index:5;
}

.nav-links{
    display:flex;

    gap:42px;
}

.nav-links a{
    color:white;

    text-decoration:none;

    font-size:.92rem;

    opacity:.9;

    transition:.3s ease;
}

.nav-links a:hover{
    opacity:1;
}

/* ======================================================
HERO
====================================================== */

.hero{
    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        rgba(0,0,0,.34),
        rgba(0,0,0,.62)
    ),
    url("../assets/img/fortaleza-gastronomica-medieval.webp");

    background-size:cover;

    background-position:center;
}

.hero-content{
    width:min(1100px,90%);

    position:relative;

    z-index:2;

    transform:translateY(-40px);

    margin:auto;
}

.hero h1{
    color:white;

    margin-bottom:34px;
}

.hero p{
    color:var(--texto-claro);

    font-size:1.38rem;

    max-width:980px;

    margin:auto;
}

/* ======================================================
BOTONES PRINCIPALES
====================================================== */

.buttons{
    display:flex;

    justify-content:center;

    align-items:center;

    gap:22px;

    margin-top:150px;
}

.btn{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    text-align:center;

    padding:20px 44px;

    min-width:310px;

    font-size:.92rem;

    letter-spacing:1px;

    transition:.3s ease;
}

.btn-primary{
    background:var(--borgona);

    color:white;

    border:1px solid transparent;
}

.btn-primary:hover{
    background:var(--borgona-hover);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.25);

    color:white;

    background:rgba(255,255,255,.03);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.06);
}

/* ======================================================
TEXTOS
====================================================== */

.section-title{
    margin-bottom:26px;
}

.section-text{
    max-width:760px;
}

/* ======================================================
ESPACIADO BOTONES EXPERIENCE
====================================================== */

.experience-block .btn{
    margin-top:38px;
}
.divider{
    width:90px;

    height:1px;

    background:var(--borgona);

    margin:28px 0;
}

/* ======================================================
CARDS
====================================================== */

.grid-3{
    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:34px;

    margin-top:55px;
}

.card{
    background:white;

    overflow:hidden;

    box-shadow:var(--shadow-soft);

    transition:.35s ease;
}

.card:hover{
    transform:translateY(-6px);

    box-shadow:var(--shadow-medium);
}

.card img{
    width:100%;

    height:320px;

    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card h3{
    margin-bottom:18px;
}

.card p{
    margin-bottom:18px;

    color:#4A4540;

    line-height:1.55;
}

/* ======================================================
ENLACES EN TITULOS DE CARDS
====================================================== */

.card h3 a{
    color:inherit;

    text-decoration:none;
}

.card h3 a:hover{
    color:inherit;

    text-decoration:none;
}

/* ======================================================
BOTONES CARD PREMIUM
====================================================== */

.card-link{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:
    12px
    18px;

    border:
    1px solid rgba(110,15,31,.18);

    background:
    rgba(110,15,31,.025);

    color:var(--borgona);

    text-decoration:none;

    font-size:.78rem;

    letter-spacing:1.6px;

    text-transform:uppercase;

    transition:
    background .3s ease,
    border .3s ease,
    transform .3s ease,
    box-shadow .3s ease;

    box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.25);
}

.card-link:hover{

    background:
    rgba(110,15,31,.06);

    border:
    1px solid rgba(110,15,31,.35);

    transform:
    translateY(-1px);

    box-shadow:
    0 8px 18px rgba(0,0,0,.06);
}

/* ======================================================
SECCIONES OSCURAS
====================================================== */

.dark-section{
    background:var(--negro);

    color:var(--texto-claro);

    padding:85px 0;
}

.dark-section h2{
    color:white;
}

.experience-block{
    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:26px;

    align-items:center;

    margin-bottom:70px;
}

.experience-block:last-child{
    margin-bottom:0;
}

.feature-image{
    width:100%;

    height:680px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:var(--shadow-medium);
}

/* ======================================================
SEGUNDA SECCIÓN OSCURA
====================================================== */

.romantic-section{
    position:relative;

    background:
    linear-gradient(
        to bottom,
        #232323 0%,
        var(--negro-profundo) 140px
    );

    padding-top:80px;
}

.romantic-section::before{
    content:"";

    position:absolute;

    top:0;
    left:50%;

    transform:translateX(-50%);

    width:78%;

    height:1px;

    background:
    linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );
}

/* ======================================================
FOOTER
====================================================== */

.footer{
    background:#101010;

    color:#8E8578;

    text-align:center;

    padding:70px 20px;

    font-size:.88rem;

    border-top:
    1px solid rgba(255,255,255,.04);
}

/* ======================================================
TABLET
====================================================== */

@media(max-width:1180px){

    h1{
        font-size:4.8rem;
    }

    h2{
        font-size:2.8rem;
    }

    .container{
        width:min(92%,1100px);
    }

    .grid-3{
        gap:26px;
    }

    .card img{
        height:260px;
    }

    .card-content{
        padding:24px;
    }

    .feature-image{
        height:560px;
    }

    .buttons{
        margin-top:120px;
    }

}

/* ======================================================
MOBILE
====================================================== */

@media(max-width:980px){

    .navbar{
        padding:20px 0;
    }

    .nav-inner{
        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:14px;
    }

    .logo{
        font-size:1.3rem;

        text-align:center;
    }

    .nav-links{
        width:100%;

        justify-content:center;

        flex-wrap:wrap;

        gap:16px;
    }

    .nav-links a{
        font-size:.68rem;

        letter-spacing:.5px;

        opacity:.82;
    }

    .hero{
        min-height:auto;

        padding:
        160px 0
        70px;
    }

    .hero-content{
        width:90%;

        transform:none;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        text-align:center;
    }

    h1{
        font-size:3rem;

        line-height:.95;

        text-align:center;

        max-width:100%;
    }

    .hero h1{
        margin-bottom:24px;
    }

    .hero p{
        font-size:1rem;

        line-height:1.6;

        max-width:100%;
    }

    .buttons{
        flex-direction:column;

        justify-content:center;

        align-items:center;

        width:100%;

        gap:14px;

        margin-top:36px;
    }

    .btn{
        width:100%;

        min-width:auto;

        max-width:100%;

        padding:18px 24px;

        font-size:.82rem;
    }

    .section{
        padding:60px 0;
    }

    .section-small{
        padding:10px 0 45px;
    }

    h2{
        font-size:2.3rem;

        line-height:1.1;
    }

    h3{
        font-size:1.45rem;
    }

    p{
        font-size:.98rem;
    }

    .section-title{
        margin-bottom:18px;
    }

    .divider{
        margin:20px 0;
    }

    .section-text{
        max-width:100%;
    }

    .grid-3{
        grid-template-columns:1fr;

        gap:22px;

        margin-top:40px;
    }

    .card img{
        height:240px;
    }

    .card-content{
        padding:20px;
    }

    .card-link{
        width:100%;

        justify-content:center;

        padding:14px 18px;
    }

    .dark-section{
        padding:60px 0;
    }

    .experience-block{
        grid-template-columns:1fr;

        gap:34px;

        margin-bottom:55px;
    }

    .feature-image{
        height:420px;
    }

    .romantic-section{
        padding-top:60px;
    }

    .footer{
        padding:45px 20px;

        font-size:.8rem;
    }

}

@media(max-width:480px){

    .container{
        width:88%;
    }

    .navbar{
        padding:18px 0;
    }

    .logo{
        font-size:1.15rem;

        line-height:1.1;
    }

    .nav-links{
        gap:12px;
    }

    .nav-links a{
        font-size:.66rem;
    }

    .hero{
        padding:
        150px 0
        70px;
    }

    h1{
        font-size:2.45rem;

        line-height:.92;
    }

    h2{
        font-size:1.8rem;
    }

    .hero p{
        font-size:.95rem;
    }

    .feature-image{
        height:360px;
    }

    .card img{
        height:220px;
    }

}