/* Homepage (index.html) lead-generation layout. Loaded after styles.css so it can override the shared hero. */

:root {
    --home-ink: #2b1310;
    --home-muted: #6d5a55;
    --home-card: #ffffff;
    --home-line: #eadfd3;
    --home-star: #e0a800;
    --home-radius: 10px;
}

.main-nav .nav-quote {
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 9px 18px;
    border-radius: 4px;
}

.main-nav .nav-quote::after { display: none; }

.main-nav .order-button { margin-top: 0; }

.main-nav .nav-quote:hover { background: #6b0000; color: var(--text-color-light); }

/* --- Hero: desktop shows the photo behind text and the booking box; phones split it (see 768px query) --- */
.home-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 48px;
    align-items: center;
    min-height: 100vh;
    padding: 120px max(25px, calc((100% - 1150px) / 2)) 60px;
    background-image: linear-gradient(100deg, rgba(20, 8, 6, 0.82) 0%, rgba(20, 8, 6, 0.55) 55%, rgba(20, 8, 6, 0.25) 100%),
                      url('images/home/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color-light);
    text-align: left;
}

.hero-photo { position: relative; display: flex; align-items: center; }

.hero-heading { position: relative; z-index: 1; }

.home-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    color: var(--text-color-light);
    margin-bottom: 0.4em;
    line-height: 1.12;
}

.home-hero-sub {
    font-size: 1.2rem;
    color: rgba(250, 248, 243, 0.92);
    max-width: 34em;
}

.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(250, 248, 243, 0.12);
    border: 1px solid rgba(250, 248, 243, 0.3);
    color: var(--text-color-light);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.rating-chip:hover { color: var(--text-color-light); background: rgba(250, 248, 243, 0.2); }

.rating-chip .stars { color: var(--home-star); letter-spacing: 2px; }

.hero-points {
    list-style: none;
    margin: 22px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: rgba(250, 248, 243, 0.9);
    font-size: 0.98rem;
}

.hero-points li::before { content: '\2713'; color: var(--accent-color-gold); margin-right: 8px; font-weight: 700; }

/* --- Quick-start card --- */
.quick-start {
    background: var(--background-light);
    color: var(--home-ink);
    border-radius: var(--home-radius);
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.quick-start h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.quick-start .qs-lede { color: var(--home-muted); font-size: 0.95rem; margin-bottom: 18px; }

.quick-start label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--home-muted);
    margin-bottom: 6px;
}

.quick-start select,
.quick-start input {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--home-ink);
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    padding: 11px 12px;
    margin-bottom: 14px;
    min-height: 46px;
}

.quick-start select:focus,
.quick-start input:focus { outline: 2px solid var(--accent-color-gold); outline-offset: 1px; }

.qs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.qs-submit {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 4px;
    padding: 15px 20px;
    font-size: 1rem;
}

.qs-fine {
    margin: 14px 0 0;
    font-size: 0.88rem;
    color: var(--home-muted);
    text-align: center;
}

.qs-fine a { color: var(--primary-color); font-weight: 700; }

/* --- Event mode: on a pop-up day the order card replaces the quick-start form --- */
.order-now {
    background: var(--background-light);
    color: var(--home-ink);
    border-radius: var(--home-radius);
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.order-now[hidden], .mobile-cta-bar a[hidden] { display: none; }

body.event-mode .quick-start,
body.event-mode .mobile-cta-bar .bar-call[href^="tel:"] { display: none; }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f3ea;
    color: #1f6b33;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.live-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e9b4c;
    animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse { 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) { .live-pill::before { animation: none; } }

.order-now h2 { font-size: 1.6rem; margin-bottom: 4px; color: var(--primary-color); }

.order-now-when { color: var(--home-muted); font-size: 0.95rem; margin-bottom: 18px; }

.order-now-button {
    display: block;
    width: 100%;
    padding: 17px 20px;
    font-size: 1.1rem;
}

.order-now-fine { margin: 10px 0 0; font-size: 0.9rem; color: var(--home-muted); }

.order-now-book { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--home-line); }

.order-now-book > p:first-child { margin: 0 0 10px; font-weight: 700; color: var(--home-ink); }

.order-now-quote {
    display: block;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}

.order-now-quote:hover { background: var(--primary-color); color: var(--text-color-light); }

.order-now-book .qs-fine { margin-top: 10px; }

/* --- Shared section chrome --- */
.home-section { padding: 90px 0; }

.home-section.alt { background: #f3ede4; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.section-head h2 { margin-bottom: 0.3em; }

.section-head p { color: var(--home-muted); font-size: 1.1rem; margin: 0; }

.eyebrow {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9a6a2f;
    margin-bottom: 10px;
}

/* --- Pizza strip (right under the hero) --- */
.pizza-strip { padding: 70px 0; background: #fff; }

.pie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pie { position: relative; margin: 0; border-radius: var(--home-radius); overflow: hidden; box-shadow: 0 4px 16px rgba(60, 20, 10, 0.1); }

.pie img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 0.5s ease; }

.pie:hover img { transform: scale(1.04); }

.pie figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(20, 8, 6, 0.75), rgba(20, 8, 6, 0));
    color: var(--text-color-light);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

/* --- Event-type cards --- */
.event-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.event-card {
    background: var(--home-card);
    border-radius: var(--home-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(60, 20, 10, 0.08);
    display: flex;
    flex-direction: column;
    color: var(--home-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(60, 20, 10, 0.16); color: var(--home-ink); }

.event-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.event-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.event-card h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--primary-color); }

.event-card p { font-size: 0.95rem; color: var(--home-muted); flex: 1; }

.event-card .card-link { font-weight: 700; color: var(--primary-color); font-size: 0.95rem; }

/* --- How it works --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step {
    background: var(--home-card);
    border-radius: var(--home-radius);
    padding: 30px 26px;
    border: 1px solid var(--home-line);
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-color-light);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.step h3 { font-size: 1.3rem; margin-bottom: 8px; }

.step p { color: var(--home-muted); margin: 0; }

.center-cta { text-align: center; margin-top: 40px; }

.center-cta .text-link { color: var(--primary-color); font-weight: 700; text-decoration: underline; }

.reviews-summary a { color: var(--primary-color); text-decoration: underline; }

/* --- Pricing estimator --- */
.pricing-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pricing-copy h2 { margin-bottom: 0.4em; }

.pricing-copy .price-big {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--primary-color);
    line-height: 1.1;
    margin: 10px 0 6px;
}

.pricing-copy .price-big small { font-size: 1rem; font-family: var(--font-sans-serif); color: var(--home-muted); }

.pricing-copy .price-caveat { font-weight: 600; color: var(--primary-color); }

.pricing-copy ul { margin: 18px 0 0 20px; color: var(--home-muted); }

.pricing-copy li { margin-bottom: 6px; }

.estimator-card {
    background: var(--home-card);
    border-radius: var(--home-radius);
    padding: 32px;
    box-shadow: 0 6px 24px rgba(60, 20, 10, 0.1);
    text-align: center;
}

.estimator-card .guests-readout { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary-color); }

.estimator-card input[type=range] { width: 100%; margin: 18px 0; accent-color: var(--primary-color); }

.estimator-card .estimate { font-size: 1.9rem; font-weight: 700; color: var(--home-ink); margin-bottom: 4px; }

.estimator-card .estimate small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--home-muted); }

.estimator-card .estimate-weekday { font-size: 1.15rem; font-weight: 700; color: var(--home-ink); margin-bottom: 8px; }

.estimator-card .estimate-note { font-size: 0.88rem; color: var(--home-muted); margin-bottom: 22px; }

/* --- Reviews (moved up the page) --- */
.reviews-summary { text-align: center; font-size: 1.15rem; margin-bottom: 30px; }
.reviews-summary .reviews-stars { color: var(--home-star); letter-spacing: 2px; margin-right: 8px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.review-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 24px; margin: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.review-card .review-stars { color: var(--home-star); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 12px; }
.review-card .review-text { font-style: italic; line-height: 1.6; margin: 0 0 16px; color: #333; }
.review-card .review-author { font-weight: 600; color: #831c1c; font-style: normal; }
.review-card .review-author .review-date { display: block; font-weight: 400; color: #888; font-size: 0.85rem; margin-top: 2px; }

/* --- About --- */
.about-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.about-split img { width: 100%; height: auto; border-radius: var(--home-radius); display: block; }

.about-split .large-text { font-family: inherit; font-size: 1.15rem; line-height: 1.75; text-align: left; margin-left: 0; }

/* --- Pop-ups: events + public menu --- */
.popup-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: start;
}

.popup-menu {
    background: var(--home-card);
    border-radius: var(--home-radius);
    padding: 26px;
    border: 1px solid var(--home-line);
}

.popup-menu h3 { font-size: 1.4rem; margin-bottom: 4px; }

.popup-menu .menu-note { color: var(--home-muted); font-size: 0.9rem; margin-bottom: 14px; }

.popup-menu .menu-line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--home-line);
    padding: 8px 0;
}

.popup-menu .menu-line .price { font-weight: 700; }

.popup-menu .menu-free { margin-top: 12px; font-size: 0.92rem; color: var(--home-muted); }

.popup-menu .menu-catering { margin-top: 16px; font-size: 0.92rem; }

.popup-menu .menu-catering a { color: var(--primary-color); font-weight: 700; }

.notify-link { display: inline-block; margin-top: 8px; }

/* --- Final CTA band --- */
.final-cta {
    background: linear-gradient(rgba(40, 12, 8, 0.82), rgba(40, 12, 8, 0.82)), url('images/home/oven.jpg') center / cover;
    color: var(--text-color-light);
    text-align: center;
    padding: 90px 20px;
}

.final-cta h2 { color: var(--text-color-light); font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.3em; }

.final-cta p { color: rgba(250, 248, 243, 0.88); font-size: 1.15rem; max-width: 640px; margin: 0 auto 28px; }

.cta-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.button-ghost {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--text-color-light);
    color: var(--text-color-light);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
}

.button-ghost:hover { background: var(--text-color-light); color: var(--primary-color); }

.final-cta .hero-cta-button { background: var(--accent-color-gold); color: var(--home-ink); }

.final-cta .hero-cta-button:hover { background: #c09255; color: var(--home-ink); }

/* --- Contact details (kept, restyled lightly) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
}

.contact-grid .contact-card { background: var(--home-card); border: 1px solid var(--home-line); border-radius: var(--home-radius); padding: 26px; }

.contact-grid .contact-card a { color: var(--primary-color); }

.contact-footer { text-align: center; margin-top: 30px; }

/* --- Sticky mobile action bar --- */
.mobile-cta-bar { display: none; }

@media (max-width: 992px) {
    .home-hero { grid-template-columns: 1fr; row-gap: 32px; }
    .event-cards { grid-template-columns: repeat(2, 1fr); }
    .pricing-split, .about-split, .popup-split, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav .nav-secondary { display: none; }
    .home-hero { display: block; min-height: 0; padding: 70px 0 0; background: var(--background-light); }
    .hero-photo { height: 250px; align-items: flex-end; background: #1a0c09 url('images/home/hero.jpg') center 60% / cover no-repeat; }
    .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 8, 6, 0.85) 0%, rgba(20, 8, 6, 0.35) 30%, rgba(20, 8, 6, 0) 55%); }
    .home-hero-sub { display: none; }
    .home-hero h1 { margin: 0; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
    .hero-heading { padding: 0 16px 32px; }
    .hero-points { display: none; }
    .home-hero h1 { font-size: 1.55rem; }
    .hero-panel { padding: 0 16px 28px; }
    .hero-panel .quick-start { margin-top: -22px; position: relative; z-index: 2; background: #fff; box-shadow: 0 10px 34px rgba(60, 20, 10, 0.12); }
    .hero-panel .order-now { margin-top: -22px; position: relative; z-index: 2; background: #fff; box-shadow: 0 10px 34px rgba(60, 20, 10, 0.12); padding: 22px; }
    .quick-start .qs-lede { display: none; }
    .quick-start h2 { margin-bottom: 14px; }
    .quick-start select, .quick-start input { margin-bottom: 10px; }
    .rating-chip { position: absolute; top: 12px; left: 16px; margin: 0; font-size: 0.85rem; padding: 4px 12px; z-index: 1; }
    .hero-heading { position: static; }
    .hero-heading { width: 100%; }
    .hero-heading h1 { position: relative; z-index: 1; text-align: center; }
    .h1-line { display: block; white-space: nowrap; }
    .quick-start { padding: 22px; }
    .home-section { padding: 60px 0; }
    .steps { grid-template-columns: 1fr; }
    .pie-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pizza-strip { padding: 50px 0; }

    .mobile-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: var(--background-light);
        border-top: 1px solid var(--home-line);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-cta-bar.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

    .mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 13px 10px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .mobile-cta-bar .bar-quote { flex: 1.6; background: var(--primary-color); color: var(--text-color-light); }

    .mobile-cta-bar .bar-order { flex: 1.6; background: var(--primary-color); color: var(--text-color-light); }

    body.event-mode .mobile-cta-bar .bar-quote { flex: 1.2; background: none; border: 2px solid var(--primary-color); color: var(--primary-color); }

    .mobile-cta-bar .bar-call { border: 2px solid var(--primary-color); color: var(--primary-color); }

    body { padding-bottom: 76px; }
}

@media (max-width: 480px) {
    .event-cards { grid-template-columns: 1fr; }
    .estimator-card { padding: 24px 18px; }
}


