/* ══════════════════════════════════════════════════
   Kochendorfer's – Ballard Neighborhood Pub
   Stylesheet
   ══════════════════════════════════════════════════ */

/* ── Force Light Mode ─────────────────────────── */
:root {
    color-scheme: light;
}

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

:root {
    /* Brand palette – warm light theme */
    --color-bg:        #faf7f2;
    --color-surface:   #ffffff;
    --color-card:      #ffffff;
    --color-gold:      #b8860b;
    --color-gold-light:#d4a017;
    --color-gold-dark: #8b6914;
    --color-cream:     #faf7f2;
    --color-text:      #3a3530;
    --color-heading:   #2c1e0e;
    --color-muted:     #6b6560;
    --color-white:     #ffffff;
    --color-hero-bg:   #1e2d42;

    /* Accent per-card */
    --color-sports:    #2a5da8;
    --color-trivia:    #c47e18;
    --color-beer:      #2e7d32;

    /* Typography */
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: 64px;
    --container-max: 1100px;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--color-gold-dark);
}

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

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-gold);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
    transform: translateY(-2px);
}

/* ── Logo Banner ───────────────────────────────── */
.logo-banner {
    background: #0a0a0a;
    text-align: center;
    padding: 20px 20px;
}

.banner-logo {
    height: 80px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 55vh;
    padding: 60px 20px;
    background: #0a0a0a url('background%20image.png') right center / contain no-repeat;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 50%, transparent 75%);
    z-index: 1;
}

/* Soft fade edges on hero — top and bottom */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,10,10,0) 50%, rgba(10,10,10,1) 100%),
        linear-gradient(to top, rgba(10,10,10,0) 65%, rgba(10,10,10,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: left;
    max-width: 550px;
    margin-left: 6%;
    animation: heroFadeIn 1s ease-out;
    z-index: 2;
}

.hero-logo {
    display: none;
}

.tagline {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.05;
    text-shadow:
        0 0 20px rgba(255,255,255,0.25),
        0 0 50px rgba(255,255,255,0.1),
        0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 28px;
    position: relative;
}

/* Soft white glow flare behind tagline */
.tagline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 250%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.tagline .dot {
    color: var(--color-gold);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Highlights Section ─────────────────────────── */
.highlights {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
    background: var(--color-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.08),
        0 20px 48px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.06),
        0 20px 40px rgba(0,0,0,0.14),
        0 32px 64px rgba(0,0,0,0.06);
}

.card-icon {
    display: none;
}

.card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-heading);
}

.card p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.55;
}

/* Accent top-borders */
.card-sports { border-top: 4px solid var(--color-sports); }
.card-trivia { border-top: 4px solid var(--color-trivia); }
.card-beer   { border-top: 4px solid var(--color-beer); }

.card-sports h2 { color: var(--color-sports); }
.card-trivia h2 { color: var(--color-trivia); }
.card-beer h2   { color: var(--color-beer); }

/* ── About Section ────────────────────────────── */
.about {
    padding: var(--section-pad) 0;
    background: var(--color-surface);
    box-shadow:
        0 -6px 24px rgba(0,0,0,0.06),
        0 6px 24px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

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

.section-heading {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--color-heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.section-heading .dot {
    color: var(--color-gold);
}

.about-description {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.about-description strong {
    color: var(--color-heading);
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.info-item h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.55;
}

.info-item a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.15);
    text-underline-offset: 3px;
}
.info-item a:hover {
    color: var(--color-gold);
    text-decoration-color: var(--color-gold);
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow:
        0 16px 48px rgba(0,0,0,0.18),
        0 4px 12px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* ── Footer ───────────────────────────────────── */
.site-footer {
    background: #2c2520;
    border-top: none;
    padding: 40px 0 0 0;
    color: #d6cfc5;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #faf7f2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.footer-address {
    font-size: 0.85rem;
    color: #a89e93;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.9rem;
    color: #a89e93;
}
.footer-social a {
    font-weight: 600;
    color: var(--color-gold-light);
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 16px 0;
}
.footer-copy p {
    font-size: 0.8rem;
    color: #7a7168;
}

/* ── Fade-In Animation ────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Parallax Sections ────────────────────────── */
.parallax-section {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-photo {
        order: -1;
    }

    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    :root {
        --section-pad: 50px;
    }

    .hero {
        min-height: 40vh;
        padding: 36px 20px;
        background-size: cover;
        background-position: 75% center;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-overlay {
        background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    }

    .tagline {
        font-size: 2.2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .card {
        padding: 28px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        align-items: center;
    }
}
