/* Paleta de colores suave y cálida */
:root {
    --primary-baby-blue: #a8dadc;
    --secondary-pink: #fbc7d4;
    --accent-yellow: #fff3da;
    --dark-blue: #457b9d;
    --text-color-light: #f1faee;
    --text-color-dark: #1d3557;
}

body {
    font-family: 'Poppins', sans-serif; /* Fuente moderna y amigable */
    margin: 0;
    overflow: hidden; /* Para que los elementos flotantes no creen scroll */
}

/* En tu archivo splash.css */

.top-info-bar {
    position: fixed; 
    top: 0;         
    left: 0;
    width: 100%;
    
    /* 🔑 Solución para que sea visible y esté encima de todo */
    z-index: 1500;  /* Un valor alto (Bootstrap usa 1030 para sus navbars fijos) */
    
    /* Asegúrate de que tiene fondo para no ser transparente */
    background-color: #333333; /* Ejemplo: un color sólido o el que uses (bg-dark) */
    color: white; /* Asegúrate de que el texto sea visible */
}

/* Fondo principal del hero section: Mantenemos el estilo original */
.splash-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f1faee; /* Fondo de respaldo */
}


/* NUEVA CLASE: Mantiene el efecto de degradado y patrón original */
.bg-gradient-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-baby-blue) 0%, var(--secondary-pink) 100%);
    opacity: 0.1;
    z-index: 3; /* La capa más baja */
}

/* Copiamos la animación del patrón aquí para que afecte solo al degradado */
.bg-gradient-effect::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23FFFFFF" opacity="0.1"/></svg>'); 
    background-size: 50px 50px;
    opacity: 0.3;
    animation: backgroundMove 60s linear infinite;
}

/* ESTILOS PARA EL CARRUSEL DE FONDO DE IMÁGENES */
#background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Sobre el degradado original, debajo del overlay */
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hacemos la imagen semitransparente para que el degradado se vea */
    transition: opacity 2s ease-in-out; /* Transición suave para el fade */
}

.carousel-image.active {
    opacity: 0.9; /* La imagen activa es más visible */
}

/* CAPA DE SOMBRA/OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Añadimos un degradado suave sobre las imágenes para mayor legibilidad */
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 3; /* Encima de las imágenes y el degradado */
}

.splash-hero .container {
    position: relative;
    z-index: 4; /* El contenido principal (texto, botón) siempre visible */
    /* padding-top: 60%;
    bottom: 48em; */
}

/* Estilo del logo en el splash */
.logo-text-splash {
    font-family: 'Pacifico', cursive; /* Fuente más divertida para el logo */
    font-weight: normal;
    font-size: 1.2em; /* Relativo al h1 */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
    z-index: 999;
}

.logo-text-splash img{
    width: 20%;
    height: auto;
}

/* Animación de pulso para el logo */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

h1 {
    font-size: 4.5rem; /* Ajuste para pantallas grandes */
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color-light); /* Color de texto claro */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out; /* Animación de entrada */
}

p.lead {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1.2s ease-out; /* Animación de entrada */
}

/* Botón principal */
.custom-btn-glow {
    background-color: black;
    border-color: var(--dark-blue);
    color: var(--text-color-light);
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    border-radius: 50px; /* Bordes redondeados */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    animation: zoomIn 1.5s ease-out; /* Animación de entrada */
}

.custom-btn-glow:hover {
    background-color: red;
    border-color: var(--primary-baby-blue);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-baby-blue); /* Efecto de brillo */
    color: white;
}

.custom-btn-glow i {
    transition: transform 0.3s ease-in-out;
}

.custom-btn-glow:hover i {
    transform: translateX(5px);
}

/* Animaciones básicas de entrada (simulando animate.css) */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Elementos flotantes decorativos */
.floating-elements i {
    position: absolute;
    opacity: 0; /* Empiezan invisibles */
    font-size: 2rem;
    animation: floatAndFade 15s infinite ease-in-out;
    pointer-events: none; /* Para que no interfieran con clics */
}

.floating-elements .bi-star-fill { color: var(--accent-yellow); font-size: 1.8rem; animation-duration: 18s; }
.floating-elements .bi-heart-fill { color: var(--secondary-pink); font-size: 2.2rem; animation-duration: 12s; }
.floating-elements .bi-balloon-fill { color: var(--primary-baby-blue); font-size: 2.5rem; animation-duration: 20s; }

/* Posiciones iniciales y retrasos para los elementos flotantes */
.star-1 { top: 10%; left: 15%; animation-delay: 0s; }
.heart-1 { bottom: 20%; right: 10%; animation-delay: 2s; font-size: 2rem;}
.star-2 { top: 30%; right: 20%; animation-delay: 4s; font-size: 2.5rem;}
.balloon-1 { bottom: 5%; left: 30%; animation-delay: 6s; }
.heart-2 { top: 25%; left: 5%; animation-delay: 8s; font-size: 1.5rem;}
.star-3 { bottom: 15%; left: 45%; animation-delay: 10s; }

/* === ESTILOS PARA EL BOTÓN DE OFERTA FLOTANTE === */
.floating-promo-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff69b4; /* Rosa vivo para destacar */
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Asegura que esté por encima de todo */
    transition: transform 0.2s;
}

.floating-promo-btn:hover {
    background-color: #ff85c0;
    transform: scale(1.05); /* Ligeramente más grande al pasar el mouse */
}

/* Animación de Pulso (Motion) */
.pulse-effect {
    animation: pulse 2s infinite;
}


@keyframes floatAndFade {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) rotate(15deg) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) rotate(30deg) scale(0.7);
        opacity: 0;
    }
}

/* Medias queries para responsividad */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    p.lead {
        font-size: 1.2rem;
    }
    .custom-btn-glow {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }
    .floating-elements i {
        font-size: 1.5rem;
    }
}

/* Font import - Puedes añadir esto al principio de tu CSS o en el HTML */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@300;400;700&display=swap');

