/* Custom styles for Bridon's Child Development Center */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #9f1631;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #fce7eb;
    color: #3e0712;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff8f7;
}
::-webkit-scrollbar-thumb {
    background: #fce7eb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f5a8b8;
}

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

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

/* Subtle gradient text for special headlines */
.gradient-text {
    background: linear-gradient(135deg, #9f1631 0%, #dc4662 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow effect */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(159, 22, 49, 0.08);
}

/* Mobile menu animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.25rem;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(90deg, #fce7eb 25%, #fad0d9 50%, #fce7eb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}

/* Print styles */
@media print {
    #site-nav, #mobile-menu, #menu-toggle {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
