/* ==========================================================================
   DISEÑO VISUAL PREMIUM - HOSTELERÍA SAMARÁN WUASI (PUNO, PERÚ)
   Inspirado en el cielo altiplánico, las aguas del Titicaca y el oro de la Totora.
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
    --primary: #0B3C5D;          /* Azul Titicaca Profundo */
    --primary-light: #1D5F8A;    /* Azul Cielo Alto */
    --primary-dark: #072235;     /* Azul Abisal */
    --secondary: #E6AF2E;        /* Oro Totora / Sol Andino */
    --secondary-hover: #C5931D;  /* Oro Oscuro */
    --accent: #328CC1;           /* Azul Junco del Lago */
    --bg-light: #F5F7FA;         /* Blanco Altiplano / Hielo */
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;        /* Pizarra Oscuro */
    --text-muted: #64748B;       /* Gris Muted */
    --text-light: #F1F5F9;
    --border-color: #E2E8F0;
    
    /* Fuentes */
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    /* Sombras y Bordes */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 20px -5px rgba(11, 60, 93, 0.08), 0 8px 16px -8px rgba(11, 60, 93, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(11, 60, 93, 0.15);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(7, 34, 53, 0.85);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Estilos Globales */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    outline: none;
}

.no-scroll {
    overflow: hidden;
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Títulos y Subtítulos */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    color: var(--primary);
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(11, 60, 93, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 60, 93, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(230, 175, 46, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 175, 46, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.inline-icon {
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

/* Cabecera / Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hotel-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Menú de Navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #e11d48; /* Toque rojo para admin */
}
.admin-nav-link:hover {
    color: #be123c;
}

.mobile-lang-switcher {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 8px;
    background-color: var(--bg-light);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.lang-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger-bar {
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   SECCIÓN HERO (BANNER PRINCIPAL)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 74px;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.05);
}

.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    width: 28px;
    border-radius: 6px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 34, 53, 0.4) 0%, rgba(7, 34, 53, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 24px;
    transform: translateY(-20px);
    animation: slideUpHero 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tagline {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 54px;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 18px;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 36px auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    color: rgba(245, 247, 250, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Animación del Hero */
@keyframes slideUpHero {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SOBRE NOSOTROS / RESEÑA
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 16px;
}

/* Tiempos de Caminata / Iconos de Conexión */
.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.connection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.connection-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary);
}

.conn-icon-box {
    background-color: var(--primary);
    color: var(--secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conn-info h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.conn-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Lado Derecho de "Sobre Nosotros": Collage de Fotos */
.about-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.collage-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 200px;
    transition: var(--transition);
}

.collage-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.collage-img-wrapper:hover {
    transform: scale(1.03);
    z-index: 10;
}

.collage-img-wrapper:hover img {
    transform: scale(1.08);
}

.collage-img-large {
    grid-row: span 2;
    height: 416px;
}

.lake-floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    max-width: 240px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 12;
}

.lake-floating-badge h4 {
    font-family: var(--font-title);
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 4px;
}

.lake-floating-badge p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(245, 247, 250, 0.8);
}

/* ==========================================================================
   SECCIÓN HABITACIONES CON PRECIOS DINÁMICOS
   ========================================================================== */
.rooms-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.room-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 60, 93, 0.15);
}

/* Slider de Fotos de Habitación */
.room-slider-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.room-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.room-slide {
    min-width: 100%;
    height: 100%;
}

.room-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.slider-btn-prev {
    left: 12px;
}

.slider-btn-next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 16px;
    border-radius: 4px;
}

/* Badges del Card */
.room-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    z-index: 11;
    box-shadow: var(--shadow-sm);
}

.room-price-badge span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

.room-capacity-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--glass);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    z-index: 11;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

/* Detalles del Card */
.room-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-details h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.room-beds {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-hover);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    background-color: var(--bg-light);
    padding: 4px 10px;
    border-radius: 4px;
}

.amenity i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.room-actions {
    display: flex;
    gap: 12px;
}

.room-actions .btn {
    flex-grow: 1;
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN GALERÍA GLOBAL
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 60, 93, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--bg-white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay i {
    width: 32px;
    height: 32px;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Botón Ver Más Galería */
.gallery-more-btn-container {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================================================
   SECCIÓN UBICACIÓN Y CONTACTO
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(230, 175, 46, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h3 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: rgba(245, 247, 250, 0.85);
    margin-bottom: 36px;
    font-size: 15px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(230, 175, 46, 0.3);
}

.info-card-text h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-card-text p, .info-card-text a {
    font-size: 15px;
    color: rgba(245, 247, 250, 0.9);
}

/* Lado Derecho: Mapa y Reserva Rápida */
.contact-map-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-wrapper {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   MODAL DE RESERVA E INTERACTIVIDAD DE SLIDERS
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 34, 53, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 550px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--secondary);
}

.modal-header h3 {
    font-size: 22px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-size: 14.5px;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.1);
}

/* Lightbox de Galería */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    border: 3px solid var(--bg-white);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 30px;
    cursor: pointer;
}

/* ==========================================================================
   ESTILOS DE PÁGINAS LEGALES Y RECLAMACIONES
   ========================================================================== */
.legal-page-section {
    padding: 120px 0 80px 0;
    background-color: var(--bg-white);
    min-height: 70vh;
}

.legal-content-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 60px 50px;
}

.legal-content-card h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.legal-body h2 {
    font-size: 22px;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.legal-body p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 15.5px;
}

.legal-body li {
    margin-bottom: 8px;
}

/* Libro de Reclamaciones Formulario */
.claim-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
    margin-top: 40px;
}

.claim-header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.indecopi-badge-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.img-indecopi {
    height: 48px;
    object-fit: contain;
}

.claim-title-area h2 {
    font-size: 26px;
    color: var(--primary);
}

.claim-title-area p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.form-section-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 36px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.claim-success-panel {
    background-color: #F0FDF4;
    border: 2px solid #BBF7D0;
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: var(--shadow-md);
}

.success-icon-box {
    width: 64px;
    height: 64px;
    background-color: #DCFCE7;
    color: #15803D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.claim-success-panel h2 {
    color: #1565C0;
    margin-bottom: 16px;
}

.claim-code-badge {
    background-color: var(--primary);
    color: var(--secondary);
    display: inline-block;
    padding: 10px 24px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 30px;
    margin: 16px 0;
    letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA) Y BOTÓN DE WHATSAPP FLOTANTE
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-top: 3px solid var(--secondary);
}

.footer-top {
    padding: 80px 0 50px 0;
}

.footer-top .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--secondary);
}

.footer-desc {
    color: rgba(245, 247, 250, 0.75);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon-btn svg, .social-icon-btn i {
    width: 18px;
    height: 18px;
    display: block;
}

.social-icon-btn:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    border-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(245, 247, 250, 0.8);
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.contact-info-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    color: rgba(245, 247, 250, 0.8);
    line-height: 1.5;
}

.contact-info-list i {
    flex-shrink: 0;
    margin-top: 3px;
}

.text-gold {
    color: var(--secondary);
}

.footer-phone-link:hover {
    color: var(--secondary);
}

.btn-libro-reclamaciones {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    transition: var(--transition);
}

.btn-libro-reclamaciones:hover {
    background-color: var(--secondary);
    color: var(--primary-dark) !important;
    border-color: var(--secondary);
}

.img-reclamaciones {
    height: 24px;
    object-fit: contain;
}

.footer-bottom {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13.5px;
    color: rgba(245, 247, 250, 0.6);
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--bg-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20BA5C;
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--secondary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (ADAPTABILIDAD RESPONSIVA MOBILE-FIRST)
   ========================================================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-collage {
        max-width: 600px;
        margin: 0 auto;
    }
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-top .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    /* Header Móvil */
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 74px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
        border-right: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .mobile-lang-switcher {
        display: flex;
        gap: 12px;
        margin-top: 20px;
        width: 100%;
    }
    
    .mobile-lang-switcher .lang-btn {
        flex: 1;
        justify-content: center;
        border: 1px solid var(--border-color);
    }
    
    .lang-switcher, .btn-header-book {
        display: none;
    }
    
    /* Burger Animation */
    .burger-menu.active .burger-bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .burger-menu.active .burger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 38px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    /* Grid de Tiempos */
    .connection-grid {
        grid-template-columns: 1fr;
    }
    
    /* Servicios */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Galería */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Formulario de Reclamación */
    .claim-header-box {
        flex-direction: column;
        text-align: center;
    }
    
    .indecopi-badge-area {
        justify-content: center;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-content-card {
        padding: 30px 20px;
    }
    
    .claim-form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .collage-img-large {
        height: 280px;
    }
    
    .collage-img-wrapper {
        height: 132px;
    }
    
    .lake-floating-badge {
        position: static;
        margin: 20px auto 0 auto;
        transform: none;
    }
    
    .room-slider-wrapper {
        height: 200px;
    }
    
    .room-price-badge {
        font-size: 16px;
        padding: 6px 12px;
    }
}
