/* ========================================
   RESET Y CONFIGURACIÓN BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c7be5;
    --primary-dark: #1a5cc2;
    --secondary-color: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --accent-gold: #d4af37;
    --bg-light: #f8fafc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */
.contenedor {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 110px;
}

/* ========================================
   IMAGEN PRINCIPAL (HERO)
   ======================================== */
.img-principal {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.img-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.img-principal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

/* ========================================
   BARRA DE NAVEGACIÓN
   ======================================== */
.barra-contenedor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 100;
    flex-wrap: wrap;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.barra-contenedor.nav-hidden {
    transform: translateY(-100%);
}

.barra-contenedor.nav-visible {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.barra-principal {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.barra-principal a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.barra-principal a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.barra-principal a:hover {
    color: var(--primary-color);
}

.barra-principal a:hover::after {
    width: 100%;
}

/* ========================================
   BOTONES DE AUTENTICACIÓN
   ======================================== */
.botones {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login, .registrar {
    cursor: pointer;
    transition: var(--transition);
}

.login h3, .registrar h3 {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.login h3 {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.login:hover h3 {
    background-color: var(--primary-color);
    color: var(--white);
}

.registrar h3 {
    background-color: var(--primary-color);
    color: var(--white);
}

.registrar:hover h3 {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.botones form button {
    padding: 0.7rem 1.5rem;
    background-color: #dc3545;
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.botones form button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   REDES SOCIALES
   ======================================== */
.redes-sociales {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.redes-sociales img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: var(--transition);
    background: var(--white);
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.redes-sociales img:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}

/* ========================================
   ESLOGAN
   ======================================== */
.eslogan {
    position: absolute;
    top: 30%;
    left: 5%;
    z-index: 50;
    max-width: 600px;
}

.eslogan h3 {
    font-size: 3rem;
    color: var(--white);
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}
/* ========================================
   CAJA DE BOOKING (EQUILIBRADA Y ELEGANTE)
   ======================================== */
.caja-booking {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  width: 80%; /* 🔹 un poco menos ancha */
  max-width: 850px;
}

/* 🔹 Lista horizontal */
.caja-booking ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.caja-booking ul li {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  transition: all 0.3s ease;
}

.caja-booking ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.caja-booking ul li:hover a {
  color: var(--primary-color);
}

/* 🔹 Botón a la derecha */
.btn-reserva {
  flex-shrink: 0; /* evita que el botón se reduzca */
}

.btn-reserva button {
  padding: 0.6rem 1.8rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reserva button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .caja-booking {
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding: 0.8rem 1.2rem;
    gap: 1rem;
  }

  .caja-booking ul {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .btn-reserva {
    width: 100%;
    text-align: center;
  }

  .btn-reserva button {
    font-size: 0.85rem;
    padding: 0.5rem 1.3rem;
  }
}



/* ========================================
   CONTENEDOR PRINCIPAL DE CONTENIDO
   ======================================== */
.main-contenedor {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   SECCIONES DE CATEGORÍAS CON DECORACIÓN
   ======================================== */
.caja-categorias, .caja-hospitality, .caja-recreational, .caja-about-us {
    text-align: center;
    margin: 5rem 0 3rem;
    position: relative;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.08) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.caja-categorias::before, .caja-hospitality::before, .caja-recreational::before, .caja-about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(44, 123, 229, 0.4);
}

.caja-categorias::after, .caja-hospitality::after, .caja-recreational::after, .caja-about-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.caja-categorias h2, .caja-hospitality h2, .caja-recreational h2, .caja-about-us h2 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.caja-categorias h2::after, .caja-hospitality h2::after, .caja-recreational h2::after, .caja-about-us h2::after {
    content: '◆';
    margin-left: 15px;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.caja-categorias h2::before, .caja-hospitality h2::before, .caja-recreational h2::before, .caja-about-us h2::before {
    content: '◆';
    margin-right: 15px;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.caja-categorias h3, .caja-hospitality h3, .caja-recreational h3, .caja-about-us h3 {
    font-size: 2.8rem;
    color: var(--text-dark);
    font-weight: 900;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.caja-categorias h3::after, .caja-hospitality h3::after, .caja-recreational h3::after, .caja-about-us h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

/* ========================================
   SECCIÓN DE HABITACIONES
   ======================================== */
.seccion-habitaciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
}

.seccion-habitaciones::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 20%, var(--accent-gold) 50%, var(--primary-color) 80%, transparent);
    opacity: 0.5;
}

.caja-habitaciones-suites {
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(44, 123, 229, 0.15);
    border: 2px solid rgba(44, 123, 229, 0.1);
}

.caja-habitaciones-suites::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 15px;
    font-size: 150px;
    color: var(--primary-color);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.caja-habitaciones-suites h2 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 800;
    position: relative;
}

.caja-habitaciones-suites h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(44, 123, 229, 0.3);
}

.caja-habitaciones-suites p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.btn-encuentreRoom button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-encuentreRoom button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.img-roomcategories, .img-2daroomcategories {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.img-roomcategories img, .img-2daroomcategories img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.img-roomcategories:hover img, .img-2daroomcategories:hover img {
    transform: scale(1.05);
}

/* ========================================
   SECCIÓN DE RESTAURANTE (CORREGIDA)
   ======================================== */
.restaurante-section-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 5%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(44, 123, 229, 0.1) 100%);
    border-radius: 30px;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.restaurante-section-wrapper::before,
.restaurante-section-wrapper::after {
    content: none;
}

.caja-restaurante {
    flex: 1 1 450px;
    max-width: 600px;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.caja-restaurante h2 {
    font-size: 2.3rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.caja-restaurante h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #f4d03f, var(--accent-gold));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

.caja-restaurante p {
    color: var(--text-light);
    line-height: 2;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    padding-right: 1.5rem;
}

.btn-restaurante button {
    padding: 1rem 2rem;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-restaurante button:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.img-restaurante {
    flex: 1 1 450px;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--white);
}

.img-restaurante img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.img-restaurante:hover img {
    transform: scale(1.08);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .restaurante-section-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .caja-restaurante {
        text-align: center;
        padding: 2rem 1rem;
    }

    .caja-restaurante h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .caja-restaurante p {
        padding-right: 0;
    }

    .img-restaurante {
        order: -1; /* imagen arriba en móviles */
    }
}



/* ========================================
   SECCIÓN DE ÁREAS (MEJORADA)
   ======================================== */
   /* Sección general de categorías (título) */
   .caja-categorias {
     text-align: center;
     margin: 100px 0 50px 0;
     position: relative;
   }

   .caja-categorias h2 {
     font-size: 18px;
     color: #0078d4;
     letter-spacing: 3px;
     font-weight: 700;
     margin-bottom: 10px;
   }

   .caja-categorias h3 {
     font-size: 40px;
     color: #222;
     font-weight: 700;
     text-transform: uppercase;
   }

   /* Línea decorativa debajo del título */
   .caja-categorias::after {
     content: "";
     display: block;
     width: 80px;
     height: 3px;
     background-color: #0078d4;
     margin: 20px auto 0;
     border-radius: 2px;
   }

.caja-recreational {
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.08) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.seccion-areas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.06) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(212, 175, 55, 0.06) 100%);
    border-radius: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.caja-areas {
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(44, 123, 229, 0.15);
    position: relative;
}

.caja-areas h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
}

.caja-areas h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(44, 123, 229, 0.3);
}

.caja-areas p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.btn-areas button {
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-areas button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.areas-imagenes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.img-areas, .img-2daArea {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.img-areas img, .img-2daArea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.img-areas:hover img, .img-2daArea:hover img {
    transform: scale(1.05);
}

.img-areas::after, .img-2daArea::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

/* ========================================
   SECCIÓN ABOUT US (MEJORADA)
   ======================================== */
.about-us-section-wrapper {
    position: relative;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.05) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 30px;
    margin: 3rem 0;
}

.about-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.img-1raAboutUs, .img-2daAboutUs, .img-3raAboutUs {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    height: 300px;
    position: relative;
    border: 4px solid var(--white);
    transition: var(--transition);
}

.img-1raAboutUs:hover, .img-2daAboutUs:hover, .img-3raAboutUs:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(44, 123, 229, 0.4);
    transform: translateY(-5px);
}

.img-1raAboutUs img, .img-2daAboutUs img, .img-3raAboutUs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.img-1raAboutUs:hover img, .img-2daAboutUs:hover img, .img-3raAboutUs:hover img {
    transform: scale(1.15);
    filter: brightness(0.85);
}

.img-1raAboutUs::after, .img-2daAboutUs::after, .img-3raAboutUs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.caja-para-AboutUs {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border-top: 5px solid var(--accent-gold);
    border-bottom: 5px solid var(--primary-color);
}

.caja-para-AboutUs::before {
    content: '🏨';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    opacity: 0.05;
}

.caja-texto {
    position: relative;
}

.caja-texto::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -15px;
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    font-weight: bold;
}

.caja-texto p {
    color: var(--text-light);
    line-height: 2.1;
    font-size: 1.15rem;
    text-align: justify;
    position: relative;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

/* ========================================
   RESPONSIVE DESIGN - TABLETS
   ======================================== */
@media (max-width: 1024px) {
    .contenedor {
        padding-top: 110px;
    }

    .barra-contenedor {
        padding: 1rem 3%;
    }

    .barra-principal {
        gap: 1.5rem;
    }

    .barra-principal a {
        font-size: 0.85rem;
    }

    .eslogan h3 {
        font-size: 2.5rem;
    }

    .caja-categorias h3, .caja-hospitality h3, .caja-recreational h3, .caja-about-us h3 {
        font-size: 2rem;
    }

    /* Áreas responsive */
    .seccion-areas-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .areas-imagenes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Us responsive */
    .about-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .img-3raAboutUs {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MÓVILES
   ======================================== */
@media (max-width: 768px) {
    .contenedor {
        padding-top: 180px;
    }

    .barra-contenedor {
        flex-direction: column;
        padding: 1rem 3%;
        gap: 1rem;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .barra-principal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .barra-principal a {
        font-size: 0.8rem;
    }

    .botones {
        flex-wrap: wrap;
        justify-content: center;
    }

    .login h3, .registrar h3 {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .img-principal {
        height: 60vh;
    }

    .eslogan {
        top: 40%;
        left: 5%;
        right: 5%;
        max-width: 90%;
    }

    .eslogan h3 {
        font-size: 1.8rem;
    }

    .redes-sociales {
        right: 3%;
        gap: 0.8rem;
    }

    .redes-sociales img {
        width: 38px;
        height: 38px;
        padding: 6px;
    }

    .caja-booking {
        flex-direction: column;
        align-items: stretch;
        bottom: 3%;
        width: 94%;
        padding: 1.5rem;
    }

    .caja-booking ul {
        flex-direction: column;
        gap: 0.8rem;
    }

    .caja-booking ul li {
        text-align: center;
        font-size: 0.8rem;
    }

    .btn-reserva button {
        width: 100%;
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    .main-contenedor {
        padding: 2rem 4%;
    }

    .caja-categorias, .caja-hospitality, .caja-recreational, .caja-about-us {
        padding: 2rem 1rem;
    }

    .caja-categorias h3, .caja-hospitality h3, .caja-recreational h3, .caja-about-us h3 {
        font-size: 1.8rem;
    }

    .seccion-habitaciones {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .caja-habitaciones-suites {
        padding: 2rem;
    }

    .caja-habitaciones-suites h2 {
        font-size: 1.5rem;
    }

    .restaurante-section-wrapper {
        padding: 2rem 1rem;
    }

    .caja-restaurante {
        padding: 2rem 1rem;
    }

    .caja-restaurante h2 {
        font-size: 1.8rem;
    }

    .seccion-areas-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .caja-areas {
        padding: 2rem;
    }

    .caja-areas h2 {
        font-size: 1.8rem;
    }

    .areas-imagenes-grid {
        grid-template-columns: 1fr;
    }

    .img-areas, .img-2daArea {
        height: 250px;
    }

    .about-us-section-wrapper {
        padding: 2rem 1rem;
    }

    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .img-1raAboutUs, .img-2daAboutUs, .img-3raAboutUs {
        height: 220px;
    }

    .caja-para-AboutUs {
        padding: 2rem;
    }

    .caja-texto p {
        font-size: 1rem;
        text-align: left;
        padding: 1rem;
    }

    .btn-encuentreRoom button,
    .btn-restaurante button,
    .btn-areas button {
        width: 100%;
        font-size: 0.85rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MÓVILES PEQUEÑOS
   ======================================== */
@media (max-width: 480px) {
    .barra-principal a {
        font-size: 0.75rem;
    }

    .eslogan h3 {
        font-size: 1.4rem;
    }

    .caja-booking {
        padding: 1rem;
    }

    .caja-categorias h3, .caja-hospitality h3, .caja-recreational h3, .caja-about-us h3 {
        font-size: 1.5rem;
    }

    .main-contenedor {
        padding: 1.5rem 3%;
    }

    .caja-habitaciones-suites h2,
    .caja-restaurante h2,
    .caja-areas h2 {
        font-size: 1.3rem;
    }

    .caja-para-AboutUs {
        padding: 1.5rem;
    }
}

/* ========================================
   ANIMACIONES Y MEJORAS VISUALES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.caja-habitaciones-suites,
.caja-restaurante,
.caja-areas,
.caja-para-AboutUs {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Mejora de accesibilidad */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


/* ========================================
   MEJORAR SEPARACIÓN ENTRE SECCIONES
   ======================================== */
.main-contenedor > div {
  margin-bottom: 6rem;
  position: relative;
}

.main-contenedor > div::before {
  content: "";
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(44, 123, 229, 0.3),
    rgba(212, 175, 55, 0.4),
    transparent
  );
  border-radius: 2px;
}

/* 🔼 Flecha volver arriba */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 22px;
  border: none;
  outline: none;
  background-color: #0078d4;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #005bb5;
  transform: translateY(-4px);
}
/* ========================================
   FOOTER (IGUAL QUE PAG INICIO)
   ======================================== */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    margin-bottom: 0;
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  footer h4 {
    border-left: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 0 0 6px 0;
  }

  footer .footer-social {
    justify-content: center;
  }
}
.barra-principal a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.barra-principal a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Estilos para el modal de logout */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}
/* Fondo opaco - SOLO el fondo */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

/* Contenido del modal - NO se opaque */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    overflow: hidden;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* EL MODAL MANTIENE SU OPACIDAD NORMAL */
    opacity: 1;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: white;
}

.modal-body p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background-color: var(--bg-light);
    border-top: 1px solid #e2e8f0;
}

.btn-cancel, .btn-confirm {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    min-width: 120px;
}

.btn-cancel {
    background-color: #6b7280;
    color: white;
}

.btn-cancel:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-confirm {
    background-color: #dc3545;
    color: white;
}

.btn-confirm:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Deshabilitar scroll del body cuando el modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* ELIMINAR el ::before que estaba causando el problema */
/* body.modal-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    pointer-events: none;
} */

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        margin: 0;
        width: 95%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn-cancel, .btn-confirm {
        width: 100%;
        min-width: auto;
    }

    .modal-body {
        padding: 2rem 1rem;
    }
}