/* Custom styles for Des Places Living Learning Center */

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

/* Navbar transitions */
.nav-text-color {
    color: #064e3b;
    transition: color 0.5s ease;
}

.nav-subtext-color {
    color: #047857;
    transition: color 0.5s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d97706;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scrolled state */
.navbar-scrolled .nav-text-color {
    color: #064e3b;
}

.navbar-scrolled .nav-subtext-color {
    color: #047857;
}

.navbar-hero .nav-text-color {
    color: #fefdf8;
}

.navbar-hero .nav-subtext-color {
    color: #d1fae5;
}

.navbar-hero .nav-link {
    color: #d1fae5;
}

.navbar-hero .nav-link:hover {
    color: #d97706;
}

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
    color: #d97706;
    padding-left: 0.5rem;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* At-rest state for reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold accent hover effects */
a:hover .gold-hover,
.group:hover .gold-hover {
    color: #d97706;
}

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

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

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

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

/* Selection color */
::selection {
    background: #d97706;
    color: #022c22;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(6, 78, 59, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}
