@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Quicksand:wght@300..700&display=swap');

:root {
    --color-chocolate: #6f4e37;
    --color-chocolate-dark: #4a2e1e;
    --color-verde-neon: #2bdc17;
    --color-verde-neon-dark: #22a912;
    --color-turquesa: #00bac7;
    --color-turquesa-dark: #00939d;
    --color-turquesa-light: #e6f9fa;
    --color-fucsia: #ff007f;
    --color-fucsia-dark: #cc0066;
    --color-fucsia-light: #ffe6f2;
    --color-amarillo: #ffb703;
    --color-amarillo-dark: #fb8500;
    --font-titles: 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #333;
    background: linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-titles);
    font-weight: 700;
}

/* Banderines Fiesteros Decorativos (CSS Puro) */
.garlanda-banderines {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.banderin {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #ff007f;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
    animation: floatingBunting 3s ease-in-out infinite alternate;
}

.banderin:nth-child(2n) {
    border-top-color: var(--color-turquesa);
    animation-delay: 0.4s;
}
.banderin:nth-child(3n) {
    border-top-color: var(--color-amarillo);
    animation-delay: 0.8s;
}
.banderin:nth-child(4n) {
    border-top-color: var(--color-verde-neon);
    animation-delay: 1.2s;
}
.banderin:nth-child(5n) {
    border-top-color: #ff5e00;
    animation-delay: 1.6s;
}

@keyframes floatingBunting {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(2px) rotate(2deg); }
}

/* Ondas y Olas SVG */
.wave-container {
    position: relative;
    width: 100%;
    height: 70px;
    background: transparent;
    margin-top: -65px;
    z-index: 5;
    overflow: hidden;
}

.wave-svg {
    position: absolute;
    width: 200%;
    height: 100%;
    bottom: 0;
    left: 0;
    animation: moveWaves 12s linear infinite;
}

@keyframes moveWaves {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Micro-animaciones y Efectos Premium */
.btn-premium-fucsia {
    background: linear-gradient(135deg, var(--color-fucsia), #ff3399);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    font-family: var(--font-titles);
    box-shadow: 0 6px 15px rgba(255, 0, 127, 0.35), inset 0 -4px 0 rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-fucsia:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.45), inset 0 -2px 0 rgba(0,0,0,0.1);
    color: white;
}

.btn-premium-turquesa {
    background: linear-gradient(135deg, var(--color-turquesa), #00d2e5);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    font-family: var(--font-titles);
    box-shadow: 0 6px 15px rgba(0, 186, 199, 0.35), inset 0 -4px 0 rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-turquesa:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 186, 199, 0.45), inset 0 -2px 0 rgba(0,0,0,0.1);
    color: white;
}

.btn-premium-amarillo {
    background: linear-gradient(135deg, var(--color-amarillo), var(--color-amarillo-dark));
    color: #331e11;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    font-family: var(--font-titles);
    box-shadow: 0 6px 15px rgba(255, 183, 3, 0.35), inset 0 -4px 0 rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-amarillo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.45), inset 0 -2px 0 rgba(0,0,0,0.1);
    color: #331e11;
}

/* Efectos de flotación y vaivén */
.floating-element {
    animation: floatingVA 4s ease-in-out infinite;
}

@keyframes floatingVA {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-element-reverse {
    animation: floatingVARev 4.5s ease-in-out infinite;
}

@keyframes floatingVARev {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Burbujas Decorativas en Fondos */
.bubble-bg {
    position: relative;
    overflow: hidden;
}

.bubble-bg::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 186, 199, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: -50px;
    right: -100px;
    pointer-events: none;
    z-index: 1;
}

.bubble-bg::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    pointer-events: none;
    z-index: 1;
}

/* Estilo para las tarjetas de Categorías */
.categoria-bubble-card {
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border: 2px solid transparent;
    cursor: pointer;
}

.categoria-bubble-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-turquesa);
    box-shadow: 0 15px 30px rgba(0, 186, 199, 0.18) !important;
}

/* Píldoras de Filtros Modernas */
.filter-bubble-btn {
    font-family: var(--font-titles);
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #dee2e6;
    background: white;
    color: #495057;
}

.filter-bubble-btn:hover {
    transform: scale(1.05);
    border-color: var(--color-turquesa);
    color: var(--color-turquesa);
}

.filter-bubble-btn.active {
    background: linear-gradient(135deg, var(--color-turquesa), #00d2e5) !important;
    border-color: var(--color-turquesa) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 186, 199, 0.3);
}

/* Tarjetas de Producto Infantiles Premium */
.kids-product-card {
    border-radius: 2rem;
    overflow: hidden;
    background: white;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.kids-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(111, 78, 55, 0.15);
}

.kids-product-card .img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.kids-product-card .img-container img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kids-product-card:hover .img-container img {
    transform: scale(1.1) rotate(1deg);
}

/* Bages e Insignias Redondeadas */
.badge-fucsia {
    background-color: var(--color-fucsia);
    color: white;
    font-family: var(--font-titles);
    border-radius: 30px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    box-shadow: 0 4px 8px rgba(255, 0, 127, 0.2);
}

.badge-turquesa {
    background-color: var(--color-turquesa-light);
    color: var(--color-turquesa-dark);
    font-family: var(--font-titles);
    border-radius: 30px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 186, 199, 0.2);
}

/* Estilo del Navbar */
.navbar-kids {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--color-turquesa-light);
    transition: all 0.3s ease;
}

.navbar-kids .logo-events {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-verde-neon);
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0,0,0,0.05);
}

.navbar-kids .logo-chocolatin {
    color: var(--color-chocolate);
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0,0,0,0.05);
}

/* Cotizador Sticky y Formulario */
.cotizador-card {
    border-radius: 2.5rem;
    border: 4px solid var(--color-amarillo);
    background: white;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.form-control-kids {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    border: 2px solid #e2e8f0;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-control-kids:focus {
    border-color: var(--color-turquesa);
    box-shadow: 0 0 0 4px rgba(0, 186, 199, 0.15);
    outline: none;
}

textarea.form-control-kids {
    border-radius: 20px !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: var(--color-turquesa); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-turquesa-dark); 
}
