/* Font Faces - Custom Fonts */
@font-face {
    font-family: 'SwungNote';
    src: url('../fonts/swungnote.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dynamo';
    src: url('../fonts/dynamo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --color-primary: #26A8F4;
    --color-secondary: #D7D7D7;
    --color-text: #000000;
    --color-highlight: #F9D12E;
    --color-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Dynamo', 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    padding-top: 70px;
}

/* Navigation Menu */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-family: 'Dynamo', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-highlight);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .nav-logo {
        height: 35px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-secondary);
    }

    .nav-menu a {
        display: block;
        font-size: 1.3rem;
    }

    .nav-menu a::after {
        display: none;
    }
}

/* Typography */
.logo-font {
    font-family: 'SwungNote', 'Nunito', sans-serif;
    font-weight: normal;
}

.title-font {
    font-family: 'SwungNote', 'Nunito', sans-serif;
    font-weight: normal;
}

.subtitle-font {
    font-family: 'Dynamo', 'Quicksand', sans-serif;
    font-weight: normal;
}

/* Logo Styles - Auto-responsive with max visibility */
.main-logo {
    width: calc(100vw - 40px);
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    max-width: 100%;
    overflow: hidden;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: var(--color-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0 40px;
}

.hero-cta {
    font-size: 2.0rem;
    padding: 18px 45px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Device Mockup */
.device-mockup {
    width: 150px;
    height: 150px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    margin: 20px auto 30px;
    border: 3px solid var(--color-text);
    padding: 10px;
    overflow: hidden;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.device-image:hover {
    transform: scale(1.05);
}

/* Buttons */
.cta-button {
    background: var(--color-highlight);
    border: 3px solid var(--color-text);
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'SwungNote', 'Nunito', sans-serif;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 240px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: var(--color-text);
    background: var(--color-highlight);
}

.info-button {
    background: var(--color-highlight);
    border: 3px solid var(--color-text);
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'SwungNote', 'Nunito', sans-serif;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 240px;
    text-align: center;
}

/* Section Styles */
.section-blue {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.section-white {
    background: var(--color-white);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* Features */
.features {
    padding: 50px 0;
    position: relative;
}

.feature-card {
    background: var(--color-white);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 3px solid var(--color-text);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-highlight);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid var(--color-text);
}

/* Steps Section */
.steps {
    padding: 50px 0;
    position: relative;
}

.step-card {
    background: var(--color-white);
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 3px solid var(--color-text);
    position: relative;
    color: var(--color-text);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
    border: 3px solid var(--color-text);
    color: var(--color-text);
}

/* Testimonials */
.testimonials {
    padding: 50px 0;
    position: relative;
}

.testimonial-card {
    background: var(--color-white);
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 3px solid var(--color-text);
    border-left: 5px solid var(--color-highlight);
}

.section-blue .testimonial-card {
    background: var(--color-white);
    color: var(--color-text);
}

.stars {
    color: var(--color-highlight);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* Final CTA */
.final-cta {
    padding: 50px 0;
    text-align: center;
    position: relative;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: var(--color-text);
    padding: 35px 0;
    text-align: center;
}

.footer a {
    color: var(--color-primary) !important;
}

/* Typography Responsive */
.hero-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Container Padding */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Badge Optimization */
.badge {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.5rem !important;
    margin: 0.15rem !important;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid var(--color-text) !important;
}

/* ===== FLOATING ELEMENTS SYSTEM - ENHANCED ===== */
.floating-element {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.floating-svg {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.floating-svg img {
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.2));
    transition: opacity 0.3s ease;
}

/* ===== DESKTOP ANIMATIONS - PULSE ENHANCED ===== */
@media (min-width: 993px) {
    .floating-svg {
        animation: enhancedPulse 4s ease-in-out infinite;
        will-change: transform, opacity;
    }
    
    /* Staggered animation delays for natural movement */
    .floating-svg:nth-child(1) { 
        animation-delay: 0s; 
        animation-duration: 4.2s; 
    }
    .floating-svg:nth-child(2) { 
        animation-delay: 0.8s; 
        animation-duration: 3.8s; 
    }
    .floating-svg:nth-child(3) { 
        animation-delay: 1.6s; 
        animation-duration: 4.5s; 
    }
    .floating-svg:nth-child(4) { 
        animation-delay: 2.4s; 
        animation-duration: 3.5s; 
    }
    .floating-svg:nth-child(5) { 
        animation-delay: 3.2s; 
        animation-duration: 4.8s; 
    }
    .floating-svg:nth-child(6) { 
        animation-delay: 1.2s; 
        animation-duration: 4.1s; 
    }
    
    /* Large sizes for desktop to fill blue background */
    .floating-svg img {
        width: 90px !important;
        height: auto !important;
    }
    
    /* Special larger elements */
    .hero-balloon-3 img,
    .final-balloon-1 img,
    .advanced-balloon-2 img {
        width: 130px !important;
        height: auto !important;
    }
    
    .hero-star-1 img,
    .hero-star-2 img {
        width: 70px !important;
        height: auto !important;
    }
}

/* Enhanced Pulse Animation with better movement */
@keyframes enhancedPulse {
    0%, 100% { 
        transform: scale(0.9) translateY(0px) rotate(0deg); 
        opacity: 0.7; 
    }
    25% { 
        transform: scale(1.15) translateY(-20px) rotate(90deg); 
        opacity: 0.95; 
    }
    50% { 
        transform: scale(1.4) translateY(-35px) rotate(180deg); 
        opacity: 1; 
    }
    75% { 
        transform: scale(1.1) translateY(-15px) rotate(270deg); 
        opacity: 0.85; 
    }
}

/* ===== TABLET/MOBILE STATIC POSITIONING ===== */
@media (max-width: 992px) {
    .floating-svg {
        animation: none !important;
        opacity: 0.5 !important;
        transform: none !important;
        position: absolute;
        will-change: auto;
    }
    
    /* Larger sizes for tablet to fill background better */
    .floating-svg img {
        width: 75px !important;
        height: auto !important;
        opacity: 0.6;
    }
    
    /* Special larger elements on tablet */
    .hero-balloon-3 img,
    .final-balloon-1 img {
        width: 100px !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .floating-svg {
        opacity: 0.4 !important;
    }
    
    .floating-svg img {
        width: 60px !important;
        height: auto !important;
        opacity: 0.5;
    }
    
    .hero-balloon-3 img,
    .final-balloon-1 img {
        width: 85px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .floating-svg {
        opacity: 0.35 !important;
    }
    
    .floating-svg img {
        width: 50px !important;
        height: auto !important;
        opacity: 0.4;
    }
    
    .hero-balloon-3 img,
    .final-balloon-1 img {
        width: 70px !important;
        height: auto !important;
    }
}

/* ===== ENHANCED POSITIONING FOR BETTER COVERAGE ===== */
/* Hero Section Positioning */
.hero-balloon-1 {
    top: 10%;
    left: 5%;
}

.hero-balloon-2 {
    top: 20%;
    right: 5%;
}

.hero-balloon-3 {
    top: 60%;
    left: 5%;
}

.hero-balloon-4 {
    top: 75%;
    right: 5%;
}

.hero-star-1 {
    top: 35%;
    left: 5%;
}

.hero-star-2 {
    top: 85%;
    right: 5%;
}

/* Additional positioning for other sections */
.works-balloon-1 {
    top: 15%;
    left: 5%;
}

.works-star-1 {
    top: 30%;
    right: 5%;
}

.works-star-2 {
    top: 65%;
    left: 5%;
}

.testimonials-balloon-1 {
    top: 20%;
    right: 5%;
}

.testimonials-star-1 {
    top: 70%;
    left: 5%;
}

.advanced-balloon-1 {
    top: 25%;
    right: 5%;
}

.advanced-star-1 {
    top: 70%;
    left: 5%;
}

.advanced-balloon-2 {
    top: 15%;
    left: 5%;
}

.final-balloon-1 {
    top: 25%;
    left: 5%;
}

.final-star-1 {
    top: 15%;
    right: 5%;
}

.final-balloon-2 {
    top: 70%;
    right: 5%;
}

/* Contact Icons */
.contact-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--color-text);
    color: var(--color-text);
    background: var(--color-white);
}

.telegram-icon:hover {
    background: var(--color-highlight);
    color: var(--color-text);
    transform: translateY(-3px) scale(1.1);
}

.whatsapp-icon:hover {
    background: var(--color-highlight);
    color: var(--color-text);
    transform: translateY(-3px) scale(1.1);
}

.email-icon:hover {
    background: var(--color-highlight);
    color: var(--color-text);
    transform: translateY(-3px) scale(1.1);
}

.phone-icon:hover {
    background: var(--color-highlight);
    color: var(--color-text);
    transform: translateY(-3px) scale(1.1);
}

@media (max-width: 480px) {
    .contact-icons-container {
        gap: 20px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
}

/* ===== ADVANCED FEATURES ===== */
.advanced-features {
    padding: 50px 0;
    position: relative;
}

.feature-advanced-card {
    background: var(--color-white);
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--color-text);
    height: 100%;
    margin-bottom: 25px;
    position: relative;
    color: var(--color-text);
}

.feature-advanced-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-advanced-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    color: var(--color-text);
    background: var(--color-highlight);
    border: 3px solid var(--color-text);
    transition: all 0.3s ease;
}

.feature-advanced-card:hover .feature-advanced-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 50px 0;
    position: relative;
}

.faq-item {
    margin-bottom: 15px;
    border: 3px solid var(--color-text) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.faq-button {
    background: var(--color-white) !important;
    color: var(--color-text) !important;
    font-family: 'SwungNote', 'Nunito', sans-serif !important;
    font-weight: normal !important;
    font-size: 1rem !important;
    border: none !important;
    padding: 20px 25px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.faq-button:hover {
    background: var(--color-highlight) !important;
    color: var(--color-text) !important;
}

.faq-button:focus {
    box-shadow: none !important;
    border: none !important;
    background: var(--color-highlight) !important;
}

.faq-button:not(.collapsed) {
    background: var(--color-highlight) !important;
    color: var(--color-text) !important;
}

.faq-button::after {
    background-image: none !important;
    content: '+' !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: var(--color-text) !important;
    transition: all 0.3s ease !important;
}

.faq-button:not(.collapsed)::after {
    content: '−' !important;
    transform: rotate(0deg) !important;
}

.faq-body {
    background: var(--color-white) !important;
    color: var(--color-text) !important;
    font-family: 'Dynamo', 'Quicksand', sans-serif !important;
    padding: 20px 25px !important;
    border-top: 2px solid var(--color-secondary) !important;
    line-height: 1.6 !important;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.floating-svg {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== ACCESSIBILITY & REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .floating-svg {
        animation: none !important;
        opacity: 0.3 !important;
    }
    
    .cta-button,
    .feature-card,
    .feature-advanced-card {
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .floating-svg {
        animation: none !important;
        opacity: 0.4 !important;
    }
    
    .cta-button:hover,
    .feature-card:hover,
    .feature-advanced-card:hover {
        transform: none;
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 320px) {
    .main-logo {
        max-width: 280px;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .main-logo {
        max-height: 60px;
    }
    .footer-logo {
        height: 40px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .main-logo {
        max-height: 80px;
    }
    .footer-logo {
        height: 25px;
    }
}

@media (min-width: 576px) {
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .device-mockup {
        width: 180px;
        height: 180px;
        margin: 25px auto 35px;
        padding: 10px;
    }
}

@media (min-width: 768px) {
    .device-mockup {
        width: 220px;
        height: 220px;
        margin: 30px auto 40px;
        padding: 12px;
    }
    
    .advanced-features {
        padding: 70px 0;
    }
    
    .faq-section {
        padding: 70px 0;
    }
    
    .feature-advanced-card {
        margin-bottom: 0;
        padding: 30px 20px;
    }
    
    .feature-advanced-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .faq-button {
        font-size: 1.1rem !important;
        padding: 25px 30px !important;
    }
    
    .faq-body {
        padding: 25px 30px !important;
        font-size: 1rem !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .main-logo {
        max-width: 400px;
        max-height: 100px;
    }
    
    .footer-logo {
        height: 30px;
    }
    
    .footer-logo-container {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .device-mockup {
        width: 280px;
        height: 280px;
        padding: 15px;
    }
    
    .main-logo {
        max-width: 400px;
        max-height: 120px;
    }
    
    .logo-container {
        justify-content: flex-start;
    }
    
    .footer-logo {
        height: 70px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
        max-width: 260px;
    }

    .info-button {
        font-size: 1rem;
        padding: 12px 30px;
        max-width: 260px;
    }
    
    .badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) {
    .device-mockup {
        width: 320px;
        height: 320px;
        padding: 18px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1.05rem;
        width: auto;
        max-width: none;
    }

    .info-button {
        padding: 14px 35px;
        font-size: 1.05rem;
        width: auto;
        max-width: none;
    }
    
    .features,
    .steps,
    .testimonials,
    .final-cta {
        padding: 70px 0;
    }
    
    .feature-card {
        margin-bottom: 0;
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 1400px) {
    .main-logo {
        max-width: 500px;
        max-height: 140px;
    }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    margin: 0 -15px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--color-white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0;
    font-size: 1.1rem;
    text-align: center;
}

/* Floating elements for gallery */
.gallery-star-1 {
    top: 15%;
    left: 10%;
    animation-delay: 1s;
}

.gallery-balloon-1 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

/* Mobile optimizations for gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .gallery-item {
        height: 200px;
        margin-bottom: 20px;
    }

    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        padding: 20px 15px 15px;
    }

    .gallery-overlay h5 {
        font-size: 1rem;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover .gallery-image {
        transform: none;
    }
}

/* ===== SPARKLE ANIMATION FOR BUTTONS ===== */
@keyframes sparkleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-25px) scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.3) rotate(360deg);
    }
}