/* Custom styles for Tiny Tots Childcare */

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

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

::-webkit-scrollbar-track {
    background: #141414;
}

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

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

/* Selection color */
::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: #fdfbf7;
}

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

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

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
}

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

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

/* Gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.gradient-card {
    background: linear-gradient(145deg, #1a1a1a, #222222);
}

/* Glass morphism effect */
.glass {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Image hover effects */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 1rem;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

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

.shimmer {
    background: linear-gradient(
        90deg,
        #d4af37 0%,
        #f5e9c8 50%,
        #d4af37 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
    
    .hero-image-stack {
        order: -1;
    }
    
    .hero-image-stack .img-secondary {
        display: none;
    }
}

/* Print styles */
@media print {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav, footer {
        display: none;
    }
}
