/* ==========================================================================
   Da Vinci Pizzeria Gourmet — Pizza Gourmet & Cocktail Bar
   Design system derived from the original WordPress site.
   Fonts:  Oswald (headings/menu), Mulish (body), Sorts Mill Goudy (accent)
   Colors: dark teal background, gold accent.
   ========================================================================== */

:root {
  /* Brand colors (pulled from original theme) */
  --color-bg:          #012421;  /* deep teal-green background       */
  --color-bg-alt:      #002A27;  /* slightly lighter section bg      */
  --color-bg-deep:     #031b1a;  /* darkest (overlays, mobile menu)  */
  --color-gold:        #E09C25;  /* primary accent / gold            */
  --color-gold-dark:   #DF9B35;
  --color-cream:       #F4F4F4;  /* light text                       */
  --color-muted:       #D0D5D2;  /* muted light text                 */
  --color-line:        rgba(224, 156, 37, 0.25);

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Mulish', Arial, sans-serif;
  --font-accent:  'Sorts Mill Goudy', Georgia, serif;

  --maxw: 1200px;
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-muted);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-cream); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-cream);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 200; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 200; }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

p { margin: 0 0 1.2em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.15rem;
  letter-spacing: .5px;
  margin: 0 0 .4em;
}

.section { padding: 90px 0; }
.section--alt { background: var(--color-bg-alt); }
.section__head { text-align: center; max-width: 740px; margin: 0 auto 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: .85rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  border: 1px solid var(--color-gold);
}
.btn--primary { background: var(--color-gold); color: var(--color-bg); }
.btn--primary:hover { background: transparent; color: var(--color-gold); }
.btn--ghost { background: transparent; color: var(--color-gold); }
.btn--ghost:hover { background: var(--color-gold); color: var(--color-bg); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  /* Above the mobile backdrop (z 1000) so the drawer — which lives inside this
     header's stacking context — paints on top of the dim layer.
     NOTE: no backdrop-filter/filter/transform here — any of those would make
     this a containing block for position:fixed descendants, trapping the
     mobile drawer (.nav__menu) inside the header box. Use a solid color. */
  z-index: 1100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav__logo img { height: 72px; width: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--color-cream);
  text-transform: uppercase;
}
.nav__menu a:hover,
.nav__menu a.is-active { color: var(--color-gold); }

.nav__right { display: flex; align-items: center; gap: 18px; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--color-line);
  border-radius: 40px;
  overflow: hidden;
}
.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 14px;
  background: transparent;
  color: var(--color-muted);
  border: none;
  cursor: pointer;
  transition: all .2s ease;
}
.lang-switch .flag { font-size: 15px; line-height: 1; }
.lang-switch button.is-active { background: var(--color-gold); color: var(--color-bg); }

/* Hamburger */
.nav__toggle {
  display: none;
  position: relative;
  z-index: 1002;          /* above the open panel so it stays tappable */
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  margin: 5px 0;
  transition: transform .3s ease, opacity .2s ease;
}
/* Hamburger -> X when menu is open */
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop behind the mobile panel */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(1, 27, 26, 0.6);
  opacity: 0;
  transition: opacity .3s ease;
}

@media (max-width: 880px) {
  .nav__toggle { display: block; }

  .nav__backdrop { display: block; pointer-events: none; }
  body.nav-open .nav__backdrop { opacity: 1; pointer-events: auto; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1001;                 /* above backdrop + all page content */
    width: min(80vw, 320px);
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--color-bg-deep);
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-left: 1px solid var(--color-line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .45);
    overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: translateX(0); }

  .nav__menu li { width: 100%; }
  .nav__menu a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
  }

  /* prevent the page scrolling behind the open menu */
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 200px 0 190px;
  background: var(--color-bg);
  overflow: hidden;
}
/* Full-bleed background video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Dark overlay so the copy stays readable over the video */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(224,156,37,0.12), transparent 60%),
    linear-gradient(rgba(1,36,33,0.62), rgba(1,36,33,0.78));
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero h1 { margin-bottom: .3em; }
.hero__lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 1.6em;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Feature cards (4 categories)
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.feature__icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.3rem; }
.feature p { font-size: .95rem; line-height: 1.7; }

@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ==========================================================================
   About (split)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   Menu highlights
   ========================================================================== */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 48px; }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--color-line);
}
.menu-item__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-cream);
  text-transform: capitalize;
  margin: 0 0 4px;
}
.menu-item__desc { font-size: .9rem; line-height: 1.6; margin: 0; color: var(--color-muted); }
.menu-item__price {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.15rem;
  white-space: nowrap;
}
@media (max-width: 720px) { .menu-grid { grid-template-columns: 1fr; gap: 0 0; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery img {
  aspect-ratio: 740/840;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s ease, filter .3s ease;
  filter: saturate(.9);
}
.gallery img:hover { transform: scale(1.03); filter: saturate(1.1); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.testimonial__stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial__text { font-style: italic; font-family: var(--font-accent); font-size: 1.05rem; color: var(--color-cream); }
.testimonial__author { font-family: var(--font-heading); color: var(--color-gold); font-size: .95rem; letter-spacing: .5px; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comfort + stats
   ========================================================================== */
.comfort__text { max-width: 640px; }
.stats { display: flex; gap: 56px; margin-top: 28px; flex-wrap: wrap; }
.stat__num { font-family: var(--font-heading); font-size: 2.8rem; color: var(--color-gold); line-height: 1; }
.stat__label { font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-bg-deep); padding: 70px 0 30px; border-top: 1px solid var(--color-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p, .site-footer li { font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; display: flex; justify-content: space-between; gap: 12px; }
.footer__logo { height: 110px; width: auto; margin-bottom: 16px; }
.footer__social { display: flex; gap: 14px; margin-top: 4px; }

/* Round social icon buttons (footer + contact page) */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-gold);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-icon:hover { background: var(--color-gold); color: var(--color-bg); border-color: var(--color-gold); }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

.social-links { display: flex; gap: 14px; align-items: center; margin-top: 24px; }

/* Google Maps embed */
.map-embed {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  line-height: 0;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}
.footer__bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: .82rem;
  color: var(--color-muted);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Page (placeholder) hero ---------- */
.page-hero { padding: 80px 0 60px; text-align: center; border-bottom: 1px solid var(--color-line); }
.page-body { padding: 70px 24px 100px; max-width: 760px; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-banner {
  height: clamp(220px, 34vw, 380px);
  background: linear-gradient(rgba(1,36,33,.55), rgba(1,36,33,.75)),
              url("../images/about-banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-banner h1 { margin: 0; }
.about-banner .eyebrow { margin-bottom: 8px; }

.about-since {
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.3rem;
  border: 1px solid var(--color-line);
  border-radius: 40px;
  padding: 6px 22px;
  margin-bottom: 24px;
}
.about-lead-list p { font-size: 1.05rem; }

/* Partner band */
.partner { text-align: center; }
.partner__text { max-width: 640px; margin: 0 auto 28px; }

/* Chef vision quote */
.vision blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--color-cream);
  margin: 0;
  border-left: 2px solid var(--color-gold);
  padding-left: 28px;
}

/* ==========================================================================
   Menu page — PDF download
   ========================================================================== */
.menu-download {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 48px 32px;
  background: rgba(255,255,255,0.02);
}
.menu-download h2 { margin-bottom: 12px; }
.menu-download__buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.menu-download__buttons .btn { display: inline-flex; align-items: center; gap: 10px; }
.menu-note {
  text-align: center;
  font-size: .9rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 32px auto 0;
}
