/* Custom styles for Little Blessings Daycare */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero decorative animations */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -80px;
    animation: float 8s ease-in-out infinite;
}

.deco-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -40px;
    animation: float 6s ease-in-out infinite reverse;
}

.deco-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

.deco-4 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 15%;
    animation: float 5s ease-in-out infinite reverse;
}

/* Stars */
.deco-star {
    position: absolute;
    opacity: 0.15;
    animation: twinkle 3s ease-in-out infinite;
}

.deco-star::before,
.deco-star::after {
    content: '';
    position: absolute;
    background: white;
}

.deco-star::before {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    top: -6px;
    left: 5px;
}

.deco-star::after {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    top: 0;
    left: -2px;
}

.deco-1::before, .deco-1::after { background: white; }
.deco-1 { width: 20px; height: 20px; top: 15%; left: 10%; animation-delay: 0s; }
.deco-2 { width: 16px; height: 16px; top: 25%; right: 8%; animation-delay: 1s; }
.deco-3 { width: 12px; height: 12px; bottom: 30%; left: 8%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-blur-lg;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Mobile menu */
.mobile-link {
    display: block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .deco-circle,
    .deco-star,
    .deco-star::before,
    .deco-star::after {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff8263;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #ff8263;
    border-radius: 4px;
}

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