/* Custom styles for Auntie Shan's Child Care */

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

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

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

::-webkit-scrollbar-thumb {
    background: #a12037;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #831c30;
}

/* Navbar scroll effect */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(108, 24, 40, 0.1);
}

/* Hero animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.bg-white.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-2xl:hover {
    transform: translateY(-4px);
}

/* Input focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .navbar, #menuBtn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
