/* ============================================
   Doans Outdoor Store — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

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

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 216, 163, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    border-radius: 50%;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid rgba(46, 216, 163, 0.04);
    top: 400px;
    left: -60px;
    transform: rotate(25deg);
}

.geo-diamond-1 {
    width: 100px;
    height: 100px;
    background: rgba(46, 216, 163, 0.05);
    top: 800px;
    right: 100px;
    transform: rotate(45deg);
    border-radius: 8px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 216, 163, 0.04) 0%, transparent 70%);
    bottom: 200px;
    left: -80px;
    border-radius: 50%;
}

.geo-rect-1 {
    width: 150px;
    height: 150px;
    background: rgba(46, 216, 163, 0.03);
    bottom: 600px;
    right: 50px;
    transform: rotate(30deg);
    border-radius: 20px;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(46, 216, 163, 0.03);
    top: 1400px;
    right: 30px;
    transform: rotate(-15deg);
}

/* ============================================
   Navigation
   ============================================ */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-glass {
    background: rgba(5, 13, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #2ED8A3;
    background: rgba(46, 216, 163, 0.1);
}

/* Mobile Menu */
.nav-mobile {
    background: rgba(5, 13, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:hover {
    color: #2ED8A3;
    background: rgba(46, 216, 163, 0.1);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   Hover Effects
   ============================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2ED8A3;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 640px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-triangle-1 {
        border-left-width: 60px;
        border-right-width: 60px;
        border-bottom-width: 100px;
    }
    
    .geo-diamond-1,
    .geo-rect-1 {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .geo-circle-1 {
        width: 350px;
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .geo-triangle-1,
    .geo-diamond-1,
    .geo-rect-1,
    .geo-triangle-2 {
        display: block;
    }
}
