/* Custom styles for A Ticket To Laugh School */

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

/* Scroll reveal base - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.06);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #bcccdc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fb3c8;
}

/* Selection color */
::selection {
    background: #fde047;
    color: #102a43;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover lift effect */
a, button {
    transition: all 0.2s ease;
}

/* Image lazy loading fade */
img {
    transition: opacity 0.3s ease;
}

/* Subtle gradient for hero text */
.text-gradient-gold {
    background: linear-gradient(135deg, #facc15 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover shadow animation */
.rounded-3xl {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.rounded-3xl:hover {
    transform: translateY(-4px);
}
