/* ============================================================
   That's Amore Italian Restaurant — Shared Stylesheet
   96 High St, Lindfield, Haywards Heath RH16 2HP
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&family=Cinzel:wght@400;600&display=swap');

/* ── CSS Variables ── */
:root {
  --cream:       #faf6ef;
  --parchment:   #f2e9d8;
  --dark-green:  #1a2b1a;
  --mid-green:   #2c472c;
  --light-green: #3d6b3d;
  --gold:        #c8a252;
  --gold-light:  #e2be7a;
  --wine:        #7a1a1a;
  --charcoal:    #242424;
  --text:        #2e2e2e;
  --text-muted:  #6b6451;
  --border:      rgba(26,43,26,0.12);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.16);
  --radius:      4px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography helpers ── */
.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: 1.4rem; font-weight: 500; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--dark-green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--mid-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--dark-green);
  border: 1.5px solid var(--dark-green);
}
.btn-outline:hover {
  background: var(--dark-green);
  color: var(--cream);
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-cream:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--cream);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-nav.nav-dark {
  background: rgba(26,43,26,0.97);
  border-bottom-color: rgba(200,162,82,0.2);
}
.nav-logo img {
  height: 46px;
  width: auto;
}
.nav-logo-dark img { filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.site-nav.nav-dark .nav-links a { color: rgba(255,255,255,0.85); }
.site-nav.nav-dark .nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav.nav-dark .nav-phone { color: rgba(255,255,255,0.6); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.site-nav.nav-dark .nav-hamburger span { background: var(--cream); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark-green);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--cream);
  font-style: italic;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
}

/* ── Section scaffolding ── */
.section { padding: 100px 60px; }
.section-sm { padding: 64px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-wide { max-width: 1400px; margin: 0 auto; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Ticker banner ── */
.ticker-wrap {
  background: var(--dark-green);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid rgba(200,162,82,0.2);
  border-bottom: 1px solid rgba(200,162,82,0.2);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--parchment);
  white-space: nowrap;
}
.ticker-dot { color: var(--gold); font-size: 0.5rem; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Page header (inner pages) ── */
.page-hero {
  height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.45);
}
.page-hero-content {
  position: relative;
  padding: 60px;
  width: 100%;
}
.page-hero-content h1 { color: var(--cream); font-size: clamp(2.4rem,5vw,4rem); }
.page-hero-content .eyebrow { color: var(--gold-light); margin-bottom: 12px; }

/* ── Footer ── */
.site-footer {
  background: var(--dark-green);
  color: var(--parchment);
  padding: 80px 60px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  opacity: 0.9;
}
.footer-tagline {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer-about {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-col a { transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; }
.footer-hours .day { color: rgba(255,255,255,0.7); font-weight: 500; }
.footer-hours .time { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 30px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Offer banner ── */
.offer-banner {
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  padding: 12px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.offer-banner strong { font-weight: 600; }
.offer-banner a { color: var(--gold-light); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .section, .section-sm { padding-left: 40px; padding-right: 40px; }
  .site-nav { padding: 0 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer { padding: 60px 40px 32px; }
}
@media (max-width: 768px) {
  .section, .section-sm { padding: 64px 24px; }
  .site-nav { padding: 0 24px; }
  .nav-links, .nav-phone, .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding: 48px 24px 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .page-hero { height: 320px; }
  .page-hero-content { padding: 40px 24px; }
}
