/* Main Street Café — static rebuild of the DNN polo "mainstreethome" skin.
   Sizes below are measured off the original at a 1200px viewport. */

:root {
    --blue: #0072bc;
    --blue-dark: #005a95;
    --text: #000;
    --muted: #565656;
    --heading: #252525;
    --dark: #1c1c1c;
    --line: #e3e3e3;
    --panel-red: #ca0027;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 27px;
    color: var(--text);
    background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

h1, h2, h3, h4 { font-family: 'Merienda', cursive; font-weight: 400; line-height: 1.32; letter-spacing: 1px; }
h1 { color: var(--blue); font-size: 44px; }
h2 { color: var(--blue); font-size: 44px; }
h3 { color: var(--heading); font-size: 25px; }

.lead { font-size: 17px; }

/* ---------- top bar ---------- */
.topbar { background: var(--dark); color: #fff; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 41px; flex-wrap: wrap; }
.topbar a { color: #fff; margin-right: 18px; text-decoration: none; }
.topbar a:hover { color: #9fd1f5; }
.topbar .ico { font-size: 11px; }
.topbar-social a { margin: 0 0 0 12px; display: inline-block; vertical-align: middle; }

/* ---------- header / nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0; padding-bottom: 0; min-height: 80px; }
.logo img { height: 80px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 0; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 500; }
.main-nav > a, .main-nav .drop-label {
    color: var(--heading); padding: 11px 14px; text-decoration: none; letter-spacing: .2px;
}
.main-nav > a:hover, .main-nav .drop-label:hover,
.main-nav > a.active, .main-nav .drop-label.active { color: var(--blue); text-decoration: none; }

.nav-drop { position: relative; }
.nav-drop .caret { font-size: 11px; color: #999; }
.drop-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--blue);
    box-shadow: 0 6px 18px rgba(0,0,0,.08); padding: 6px 0;
}
.drop-menu a { display: block; padding: 8px 16px; color: var(--heading); font-size: 16px; text-decoration: none; }
.drop-menu a:hover, .drop-menu a.active { color: var(--blue); background: #f5f9fd; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--blue); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
    position: relative; color: #fff; text-align: center;
    background-size: cover; background-position: center;
    min-height: 416px; padding: 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.hero > * { position: relative; }
.hero h1 { color: #fff; font-size: 44px; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero .sub { font-size: 22px; margin: 14px 0 0; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

.hero-home { text-align: left; min-height: 556px; align-items: stretch; }
.hero-home .container { width: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-home h1 { font-size: 60px; }
.hero-home .sub { font-size: 34px; line-height: 50px; margin: 16px 0 0; }
.hero-home .open-line { font-size: 34px; }

.hero-buttons { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .hero-buttons { justify-content: center; }
.hero-home .hero-buttons { justify-content: flex-start; }

/* ---------- buttons ---------- */
.btn {
    display: inline-block; background: var(--blue); color: #fff !important;
    font-family: Arial, Helvetica, sans-serif; font-weight: 500; font-size: 16px;
    letter-spacing: 1px; padding: 11px 20px; border: 1px solid var(--blue);
    border-radius: 0; cursor: pointer;
    text-decoration: none !important; transition: background .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-lg { padding: 20px 34px; }
.btn-upper { text-transform: uppercase; font-weight: 700; font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 40px 0; }
.section-alt { background: #f7f8f9; }
.section h2 { margin-top: 0; }
.center { text-align: center; }
.fav-heading { font-weight: 900; }

.two-col { display: grid; grid-template-columns: 1.43fr 1fr; gap: 30px; align-items: start; }
.two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* framed promo panel (home "Introducing Italian Pizza") */
.promo-panel {
    border: 1px solid var(--panel-red); padding: 20px 6px 30px; margin-top: 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
}
.promo-panel img { width: 400px; max-width: 100%; }
.promo-panel h2 { color: var(--heading); margin: 0 0 12px; font-size: 25px; }
.promo-panel p { margin: 0 0 16px; }

/* six-photo strip (home welcome section) */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-top: 40px; }
.photo-strip img { width: 100%; height: 110px; object-fit: cover; display: block; }

/* blue CTA boxes (home) */
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.cta-box {
    background: var(--blue); color: #fff !important; text-align: center;
    padding: 36px 20px 40px; text-decoration: none !important; transition: background .15s;
}
.cta-box:hover { background: var(--blue-dark); }
.cta-icon { display: block; font-size: 44px; line-height: 1.3; margin-bottom: 10px; }
.cta-label { font-family: 'Merienda', cursive; font-size: 25px; font-weight: 600; letter-spacing: 1px; }

/* parallax sections (home) */
.parallax-dark {
    background-size: cover; background-position: center; background-attachment: fixed;
    color: #fff;
}
.parallax-dark h2 { color: #fff; }
.parallax-dark p { color: #fff; }
.parallax-light {
    position: relative; background-size: cover; background-position: center;
    background-attachment: fixed;
}
.overlay-light { position: absolute; inset: 0; background: rgba(255,255,255,.85); }
.square-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* favourite dishes text grid (home) */
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; margin-top: 30px; }
.dish h3 { margin: 0 0 8px; font-size: 25px; }
.dish p { margin: 0; }

/* testimonials — carousel like the original (2 visible, auto-advance) */
.section-testimonials { background: #88cfff; }
.quote-carousel { overflow: hidden; margin-top: 36px; }
.quotes-track { display: flex; transition: transform .6s ease; }
.quote { flex: 0 0 50%; padding: 0 57px; text-align: center; }
.quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.quote p { font-size: 18px; font-weight: 300; color: #000; margin: 20px 0; line-height: 30px; }
.quote span { font-size: 15px; font-weight: 600; color: var(--muted); }

/* pizza menu list */
.menu-note { text-align: center; font-weight: bold; letter-spacing: 1px; color: #a94442; }
.menu-head { font-family: 'Merienda', cursive; text-align: center; font-size: 25px; color: var(--heading); }
.menu-items { max-width: 820px; margin: 0 auto; }
.menu-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item h4 { margin: 0 0 4px; font-size: 17px; color: var(--blue); font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: .5px; }
.menu-item p { margin: 0; font-size: 16px; }

/* ---------- forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); padding: 30px 32px; }
.form-panel h2 { margin-top: 0; font-size: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-weight: bold; font-size: 14px; margin-bottom: 5px; color: var(--heading); }
.form-grid input[type=text], .form-grid input[type=email], .form-grid input[type=tel],
.form-grid input[type=date], .form-grid input[type=time], .form-grid input[type=number],
.form-grid select, .form-grid textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 0;
    font: inherit; font-size: 16px; color: #333; background: #fff;
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0,114,188,.15);
}
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.radio-row label { font-weight: normal; display: flex; align-items: center; gap: 6px; margin: 0; }
.radio-row input[type=text] { width: auto; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.notice { padding: 14px 18px; margin-bottom: 22px; }
.notice.ok { background: #e8f5e9; border: 1px solid #a5d6a7; color: #256029; }
.notice.err { background: #fdecea; border: 1px solid #f5c6cb; color: #a12622; }

/* gift card styles picker */
.card-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-styles label { border: 2px solid var(--line); padding: 8px; cursor: pointer; text-align: center; font-weight: normal; }
.card-styles input { margin-right: 6px; }
.card-styles img { display: block; width: 100%; height: 110px; object-fit: cover; margin-bottom: 8px; }
.card-styles label:has(input:checked) { border-color: var(--blue); background: #f0f7fc; }

/* loyalty FAQ accordion */
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { font-weight: 800; font-size: 17px; color: var(--heading); cursor: pointer; }
.faq details p { margin: 10px 0 4px; }

/* ---------- info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 6px 0; }
.info-list .lbl { color: var(--heading); font-weight: bold; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue); color: #fff; margin-top: 60px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 45px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 24px; font-weight: 700; margin: 0 0 14px; }
.site-footer a { color: #fff; }
.site-footer strong { font-weight: 600; }
.footer-bottom { background: rgba(0,0,0,.25); font-size: 12px; letter-spacing: .5px; padding: 14px 0; }
.footer-bottom a { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    h1, h2 { font-size: 36px; }
    .hero-home h1 { font-size: 46px; }
    .hero-home .sub, .hero-home .open-line { font-size: 26px; line-height: 38px; }
}
@media (max-width: 900px) {
    .two-col, .two-col-even, .three-col, .footer-cols, .dish-grid, .cta-row { grid-template-columns: 1fr; }
    .promo-panel { grid-template-columns: 1fr; padding: 20px 20px 30px; }
    .photo-strip { grid-template-columns: repeat(3, 1fr); }
    h1, h2 { font-size: 32px; }
    .hero h1 { font-size: 34px; }
    .hero-home { min-height: 420px; }
    .hero-home h1 { font-size: 38px; }
    .hero-home .sub, .hero-home .open-line { font-size: 20px; line-height: 30px; }
    .hero { min-height: 320px; }
    .parallax-dark, .parallax-light { background-attachment: scroll; }
    .quote { flex: 0 0 100%; padding: 0 20px; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
        font-size: 16px;
    }
    .main-nav.open { display: flex; }
    .main-nav > a, .main-nav .drop-label { padding: 12px 24px; }
    .drop-menu { display: block; position: static; border: 0; box-shadow: none; padding-left: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .card-styles { grid-template-columns: 1fr; }
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
}
