/* Loon Lake 4-H Camp — Custom Styles */

/* Base & Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0a1f0f;
    color: #f8f6f0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Gold gradient text */
.gold-shimmer {
    background: linear-gradient(90deg, #c9a84c, #e0cc8a, #c9a84c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.gold-shimmer:hover {
    animation-play-state: paused;
    background-position: 200% center;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll reveal base state */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f8f6f0;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0d2814 0%, #12331a 100%);
    min-height: 4px;
}

/* Smooth image transitions */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Mobile menu transition */
.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* CTA Button glow */
.cta-btn:hover {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.25);
}

/* Experience card image overlay */
.experience-card {
    background: linear-gradient(135deg, rgba(13, 40, 20, 0.8) 0%, rgba(18, 51, 26, 0.6) 100%);
    backdrop-filter: blur(4px);
}

/* Gold line animation */
.gold-line {
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gold-line:hover {
    width: 100px;
}

/* Navbar scroll state */
.navbar {
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 31, 15, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

/* Section divider */
.section-divider {
    transition: opacity 0.3s ease;
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0d2814 inset !important;
    -webkit-text-fill-color: #f8f6f0 !important;
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, .reveal {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
}
