/* =========================================
   1. Variables y Paleta de Colores
   ========================================= */
:root {
    --oasis-pink: #FF69B4;
    --bg-light-pink: #FFF0F5;
    --card-pink-light: #FCE4E6;
    --accent-gold-soft: #C8A46F;
    --text-dark: #333;
    --text-light: #FFF;
    --wa-green: #25D366;
    
    --bottom-nav-bg: rgba(255, 255, 255, 0.85);
    --bottom-nav-height: 70px;
    
    --font-heading: 'Montserrat', 'Playfair Display', serif;
    --font-body: 'Montserrat', 'Raleway', sans-serif;
    
    --h1-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --h2-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    --p-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    
    --section-padding: clamp(60px, 8vw, 120px) 5%;
    
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 10px 30px rgba(255, 105, 180, 0.1);
    --border-radius: 15px;
}

/* =========================================
   2. Reseteo y Estilos Globales
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light-pink);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 20px)); 
}
h1, h2, h3 { font-family: var(--font-heading); margin-bottom: 1rem; line-height: 1.2; }
a { text-decoration: none; color: var(--oasis-pink); transition: color 0.3s ease; }

/* =========================================
   3. Header y Navegación
   ========================================= */
.header {
    background: #fff;
    box-shadow: var(--shadow-light);
    display: none; 
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.logo-container { height: 60px; }
.logo { max-height: 100%; width: auto; }
.nav-menu ul { list-style: none; display: flex; gap: clamp(15px, 2vw, 30px); }
.nav-menu ul li a { color: var(--text-dark); font-weight: 600; font-size: 1rem; }

.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: var(--bottom-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0); 
    background: var(--bottom-nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 105, 180, 0.15);
    box-shadow: 0 -10px 25px rgba(255, 105, 180, 0.05);
    z-index: 1100;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}
.bottom-nav ul {
    list-style: none; display: flex; justify-content: space-around;
    align-items: center; width: 100%; max-width: 500px; padding: 10px 0;
}
.bottom-nav ul li a {
    display: flex; flex-direction: column; align-items: center;
    color: #888; gap: 5px; font-size: 0.8rem; transition: transform 0.3s ease;
}
.bottom-nav ul li a i { font-size: 1.5rem; transition: transform 0.3s; }
.bottom-nav ul li a.active i { color: var(--oasis-pink); transform: translateY(-5px); }
.bottom-nav ul li a.active span { color: var(--text-dark); font-weight: 600; }

.whatsapp-float {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0) + 20px);
    right: 20px;
    background: var(--wa-green); color: var(--text-light);
    border-radius: 50%; width: clamp(50px, 12vw, 60px); height: clamp(50px, 12vw, 60px);
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(1.5rem, 6vw, 1.8rem); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1050; transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =========================================
   4. Secciones Principales
   ========================================= */
section { padding: var(--section-padding); text-align: center; }
section h2 { font-size: var(--h2-size); color: var(--oasis-pink); margin-bottom: 2rem; text-transform: uppercase; }

.hero-section {
    background: radial-gradient(circle, var(--card-pink-light) 0%, var(--bg-light-pink) 100%);
    padding-top: clamp(100px, 15vw, 180px); 
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: 80vh; 
}
.hero-content h1 { font-size: var(--h1-size); color: var(--oasis-pink); margin-bottom: 1rem; font-weight: 700; }
.hero-content p { font-size: var(--p-size); margin-bottom: 2.5rem; font-weight: 300; }

.cta-button {
    background: linear-gradient(90deg, var(--oasis-pink), #FF1493);
    color: var(--text-light);
    padding: clamp(12px, 2vw, 15px) clamp(25px, 4vw, 35px);
    border: none; border-radius: 30px; font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    font-weight: 600; cursor: pointer; box-shadow: var(--shadow-light);
    text-transform: uppercase; transition: transform 0.3s ease;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 30px); width: 100%; max-width: 1200px; margin: 0 auto;
}
.service-item {
    background: rgba(252, 228, 230, 0.6);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-glass);
    padding: 30px; border-radius: var(--border-radius); transition: transform 0.4s ease;
    display: flex; flex-direction: column; align-items: center; height: 100%;
}
.service-icon { font-size: 3rem; color: var(--oasis-pink); margin-bottom: 15px; }
.service-item h3 { color: var(--oasis-pink); margin-bottom: 10px; font-size: 1.6rem; }
.service-item .modal-btn {
    background: var(--oasis-pink); color: var(--text-light);
    padding: 8px 20px; border: none; border-radius: 20px; font-size: 0.9rem;
    cursor: pointer; margin-top: auto; transition: background 0.3s ease;
}

.gallery-slider {
    position: relative; width: 100%; max-width: clamp(300px, 90vw, 450px);
    margin: 0 auto; border-radius: 30px; padding: 15px;
    background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-glass);
}
.gallery-slide {
    width: 100%; aspect-ratio: 4 / 5; border-radius: 20px;
    overflow: hidden; position: relative; box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.6s ease; }
.slider-arrow {
    background: rgba(255, 255, 255, 0.9); color: var(--oasis-pink);
    width: 45px; height: 45px; border-radius: 50%; position: absolute;
    top: 50%; transform: translateY(-50%); z-index: 10; border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; transition: background 0.3s;
}
.slider-arrow.left { left: 5px; } .slider-arrow.right { right: 5px; }
.slider-indicators { margin-top: 25px; display: flex; justify-content: center; gap: 8px; }
.slider-indicators button {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 105, 180, 0.3);
    border: none; transition: all 0.4s ease; cursor: pointer;
}
.slider-indicators button.active { width: 30px; border-radius: 10px; background: var(--oasis-pink); }

.contact-merly-name { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--oasis-pink); margin-bottom: 1.5rem; }
.contact-info-container p { font-size: var(--p-size); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.contact-info-container .icon { color: var(--oasis-pink); font-size: 1.3rem; }
.shimmer { animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { color: #888; } 50% { color: var(--oasis-pink); } 100% { color: #888; } }
.footer { background: #333; color: var(--text-light); padding: 20px; font-size: 0.9rem; text-align: center; }

/* =========================================
   5. SWEETALERT2 MODAL PERSONALIZADO
   ========================================= */
/* =========================================
   MODAL DE SERVICIOS FIJO CON SCROLL (SweetAlert2)
   ========================================= */
.swal-oasis-popup {
    border-radius: 20px !important;
    background: var(--bg-light-pink) !important;
    border: 2px solid var(--card-pink-light);
    box-shadow: var(--shadow-glass) !important;
    font-family: var(--font-body) !important;
    
    /* LIMITAR TAMAÑO Y FIJAR MODAL */
    width: 90% !important;
    max-width: 500px !important;
    max-height: 80vh !important; /* Nunca ocupará más del 80% de la altura de la pantalla */
    display: flex !important;
    flex-direction: column !important;
}

/* El contenedor interno del texto y la lista ahora tendrá scroll automático */
.swal2-html-container {
    max-height: 50vh !important; /* Altura máxima para el contenido */
    overflow-y: auto !important; /* Activa la barra de scroll vertical si el texto es largo */
    padding-right: 10px !important; /* Espacio para que el scroll no tape el texto */
    margin-top: 15px !important;
}

/* Personalizar la barra de scroll para que se vea elegante y moderna */
.swal2-html-container::-webkit-scrollbar {
    width: 6px;
}
.swal2-html-container::-webkit-scrollbar-track {
    background: rgba(255, 105, 180, 0.05);
    border-radius: 10px;
}
.swal2-html-container::-webkit-scrollbar-thumb {
    background: var(--oasis-pink);
    border-radius: 10px;
}

.swal-oasis-title {
    color: var(--oasis-pink) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.5rem, 3vw, 1.8rem) !important;
}

.swal2-confirm, .swal2-cancel {
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
}


/* =========================================
   MENÚ DE NAVEGACIÓN Y TRANSICIONES PRO
   ========================================= */
.nav-menu ul { 
    list-style: none; 
    display: flex; 
    gap: clamp(15px, 2vw, 30px); 
}

.nav-menu ul li a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    /* Transición suave para el color y el desplazamiento */
    transition: color 0.3s ease, transform 0.3s ease; 
}

/* Efecto hover elegante */
.nav-menu ul li a:hover {
    color: var(--oasis-pink);
    transform: translateY(-2px); /* Pequeño levante al pasar el mouse */
}

/* ESTILO CUANDO LA OPCIÓN ESTÁ SELECCIONADA / ACTIVA */
.nav-menu ul li a.active {
    color: var(--oasis-pink) !important;
    font-weight: 700;
}

/* Una línea animada sutil debajo del enlace activo o en hover */
.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--oasis-pink);
    transition: width 0.3s ease-in-out;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%; /* La línea se extiende suavemente */
}
/* =========================================
   6. HOVER STATES (Evita Sticky Hover en móvil)
   ========================================= */
@media (hover: hover) and (pointer: fine) {
    .nav-menu ul li a:hover { color: var(--oasis-pink); }
    .bottom-nav ul li a:hover i { color: var(--oasis-pink); transform: translateY(-5px); }
    .whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
    .cta-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
    .service-item:hover { box-shadow: 0 15px 35px rgba(255, 105, 180, 0.2); transform: translateY(-8px); }
    .service-item .modal-btn:hover { background: #FF1493; }
    .gallery-slide:hover img { transform: scale(1.08); }
    .slider-arrow:hover { background: var(--oasis-pink); color: white; }
}

/* =========================================
   7. MEDIA QUERIES (Tablets & Desktop)
   ========================================= */
@media (min-width: 768px) {
    .header { display: flex; }
    .bottom-nav { display: none; }
    body { padding-bottom: 0; }
    .hero-section {
        background: url('hero-oasis-bg.jpeg') center/cover no-repeat, radial-gradient(circle, var(--card-pink-light) 0%, var(--bg-light-pink) 100%);
        min-height: 100vh; flex-direction: row; justify-content: flex-start;
    }
    .hero-content { 
        max-width: 600px; text-align: left; margin: 0;
        background: rgba(255,255,255,0.7); padding: 40px; border-radius: var(--border-radius); backdrop-filter: blur(10px);
    }
    .hero-content h1, .hero-content p { text-align: left; }
    .whatsapp-float { bottom: 30px; right: 30px; }
}
@media (min-width: 1024px) {
    .gallery-slider { max-width: 800px; padding: 25px; }
    .gallery-slide { aspect-ratio: 16 / 9; }
}