/* Custom styles for Imagination Daycare */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a16207, #ca8a04);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ca8a04, #eab308);
}

/* Selection color */
::selection {
    background: rgba(161, 98, 7, 0.3);
    color: #f5f5f5;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(161, 98, 7, 0.3); }
    50% { box-shadow: 0 0 40px rgba(161, 98, 7, 0.6); }
}

/* Utility classes */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Print styles */
@media print {
    nav, .btn-primary, .btn-gold {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-dark-950 {
        background-color: #000;
    }
    
    .text-dark-300 {
        color: #ccc;
    }
}

/* Reduced motion support */
@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;
    }
}

/* Landscape mode optimization */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-gradient {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* Desktop enhancements */
@media (min-width: 1024px) {
    .card-hover {
        transform: translateY(0);
    }
    
    .card-hover:hover {
        transform: translateY(-8px);
    }
}
