@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --primary: #6f2d1f;
  --secondary: #df7d3c;
  --accent: #f4c8a4;
  --font-heading: 'Fraunces', serif;
  --font-body: 'Archivo', sans-serif;
  --surface: #fff8f3;
  --page: #f8eee5;
}

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

html { scroll-behavior: smooth; }

body { font-family: var(--font-body); line-height: 1.6; color: #333; background: var(--page); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { background: var(--primary); color: white; padding: 1rem 0; }
header nav { display: flex; justify-content: space-between; align-items: center; }
header nav a { color: white; text-decoration: none; margin-left: 2rem; font-size: 0.95rem; }
header nav a:hover { opacity: 0.85; }
header .logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }

.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--primary); color: white; padding: 6rem 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: white; }
.hero p { font-size: 1.25rem; opacity: 0.9; }
.hero-split .hero-grid-split,
.hero-editorial-variant .hero-grid-editorial { align-items: center; }
.hero-eyebrow { margin-bottom: 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; }
.hero-grid { display: grid; gap: 2rem; align-items: end; }
.hero-grid-with-media { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); align-items: center; }
.hero-sidecopy { max-width: 32rem; }
.hero-sidecopy p { margin-bottom: 1rem; }
.hero-sidecopy .hero-media { margin-bottom: 1rem; }
.hero-aside-card { border-radius: 24px; padding: 1.5rem; backdrop-filter: blur(8px); }
.hero-media { min-height: 320px; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2); }
.hero-media-image { width: 100%; height: 100%; display: block; object-fit: cover; }

.btn { display: inline-block; padding: 0.75rem 2rem; background: var(--secondary); color: white; text-decoration: none; border-radius: 6px; font-weight: 600; margin-top: 1.5rem; transition: opacity 0.2s; }
.btn:hover { opacity: 0.9; }
.btn-outline { display: inline-block; padding: 0.6rem 1.5rem; border: 2px solid var(--primary); color: var(--primary); text-decoration: none; border-radius: 6px; font-weight: 600; margin-top: 1rem; transition: all 0.2s; }
.btn-outline:hover { background: var(--primary); color: white; }

.section { padding: 4rem 0; }
.section-alt { background: #f8f8f8; }
.section-heading { max-width: 46rem; margin: 0 auto 2rem; text-align: center; }
.section-heading p { margin-top: 0.75rem; color: #666; }
.section-heading-left { margin-left: 0; text-align: left; }
.section-cta { margin-top: 2rem; text-align: center; }
.section-cta-left { text-align: left; }

.cta-banner { background: var(--primary); color: white; padding: 4rem 0; }
.cta-banner h2 { color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-copy { margin-top: 1rem; color: rgba(255,255,255,0.9); }
.cta-btn { background: white; color: var(--primary); white-space: nowrap; }
.cta-inner-variant-centered { text-align: center; justify-content: center; }
.cta-inner-variant-stacked { flex-direction: column; align-items: flex-start; }
.cta-inner-variant-split { display: grid; grid-template-columns: 1fr auto; align-items: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature { text-align: center; padding: 2rem; background: var(--surface); }
.feature h3 { margin-bottom: 0.5rem; }
.feature-image-wrap { margin: -2rem -2rem 1.25rem; overflow: hidden; border-radius: 18px 18px 0 0; }
.feature-image { width: 100%; height: 190px; display: block; object-fit: cover; }
.features-variant-list { grid-template-columns: 1fr; gap: 1rem; }
.feature-variant-list { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; text-align: left; }
.features-variant-compact { gap: 1rem; }
.feature-variant-compact { padding: 1.25rem; }
.testimonial-card { justify-content: space-between; }
.testimonial-quote { font-style: italic; }
.testimonial-author { margin-top: 0.75rem; font-weight: 600; }
.testimonials-variant-quotes { grid-template-columns: 1fr; }
.testimonial-variant-quotes { text-align: left; }
.testimonials-variant-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.menu-shell { display: grid; gap: 2rem; }
.menu-category { margin-bottom: 3rem; background: var(--surface); }
.menu-category h2 { border-bottom: 2px solid var(--secondary); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.menu-category-header { margin-bottom: 1rem; }
.menu-category-description { color: #666; }
.menu-item { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid #eee; }
.menu-item-image-wrap { width: 104px; min-width: 104px; height: 104px; overflow: hidden; border-radius: 18px; margin-right: 1rem; }
.menu-item-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.menu-item-info h3 { font-size: 1.1rem; }
.menu-item-info p { color: #666; font-size: 0.9rem; }
.menu-item-price { color: var(--primary); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.menu-item-tags { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.menu-item-tags span { background: var(--secondary); color: white; padding: 0.1rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.diet-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 600; margin-left: 0.5rem; vertical-align: middle; }
.diet-badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 0.85rem; height: 0.85rem; border: 2px solid; border-radius: 3px; }
.diet-badge-icon span { display: block; width: 0.4rem; height: 0.4rem; border-radius: 50%; }
.diet-badge-veg { color: #16a34a; }
.diet-badge-egg { color: #ca8a04; }
.diet-badge-non-veg { color: #dc2626; }

.about-content { max-width: 800px; margin: 0 auto; }
.about-content h1, .about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1rem; font-size: 1.1rem; }
.about-layout { display: grid; gap: 2rem; align-items: start; }
.about-story-card { background: var(--surface); border-radius: 24px; padding: 2rem; }
.about-values { display: grid; gap: 1rem; }
.about-mission { margin-top: 1.25rem; }
.about-layout-variant-stacked { grid-template-columns: 1fr; }
.about-layout-variant-feature { grid-template-columns: 1.25fr 0.75fr; }
.about-story-card-variant-feature { padding: 2.5rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { margin-bottom: 0.5rem; margin-top: 1rem; }
.contact-info p { margin-bottom: 1rem; color: #555; }
.contact-panel, .contact-note, .map-panel, .faq-item { border-radius: 20px; padding: 1.5rem; background: var(--surface); }
.contact-grid-variant-stacked { grid-template-columns: 1fr; gap: 1rem; }
.contact-grid-variant-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.map-panel { text-align: center; }
.map-note, .hours-note { margin-top: 1rem; color: #777; font-style: italic; text-align: center; }

.hours-shell { display: grid; gap: 1.5rem; }
.hours-table { width: min(100%, 600px); margin: 0 auto; border-collapse: collapse; }
.hours-table td { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.hours-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.hours-card { border-radius: 18px; padding: 1.25rem; background: var(--surface); text-align: center; }
.hours-card h3 { margin-bottom: 0.5rem; }

footer { background: #222; color: #aaa; padding: 2rem 0; }
footer a { color: var(--secondary); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; }
.footer-brand { font-family: var(--font-heading); font-size: 1.2rem; color: white; }
.footer-copy, .footer-meta { color: inherit; }
.faq-shell { max-width: 800px; }
.faq-item + .faq-item { margin-top: 1rem; }
.faq-item h3 { font-size: 1.1rem; }
.faq-item p { margin-top: 0.5rem; color: #666; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gallery-card { overflow: hidden; border-radius: 22px; background: var(--surface); }
.gallery-image { width: 100%; height: 240px; display: block; object-fit: cover; }
.gallery-card figcaption { padding: 0.9rem 1rem 1rem; font-size: 0.85rem; color: #666; }
.gallery-empty { text-align: center; color: #666; margin-top: 1rem; }

.contact-form { margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; }
.form-group input,
.form-group textarea { padding: 0.65rem 1rem; border: 1px solid rgba(0,0,0,0.18); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: #111; width: 100%; outline: none; transition: border-color 0.2s; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.form-group textarea { resize: vertical; }
.contact-submit-btn { margin-top: 0.25rem; }
.form-status { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.25em; }
.form-status-ok { color: #16a34a; font-weight: 600; }
.form-status-err { color: #dc2626; font-weight: 600; }

.locations-carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.location-card { background: var(--surface); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(0,0,0,0.08); }
.location-card h3 { margin-bottom: 0.5rem; }
.location-address, .location-hours { color: #666; font-size: 0.9rem; }
.location-phone a { color: var(--primary); text-decoration: none; font-weight: 600; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.event-card { background: var(--surface); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(0,0,0,0.08); }
.event-date { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); margin-bottom: 0.5rem; }
.event-card h3 { margin-bottom: 0.5rem; }
.event-cta { margin-top: 0.75rem; }
.loyalty-cta { background: var(--primary); color: #fff; padding: 4rem 0; }
.loyalty-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.loyalty-cta h2 { color: #fff; }
.loyalty-body { color: rgba(255,255,255,0.85); margin-top: 0.75rem; }
.loyalty-btn { background: #fff; color: var(--primary); white-space: nowrap; }

.reviews-section { }
.reviews-heading { margin-bottom: 2rem; }
.reviews-summary { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.reviews-stars { display: inline-flex; gap: 0.05em; font-size: 1.4rem; line-height: 1; }
.reviews-stars-full { color: #f59e0b; }
.reviews-stars-half { color: #f59e0b; }
.reviews-stars-empty { color: #d1d5db; }
.reviews-avg { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.reviews-count { font-size: 0.9rem; color: #777; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.review-card { background: var(--surface); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(0,0,0,0.07); display: flex; flex-direction: column; gap: 0.75rem; }
.review-card-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 0.05em; }
.review-card-text { font-style: italic; color: #444; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.review-card-author { font-size: 0.85rem; font-weight: 600; color: #666; margin: 0; margin-top: auto; }
.review-card-author time { font-weight: 400; color: #999; }
.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-cta-btn { display: inline-block; }


body { background: #f8eee5; color: #542319; }
header { background: rgba(255,248,243,0.9); color: #6f2d1f; backdrop-filter: blur(18px); border-bottom: 1px solid rgba(111,45,31,0.12); }
header nav a, header .logo { color: #6f2d1f; }
.hero { background: linear-gradient(135deg, rgba(111,45,31,0.94), rgba(223,125,60,0.92)); }
.hero-grid { grid-template-columns: 1fr 0.75fr; align-items: center; }
.hero-aside-card { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.18); }
.features { gap: 1.25rem; }
.feature, .menu-category, .contact-panel, .contact-note, .map-panel, .faq-item, .about-story-card { border-radius: 28px; }
.menu-shell-terracotta-market { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.menu-category-terracotta-market { padding: 1.5rem; margin-bottom: 0; box-shadow: 0 16px 40px rgba(111,45,31,0.08); }
.menu-item-terracotta-market { flex-direction: column; gap: 0.5rem; }
.about-layout-terracotta-market { grid-template-columns: 1fr 1fr; }
.contact-grid-terracotta-market { grid-template-columns: 1fr 1fr; }
.cta-banner-terracotta-market { background: linear-gradient(135deg, #6f2d1f, #df7d3c); }
.cta-inner-terracotta-market { text-align: left; }
.cta-btn-terracotta-market { background: #fff8f3; color: #6f2d1f; border-radius: 999px; }


@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-grid,
  .hero-grid-with-media,
  .hero-pizzeria-inner,
  .about-layout,
  .menu-category-editorial-bistro,
  .contact-grid-editorial-bistro,
  .contact-grid-coastal-bright,
  .contact-grid-heritage-grand,
  .contact-grid-terracotta-market,
  .contact-grid-chef-atelier,
  .hours-shell-heritage-grand,
  .hours-shell-chef-atelier,
  .hours-shell-editorial-bistro,
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner,
  .cta-inner-editorial-bistro,
  .cta-inner-midnight-lounge,
  .cta-inner-heritage-grand,
  .cta-inner-chef-atelier,
  .loyalty-inner,
  .loyalty-inner-bold-pizzeria { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  header nav { flex-direction: column; gap: 1rem; }
  header nav a { margin-left: 0; }
  .menu-shell-coastal-bright { grid-template-columns: 1fr; }
  .menu-shell-terracotta-market { grid-template-columns: 1fr; }
  .menu-item,
  .menu-item-modern-minimal,
  .menu-item-midnight-lounge,
  .menu-item-chef-atelier,
  .menu-item-heritage-grand,
  .feature-variant-list,
  .cta-inner-variant-split { grid-template-columns: 1fr; }
  .contact-grid-variant-cards,
  .hours-cards,
  .testimonials-variant-grid { grid-template-columns: 1fr; }
  .locations-carousel,
  .locations-carousel-bold-pizzeria,
  .events-grid,
  .events-grid-bold-pizzeria,
  .reviews-grid { grid-template-columns: 1fr; }
  .order-bar-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-pizzeria-headline { font-size: 2.2rem; }
}