/* ============================================================
   shared.css — Sapori Italian
   Common styles used across all pages.
   Each page links this file, then adds its own <style> block
   for page-specific rules only.
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:       #6b7c6b;
  --forest:     #44524e;
  --teal:       #213637;
  --mint:       #bfd3cf;
  --terra:      #cc7a5d;
  --cream:      #ebe7e1;
  --text-muted: #9db5b2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--teal);
  color: var(--cream);
  overflow-x: hidden;
  min-width: 320px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .25rem 2.5rem;
  transition: background 0.3s, box-shadow 0.3s;
  height: 60px;
}

nav.scrolled {
  background-color: #213637ed;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav-logo {
  font-family: 'Averia Serif Libre', serif;
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo svg {
  max-width: 120px;
  height: auto;
    display: block;
  overflow: visible;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: 0.03em;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1;color: var(--terra) }

.btn-book-nav {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.btn-book-nav:hover { opacity: 0.7; }

/* ── BURGER ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--teal);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: 'Averia Serif Libre', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.mobile-nav a:hover,
.mobile-nav a.active { opacity: 1; }

.mobile-nav a.mobile-book {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--terra);
  color: var(--cream);
  padding: 0.9rem 2.5rem;
  border-radius: 5px;
  margin-top: 1rem;
  opacity: 1;
  transition: background 0.2s;
}

.mobile-nav a.mobile-book:hover { background: #b8694d; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--terra);
  color: var(--cream);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #b8694d;
  /* transform: translateY(-1px); */
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Averia Serif Libre', serif;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.divider {
  width: 36px;
  height: 1px;
  background: var(--terra);
  margin: 0.9rem auto;
}

/* ── FOOTER ── */
footer {
  background: #192b2c;
  padding: 3.5rem 2.5rem 2rem;
  border-top: 0.5px solid rgba(191,211,207,0.12);
}

.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 5rem;
  align-items: start;
}
.footer-logo svg {
  max-width: 120px;
  height: auto;
    display: block;
  overflow: visible;

}

.footer-logo {
  font-family: 'Averia Serif Libre', serif;
  font-style: italic; font-size: 1.6rem;
  font-weight: 400; color: var(--cream);
  margin-bottom: 1rem; display: block;
  text-decoration: none;
}

.footer-col h4 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 1rem;
}

.footer-hours-row {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  font-size: 1rem;
}

.footer-hours-row:last-child { border-bottom: none; }
.footer-hours-row span:first-child { color: var(--cream); font-weight: 400; }
.footer-hours-row span:last-child { color: var(--text-muted); font-weight: 300; font-style: italic; }

.footer-contact-line.address a {
  color: var(--cream);
}
.footer-contact-line.address {
line-height: 1.5;
}
.footer-contact-line {
  font-size: 1rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.9;
}

.footer-contact-line a { color: var(--terra); text-decoration: none; transition: color 0.2s; }
.footer-contact-line a:hover { color: #d98870; }

.footer-bottom a {
    color: var(--terra); text-decoration: none; transition: color 0.2s;
}
.footer-bottom a:hover { color: #d98870; }
.footer-bottom {
    display: grid;
  max-width: 1140px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  font-size: 0.7rem; font-weight: 300;
  color: var(--text-muted); letter-spacing: 0.08em;
  text-align: center; text-transform: uppercase;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ── BREAKPOINT: 768px+ ── */
@media (min-width: 768px) {
    .footer-bottom {
        display: flex;
        justify-content: space-between;
    }
  nav { height: 80px; }
  .nav-logo svg { max-width: 150px; }
}
/* ── BREAKPOINT: below 768px ── */
@media (max-width: 767px) {
  nav { padding: .25rem 1.25rem; }
  .nav-right .btn-primary {
    display: none!important;
  }
  .nav-links { display: none; }
  .btn-book-nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  body.nav-open { overflow: hidden; }
}

/* ── BREAKPOINT: 900px ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── BREAKPOINT: 640px ── */
@media (max-width: 640px) {
  .footer-hours-row { display: grid; gap: .25rem; }
}
@media (min-width: 1025px) {
.nav-links {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}
}