:root {
    --red: #8a1c1c;
    --red-dark: #5c1010;
    --orange: #d35400;
    --amber: #f4a261;
    --cream: #f9f5e9;
    --charcoal: #2b2118;
    --paper: #fffdf7;
    --font-display: 'Rye', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

a { text-decoration: none; color: inherit; }

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 28, 28, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-secondary:hover {
    background: var(--red);
    color: white;
}

.hero .btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: white;
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background: white;
    color: var(--charcoal);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

/* Header */
.site-header {
    background: var(--charcoal);
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--amber);
    letter-spacing: 1px;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--amber);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--amber);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    background:
        linear-gradient(rgba(43,33,24,0.55), rgba(43,33,24,0.8)),
        url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(43,33,24,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section headings */
section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--red-dark);
}

.section-lead, .tagline {
    text-align: center;
    font-size: 1.15rem;
    color: #5c4b3a;
    margin-top: 0.5rem;
}

/* Page hero */
.page-hero {
    background: var(--red-dark);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.page-hero .tagline {
    color: var(--amber);
    font-size: 1.2rem;
}

/* Offerings */
.offerings {
    padding: 5rem 0;
    background: var(--paper);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.offering-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.offering-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offering-card h3 {
    font-family: var(--font-display);
    color: var(--red-dark);
    margin-bottom: 0.75rem;
}

.offering-card p {
    color: #5c4b3a;
}

/* Trade days CTA */
.trade-days-cta {
    padding: 5rem 0;
    background: var(--charcoal);
    color: var(--cream);
}

.trade-days-cta h2 {
    color: var(--amber);
    text-align: left;
}

.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-text p {
    margin: 1rem 0;
    font-size: 1.05rem;
}

.badge-card, .vendor-card, .mission-badge {
    background: var(--paper);
    color: var(--charcoal);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    text-align: center;
}

.badge-card strong {
    display: block;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.badge-card p {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--charcoal);
}

.badge-card span {
    display: block;
    margin-top: 0.75rem;
    color: #5c4b3a;
}

/* Story section */
.story-section {
    padding: 4rem 0;
    background: var(--paper);
    text-align: center;
}

.lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #5c4b3a;
    line-height: 1.7;
}

/* Team */
.team-section {
    padding: 4rem 0;
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg, var(--red));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.team-card h3 {
    font-family: var(--font-display);
    color: var(--red-dark);
    margin-bottom: 0.75rem;
}

.team-card p {
    color: #5c4b3a;
    font-size: 0.95rem;
}

/* Mission */
.mission-section {
    padding: 5rem 0;
    background: var(--red);
    color: white;
}

.mission-section h2 {
    color: white;
    text-align: left;
}

.mission-section p {
    margin: 1rem 0;
    font-size: 1.05rem;
}

.mission-badge {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--red-dark);
}

/* Thank you */
.thank-you {
    padding: 4rem 0;
    background: var(--paper);
    text-align: center;
}

.thank-you p {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    color: #5c4b3a;
}

/* Events */
.events-section {
    padding: 4rem 0;
    background: var(--paper);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    align-items: flex-start;
}

.event-date {
    min-width: 80px;
    text-align: center;
    background: var(--red);
    color: white;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
}

.event-date .month {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-date .day {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.event-info h3 {
    font-family: var(--font-display);
    color: var(--red-dark);
    margin-bottom: 0.4rem;
}

.event-info p {
    color: #5c4b3a;
    margin-bottom: 0.3rem;
}

.event-info .venue {
    font-size: 0.95rem;
    color: #7a6652;
}

.event-info .btn-secondary {
    margin-top: 0.75rem;
}

/* What to expect / vendors */
.what-to-expect {
    padding: 4rem 0;
    background: var(--charcoal);
    color: var(--cream);
}

.what-to-expect h2 {
    color: var(--amber);
    text-align: left;
}

.what-to-expect ul {
    list-style: none;
    margin-top: 1rem;
}

.what-to-expect li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.what-to-expect li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
}

.vendor-card h3 {
    font-family: var(--font-display);
    color: var(--red-dark);
    margin-bottom: 1rem;
}

.vendor-card ul {
    list-style: none;
    text-align: left;
}

.vendor-card li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(43,33,24,0.15);
    color: #5c4b3a;
}

/* CTA section */
.cta-section {
    padding: 4rem 0;
    background: var(--amber);
    color: var(--charcoal);
    text-align: center;
}

.cta-section h2 {
    color: var(--charcoal);
}

.cta-section p {
    max-width: 600px;
    margin: 1rem auto 1.5rem;
    font-size: 1.1rem;
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
    background: var(--paper);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item.placeholder {
    background: linear-gradient(135deg, #d7c4a8, #a88b6a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    color: #7a6652;
    font-style: italic;
}

/* Contact */
.contact-section {
    padding: 5rem 0;
    background: var(--red);
    color: white;
}

.contact-section h2 {
    color: white;
    text-align: left;
}

.contact-section a {
    color: var(--amber);
    text-decoration: underline;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-split p {
    margin: 1rem 0;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem;
    border-radius: 6px;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form button {
    align-self: flex-start;
    border: none;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    background: var(--amber);
    color: var(--charcoal);
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.form-message.success {
    background: rgba(45, 90, 39, 0.2);
    color: #ffffff;
    border: 1px solid #ffffff;
}

.form-message.error {
    background: rgba(166, 52, 46, 0.2);
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* Footer */
.site-footer {
    background: #1a130e;
    color: #b5a99a;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 0.5rem;
}

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

.footer-links a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 800px) {
    .nav-bar {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }

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

    .split,
    .contact-split {
        grid-template-columns: 1fr;
    }

    .trade-days-cta h2,
    .mission-section h2,
    .contact-section h2 {
        text-align: center;
    }

    .event-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand span {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
    }

    .badge-card, .vendor-card, .mission-badge {
        padding: 1.5rem;
    }
}
