/* Kelly's Kiddy Care — Custom Styles */

/* Base reset enhancements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Selection color */
::selection {
    background: #FF8A50;
    color: #FFFFFF;
}

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

/* Reduced motion */
@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;
    }
    .reveal.hidden-reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Print styles */
@media print {
    nav, #backToTop, .cta-section {
        display: none !important;
    }
    body {
        color: #1A1A20;
        background: white;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .service-card {
        padding: 1.5rem;
    }

    /* Ensure touch targets are large enough */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #333;
    }
    .testimonial-card {
        border: 2px solid #333;
    }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 6rem 0;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
}
