/* ==========================================================================
   Kids Renee Show - Master Stylesheet (styles.css)
   ========================================================================== */

/* 1. Global Typography & Base Setup */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #FFFBEB; /* Soft warm cream */
    color: #1E293B;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-fredoka {
    font-family: 'Fredoka', cursive;
}

/* Smooth Scrolling for Navigation Anchors */
html {
    scroll-behavior: smooth;
}

/* 2. Cocomelon-Style Floating Overlapping Logo Rules */
header {
    overflow: visible !important;
}

header img {
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header img:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* 3. Hero Headline Floating Words Animations ("Sing. Learn. Giggle.") */
@keyframes heroFloatKeyframe {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-16px);
    }
}

.float-word {
    display: inline-block !important;
    animation-name: heroFloatKeyframe !important;
    animation-duration: 3.2s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
    will-change: transform;
}

.float-delay-1 {
    animation-delay: 0s !important;
}

.float-delay-2 {
    animation-delay: 0.4s !important;
}

.float-delay-3 {
    animation-delay: 0.8s !important;
}

/* 4. Baby Fraiser Floating Bubbles Animation */
#bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 40;
    overflow: hidden;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(105vh) scale(0.4);
        opacity: 0;
    }
    30% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

.bubble {
    position: absolute;
    bottom: -60px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(56, 189, 248, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: bubbleUp 9s linear infinite;
}

/* 5. Interactive EYFS Game & Soundboard Styling */
.balloon {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    user-select: none;
}

.balloon:hover {
    transform: scale(1.15) translateY(-4px);
}

.balloon:active {
    transform: scale(1.35);
}

/* 6. Custom Playful Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #FEF3C7;
}

::-webkit-scrollbar-thumb {
    background: #10B981;
    border-radius: 6px;
    border: 3px solid #FEF3C7;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* 7. Responsive Adjustments */
@media (max-width: 640px) {
    header img {
        filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
    }
}/* ==========================================
   DROPDOWN MENUS (FUN & TOOL KITS)
   ========================================== */
.dropdown-container {
  position: relative;
}

.dropdown-menu {
  display: none;
  animation: fadeIn 0.2s ease-in-out forwards;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container:focus-within .dropdown-menu {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}