/* ============================================================
   SECCIÓN HERO (PRINCIPAL)
   ============================================================ */
.hero {
    height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--blanco-hueso);
    
    /* IMAGEN DE FONDO: Cambia 'img/tu-foto-hotel.jpg' por tu archivo real */
    background: linear-gradient(rgba(5, 18, 11, 0.6), rgba(5, 18, 11, 0.6)), 
                url('/img/hero.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 4rem); /* Tamaño fluido: se ajusta solo a móviles */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    letter-spacing: 2px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-line {
    width: 100px;
    height: 3px;
    background-color: var(--dorado);
    margin: 25px auto;
    border-radius: 2px;
}

/* Botón opcional dentro del Hero */
.btn-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.btn-hero:hover {
    background: var(--dorado);
    color: var(--verde-profundo);
}

/* AJUSTE PARA MÓVILES */
@media (max-width: 768px) {
    .hero {
        height: 80vh; /* Un poco más corto en móviles para ver el contenido rápido */
    }
}

/* ============================================================
   SECCIÓN ALOJAMIENTO (GALERÍA MASONRY)
   ============================================================ */
.rooms-gallery {
    padding: 80px 8%;
    background-color: #fff; /* Fondo blanco para que resalten las fotos */
    color: var(--verde-profundo);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.8rem;
    color: var(--verde-medio);
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--dorado);
    margin: 10px auto;
}

/* GRID CONFIGURATION */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.room-card img {
    width: 100%;
    height: 100%;
    /* Asegura que la imagen cubra todo el espacio sin deformarse */
    object-fit: cover; 
    
    /* CAMBIA AQUÍ: 'center' es el valor por defecto. 
       Si quieres que se vea más arriba, usa 'center 20%'.
       Si quieres que se vea más abajo, usa 'center 80%'. 
       'center center' es el centrado total. */
    object-position: center center; 
    
    transition: transform 0.5s ease;
}

/* Layout asimétrico */
.room-card.large { grid-column: span 2; grid-row: span 2; }
.room-card.wide { grid-column: span 2; }

/* OVERLAY (Efecto al pasar el mouse) */
.room-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(11, 36, 20, 0.7); /* Verde medio con transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
    cursor: pointer;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.overlay-content h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.overlay-content i {
    margin-top: 10px;
    color: var(--dorado);
    font-size: 1.2rem;
}

.room-card:hover .room-overlay { opacity: 1; }
.room-card:hover .overlay-content { transform: translateY(0); }
.room-card:hover img { transform: scale(1.1); }

/* BOTÓN VER TODO */
.center-btn {
    text-align: center;
    margin-top: 40px;
}

.btn-gold {
    display: inline-block;
    background: var(--dorado);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: var(--verde-medio);
    transform: translateY(-3px);
}

/* RESPONSIVO MÓVIL */
@media (max-width: 768px) {
    .rooms-grid {
        grid-template-columns: 1fr; /* Una sola columna en celular */
        grid-auto-rows: 250px;
    }
    .room-card.large, .room-card.wide { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   SECCIÓN UBICACIÓN PREMIUM (LUXURY DESIGN)
   ============================================================ */
.ubicacion-premium {
    padding: 120px 8%;
    background-color: var(--verde-profundo);
    display: flex;
    justify-content: center;
    position: relative;
}

.container-luxury {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* MARCO DE LA IMAGEN */
.ubicacion-frame {
    width: 65%; /* Ocupa más de la mitad */
    position: relative;
    z-index: 1;
}

.frame-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--dorado);
    z-index: -1;
}

.img-luxury {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.5);
}

/* TARJETA FLOTANTE (EL SECRETO DEL DISEÑO) */
.ubicacion-card {
    width: 45%;
    background-color: var(--verde-medio);
    padding: 60px;
    position: absolute;
    right: 0;
    z-index: 2;
    box-shadow: -15px 15px 40px rgba(0,0,0,0.4);
    border-left: 4px solid var(--dorado);
}

.tagline {
    color: var(--dorado);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 15px;
}

.ubicacion-card h2 {
    font-size: 2.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.divider-luxury {
    width: 50px;
    height: 2px;
    background: var(--dorado);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--dorado);
}

.info-item p {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.description-luxury {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* BOTÓN ESTILIZADO */
.btn-luxury {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dorado);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-luxury:hover {
    gap: 25px;
    color: white;
}

/* RESPONSIVO MÓVIL (Se apilan normalmente) */
@media (max-width: 992px) {
    .container-luxury {
        flex-direction: column;
    }
    .ubicacion-frame, .ubicacion-card {
        width: 100%;
        position: static;
    }
    .ubicacion-card {
        padding: 40px 25px;
        border-left: none;
        border-top: 4px solid var(--dorado);
    }
    .img-luxury {
        height: 350px;
    }
    .frame-border {
        display: none;
    }
}

/* ============================================================
   SECCIÓN SERVICIOS (ESTILO FIEL A LA REFERENCIA)
   ============================================================ */
.servicios-hotel {
    padding: 80px 5%;
    /* Fondo con patrón gris claro como en tu captura */
    background-color: #f4f4f4;
    background-image: radial-gradient(#d1d1d1 0.5px, transparent 0.5px);
    background-size: 15px 15px;
}

.container-servicios {
    max-width: 1200px;
    margin: 0 auto;
}

.header-servicios {
    text-align: center;
    margin-bottom: 60px;
}

.header-servicios h2 {
    font-size: 1.8rem;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.linea-dorada {
    width: 60px;
    height: 3px;
    background-color: #c5a059; /* Tu dorado */
    margin: 0 auto;
}

/* GRID DE TARJETAS */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-servicio {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Etiqueta oscura sobre la imagen */
.label-titulo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    text-align: center;
}

.label-titulo h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.linea-mini {
    width: 30px;
    height: 2px;
    background: #c5a059;
    margin: 0 auto;
}

/* Info y Botón */
.info-servicio {
    padding: 25px;
    text-align: center;
}

.info-servicio h4 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
}

.info-servicio p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 70px; /* Para emparejar botones */
}

/* BOTÓN ROJO REFERENCIA */
.btn-rojo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #b30000; /* Rojo oscuro de tu imagen */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-rojo:hover {
    background-color: #8b0000;
}

.btn-rojo i {
    font-size: 0.8rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .grid-servicios {
        grid-template-columns: 1fr;
    }
}