/* Custom styles for Dominick H. Ferrara School */

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

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* At-rest state for reduced motion - content always visible */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* For non-reduced-motion, set initial state via JS, but default is visible */
/* The JS adds 'revealed' class but content is already visible by default */

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e6c072, #d4a853, #b8923f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f8fafc;
}

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

/* Form select dropdown styling */
select option {
    background: #0f172a;
    color: #f8fafc;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.03) 0%, transparent 50%);
}
