/* ==========================================================================
   PIZZA 360 — Design System
   Brand: Pizza Green #0F4127 · Brick Red #AE1B1A · Warm Cream #FFFCEF · Burnt Orange #D64B27
   Signature motif: the "360" ring — concentric circles used as dividers,
   badges, the category dial and the hero mark.
   ========================================================================== */

:root{
  /* --- brand core --- */
  --green:        #0F4127;
  --green-deep:   #09271768;
  --green-deeper: #081F13;
  --green-light:  #1F6B45;
  --green-mist:   #2C7A50;

  --red:          #AE1B1A;
  --red-deep:     #7C1312;
  --red-bright:   #D42625;

  --orange:       #D64B27;
  --orange-deep:  #A93A1E;
  --orange-glow:  #FF7A46;

  --cream:        #FFFCEF;
  --cream-dim:    #FFFCEFB3;
  --cream-faint:  #FFFCEF73;
  --cream-line:   #FFFCEF1F;

  --ink:          #14180F;

  /* --- type --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* --- scale --- */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(8, 31, 19, 0.45);
  --shadow-tight: 0 8px 24px -10px rgba(8, 31, 19, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; }
h1,h2,h3,h4,p{ margin: 0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--orange-glow);
  outline-offset: 3px;
}

/* ---------- scroll progress bar ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), var(--orange-glow));
  z-index: 200;
  pointer-events: none;
}

/* ---------- layout helpers ---------- */
.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.section{ padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section--cream{ background: var(--cream); color: var(--ink); }
.section--deep{ background: var(--green-deeper); }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.section--cream .eyebrow{ color: var(--orange-deep); }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}
.lede{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-dim);
  max-width: 54ch;
  line-height: 1.65;
}
.section--cream .lede{ color: #14180FB3; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--cream);
  box-shadow: 0 10px 30px -10px rgba(214,75,39,0.6);
}
.btn-primary:hover{ background: var(--orange-glow); }
.btn-primary::after{
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-primary:active::after{ left: 125%; }
.btn-outline{
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-line);
}
.btn-outline:hover{ border-color: var(--cream); background: var(--cream-line); }
.section--cream .btn-outline{ color: var(--ink); border-color: #14180F26; }
.section--cream .btn-outline:hover{ border-color: var(--ink); background: #14180F0D; }
.btn-dark{
  background: var(--green-deeper);
  color: var(--cream);
}
.btn-dark:hover{ background: var(--green); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 11px 20px; font-size: 12px; }

/* ---------- nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled{
  background: rgba(15, 65, 39, 0.92);
  backdrop-filter: blur(14px);
  padding: 16px 0;
  box-shadow: 0 4px 30px -10px rgba(0,0,0,0.35);
}
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--cream);
}
.brand-logo{ width: 68px; height: 68px; flex-shrink: 0; border-radius: 50%; object-fit: cover; display: block; }
.site-footer .brand-logo{ width: 80px; height: 80px; }
.nav-links{
  display: flex; align-items: center; gap: 6px;
}
.nav-links a{
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream-dim);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--cream); background: var(--cream-line); }
.nav-cta{ display: flex; align-items: center; gap: 10px; }
.nav-toggle{
  display: none;
  background: none; border: none; color: var(--cream);
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle svg{ width: 22px; height: 22px; }

@media (max-width: 900px){
  .nav-links{
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh;
    background: var(--green-deeper);
    flex-direction: column; align-items: stretch;
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    gap: 4px;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{ padding: 16px 18px; font-size: 17px; }
  .nav-toggle{ display: inline-flex; }
  .nav-cta .btn-outline{ display: none; }
}

/* ---------- ring / 360 motif ---------- */
.ring-divider{
  display: flex; align-items: center; gap: 18px;
  color: var(--cream-faint);
  margin: 8px 0 40px;
}
.section--cream .ring-divider{ color: #14180F40; }
.ring-divider .dot-ring{
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid currentColor;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring-divider .dot-ring::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-glow);
}
.ring-divider .line{ flex: 1; height: 1px; background: currentColor; opacity: 0.4; }

/* rotating ambient ring, used behind hero art */
.spin-ring{
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  pointer-events: none;
}
.spin-ring.slow{ animation: spin 60s linear infinite; }
.spin-ring.slower{ animation: spin 90s linear infinite reverse; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* cursor spotlight, desktop hero only */
.hero-spotlight{
  position: absolute;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,252,239,0.10), rgba(255,252,239,0) 70%);
  transform: translate3d(-9999px, -9999px, 0);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.hero-spotlight.is-active{ opacity: 1; }

/* ---------- placeholder photo tiles (swap-ready) ---------- */
.photo-tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,122,70,0.35), transparent 55%),
    linear-gradient(135deg, var(--green-mist) 0%, var(--green-deeper) 100%);
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.photo-tile::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,252,239,0.035) 0 2px, transparent 2px 22px);
  transition: transform 0.6s var(--ease);
}
.photo-tile::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,252,239,0.10) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: tile-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tile-shimmer{
  0%{ transform: translateX(-130%); }
  35%{ transform: translateX(130%); }
  100%{ transform: translateX(130%); }
}
.photo-tile .tile-icon{
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  opacity: 0.5;
}
.photo-tile .tile-label{
  position: relative;
  z-index: 1;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.photo-tile img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.photo-tile:hover::before, .photo-tile:hover img,
.photo-tile.is-touch-zoomed::before, .photo-tile.is-touch-zoomed img{
  transform: scale(1.06);
}
.photo-tile-overlay{
  position: absolute; inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: rgba(20, 24, 15, 0.55);
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.photo-tile-overlay::before{
  content: attr(data-caption);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.photo-tile:hover .photo-tile-overlay,
.photo-tile.is-touch-zoomed .photo-tile-overlay{
  opacity: 1;
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--green-deeper);
  padding: 64px 0 28px;
  border-top: 1px solid var(--cream-line);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid h4{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p{ color: var(--cream-dim); font-size: 14.5px; }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--cream); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--cream-line);
  font-size: 13px; color: var(--cream-faint);
}
@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------- whatsapp floating button ---------- */
.fab-whatsapp{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
  transition: transform 0.3s var(--ease);
}
.fab-whatsapp:hover{ transform: scale(1.08); }
.fab-whatsapp svg{ width: 28px; height: 28px; }

/* ---------- misc utility ---------- */
.tag{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--cream-line);
  color: var(--cream-dim);
}
.tag.veg{ color: #7EDCA1; border-color: #7EDCA13d; }
.tag.nonveg{ color: #FF9E82; border-color: #FF9E823d; }
.tag-dot{ width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid currentColor; display:inline-block; position:relative; }
.tag-dot::after{ content:""; position:absolute; inset:1.5px; border-radius:1px; background:currentColor; }

.reveal{ opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.hero-line{
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-line.is-visible{ opacity: 1; transform: translateY(0); }

.marquee{
  overflow: hidden;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: 18px 0;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.marquee-track{
  display: flex; gap: 48px; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  transition: color 0.3s ease;
}
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee-track span{ cursor: pointer; }

.ticker-preview{
  position: fixed;
  top: 0; left: 0;
  width: 200px;
  padding: 10px;
  background: var(--green-deeper);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-tight);
  transform: translate3d(-9999px, -9999px, 0);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.2s ease;
}
.ticker-preview.is-visible{ opacity: 1; pointer-events: auto; }
.ticker-preview .photo-tile{ aspect-ratio: 4/3; }
.ticker-preview-name{
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin: 10px 0 8px;
}
.ticker-preview-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange-glow);
  font-weight: 600;
}

.page-hero{
  padding: clamp(140px, 20vw, 200px) 0 clamp(48px, 8vw, 80px);
}
