/* --- Variables de Color y Tipografía --- */
:root {
    --primary-color: #a4161a; /* Rojo profundo romántico */
    --secondary-color: #1a1a1a; /* Negro carbón elegante */
    --gold-color: #d4af37; /* Dorado para acentos de lujo */
    --light-text: #f4f4f4;
    --dark-text: #333333;
    --bg-light: #f9f9f9;
    --bg-dark: #121212;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--secondary-color);
}

/* --- Utilidades --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.dark-text { color: var(--dark-text) !important; }

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* --- Botones --- */
.btn-gold {
    display: inline-block;
    background-color: var(--gold-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold-color);
}

/* --- Header y Navegación --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

#header.scrolled {
    background-color: rgba(26, 26, 26, 0.95); /* Fondo oscuro al hacer scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 700;
}

.logo span {
    color: var(--gold-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--gold-color);
}

.btn-reserva {
    border: 1px solid var(--gold-color);
    padding: 8px 20px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    /* IMPORTANTE:hero-bg.png esté en la carpeta img */
    background-image: url('img/hero-bg.png'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Un degradado oscuro para hacer el texto legible y dar un toque nocturno */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(26,2,2,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--gold-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Servicios Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 5px;
    border-bottom: 3px solid var(--gold-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--light-text);
}

/* --- Galería Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px; /* Altura fija para uniformidad */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Tarifas Section --- */
.pricing-section {
    position: relative;
    /* Usamos una imagen de fondo para esta sección también */
    background-image: url('img/lobby.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax simple */
}

.pricing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 2, 2, 0.9); /* Capa roja/oscura muy intensa */
}

.relative-z {
    position: relative;
    z-index: 2;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--bg-light);
    color: var(--dark-text);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 5px solid var(--secondary-color);
}

.pricing-card.popular {
    border-top: 5px solid var(--gold-color);
    transform: scale(1.05); /* Hace esta tarjeta un poco más grande */
}

.popular-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    margin: 30px 0;
    color: var(--primary-color);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 0 auto;
    display: inline-block;
}

.price-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price-features i {
    color: var(--gold-color);
    margin-right: 10px;
}

/* --- Contacto y Footer --- */
.contact-box {
    background-color: #1f1f1f;
    padding: 30px;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid var(--gold-color);
}

.contact-box i {
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* --- Responsive Design (Para Celulares) --- */
@media screen and (max-width: 768px) {
    .logo { font-size: 1.5rem; }
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px; /* Altura del header */
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: right 0.4s ease;
        padding-top: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .pricing-card.popular { transform: scale(1); margin-top: 20px;}
}

/* --- Nuevos Estilos para Botones y Mapa --- */

/* Botón de WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; /* Verde oficial de WhatsApp */
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px; /* Bordes redondeados modernos */
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-whatsapp i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Estilos para el Teléfono en Ubicación */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contact-box {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 10px 0;
    font-family: var(--font-heading);
}

.btn-text {
    color: var(--gold-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.address-text {
    color: #aaa;
    margin-top: 20px;
}

/* --- Estilos de Preguntas Frecuentes --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0; /* Oculto por defecto */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fafafa;
    color: #666;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* Clase que se activará con JS */
.faq-item.active .faq-answer {
    max-height: 200px; /* Ajusta según el texto */
    padding-top: 10px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question:hover {
    background-color: #ad6b6b;
}

/* --- Botón Flotante de WhatsApp --- */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 10000; /* Asegura que esté siempre encima de todo */
    transition: all 0.3s ease;
    display: flex; /* Para centrar el icono perfectamente */
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.float-wa:hover {
    background-color: #1ebc51; /* Un poco más oscuro al pasar el mouse */
    transform: scale(1.1); /* Efecto de crecimiento */
}

/* Animación de pulso para llamar la atención sutilmente */
@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-wa {
    animation: pulse-green 2s infinite;
}
/* --- OPTIMIZACIÓN PARA CELULARES (RESPONSIVE) --- */
@media screen and (max-width: 768px) {
    
    /* 1. Ajuste de Títulos: En el celular las letras muy grandes se ven mal */
    .hero h1 {
        font-size: 2.2rem !important;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    /* 2. Galería: En lugar de 3 fotos por fila, ponemos 1 o 2 */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2 fotos por fila */
        gap: 10px;
        padding: 0 10px;
    }

    .gallery-item {
        height: 180px; /* Fotos más pequeñas para que carguen rápido */
    }

    /* 3. Tarifas: Ponemos una tarjeta debajo de la otra */
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        padding: 25px 15px;
    }

    .pricing-card.popular {
        transform: scale(1); /* Quitamos el aumento de tamaño en móvil para que no se corte */
    }

    /* 4. Preguntas Frecuentes: Letra un poco más pequeña */
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }

    /* 5. Mapa y Contacto: Una sola columna */
    .contact-grid {
        flex-direction: column;
    }

    .map-container {
        height: 300px;
        width: 100%;
    }

    /* 6. Espaciado General: Menos relleno para aprovechar la pantalla */
    .section-padding {
        padding: 40px 0;
    }

    /* 7. Ajuste del Menú de Navegación Móvil */
    .nav-links {
        background-color: rgba(26, 26, 26, 0.98);
        top: 60px;
    }
}

@media screen and (max-width: 768px) {
    /* ... tus otros estilos de móvil ... */

    /* ARREGLO DEL MAPA Y CONTENEDORES */
    .map-container {
        width: 100% !important;
        padding: 0;
        overflow: hidden; /* Evita que el mapa 'empuje' la página a la derecha */
    }

    iframe {
        width: 100% !important;
        height: 300px !important;
        border: 0;
    }

    /* ARREGLO DE LETRAS EN EL PIE DE PÁGINA (FOOTER) */
    footer {
        padding: 40px 20px 100px 20px !important; /* Más espacio abajo para que no lo tape la barra nueva */
        text-align: center;
    }

    footer p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* BARRA DE NAVEGACIÓN INFERIOR (TIPO APP) */
    .mobile-nav {
        display: flex; /* Solo se verá en móviles */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        border-top: 2px solid #d4af37;
        z-index: 1000;
        justify-content: space-around;
        padding: 10px 0;
    }

    .nav-item {
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 0.7rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
        color: #d4af37;
    }
}

//* --- ESTILOS PARA PC (Escritorio) --- */
@media screen and (min-width: 769px) {
    .pricing-container {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-direction: row; /* Asegura que salgan a la par en PC */
    }

    .pricing-card {
        width: 350px; /* Tamaño fijo para que no se estiren demasiado */
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Mitad texto, mitad mapa */
        gap: 40px;
        align-items: start;
    }

    .mobile-nav {
        display: none !important; /* Escondemos la barra de botones en PC */
    }
}

/* --- ESTILOS EXCLUSIVOS PARA CELULAR --- */
@media screen and (max-width: 768px) {
    .pricing-container {
        display: flex;
        flex-direction: column; /* Una debajo de otra */
        align-items: center;
    }

    .pricing-card {
        width: 100% !important;
        max-width: 400px;
    }

    .contact-grid {
        display: flex;
        flex-direction: column; /* El mapa baja debajo del texto */
    }

    .map-container {
        width: 100% !important;
        height: 300px;
        margin-top: 20px;
    }

    /* Ajuste para que el mapa no se salga */
    iframe {
        width: 100% !important;
    }

    /* Mostramos la barra de botones solo en móvil */
    .mobile-nav {
        display: flex;
    }
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}