/* MN Gear - Modern Outdoor Theme */
:root {
    --bg-primary: #f8faf8;
    --bg-secondary: #eef2ee;
    --bg-card: #ffffff;
    --bg-dark: #1a2e1a;
    --bg-dark-soft: #243524;
    --accent: #2d5a3d;
    --accent-hover: #234830;
    --accent-blue: #3b6b8c;
    --accent-blue-light: #4a7fa3;
    --text-primary: #1a2e1a;
    --text-secondary: #4a5d4a;
    --text-muted: #7a8a7a;
    --text-inverse: #f8faf8;
    --border: #d4ddd4;
    --border-light: #e8ede8;
    --gradient-dark: linear-gradient(180deg, rgba(26,46,26,0) 0%, rgba(26,46,26,0.8) 100%);
    --shadow-sm: 0 1px 2px rgba(26,46,26,0.06);
    --shadow-md: 0 4px 12px rgba(26,46,26,0.1);
    --shadow-lg: 0 12px 40px rgba(26,46,26,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 248, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-mn {
    color: var(--accent);
    margin-right: -0.15em;
}

.logo-gear {
    color: var(--text-muted);
    font-weight: 500;
    margin-left: -0.15em;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

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

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

.nav-featured {
    background: linear-gradient(135deg, #d4a520 0%, #b8941c 100%);
    color: #1a2e1a !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nav-featured:hover {
    background: linear-gradient(135deg, #e4b530 0%, #c8a42c 100%);
    color: #1a2e1a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 165, 32, 0.3);
}

.nav-subscribe {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.nav-subscribe:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-1px);
}

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

.dropdown-btn svg {
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-btn svg {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.png') center/cover;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,46,26,0.2) 0%, rgba(26,46,26,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--text-inverse);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    display: block;
    background: linear-gradient(135deg, #7cb88c, #5a9dba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(248, 250, 248, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--text-inverse);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 248, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sales Section */
.sales-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.08) 0%, rgba(59, 107, 140, 0.08) 100%);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.sales-section .section-header {
    margin-bottom: 2rem;
}

.sales-section .section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.sales-section .section-header p {
    color: var(--text-secondary);
}

.sales-section .last-updated {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-top: 0.75rem;
    border: 1px solid var(--border-light);
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.sale-card {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    position: relative;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}

.sale-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sale-badge {
    position: absolute;
    top: -12px;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sale-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-right: 4rem;
    color: var(--text-primary);
}

.sale-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.sale-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sale-link:hover {
    color: var(--accent-blue);
}

.no-sales-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Inline Email Capture */
.inline-subscribe {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f5e6d3 0%, #ede0d0 100%);
    border-radius: var(--radius-md);
    border: 1px solid #d9c9b5;
}

.inline-subscribe-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.inline-subscribe-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.inline-subscribe-icon {
    font-size: 2rem;
}

.inline-subscribe-text strong {
    display: block;
    font-size: 1.1rem;
    color: #5c4a36;
    margin-bottom: 0.15rem;
}

.inline-subscribe-text p {
    color: #7a6654;
    font-size: 0.95rem;
    margin: 0;
}

.inline-subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.inline-subscribe-form input {
    padding: 0.75rem 1rem;
    border: 2px solid #d9c9b5;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    min-width: 220px;
    transition: border-color 0.2s;
}

.inline-subscribe-form input:focus {
    outline: none;
    border-color: #b5956d;
}

.inline-subscribe-form button {
    background: #8b6f47;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.inline-subscribe-form button:hover {
    background: #7a5f3a;
    transform: translateY(-1px);
}

.inline-subscribe-success {
    color: #5c4a36;
    font-weight: 500;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .inline-subscribe {
        padding: 1.25rem;
    }
    
    .inline-subscribe-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .inline-subscribe-text {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .inline-subscribe-form {
        flex-direction: column;
    }
    
    .inline-subscribe-form input {
        min-width: 100%;
    }
}

/* Sales Section */
.sales-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
}

.sales-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sales-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.sale-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px solid #ff6b35;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.sale-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.sale-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.sale-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
}

.sale-image img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
}

.sale-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sale-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sale-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sale-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.25rem;
}

.sale-cta {
    display: inline-block;
    margin-top: 0.75rem;
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.9rem;
}

.sale-card:hover .sale-cta {
    text-decoration: underline;
}

.no-sales-msg {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .sales-section {
        padding: 1.5rem 1rem 1rem;
    }
    
    .sales-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sales-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Sections with Banners */
.category-section {
    padding: 0;
    margin-bottom: 0;
}

.section-banner {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    overflow: hidden;
}

.section-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 46, 26, 0.85) 0%, rgba(26, 46, 26, 0.6) 100%);
    z-index: 1;
}

.section-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.section-banner h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.section-banner p {
    color: rgba(248, 250, 248, 0.7);
    font-size: 0.95rem;
}

/* Makers Grid */
.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-primary);
}

.maker-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.maker-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.maker-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

/* Notable Neighbors Section */
.neighbors-section {
    background: linear-gradient(180deg, #faf8f5 0%, #f5f0e8 100%);
}

.neighbors-banner::before {
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.85) 0%, rgba(139, 69, 19, 0.6) 100%) !important;
}

.neighbors-section .makers-grid {
    background: transparent;
}

.neighbors-section .maker-card {
    border-color: #d4c4a8;
    position: relative;
}

.neighbors-section .maker-card:hover {
    border-color: #8b4513;
}

/* Beyond the Gear Section */
.beyond-section {
    background: linear-gradient(180deg, #f5f8fa 0%, #eef3f7 100%);
}

.beyond-banner::before {
    background: linear-gradient(90deg, rgba(59, 107, 140, 0.85) 0%, rgba(59, 107, 140, 0.6) 100%) !important;
}

.beyond-section .makers-grid {
    background: transparent;
}

.beyond-section .maker-card {
    border-color: #c5d5e5;
}

.beyond-section .maker-card:hover {
    border-color: var(--accent-blue);
}

.maker-image {
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

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

.maker-image.logo-local,
.maker-image.logo-bg {
    padding: 1rem;
}

.maker-image.logo-local img,
.maker-image.logo-bg img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Specific logo size adjustments */
.maker-image.logo-lg img {
    max-width: 85%;
    max-height: 85%;
}

.maker-image.dark-bg {
    background: var(--bg-dark-soft);
}

.maker-image.placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border) 100%);
}

.placeholder-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.maker-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.maker-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.maker-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.maker-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.maker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

/* All Makers Section */
#all-makers {
    background: var(--bg-dark);
    padding: 6rem 2rem;
}

#all-makers .section-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
}

#all-makers .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: 0.5rem;
}

#all-makers .section-header p {
    color: rgba(248, 250, 248, 0.6);
}

.all-makers-list {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.maker-list-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 2rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(248, 250, 248, 0.1);
    color: var(--text-inverse);
}

.maker-list-item:first-child {
    border-top: 1px solid rgba(248, 250, 248, 0.1);
}

.maker-name {
    font-weight: 500;
}

.maker-cat {
    color: rgba(248, 250, 248, 0.6);
    font-size: 0.9rem;
}

.maker-loc {
    color: rgba(248, 250, 248, 0.6);
    font-size: 0.9rem;
    min-width: 120px;
}

.maker-list-item a {
    color: #7cb88c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.maker-list-item a:hover {
    color: #9dd4a8;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
}

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.about-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.feature {
    text-align: center;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    border-radius: var(--radius-md);
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(248, 250, 248, 0.1);
}

.footer-brand {
    color: var(--text-inverse);
}

.footer-brand .logo-mn {
    color: #7cb88c;
}

.footer-brand .logo-gear {
    color: rgba(248, 250, 248, 0.6);
}

.footer-brand p {
    color: rgba(248, 250, 248, 0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: rgba(248, 250, 248, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(248, 250, 248, 0.5);
    font-size: 0.85rem;
}

/* Newsletter Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

#subscribe-form {
    display: flex;
    gap: 0.5rem;
}

#subscribe-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

#subscribe-form input:focus {
    outline: none;
    border-color: var(--accent);
}

#subscribe-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#subscribe-form button:hover {
    background: var(--accent-dark);
}

.modal-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.subscribe-success {
    color: var(--accent);
    font-weight: 500;
}

/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#contact-form button:hover {
    background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.1rem;
    }
    
    .nav-links .dropdown {
        width: 100%;
    }
    
    .nav-links .dropdown-btn {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.1rem;
        justify-content: space-between;
    }
    
    .nav-links .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .nav-links .dropdown.open .dropdown-content {
        max-height: 500px;
    }
    
    .nav-links .dropdown-content a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-bottom: none;
    }
    
    .nav-links .nav-subscribe {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .section-banner {
        height: 100px;
        padding: 0 1rem;
    }
    
    .section-banner h2 {
        font-size: 1.25rem;
    }
    
    .section-banner p {
        font-size: 0.85rem;
    }
    
    .makers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1.5rem 0.75rem;
    }
    
    .maker-card {
        font-size: 0.85rem;
    }
    
    .maker-image {
        height: 120px;
    }
    
    .maker-info {
        padding: 0.75rem;
    }
    
    .maker-info h3 {
        font-size: 0.9rem;
    }
    
    .maker-info p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .maker-location {
        font-size: 0.7rem;
    }
    
    .maker-tags {
        gap: 0.25rem;
        margin-top: 0.5rem;
    }
    
    .maker-tags span {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .sales-section {
        padding: 1.5rem 0.75rem;
        margin-top: 0;
        border-radius: 0;
    }
    
    .sales-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .sale-card {
        padding: 1rem;
    }
    
    .sale-card h3 {
        font-size: 0.95rem;
        padding-right: 0;
    }
    
    .sale-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        top: -8px;
        right: 0.75rem;
    }
    
    .sale-details {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .sale-link {
        font-size: 0.8rem;
    }
    
    .maker-list-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .maker-cat, .maker-loc {
        display: none;
    }
    
    #all-makers {
        padding: 4rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-section {
        padding: 4rem 1.5rem;
    }
}
