/* Custom styles for Rainbow Daycare Center */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #34D399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #A7F3D0;
    color: #064E3B;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F9F5ED;
}
::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6EE7B7;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle, #D1FAE5 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Rainbow text animation for hero */
@keyframes rainbowShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-gradient {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 25%, #F9F5ED 50%, #F2EBD9 75%, #E8DCC0 100%);
}

/* Card shimmer effect on hover */
.card-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.card-hover {
    position: relative;
}

/* Reduce motion for 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;
    }
    .reveal-hidden {
        opacity: 1 !important;
        transform: none !important;
    }
}
