/* MN Gear - Minnesota Made Outdoor Gear */
/* Inspired by Minnesota Outdoor Initiative - Earthy olive & cream theme */
:root {
    --bg-primary: #f5f3ee;
    --bg-secondary: #eae7e0;
    --bg-card: #ffffff;
    --bg-card-hover: #faf9f7;
    --accent: #5a6b3c;
    --accent-light: #6d7f4a;
    --accent-dark: #4a5832;
    --forest: #5a6b3c;
    --forest-light: #7a8b5c;
    --pine: #4a5832;
    --text-primary: #3a3a35;
    --text-secondary: #5a5a52;
    --text-muted: #7a7a70;
    --border: #d4d2c8;
    --canvas: #b8a88a;
    --leather: #8b5a2b;
    --wool: #6b4423;
    --button-bg: #d9dece;
    --hero-text: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    gap: 0.25rem;
}

.logo-mn {
    color: var(--accent);
}

.logo-gear {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    transition: color 0.2s;
}

.dropdown-btn:hover {
    color: var(--accent);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 180px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

.dropdown-content a:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

/* Hero */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--hero-text);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--hero-text);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    max-width: 500px;
}

.hero h1 .highlight {
    display: block;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 420px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--button-bg);
    color: var(--accent-dark);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
}

.cta-btn:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hero-text);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.category-section, .deals-section, .about-section, .featured-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.category-section {
    border-top: 1px solid var(--border);
}

/* Featured Grid */
.featured-section {
    padding-top: 5rem;
}

.featured-section .section-header {
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.featured-section .section-header h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: white;
}

.featured-card.large {
    grid-row: span 2;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
}

.featured-location {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.featured-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.featured-card.large .featured-overlay h3 {
    font-size: 1.75rem;
}

.featured-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--button-bg);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.featured-card:hover .featured-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.deal-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.deal-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.deal-tag.new {
    background: var(--accent);
    color: #ffffff;
}

.deal-tag.hot {
    background: #b85450;
    color: #ffffff;
}

.deal-card h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.deal-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.deal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.deal-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.deal-link:hover {
    text-decoration: underline;
}

/* Makers Grid */
.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.maker-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.25s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.maker-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.maker-card.featured {
    border-color: var(--accent-light);
}

.maker-card.featured::after {
    content: '★ FEATURED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: var(--accent);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.maker-image {
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.maker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.maker-card:hover .maker-image img {
    transform: scale(1.05);
}

.maker-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border) 100%);
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-muted);
    opacity: 0.6;
}

.maker-logo {
    height: 45px;
    display: flex;
    align-items: center;
}

.maker-logo img {
    max-height: 35px;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0.2);
    opacity: 0.8;
}

.maker-logo.granite img {
    filter: brightness(0.3);
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    opacity: 0.8;
}

.maker-info {
    padding: 1.25rem;
}

.maker-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.maker-location {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.maker-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.maker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.maker-tags span {
    padding: 0.3rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Materials highlight */
.maker-tags span.canvas {
    background: rgba(184, 168, 138, 0.3);
    color: #7a6a4a;
}

.maker-tags span.wool {
    background: rgba(107, 68, 35, 0.15);
    color: #6b4423;
}

.maker-tags span.ultralight {
    background: rgba(90, 107, 60, 0.15);
    color: var(--accent);
}

/* All Makers List */
.all-makers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.maker-list-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 2rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.maker-list-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.maker-name {
    font-weight: 600;
    color: var(--text-primary);
}

.maker-cat {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.maker-loc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.maker-list-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.maker-list-item a:hover {
    color: var(--accent);
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
    max-width: none;
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo-mn,
.footer-brand .logo-gear {
    display: inline;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 240px);
    }
    
    .featured-card.large {
        grid-row: span 1;
    }
}

@media (max-width: 968px) {
    .hero {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        max-width: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .maker-list-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .featured-section .section-header {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .makers-grid {
        grid-template-columns: 1fr;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-card {
        height: 280px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
}

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