/* === RESTAURANT CSS — Marco's Trattoria === */
/* Scope: All /demo/* pages. Does not affect SiteReach landing page. */

:root {
  --r-cream:   #FAF6F0;
  --r-dark:    #1A0A00;
  --r-brown:   #3D1F00;
  --r-gold:    #C8972A;
  --r-gold-lt: #E8B84B;
  --r-red:     #B03030;
  --r-text:    #2E1A00;
  --r-muted:   #705840;
  --r-border:  #E0D5C5;
  --r-white:   #FFFFFF;
}

/* Reset scoped to .rest- prefixed and page-specific elements */
.nav, .r-hero, .order-banner, .specials, .hours-strip, .testimonials,
.home-cta, .page-banner, .menu-page, .story-section, .team-section,
.values-section, .contact-page, .rest-footer {
  box-sizing: border-box;
}

body { font-family: 'Lato', system-ui, sans-serif; background: var(--r-cream); color: var(--r-text); margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* === NAV === */
.nav { background: var(--r-dark); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--r-gold-lt); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.nav-links { list-style: none; display: flex; gap: 8px; align-items: center; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 400; padding: 6px 12px; border-radius: 4px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--r-white); }
.nav-links a.active { font-weight: 700; }
.nav-cta { background: var(--r-gold) !important; color: var(--r-dark) !important; font-weight: 700 !important; padding: 8px 16px !important; border-radius: 4px !important; }
.nav-cta:hover { background: var(--r-gold-lt) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--r-white); border-radius: 2px; }

/* === HERO === */
.r-hero { position: relative; min-height: 80vh; display: flex; align-items: center; background-size: cover; background-position: center; background-repeat: no-repeat; }
.r-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,10,0,0.82) 0%, rgba(26,10,0,0.45) 100%); }
.r-hero-content { position: relative; z-index: 1; max-width: 680px; padding: 80px 60px; }
.r-hero-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--r-gold); margin-bottom: 20px; font-weight: 700; }
.r-hero-headline { font-size: clamp(44px, 7vw, 88px); color: var(--r-white); margin-bottom: 16px; letter-spacing: -0.02em; }
.r-hero-sub { font-size: 20px; color: rgba(255,255,255,0.75); margin-bottom: 36px; font-weight: 300; line-height: 1.5; }
.r-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.btn-primary { background: var(--r-gold); color: var(--r-dark); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 4px; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: var(--r-gold-lt); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--r-white); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; padding: 12px 28px; border-radius: 4px; text-decoration: none; display: inline-block; transition: border-color 0.2s; }
.btn-outline:hover { border-color: var(--r-white); }
.btn-ghost { border: 2px solid var(--r-gold); color: var(--r-gold); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; padding: 12px 28px; border-radius: 4px; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-ghost:hover { background: rgba(200,151,42,0.1); }
.r-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: rgba(200,151,42,0.15); border: 1px solid rgba(200,151,42,0.4); color: var(--r-gold); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 3px; letter-spacing: 0.05em; }

/* === ORDER BANNER === */
.order-banner { background: var(--r-red); color: var(--r-white); padding: 14px 24px; }
.order-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order-banner-inner span { font-size: 14px; }
.order-btn { background: var(--r-white); color: var(--r-red); font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.order-btn:hover { background: #f0e0e0; }

/* === SECTION UTILITIES === */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--r-gold); font-weight: 700; margin-bottom: 12px; font-family: 'Lato', sans-serif; }
.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--r-dark); margin-bottom: 48px; }

/* === SPECIALS === */
.specials { padding: 80px 0; background: var(--r-cream); }
.specials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.special-card { border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; min-height: 380px; display: flex; align-items: flex-end; position: relative; }
.special-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,10,0,0.85) 0%, transparent 60%); }
.special-card-body { position: relative; padding: 32px; color: var(--r-white); }
.special-card-body h3 { font-size: 26px; margin-bottom: 10px; }
.special-card-body p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; }
.special-link { color: var(--r-gold); font-weight: 700; font-size: 14px; text-decoration: none; }
.special-card--text { background: var(--r-dark); align-items: flex-start; padding: 40px 36px; flex-direction: column; gap: 16px; }
.special-card--text::before { display: none; }
.special-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--r-gold); font-weight: 700; font-family: 'Lato', sans-serif; }
.special-card--text h3 { font-size: 32px; color: var(--r-white); margin-bottom: 12px; }
.special-card--text p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.7; }
.special-stat-row { display: flex; gap: 24px; margin-top: 24px; }
.special-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--r-gold); font-weight: 700; }
.stat-l { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }

/* === HOURS STRIP === */
.hours-strip { background: var(--r-brown); padding: 28px 48px; }
.hours-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.hours-open-badge { display: flex; align-items: center; gap: 8px; color: var(--r-gold); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; }
.hours-dot { width: 9px; height: 9px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,0.3); display: inline-block; }
.hours-list { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.hours-item { font-size: 13px; color: rgba(255,255,255,0.75); display: flex; gap: 8px; }
.hours-item strong { color: var(--r-white); }
.hours-phone-btn { background: var(--r-gold); color: var(--r-dark); font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: 4px; text-decoration: none; white-space: nowrap; }

/* === TESTIMONIALS === */
.testimonials { background: #F3EDE3; padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: var(--r-white); border-radius: 8px; padding: 32px 28px; border: 1px solid var(--r-border); }
.stars { color: var(--r-gold); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--r-muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.reviewer { font-size: 13px; font-weight: 700; color: var(--r-brown); }

/* === HOME CTA === */
.home-cta { background: var(--r-dark); padding: 80px 0; }
.home-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.home-cta h2 { font-size: clamp(24px,3.5vw,36px); color: var(--r-white); margin-bottom: 8px; }
.home-cta p { color: rgba(255,255,255,0.6); font-size: 15px; }
.home-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* === PAGE BANNER === */
.page-banner { padding: 80px 48px 60px; }
.page-banner-inner { max-width: 700px; }
.page-banner-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--r-gold); font-weight: 700; margin-bottom: 16px; font-family: 'Lato', sans-serif; }
.page-banner-title { font-size: clamp(36px,6vw,68px); color: var(--r-white); margin-bottom: 16px; }
.page-banner-sub { font-size: 18px; color: rgba(255,255,255,0.65); font-weight: 300; }

/* === MENU PAGE === */
.menu-page { padding: 60px 0 80px; }
.menu-tabs { display: flex; gap: 8px; margin-bottom: 52px; border-bottom: 2px solid var(--r-border); padding-bottom: 16px; flex-wrap: wrap; }
.menu-tab { font-size: 14px; font-weight: 700; color: var(--r-muted); text-decoration: none; padding: 6px 16px; border-radius: 4px; transition: color 0.2s; font-family: 'Lato', sans-serif; letter-spacing: 0.05em; }
.menu-tab:hover { color: var(--r-dark); }
.menu-section { margin-bottom: 64px; }
.menu-section-header { margin-bottom: 32px; }
.menu-section-it { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--r-gold); font-weight: 700; display: block; margin-bottom: 8px; font-family: 'Lato', sans-serif; }
.menu-section-header h2 { font-size: 32px; color: var(--r-dark); margin-bottom: 8px; }
.menu-section-header p { font-size: 14px; color: var(--r-muted); }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--r-border); border-radius: 8px; overflow: hidden; }
.menu-item { padding: 24px 28px; border-bottom: 1px solid var(--r-border); border-right: 1px solid var(--r-border); background: var(--r-white); }
.menu-item:nth-child(even) { border-right: none; }
.menu-item:nth-last-child(-n+2) { border-bottom: none; }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.menu-item-name { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--r-dark); font-weight: 600; }
.menu-item-price { font-family: 'Lato', sans-serif; font-size: 16px; font-weight: 700; color: var(--r-gold); white-space: nowrap; }
.menu-item-desc { font-size: 13px; color: var(--r-muted); line-height: 1.6; }
.menu-cta { background: var(--r-dark); border-radius: 8px; padding: 40px 48px; text-align: center; margin-top: 48px; }
.menu-cta p { color: rgba(255,255,255,0.6); margin-bottom: 20px; font-size: 15px; }
.menu-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* === ABOUT === */
.story-section { padding: 80px 0; background: var(--r-cream); }
.story-container { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-text .section-label { margin-bottom: 8px; }
.story-text h2 { font-size: 36px; margin-bottom: 24px; color: var(--r-dark); }
.story-text p { font-size: 16px; color: var(--r-muted); line-height: 1.8; margin-bottom: 18px; }
.story-image img { border-radius: 8px; width: 100%; object-fit: cover; aspect-ratio: 3/4; }

.team-section { padding: 80px 0; background: #F3EDE3; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card { background: var(--r-white); border-radius: 8px; padding: 36px 28px; border: 1px solid var(--r-border); }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--r-gold); color: var(--r-dark); font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.team-name { font-size: 20px; color: var(--r-dark); margin-bottom: 4px; }
.team-role { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--r-gold); font-weight: 700; font-family: 'Lato', sans-serif; margin-bottom: 16px; }
.team-bio { font-size: 14px; color: var(--r-muted); line-height: 1.7; }

.values-section { padding: 80px 0; background: var(--r-dark); }
.values-section .section-title { color: var(--r-white); }
.values-section .section-label { color: var(--r-gold); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 36px 28px; }
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-card h3 { font-size: 20px; color: var(--r-white); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* === CONTACT === */
.contact-page { padding: 60px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-card { background: var(--r-white); border: 1px solid var(--r-border); border-radius: 8px; padding: 24px 28px; }
.contact-card-icon { font-size: 22px; margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; color: var(--r-dark); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--r-muted); line-height: 1.6; }
.contact-card p a { color: var(--r-gold); text-decoration: none; font-weight: 700; }
.contact-card-link { font-size: 13px; color: var(--r-gold); text-decoration: none; font-weight: 700; display: inline-block; margin-top: 8px; }
.contact-card-note { font-size: 12px; color: var(--r-muted); margin-top: 4px; }
.contact-hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--r-muted); padding: 3px 0; }
.contact-form-wrap { background: var(--r-white); border: 1px solid var(--r-border); border-radius: 8px; padding: 32px 28px; }
.contact-form-wrap h3 { font-size: 22px; color: var(--r-dark); margin-bottom: 8px; }
.form-intro { font-size: 14px; color: var(--r-muted); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--r-dark); }
.form-field input, .form-field select, .form-field textarea { border: 1px solid var(--r-border); border-radius: 4px; padding: 10px 14px; font-size: 14px; font-family: 'Lato', sans-serif; color: var(--r-text); background: #FDFBF8; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--r-gold); }
.form-submit { align-self: flex-start; border: none; cursor: pointer; }
.form-success { text-align: center; padding: 32px; }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 24px; color: var(--r-dark); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--r-muted); }
.map-embed { border-radius: 8px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--r-border); }
.map-placeholder { display: none; } /* Hide placeholder when iframe loads */
.order-cta-card { background: var(--r-dark); border-radius: 8px; padding: 28px; margin-bottom: 16px; text-align: center; }
.order-cta-icon { font-size: 32px; margin-bottom: 12px; }
.order-cta-card h3 { font-size: 22px; color: var(--r-white); margin-bottom: 8px; }
.order-cta-card p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.order-cta-btn { width: 100%; text-align: center; display: block; }
.order-cta-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 12px; }
.order-cta-note a { color: var(--r-gold); text-decoration: none; font-weight: 700; }
.gbp-cta { background: var(--r-white); border: 1px solid var(--r-border); border-radius: 8px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.gbp-cta p { font-size: 14px; color: var(--r-dark); margin: 0; }
.gbp-cta a { font-size: 13px; color: var(--r-gold); text-decoration: none; font-weight: 700; }

/* === FOOTER === */
.rest-footer { background: var(--r-dark); padding: 60px 48px 0; }
.rest-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--r-gold-lt); font-weight: 700; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); }
.rest-footer h4 { font-family: 'Lato', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); font-weight: 700; margin-bottom: 14px; }
.footer-hours-row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.55); padding: 3px 0; gap: 8px; }
.rest-footer p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.rest-footer a { color: var(--r-gold); text-decoration: none; }
.footer-btn { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--r-gold); font-weight: 700; }
.footer-order-desc { margin-bottom: 12px; }
.footer-order-btn { background: var(--r-gold); color: var(--r-dark); font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 4px; text-decoration: none !important; display: inline-block; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .r-hero-content { padding: 60px 32px; }
  .section-container { padding: 0 24px; }
  .specials-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-container { grid-template-columns: 1fr; }
  .story-image { display: none; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-item { border-right: none !important; }
  .menu-item:last-child { border-bottom: none !important; }
  .menu-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--r-border) !important; }
  .menu-item:last-child { border-bottom: none !important; }
  .rest-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hours-strip { padding: 24px 24px; }
  .page-banner { padding: 60px 24px 40px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--r-dark); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .r-hero { min-height: 60vh; }
  .r-hero-content { padding: 40px 24px; }
  .r-hero-headline { font-size: 40px; }
  .rest-footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .order-banner-inner { flex-direction: column; align-items: flex-start; }
  .home-cta-inner { flex-direction: column; }
}
