/* ==========================================================================
   ESTILOS DE ARQUITECTURA MAESTRA - SOL PARAISO
   ========================================================================== */

/* RESET INTEGRAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* DISEÑO DE LA CABECERA / NAV */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.main-header .logo {
    font-weight: bold;
    color: #059669;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.btn-nav {
    background: #059669;
    color: white;
    padding: 10px 22px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn-nav:hover {
    background-color: #047857;
}

/* COMPONENTE HERO - SOPORTE DE IMAGEN CON ESPACIOS PARA VERCEL */
.hero-section {
    position: relative;
    /* Las comillas simples protegen la lectura de los espacios de WhatsApp en servidores remotos */
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('images/WhatsApp Image 2026-05-14 at 21.00.17.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge-location {
    background: rgba(5, 150, 105, 0.25);
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    font-size: 19px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* BOTÓN DE CONVERSIÓN PREMIUM AIRBNB */
.btn-disponibilidad {
    background: #00cc88;
    color: #ffffff;
    padding: 18px 38px;
    border-radius: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 204, 136, 0.35);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.btn-disponibilidad:hover {
    background: #00b377;
    transform: translateY(-2px);
}

/* GRID RESPONSIVO PARA LA GALERÍA DE IMÁGENES */
.galeria-container {
    padding: 80px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.galeria-container h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* TARJETAS DE IMÁGENES Y HOVER EFECTOS */
.img-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    height: 260px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background-color: #f1f5f9;
}

.img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-card:hover .img-zoom {
    transform: scale(1.05);
}

/* SISTEMA DINÁMICO LIGHTBOX CONTROLLER */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightbox-img {
    max-width: 90%;
    max-height: 82%;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

#close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 52px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

#close-lightbox:hover {
    color: #94a3b8;
}

/* ESTADOS DE VISIBILIDAD LOGICA DOM */
.hidden {
    display: none !important;
}

/* ==========================================================================
   ESTILOS COMPLEMENTARIOS: PANEL DE INFORMACIÓN
   ========================================================================== */
.info-section {
    padding: 60px 20px 20px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.info-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 700;
}

.info-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}
/* --- Selector de Idiomas --- */
.lang-menu select {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lang-menu select:hover {
    border-color: #ff385c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}