/* ========================================
   Appalachian Adventure Camp
   Custom Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

/* ========================================
   Geometric Decorative Shapes
   ======================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    top: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 3px solid rgba(245, 197, 24, 0.08);
    border-radius: 50%;
}

.triangle-1 {
    bottom: 20%;
    left: -3%;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(15, 33, 64, 0.03);
    transform: rotate(-15deg);
}

.circle-2 {
    top: 60%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: rgba(245, 197, 24, 0.04);
    border-radius: 50%;
}

.rect-1 {
    top: 40%;
    left: 2%;
    width: 100px;
    height: 100px;
    background: rgba(15, 33, 64, 0.02);
    border-radius: 16px;
    transform: rotate(30deg);
}

/* ========================================
   Scroll Reveal Animations
   (Progressive enhancement - content visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

/* ========================================
   Mobile Menu
   ======================================== */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#mobileMenuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobileMenuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Form Styles
   ======================================== */
input:focus,
select:focus,
textarea:focus {
    border-color: #e6b800 !important;
    box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f2140;
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: #f5c518;
    color: #0f2140;
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
