/*====================================
            HERO
====================================*/

.hero{
    position: relative;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: url("../img/hero3.jpg") center center/cover no-repeat;
}

/*====================================
            OVERLAY
====================================*/

.overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.35)
    );

}

/*====================================
        HERO CONTENT
====================================*/

.hero-content{
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;

    margin-top: 120px; /* Solo baja el contenido */
}

/*====================================
        SUBTITULO
====================================*/

.subtitle{

    display:block;

    margin-bottom:25px;

    font-family:'Playfair Display',serif;

    font-size:28px;
    font-weight:400;

    letter-spacing:1px;

    opacity:.95;

}

/*====================================
            TITULO
====================================*/

.hero h1{

    color:#fff;

    font-family:'Playfair Display',serif;

    font-size:4.3rem;

    line-height:1.15;

    font-weight:500;

    max-width:900px;

    margin:0 auto 50px;

}


/*====================================
            BOTON
====================================*/

.hero-btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    width:180px;
    height:65px;

    border:1px solid rgba(255,255,255,.7);

    border-radius:60px;

    color:#fff;

    font-family:'Inter',sans-serif;

    font-size:14px;
    font-weight:600;

    letter-spacing:3px;
    text-transform:uppercase;

    transition:.4s;

}

.hero-btn:hover{

    background:#fff;
    color:#111;

    transform:translateY(-4px);

}

/*====================================
        EFECTO DE FONDO
====================================*/

.hero::after{

    content:"";

    position:absolute;

    bottom:-120px;
    left:-120px;

    width:500px;
    height:500px;

    background:rgba(166,138,100,.35);

    filter:blur(140px);

    border-radius:50%;

}

/*====================================
        SCROLL INDICATOR
====================================*/

.scroll-indicator{

    position:absolute;

    bottom:45px;
    left:50%;

    transform:translateX(-50%);

    width:90px;
    height:90px;

    border:1px solid rgba(255,255,255,.5);

    border-radius:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    font-size:26px;

    z-index:2;

    animation:float 2.5s infinite;

}

/*====================================
        ANIMACIONES
====================================*/

@keyframes float{

    0%{

        transform:translateX(-50%) translateY(0);

    }

    50%{

        transform:translateX(-50%) translateY(12px);

    }

    100%{

        transform:translateX(-50%) translateY(0);

    }

}

/*====================================
        HABITACIONES
====================================*/

.habitaciones{

    padding:140px 0;

    background:#F8F4EE;

}

.habitaciones .container{

    max-width:1280px;

    margin:auto;

    padding:0 20px;

}

.section-subtitle{

    display:block;

    text-align:center;

    color:#B58B45;

    font-size:13px;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.habitaciones h2{

    text-align:center;

    font-family:'Playfair Display',serif;

    font-size:56px;

    color:#1F1F1F;

    margin-bottom:25px;

}

.section-text{

    max-width:760px;

    margin:0 auto 90px;

    text-align:center;

    color:#666;

    line-height:1.9;

    font-size:17px;

}



/*====================================
        GRID
====================================*/

.habitaciones-grid{

    display:flex;

    flex-direction:column;

    gap:45px;

}



/*====================================
        TARJETA
====================================*/

.habitacion-card{

    display:grid;

    grid-template-columns:430px 1fr;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.45s;

}

.habitacion-card:hover{

    transform:translateY(-8px);

    box-shadow:0 30px 65px rgba(0,0,0,.15);

}



/*====================================
        IMAGEN
====================================*/

.habitacion-img{

    position:relative;

    overflow:hidden;

}

.habitacion-img img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.7s;

    display:block;

}

.habitacion-card:hover img{

    transform:scale(1.08);

}



/*====================================
        OVERLAY
====================================*/

.habitacion-overlay{

    position:absolute;

    left:25px;

    bottom:25px;

    display:flex;

    gap:15px;

}

.habitacion-overlay div{

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(10px);

    padding:15px 22px;

    border-radius:18px;

    min-width:120px;

}

.habitacion-overlay span{

    display:block;

    font-size:11px;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#888;

    margin-bottom:6px;

}

.habitacion-overlay h4{

    font-size:20px;

    font-weight:600;

    color:#1F1F1F;

}

/*====================================
        INFORMACIÓN
====================================*/

.habitacion-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:55px;

}

.categoria{

    display:inline-block;

    color:#B58B45;

    font-size:12px;

    font-weight:600;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.habitacion-info h3{

    font-family:'Playfair Display',serif;

    font-size:42px;

    font-weight:500;

    color:#1F1F1F;

    margin-bottom:20px;

    line-height:1.2;

}

.habitacion-info p{

    font-size:16px;

    color:#666;

    line-height:1.9;

    margin-bottom:30px;

    max-width:600px;

}



/*====================================
        LISTA
====================================*/

.habitacion-info ul{

    list-style:none;

    padding:0;

    margin:0 0 40px;

    display:grid;

    grid-template-columns:repeat(2,minmax(170px,1fr));

    gap:15px 30px;

}

.habitacion-info ul li{

    position:relative;

    padding-left:32px;

    color:#444;

    font-size:15px;

}

.habitacion-info ul li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    width:22px;

    height:22px;

    border-radius:50%;

    background:#B58B45;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:12px;

}



/*====================================
        BOTÓN
====================================*/

.habitacion-info .btn-figma{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:170px;

    height:52px;

    border:2px solid #B58B45;

    border-radius:50px;

    background:transparent;

    color:#B58B45;

    text-decoration:none;

    font-size:13px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.35s;

}

.habitacion-info .btn-figma:hover{

    background:#B58B45;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(181,139,69,.25);

}

/*====================================
        RESPONSIVE
====================================*/

/*====================================
        TABLET
====================================*/

@media (max-width:992px){

    /* HERO */

    .hero{
        height:85vh;
    }

    .hero-content{
        margin-top:90px;
        padding:0 30px;
    }

    .hero h1{
        font-size:3.6rem;
        line-height:1.15;
    }

    .hero-btn{
        width:180px;
        height:55px;
    }

    /* HABITACIONES */

    .habitaciones{
        padding:100px 0;
    }

    .habitaciones h2{
        font-size:48px;
    }

    .section-text{
        margin-bottom:70px;
    }

    .habitacion-card{
        grid-template-columns:1fr;
    }

    .habitacion-img{
        height:420px;
    }

    .habitacion-info{
        padding:45px;
    }

    .habitacion-info h3{
        font-size:36px;
    }

}

/*====================================
        CELULAR
====================================*/

@media (max-width:768px){

    /* HEADER */

    .top-bar{
        padding:20px;
    }

    .logo{
        font-size:2rem;
    }

    .year,
    .stars,
    .navbar{
        display:none;
    }

    /* HERO */

    .hero{
        height:75vh;
    }

    .hero-content{
        margin-top:70px;
        padding:0 25px;
    }

    .subtitle{
        font-size:18px;
    }

    .hero h1{
        font-size:2.6rem;
        line-height:1.2;
    }

    .hero-btn{
        width:170px;
        height:52px;
    }

    /* TÍTULOS */

    .habitaciones h2{
        font-size:2.2rem;
    }

    /* HABITACIONES */

    .habitaciones{
        padding:80px 20px;
    }

    .section-text{
        font-size:15px;
        margin-bottom:50px;
    }

    .habitacion-card{
        grid-template-columns:1fr;
    }

    .habitacion-img{
        height:280px;
    }

    .habitacion-overlay{
        left:15px;
        right:15px;
        bottom:15px;
        gap:10px;
    }

    .habitacion-overlay div{
        min-width:auto;
        flex:1;
        padding:12px;
    }

    .habitacion-overlay h4{
        font-size:16px;
    }

    .habitacion-info{
        padding:30px 25px;
    }

    .categoria{
        font-size:11px;
    }

    .habitacion-info h3{
        font-size:2rem;
    }

    .habitacion-info p{
        font-size:15px;
        margin-bottom:25px;
    }

    .habitacion-info ul{
        grid-template-columns:1fr;
        gap:15px;
        margin-bottom:30px;
    }

    .habitacion-info ul li{
        font-size:14px;
    }

    .habitacion-info .btn-figma{
        width:170px;
        height:50px;
        font-size:12px;
    }

}