/* NATIONALIZE AMAZON - Shared Styles */
/* Light theme matching original Squarespace design */

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Marcellus', 'PT Serif', Georgia, serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    margin-bottom: 1.2rem;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: #555;
}

strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4vw;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4vw;
}

@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 6vw;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 4vw;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.site-logo span {
    color: #1a1a1a;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    color: #555;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a1a1a;
}

/* Hamburger menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
    .header-inner {
        padding: 1rem 6vw;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.8rem 6vw;
        font-size: 0.85rem;
    }
}

/* Hero sections */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    background: #fff;
}

.hero-compact {
    min-height: auto;
    padding: 8rem 0 3rem;
}

.hero h1 {
    color: #1a1a1a;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1a1a1a;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-arrow::after {
    content: ' \2192';
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: #f5f5f5;
}

.section-accent {
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #1a1a1a;
    margin: 2rem 0;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Article cards */
.article-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: #1a1a1a;
    transform: translateY(-3px);
}

.article-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-card p {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}

.article-card .read-more {
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* Article page */
.article-content {
    padding: 2rem 0 5rem;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.article-content h2 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.article-content h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
}

.article-content hr {
    border: none;
    height: 2px;
    background: #1a1a1a;
    width: 60px;
    margin: 2.5rem 0;
}

.article-back {
    display: inline-block;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-decoration: none;
}

.article-back:hover {
    color: #555;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid #ccc;
    color: #1a1a1a;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 0;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #1a1a1a;
}

.site-footer .copyright {
    color: #999;
    font-size: 0.75rem;
}

/* Utility */
.text-red {
    color: #1a1a1a;
}

.text-white {
    color: #1a1a1a;
}

.text-muted {
    color: #888;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

/* Image */
.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid #1a1a1a;
    padding: 1.5rem 0 1.5rem 2rem;
    margin: 2rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Stat block */
.stat-block {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}
