/* Custom styles for Little Harvard Child Development Center */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #141414;
}
::-webkit-scrollbar-thumb {
    background: #2E2E2E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4A853;
}

/* Selection color */
::selection {
    background: #FF6B4A;
    color: #fff;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gold line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-line {
    background: linear-gradient(90deg, transparent, #D4A853, #FF6B4A, #D4A853, transparent);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

/* Pulse animation for status dot */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Card hover glow */
.card-hover:hover .service-icon {
    box-shadow: 0 0 30px rgba(255, 107, 74, 0.2);
}

/* Form styles */
input, textarea, select {
    background: #1C1C1C !important;
    border: 1px solid #2E2E2E !important;
    color: #F5F0EB !important;
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: #D4A853 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}
input::placeholder, textarea::placeholder {
    color: #6B6B6B !important;
}

/* Success message */
.success-msg {
    animation: fadeUp 0.5s ease forwards;
}

/* Map dark mode override */
iframe[title*="map"] {
    border-radius: 0 0 1.5rem 1.5rem;
}
