/* Custom CSS for Dina's Childcare */

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

/* Base styles */
body {
    font-family: 'Quicksand', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font */
.font-display {
    font-family: 'Nunito', sans-serif;
}

/* Custom gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f9f2 50%, #dbe4ff 100%);
}

.gradient-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9f7 100%);
}

/* Custom shadows */
.soft-shadow {
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.1);
}

.soft-shadow-lg {
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.15);
}

/* Smooth transitions */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #33c288, #4c6ef5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00a866, #4263eb);
}

/* Focus styles */
*:focus-visible {
    outline: 3px solid #33c288;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navigation hover effects */
nav a:hover {
    transform: translateY(-1px);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Card hover effects */
.bg-white.rounded-3xl:hover {
    transform: translateY(-4px);
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Form input focus effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(51, 194, 136, 0.2);
}

/* Accessibility */
@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 {
    .fixed,
    .float-animation,
    .pulse-soft {
        position: static !important;
        animation: none !important;
    }
    
    .soft-shadow,
    .soft-shadow-lg {
        box-shadow: none !important;
    }
}
