/* =========================================
   VARIABLES Y CONFIGURACIÓN (NEON ELEGANCE)
   ========================================= */
:root {
    --color-fondo: #120A1F;       /* Morado casi negro */
    --color-fondo-sec: #1F1135;   /* Morado tarjetas */
    --color-texto: #EAEAEA;       /* Blanco grisáceo */
    
    --color-acento: #FF2E63;      /* Magenta Vibrante */
    --color-acento-hover: #D91C4D; 
    
    --color-secundario: #08D9D6;  /* Cyan Eléctrico */
    
    --color-exito: #08D9D6;       /* Cyan para éxito */
    --fuente: 'Poppins', sans-serif;
    --radio: 16px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-fondo);
    background-image: radial-gradient(circle at top right, #2D1B4E 0%, #120A1F 60%);
    color: var(--color-texto);
    font-family: var(--fuente);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radio); }

/* =========================================
   HEADER & MENU PC
   ========================================= */
.header-principal {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(18, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 46, 99, 0.1);
}
.header-principal nav ul { display: flex; gap: 2rem; align-items: center; }
.header-principal nav a:hover { color: var(--color-secundario); }
.header-principal nav a.active {
    color: var(--color-secundario); font-weight: 700; border-bottom: 2px solid var(--color-acento);
}
.btn-menu-cta {
    background-color: var(--color-acento); color: white; padding: 0.6rem 1.5rem;
    border-radius: 50px; font-weight: 700; box-shadow: 0 4px 15px rgba(255, 46, 99, 0.3);
}
.btn-menu-cta:hover { background-color: var(--color-acento-hover); transform: scale(1.05); }

/* MÓVIL MENU BTN */
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; justify-content: space-between; width: 30px; height: 21px; z-index: 2000; 
}
.mobile-menu-btn .bar { height: 3px; width: 100%; background-color: white; border-radius: 10px; transition: 0.3s; }

/* =========================================
   HERO SECTION (FONDOS PERSONALIZADOS)
   ========================================= */
.hero-section {
    /* Index default */
    background: linear-gradient(rgba(18, 10, 31, 0.8), rgba(18, 10, 31, 0.6)), url('img/hero-background.jpg'); 
    background-size: cover; background-position: center;
    height: 90vh; min-height: 500px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px;
}
.hero-section.bodas { background: linear-gradient(rgba(18, 10, 31, 0.6), rgba(18, 10, 31, 0.4)), url('img/hero-bodas.jpg'); background-size: cover; background-position: center; }
.hero-section.eventos { background: linear-gradient(rgba(18, 10, 31, 0.8), rgba(18, 10, 31, 0.7)), url('img/hero-eventos.jpg'); background-size: cover; background-position: center; }
.hero-section.p360 { background: linear-gradient(rgba(18, 10, 31, 0.7), rgba(18, 10, 31, 0.5)), url('img/hero-360.jpg'); background-size: cover; background-position: center; }
.hero-section.tarifas { background: linear-gradient(rgba(18, 10, 31, 0.9), rgba(18, 10, 31, 0.8)), url('img/hero-tarifas.jpg'); background-size: cover; background-position: center; }

.hero-section h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; max-width: 900px; color: white; text-shadow: 0 0 20px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 2.5rem; max-width: 600px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* BOTONES */
.btn-primario {
    background-color: var(--color-acento); color: white; padding: 1rem 2rem; border-radius: 50px;
    font-weight: 700; border: none; cursor: pointer; transition: all 0.3s ease; 
    box-shadow: 0 0 20px rgba(255, 46, 99, 0.4);
}
.btn-primario:hover { background-color: var(--color-acento-hover); transform: translateY(-3px); box-shadow: 0 0 30px rgba(255, 46, 99, 0.6); }
.btn-secundario {
    border: 2px solid var(--color-secundario); color: white; padding: 1rem 2rem;
    border-radius: 50px; font-weight: 700; box-shadow: 0 0 10px rgba(8, 217, 214, 0.2);
}
.btn-secundario:hover { background: var(--color-secundario); color: #120A1F; }

/* =========================================
   SECCIONES Y GRID
   ========================================= */
.servicios-section, .galeria-section, .contacto-section, .faq-section { 
    padding: 5rem 5%; max-width: 1200px; margin: 0 auto; 
}
h2 { font-size: 2.5rem; text-align: center; color: var(--color-secundario); margin-bottom: 1rem; text-shadow: 0 0 10px rgba(8, 217, 214, 0.3); }
.intro-text { text-align: center; color: #a1a1aa; margin-bottom: 3rem; }

.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.servicio-card {
    background: var(--color-fondo-sec); padding: 2rem; border-radius: var(--radio);
    border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
}
.servicio-card:hover { transform: translateY(-7px); border-color: var(--color-acento); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.servicio-card img { height: 220px; width: 100%; object-fit: cover; margin-bottom: 1.5rem; }
.servicio-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: white; }
.servicio-card li { margin-bottom: 0.5rem; color: #d4d4d8; font-size: 0.9rem; }

/* ESTILOS ICONOS (INDEX) */
.centered-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; }
.servicio-icon {
    font-size: 4.5rem; color: var(--color-secundario); margin-bottom: 1.5rem;
    transition: 0.3s ease; text-shadow: 0 0 15px rgba(8, 217, 214, 0.4);
}
.servicio-card:hover .servicio-icon {
    color: var(--color-acento); transform: scale(1.1) rotate(-5deg); text-shadow: 0 0 20px rgba(255, 46, 99, 0.6);
}
.link-detalle {
    color: var(--color-texto); font-weight: 600; margin-top: 1rem; border-bottom: 1px solid var(--color-acento); padding-bottom: 2px;
}
.link-detalle:hover { color: var(--color-acento); }

/* FORMULARIO */
.formulario-reserva {
    max-width: 500px; margin: 0 auto; background: var(--color-fondo-sec); padding: 2.5rem;
    border-radius: var(--radio); display: flex; flex-direction: column; gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
label { font-size: 0.9rem; font-weight: 600; color: var(--color-secundario); }
input, select {
    padding: 1rem; border-radius: 8px; border: 1px solid #3f3f46; background: #120A1F;
    color: white; font-family: inherit; width: 100%; 
}
input:focus, select:focus { outline: none; border-color: var(--color-acento); box-shadow: 0 0 0 2px rgba(255, 46, 99, 0.2); }
.btn-grande { width: 100%; font-size: 1.1rem; margin-top: 1rem; }

/* FOOTER */
footer { background: #0B0613; padding: 3rem 5% 1rem; border-top: 1px solid #1F1135; margin-top: 4rem; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; }
.copyright { text-align: center; color: #a1a1aa; font-size: 0.8rem; border-top: 1px solid #1F1135; padding-top: 1rem; }

/* =========================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES)
   ========================================= */
.faq-container {
    max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem;
}
.faq-item {
    background: var(--color-fondo-sec); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radio); overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--color-secundario); }
summary {
    list-style: none; padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.1rem; color: white;
}
.faq-icon { color: var(--color-acento); transition: transform 0.3s ease; }
details[open] summary { border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: var(--color-secundario); }
details[open] .faq-icon { transform: rotate(180deg); color: var(--color-secundario); }
.faq-answer {
    padding: 1.5rem; color: #d4d4d8; background-color: rgba(0, 0, 0, 0.2); line-height: 1.7; animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
summary::-webkit-details-marker { display: none; }

/* =========================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================= */
.btn-whatsapp {
    /* ESTO ES LO QUE HACE QUE TE SIGA (FIXED) */
    position: fixed; 
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 9999; /* Siempre encima de todo */
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

.btn-whatsapp { animation: pulse-green 2s infinite; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   MÓVIL (RESPONSIVE)
   ========================================= */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-principal {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background-color: rgba(18, 10, 31, 0.98); backdrop-filter: blur(15px);
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -5px 0 30px rgba(0,0,0,0.5); z-index: 1500;
    }
    .nav-principal.active { right: 0; }
    .nav-principal ul { flex-direction: column; gap: 3rem; text-align: center; }
    .nav-principal a { font-size: 1.5rem; font-weight: 600; }
    .btn-menu-cta { width: 100%; display: block; font-size: 1.2rem; padding: 1rem 2rem; }

    .mobile-menu-btn.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--color-acento); }
    .mobile-menu-btn.open .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--color-acento); }
    
    .hero-section { height: auto; min-height: 80vh; padding-top: 140px; padding-bottom: 3rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .grid-servicios { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem;}

    /* Ajuste botón WhatsApp en móvil */
    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}


