/* Shroom Stop — static rebuild
   Brand palette pulled from the original Square Online theme */
:root {
    --green: #274b3a;        /* primary */
    --green-dark: #1c3529;
    --ink: #141c0e;
    --cream: #f3f2ef;        /* page background */
    --red: #be1f2e;          /* accent */
    --white: #ffffff;
    --radius: 8px;
    --radius-img: 16px;
    --font-head: 'Comfortaa', cursive;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.5;
    color: var(--green-dark);
    background: var(--cream);
}

h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    color: var(--green);
}

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

a { color: var(--green); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid rgba(39, 75, 58, 0.15);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo img { height: 56px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.site-nav a.active { color: var(--red); }

.site-nav a:hover { color: var(--red); }

.nav-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: var(--green);
    cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    border: 2px solid var(--green);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 2px 2px 4px rgba(39, 75, 58, 0.35); }

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

.btn-secondary { background: var(--green); border-color: var(--green); color: var(--white); }

.btn-outline { background: transparent; color: var(--green); }

.btn-light { border-color: var(--cream); color: var(--cream); }

.btn.nav-cta { padding: 8px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); }

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-sub { max-width: 46ch; margin-bottom: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media img {
    border-radius: var(--radius-img);
    box-shadow: 0 16px 40px rgba(20, 28, 14, 0.25);
}

/* ---------- Tickers ---------- */
.ticker {
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.ticker-dark { background: var(--ink); color: var(--cream); }

.ticker-green { background: var(--green); color: var(--cream); }

.ticker-track {
    display: inline-flex;
    font-family: var(--font-head);
    font-weight: 500;
    animation: ticker-scroll 25s linear infinite;
    will-change: transform;
}

/* Two identical .ticker-seq copies sit side by side; the track slides
   exactly one copy's width (-50%), so the loop point is invisible. */
.ticker-seq {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    white-space: nowrap;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 20px; }

.section p { margin-bottom: 16px; }

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

.about-media img {
    border-radius: var(--radius-img);
    box-shadow: 0 12px 32px rgba(20, 28, 14, 0.2);
}

.tagline {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--red);
    font-size: 1.15rem;
}

/* ---------- Announcement ---------- */
.announce {
    background: var(--green);
    text-align: center;
    padding: 56px 0;
}

.announce h2 { color: var(--cream); }

.announce p { color: var(--cream); margin: 0 auto; max-width: 60ch; }

/* ---------- Food truck ---------- */
.foodtruck { background: var(--red); }

.foodtruck h2, .foodtruck p { color: var(--white); }

.foodtruck .contact-line a { color: var(--white); font-weight: 700; }

.announce-kicker {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.foodtruck .btn-primary {
    background: var(--white);
    border-color: var(--white);
    color: var(--red);
    margin-top: 12px;
}

/* ---------- Food gallery ---------- */
.gallery-section { padding-top: 24px; }

.food-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.food-gallery figure { margin: 0; }

.food-gallery img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-img);
    box-shadow: 0 10px 24px rgba(20, 28, 14, 0.18);
}

.food-gallery figcaption {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--green);
    text-align: center;
    padding-top: 10px;
}

/* ---------- Location ---------- */
.location address {
    font-style: normal;
    font-weight: 700;
    margin-bottom: 20px;
}

.hours {
    border-collapse: collapse;
    margin-bottom: 24px;
    width: 100%;
    max-width: 460px;
}

.hours th, .hours td {
    text-align: left;
    padding: 10px 16px 10px 0;
    border-bottom: 1px solid rgba(39, 75, 58, 0.2);
    vertical-align: top;
    font-size: 16px;
}

.hours th { font-family: var(--font-head); color: var(--green); white-space: nowrap; }

.map-embed iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: var(--radius-img);
    box-shadow: 0 12px 32px rgba(20, 28, 14, 0.2);
}

/* ---------- Batter ---------- */
.batter { background: var(--white); }

/* ---------- Catering ---------- */
.catering { background: var(--green); }

.catering h2, .catering > .section-inner > p { color: var(--cream); }

.catering-form { max-width: 760px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.catering-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--cream);
    font-size: 15px;
    font-weight: 500;
}

.catering-form input,
.catering-form select {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(243, 242, 239, 0.4);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
}

.catering-form input:focus,
.catering-form select:focus { outline: 3px solid var(--red); border-color: var(--red); }

.form-note { color: var(--cream); margin-top: 14px; font-size: 15px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-bottom: 0; }

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }

.page-hero p { max-width: 65ch; }

/* ---------- Delivery cards ---------- */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.delivery-card {
    display: block;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: var(--radius-img);
    padding: 32px 28px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20, 28, 14, 0.2);
}

.delivery-card h2 { font-size: 1.4rem; margin-bottom: 10px; }

.delivery-card p { color: var(--green-dark); margin-bottom: 16px; font-size: 16px; }

.delivery-card .card-cta { font-weight: 700; color: var(--red); }

.delivery-card.highlight { background: var(--green); border-color: var(--green); }

.delivery-card.highlight h2, .delivery-card.highlight p { color: var(--cream); }

.delivery-card.highlight .card-cta { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 56px 0 24px;
}

.site-footer h3 { color: var(--cream); margin-bottom: 12px; }

.site-footer a { color: var(--cream); }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 16px;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 6px 10px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    padding: 0 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-inner, .two-col { grid-template-columns: 1fr; }

    .two-col.reverse .about-media { order: 2; }

    .hero-media { order: -1; }

    .hero-media img { max-height: 420px; width: auto; margin: 0 auto; }

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

    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 20px;
        border-bottom: 1px solid rgba(39, 75, 58, 0.15);
        box-shadow: 0 12px 24px rgba(20, 28, 14, 0.12);
    }

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

    .site-nav a {
        padding: 14px 4px;
        border-bottom: 1px solid rgba(39, 75, 58, 0.1);
        font-size: 15px;
    }

    .site-nav a:last-child { border-bottom: none; }

    .site-nav .btn.nav-cta {
        margin-top: 12px;
        text-align: center;
        border: 2px solid var(--green);
        border-radius: var(--radius);
    }

    .section { padding: 44px 0; }

    .hero-inner { padding: 36px 24px; gap: 28px; }

    .announce { padding: 40px 0; }

    .map-embed iframe { height: 280px; }
}

@media (max-width: 560px) {
    body { font-size: 17px; }

    .logo img { height: 44px; }

    .header-inner { padding: 8px 16px; }

    .section-inner, .hero-inner { padding-left: 16px; padding-right: 16px; }

    .hero-actions { flex-direction: column; align-items: stretch; }

    .hero-actions .btn { text-align: center; }

    .ticker { padding: 10px 0; }

    .ticker-seq { gap: 20px; padding-right: 20px; font-size: 15px; }

    .food-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .food-gallery figcaption { font-size: 13px; padding-top: 8px; }

    .hours th, .hours td { padding: 8px 10px 8px 0; font-size: 15px; }

    .delivery-card { padding: 24px 20px; }

    .footer-logo { height: 52px; }

    .contact-line a { display: inline-block; padding: 2px 0; }
}
