/* ============================================
   HUMBOLDT DONUTS — Stylesheet
   Palette: Deep Navy (#1B2A4A) + Warm Gold (#C8973E)
   Fonts: Playfair Display (headings), Lora (body), Inter (UI)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2C2C2C;
    background-color: #FAF8F5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1B2A4A;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Eyebrow ---------- */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8973E;
    margin-bottom: 16px;
}

/* ---------- Section Title ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    font-weight: 600;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
    color: #C8973E;
}

.section-title--light,
.section-title--light em {
    color: #FAF8F5;
}

.section-title--light em {
    color: #C8973E;
}

/* ---------- Section Body ---------- */
.section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.section-body--light {
    color: rgba(250, 248, 245, 0.75);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--gold {
    background-color: #C8973E;
    color: #1B2A4A;
    border-color: #C8973E;
}

.btn--gold:hover {
    background-color: #B8862E;
    border-color: #B8862E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 151, 62, 0.3);
}

.btn--outline-light {
    background-color: transparent;
    color: #FAF8F5;
    border-color: rgba(250, 248, 245, 0.5);
}

.btn--outline-light:hover {
    border-color: #C8973E;
    color: #C8973E;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(27, 42, 74, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 151, 62, 0.15);
    transition: background-color 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FAF8F5;
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    color: #C8973E;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C8973E;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #C8973E;
}

.nav-link::after:hover {
    width: 100%;
}

.nav-link--cta {
    color: #C8973E;
    font-weight: 500;
}

.nav-link--cta::after {
    display: none;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FAF8F5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #1B2A4A;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, #C8973E 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C8973E;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: #FAF8F5;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: #C8973E;
}

.hero-sub {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: 40px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
}

.hero-detail-icon {
    color: #C8973E;
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(200, 151, 62, 0.3);
    border-radius: 8px;
    z-index: -1;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background-color: #FAF8F5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(27, 42, 74, 0.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(27, 42, 74, 0.18);
    border: 4px solid #FAF8F5;
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content-col {
    padding-top: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1B2A4A;
}

.about-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B6B6B;
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(27, 42, 74, 0.15);
}

/* ---------- Menu ---------- */
.menu {
    padding: 120px 0;
    background-color: #1B2A4A;
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 1px 1px, #C8973E 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.menu-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.menu-header .section-body {
    margin: 0 auto;
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.menu-category {
    background-color: rgba(250, 248, 245, 0.04);
    border: 1px solid rgba(200, 151, 62, 0.15);
    border-radius: 8px;
    padding: 40px;
}

.menu-category-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #C8973E;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(200, 151, 62, 0.2);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #FAF8F5;
}

.menu-item-desc {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.55);
    font-style: italic;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 24px;
    background-color: rgba(200, 151, 62, 0.08);
    border: 1px solid rgba(200, 151, 62, 0.2);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.65);
    position: relative;
    z-index: 1;
}

.menu-note-icon {
    color: #C8973E;
    flex-shrink: 0;
}

/* ---------- Craft ---------- */
.craft {
    padding: 120px 0;
    background-color: #FAF8F5;
}

.craft-header {
    text-align: center;
    margin-bottom: 72px;
}

.craft-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
}

.craft-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.craft-step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    color: rgba(200, 151, 62, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.craft-step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 12px;
}

.craft-step-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5A5A5A;
}

.craft-step-connector {
    display: none;
}

/* ---------- Visit ---------- */
.visit {
    padding: 120px 0;
    background-color: #F3EFE8;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info {
    padding-top: 12px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.visit-detail {
    display: flex;
    gap: 16px;
}

.visit-detail-icon {
    color: #C8973E;
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6B6B6B;
    margin-bottom: 4px;
}

.visit-detail-value {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    color: #1B2A4A;
    line-height: 1.6;
}

.visit-detail-value a {
    color: #1B2A4A;
    border-bottom: 1px solid rgba(27, 42, 74, 0.2);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.visit-detail-value a:hover {
    color: #C8973E;
    border-color: #C8973E;
}

.visit-hours-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #888;
    font-style: normal;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(27, 42, 74, 0.12);
}

.visit-map-placeholder {
    background-color: #1B2A4A;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 320px;
    justify-content: center;
}

.visit-map-icon {
    color: #C8973E;
    margin-bottom: 8px;
}

.visit-map-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.1rem;
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.visit-map-btn {
    margin-top: 8px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background-color: #1B2A4A;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 1px 1px, #C8973E 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-text {
    padding-top: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.6);
}

.form-input,
.form-textarea {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    color: #FAF8F5;
    background-color: rgba(250, 248, 245, 0.06);
    border: 1px solid rgba(200, 151, 62, 0.25);
    border-radius: 4px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(250, 248, 245, 0.3);
}

.form-input:focus,
.form-textarea:focus {
    border-color: #C8973E;
    background-color: rgba(250, 248, 245, 0.08);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background-color: rgba(200, 151, 62, 0.1);
    border: 1px solid rgba(200, 151, 62, 0.3);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #C8973E;
}

.form-success svg {
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #141F35;
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(200, 151, 62, 0.1);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FAF8F5;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: #C8973E;
}

.footer-tagline {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.5);
    line-height: 1.7;
}

.footer-links-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C8973E;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.55);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #C8973E;
}

.footer-contact li {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.55);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.35);
}

.footer-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .about-grid {
        gap: 48px;
    }

    .craft-steps {
        gap: 32px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

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

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(27, 42, 74, 0.98);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        border-bottom: 1px solid rgba(200, 151, 62, 0.15);
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-details {
        align-items: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image-accent {
        display: none;
    }

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

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 70%;
        margin-top: -20px;
        margin-left: auto;
    }

    .menu-categories {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .menu-category {
        padding: 28px;
    }

    .craft-steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

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

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-stat-divider {
        display: none;
    }

    .craft-steps {
        grid-template-columns: 1fr;
    }

    .menu-category {
        padding: 24px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }

    .btn:hover {
        transform: none;
    }

    .nav-links {
        transition: none;
    }
}
