/*
Theme Name:  Rolling Dough
Theme URI:   https://rollingdough.co.nz
Author:      Rolling Dough Ltd
Author URI:  https://rollingdough.co.nz
Description: Custom theme for Rolling Dough — wood fired Neapolitan Style Pizza, Christchurch NZ.
Version:     1.0
License:     Private
Text Domain: rolling-dough
*/

@font-face {
  font-family: 'Bobby Jones';
  src: url('fonts/Bobby Jones/Bobby Jones Soft.otf') format('opentype'),
       url('fonts/Bobby Jones/Bobby Rough Soft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #FAFAF7; color: #1E1E1E; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Colours ──────────────────────────────────── */
:root {
  --olive:       #6B7C52;
  --olive-dark:  #4E5C3A;
  --olive-light: #8FA06A;
  --cream:       #F5F0E6;
  --dark:        #1E1E1E;
  --mid:         #4A4A4A;
  --border:      #E0DDD5;
  --white:       #FFFFFF;
}

/* ── Utility ──────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; }
.btn-primary { background: var(--olive); color: var(--white); border: 2px solid var(--olive); }
.btn-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--olive-dark); }
.btn-outline-dark { background: transparent; color: var(--olive); border: 2px solid var(--olive); }
.btn-outline-dark:hover { background: var(--olive); color: var(--white); }
section { padding: 96px 0; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; }
.section-title { font-family: 'Bobby Jones', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 20px; }
.section-intro { font-size: 1.05rem; color: var(--mid); max-width: 560px; line-height: 1.8; }

/* ── Navigation ───────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--olive); }
.nav-cta { margin-left: 12px; }

/* ── Hero ─────────────────────────────────────── */
#hero { position: relative; height: 115vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(14,18,10,0.78) 0%, rgba(30,42,20,0.45) 60%, rgba(0,0,0,0.1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hero-tag { display: inline-block; background: var(--olive); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 14px; border-radius: 2px; margin-bottom: 24px; }
.hero-title { font-family: 'Bobby Jones', serif; font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 900; color: var(--white); line-height: 1.0; margin-bottom: 28px; max-width: 820px; }
.hero-title em { color: #A8BE80; font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.4); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ── Tonight Tube Strip ───────────────────────── */
#tonight { background: var(--olive-dark); padding: 16px 0 20px; }
.tube-map { width: 100%; height: auto; display: block; overflow: visible; }

/* ── Find Us ──────────────────────────────────── */
#find-us { background: var(--cream); }
.find-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.schedule-table { margin-top: 40px; border-collapse: collapse; width: 100%; }
.schedule-table tr { border-bottom: 1px solid var(--border); }
.schedule-table tr:last-child { border-bottom: none; }
.schedule-table td { padding: 16px 0; font-size: 0.95rem; vertical-align: top; }
.schedule-table .day { font-weight: 700; color: var(--olive); width: 120px; }
.schedule-table .loc { color: var(--mid); }
.schedule-table .loc strong { color: var(--dark); display: block; font-weight: 600; }
.schedule-table .loc span { font-size: 0.85rem; }
.map-placeholder { border-radius: 8px; overflow: hidden; height: 460px; background: #D8D5CC; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--mid); font-size: 0.9rem; font-weight: 600; border: 2px dashed var(--border); position: sticky; top: 110px; align-self: start; }
.map-placeholder svg { opacity: 0.4; }

/* ── Order Online ─────────────────────────────── */
#order { background: var(--white); }
.order-header { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.order-header .section-intro { margin: 0 auto; }
.pos-embed { background: var(--cream); border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.pos-embed-bar { background: var(--olive); padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.pos-embed-bar span { color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 600; }
.pos-embed-dots { display: flex; gap: 6px; margin-right: auto; }
.pos-embed-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); display: block; }
.pos-embed-body { padding: 80px 40px; text-align: center; color: var(--mid); font-size: 0.9rem; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pos-embed-body p { margin-top: 8px; }
.pos-icon { font-size: 2.5rem; margin-bottom: 8px; }

/* ── Menu ─────────────────────────────────────── */
#menu { background: var(--dark); }
#menu .section-label { color: var(--olive-light); }
#menu .section-title { color: var(--white); }
#menu .section-intro { color: rgba(255,255,255,0.6); }
.menu-pdf-wrap { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.menu-pdf-frame { width: 100%; max-width: 680px; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.5); aspect-ratio: 1 / 1.414; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 0.9rem; flex-direction: column; gap: 12px; }
.menu-pdf-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-note { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-style: italic; text-align: center; }
.menu-footer { margin-top: 24px; text-align: center; }

/* ── Private Bookings ─────────────────────────── */
#bookings { background: var(--cream); }
.bookings-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.bookings-img { border-radius: 8px; overflow: hidden; height: 520px; }
.bookings-img img { width: 100%; height: 100%; object-fit: cover; }
.booking-features { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.booking-feature { display: flex; gap: 16px; align-items: flex-start; }
.booking-icon { width: 42px; height: 42px; background: var(--olive); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.booking-feature-text strong { display: block; font-size: 0.95rem; color: var(--dark); margin-bottom: 3px; }
.booking-feature-text span { font-size: 0.875rem; color: var(--mid); line-height: 1.6; }
.booking-form { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--mid); text-transform: uppercase; letter-spacing: 0.08em; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--dark); background: var(--white); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--olive); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── About ────────────────────────────────────── */
#about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about-img-main { grid-column: 1 / -1; border-radius: 8px; overflow: hidden; height: 260px; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-small { border-radius: 8px; overflow: hidden; height: 180px; }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: flex; gap: 40px; margin-top: 36px; }
.stat-num { font-family: 'Bobby Jones', serif; font-size: 2.5rem; font-weight: 900; color: var(--olive); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--mid); font-weight: 600; letter-spacing: 0.05em; margin-top: 4px; }

/* ── Reviews ──────────────────────────────────── */
#reviews { background: var(--olive); padding: 80px 0; }
#reviews .section-label { color: rgba(255,255,255,0.65); }
#reviews .section-title { color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review-card { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 28px; border: 1px solid rgba(255,255,255,0.15); }
.review-stars { color: #F5D76E; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { color: rgba(255,255,255,0.88); font-size: 0.95rem; line-height: 1.75; font-style: italic; }
.review-author { margin-top: 20px; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── FAQ ──────────────────────────────────────── */
#faq { background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question:hover { color: var(--olive); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--olive); transition: transform 0.25s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 0.925rem; color: var(--mid); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ── Instagram ────────────────────────────────── */
#instagram { background: var(--white); padding: 80px 0; }
.instagram-header { text-align: center; margin-bottom: 40px; }
.instagram-handle { display: inline-flex; align-items: center; gap: 8px; color: var(--olive); font-weight: 700; font-size: 1rem; margin-top: 12px; }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.instagram-cell { aspect-ratio: 1; background: var(--cream); border-radius: 4px; overflow: hidden; }
.instagram-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instagram-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 1.5rem; }
.instagram-footer { text-align: center; margin-top: 28px; }

/* ── Footer ───────────────────────────────────── */
footer { background: #121712; color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 120px; width: auto; border-radius: 8px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 240px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.social-btn:hover { background: var(--olive); color: white; border-color: var(--olive); }
.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--olive-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ── Mobile Menu ──────────────────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--olive-dark); border-radius: 2px; transition: all 0.25s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 90px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 99; padding: 20px 24px 28px; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 600; color: var(--mid); padding: 12px 0; border-bottom: 1px solid var(--border); letter-spacing: 0.04em; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--olive); }
.mobile-menu .btn { margin-top: 16px; text-align: center; }

/* ── Cookie Notice ────────────────────────────── */
#cookie-notice { position: fixed; bottom: 0; left: 0; right: 0; background: #121712; color: rgba(255,255,255,0.85); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 200; font-size: 0.85rem; line-height: 1.6; flex-wrap: wrap; }
#cookie-notice p { margin: 0; max-width: 700px; }
#cookie-notice a { color: var(--olive-light); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 8px 22px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: none; }
.cookie-accept { background: var(--olive); color: white; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); }
.cookie-accept:hover { background: var(--olive-dark); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .find-us-grid, .bookings-inner, .about-inner, .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-imgs { grid-template-columns: 1fr; }
}
