/* Custom styles for Evergreen Care Center */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4DB082;
}

/* Selection color */
::selection {
    background: #98D8BC;
    color: #0A1628;
}

/* Focus styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 2px solid #98D8BC;
    outline-offset: 2px;
}

/* Typography refinements */
.font-serif {
    letter-spacing: -0.01em;
}

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

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
}

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

/* Hamburger menu animation */
#menu-toggle.active #bar1 {
    transform: translateY(6px) rotate(45deg);
}

#menu-toggle.active #bar2 {
    opacity: 0;
}

#menu-toggle.active #bar3 {
    transform: translateY(-6px) rotate(-45deg);
}

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

/* Print styles */
@media print {
    header,
    footer,
    #contact-form,
    .scroll-indicator {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-midnight-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
