/* ============================================
   WASATCH BACK CUSTOMS - MAIN STYLESHEET
   Brand Colors:
   - Forest Green: #243A2B
   - Cream: #F1E9D2
   - Muted Copper: #9B5A2E
   - Charcoal: #2B2B2B
   - Warm Gray: #E7E5DF
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F1E9D2;
    color: #2B2B2B;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(36, 58, 43, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(241, 233, 210, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(36, 58, 43, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.desktop-nav {
    display: none;
    gap: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.desktop-nav a {
    color: #F1E9D2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #9B5A2E;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #F1E9D2;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: #9B5A2E;
}

.mobile-menu {
    display: none;
    background: #243A2B;
    border-top: 1px solid rgba(241, 233, 210, 0.1);
    padding: 2rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    color: #F1E9D2;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #9B5A2E;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 80px;
    height: 85vh;
    position: relative;
    background: linear-gradient(135deg, #243A2B 0%, #1a2d21 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/hero-mountain.tiff');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(36, 58, 43, 0.35) 0%, 
        rgba(36, 58, 43, 0.5) 50%, 
        rgba(36, 58, 43, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.hero-text {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #F1E9D2;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #E7E5DF;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.btn-primary {
    background: #9B5A2E;
    color: #F1E9D2;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(155, 90, 46, 0.4);
}

.btn-primary:hover {
    background: #844D26;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 90, 46, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #F1E9D2;
    border: 2px solid #F1E9D2;
    padding: 1rem 2.5rem;
}

.btn-secondary:hover {
    background: rgba(241, 233, 210, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   LISTINGS SECTION
   ============================================ */

.listings-section {
    padding: 4rem 2rem;
    background: #F1E9D2;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.5rem;
    color: #243A2B;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.listings-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: white;
    border: 2px solid #E7E5DF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.listings-info h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.5rem;
    color: #243A2B;
    margin-bottom: 1rem;
}

.listings-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gunbroker-link {
    background: #243A2B;
    color: #F1E9D2;
    padding: 1.25rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(36, 58, 43, 0.3);
    transition: all 0.3s ease;
}

.gunbroker-link:hover {
    background: #1a2d21;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 58, 43, 0.4);
}

/* ============================================
   COMING SOON SECTION
   ============================================ */

.coming-soon-section {
    padding: 4rem 2rem;
    background: #243A2B;
    color: #F1E9D2;
}

.coming-soon-content {
    max-width: 1200px;
    margin: 0 auto;
}

.coming-soon-section h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.coming-soon-section > div > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(241, 233, 210, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(241, 233, 210, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(241, 233, 210, 0.15);
    transform: translateY(-4px);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #E7E5DF;
}

/* ============================================
   STORY SECTION
   ============================================ */

.story-section {
    padding: 4rem 2rem;
    background: #F1E9D2;
    max-width: 1400px;
    margin: 0 auto;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-section h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.5rem;
    color: #243A2B;
    margin-bottom: 2rem;
    text-align: center;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #243A2B;
    color: #F1E9D2;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Libre Baskerville', Georgia, serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.95rem;
    color: #E7E5DF;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #E7E5DF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9B5A2E;
}

.footer-bottom {
    border-top: 1px solid rgba(241, 233, 210, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #E7E5DF;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        height: 70vh;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .listings-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gunbroker-link {
        width: 100%;
    }

    .coming-soon-section h2 {
        font-size: 1.8rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .story-section h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .desktop-nav {
        display: flex;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
