/* ══════════════════════════════════════════════
   PEPE STEAKHOUSE — static/css/style.css
   Palette:
     --steel  #031F26  dark steel blue  (base bg)
     --bean   #330A05  black bean       (surfaces)
     --blood  #550F05  blood red        (deep accents)
     --barn   #761305  barn red         (ember tones)
     --brown  #9D3306  brown            (hover / mid)
     --burnt  #C45306  burnt orange     (primary accent)
   ══════════════════════════════════════════════ */

:root {
  --steel: #031F26;
  --bean:  #330A05;
  --blood: #550F05;
  --barn:  #761305;
  --brown: #9D3306;
  --burnt: #C45306;
  --cream: #f5ede0;

  /* rgb helpers for alpha usage */
  --burnt-rgb: 196, 83, 6;
  --barn-rgb:  118, 19, 5;
  --cream-rgb: 245, 237, 224;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--steel);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
}

/* ── FIXED BACKGROUND ── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--steel) 0%, #041a20 55%, #160905 100%);
}

/* Animated fire glow — anchored to bottom of screen */
.glow-core {
  position: absolute;
  bottom: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(var(--burnt-rgb), 0.5) 0%,
    rgba(var(--barn-rgb), 0.32) 35%,
    rgba(85, 15, 5, 0.1) 65%,
    transparent 80%
  );
  animation: pulse 4s ease-in-out infinite alternate;
  filter: blur(30px);
}

.glow-mid {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(var(--barn-rgb), 0.28) 0%,
    rgba(51, 10, 5, 0.1) 55%,
    transparent 75%
  );
  animation: pulse 6s ease-in-out infinite alternate-reverse;
  filter: blur(60px);
}

/* Ember particles — confined to the bottom band of the viewport */
.particles {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30vh;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -6px;
  border-radius: 50%;
  background: rgba(var(--burnt-rgb), 0.7);
  box-shadow: 0 0 6px rgba(var(--burnt-rgb), 0.5);
  animation: rise linear infinite;
  filter: blur(1px);
}

.particle:nth-child(1)  { left: 46%; width: 3px; height: 3px; animation-duration: 5s;   animation-delay: 0s; }
.particle:nth-child(2)  { left: 51%; width: 2px; height: 2px; animation-duration: 7s;   animation-delay: 1s;   opacity: 0.5; }
.particle:nth-child(3)  { left: 43%; width: 4px; height: 4px; animation-duration: 4.5s; animation-delay: 2s; }
.particle:nth-child(4)  { left: 55%; width: 2px; height: 2px; animation-duration: 8s;   animation-delay: 0.5s; opacity: 0.4; }
.particle:nth-child(5)  { left: 49%; width: 3px; height: 3px; animation-duration: 6s;   animation-delay: 3s; }
.particle:nth-child(6)  { left: 53%; width: 2px; height: 2px; animation-duration: 7.5s; animation-delay: 1.5s; opacity: 0.6; }
.particle:nth-child(7)  { left: 45%; width: 5px; height: 5px; animation-duration: 5.5s; animation-delay: 4s;   opacity: 0.35; }
.particle:nth-child(8)  { left: 50%; width: 2px; height: 2px; animation-duration: 6.5s; animation-delay: 2.5s; }
.particle:nth-child(9)  { left: 41%; width: 3px; height: 3px; animation-duration: 9s;   animation-delay: 0.8s; opacity: 0.5; }
.particle:nth-child(10) { left: 58%; width: 2px; height: 2px; animation-duration: 6s;   animation-delay: 3.5s; }
.particle:nth-child(11) { left: 40%; width: 4px; height: 4px; animation-duration: 5s;   animation-delay: 5s;   opacity: 0.4; }
.particle:nth-child(12) { left: 60%; width: 3px; height: 3px; animation-duration: 7s;   animation-delay: 1.2s; }

/* Grain overlay */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  animation: grain-shift 0.5s steps(1) infinite;
}

/* Vignette */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(2, 14, 18, 0.6) 80%,
    rgba(2, 14, 18, 0.9) 100%
  );
}

/* Horizontal separator lines */
.bg-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 119px,
    rgba(var(--cream-rgb), 0.02) 120px
  );
}

@keyframes pulse {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

/* Rise stays inside the bottom band (~26vh) then fades out */
@keyframes rise {
  0%   { transform: translateX(0) translateY(0); opacity: 0.9; }
  60%  { transform: translateX(var(--drift, 20px)) translateY(-16vh); opacity: 0.5; }
  100% { transform: translateX(calc(var(--drift, 20px) * -1)) translateY(-26vh); opacity: 0; }
}

@keyframes grain-shift {
  0%  { background-position: 0 0; }
  25% { background-position: 20px 10px; }
  50% { background-position: -10px 25px; }
  75% { background-position: 15px -5px; }
}

/* ── SCROLL CONTAINER ── */
.scroll-wrap {
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 2rem;
  animation: fadeUp 1s ease both;
  animation-delay: 0.2s;
}

.hero-logo {
  display: block;
  width: min(520px, 82vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 28px rgba(200, 160, 70, 0.25));
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 18vw, 16rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  background: linear-gradient(170deg, var(--cream) 25%, var(--burnt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 1s ease both;
  animation-delay: 0.4s;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.6);
  margin-top: 1.5rem;
  animation: fadeUp 1s ease both;
  animation-delay: 0.6s;
}

.hero-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--burnt), transparent);
  margin: 3rem auto 0;
  animation: fadeUp 1s ease both;
  animation-delay: 0.8s;
}

/* ── SECTIONS ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 1.5rem;
  display: block;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 2.5rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(var(--cream-rgb), 0.75);
  margin-bottom: 1.5rem;
}

.about-text p em {
  color: var(--cream);
  font-style: italic;
}

.about-stat {
  border-top: 1px solid rgba(var(--burnt-rgb), 0.3);
  padding-top: 2rem;
  margin-top: 2rem;
}

.about-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--burnt);
  line-height: 1;
}

.about-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.45);
  margin-top: 0.5rem;
}

.about-visual {
  position: relative;
}

.fire-box {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid rgba(var(--burnt-rgb), 0.25);
  background: linear-gradient(to bottom, rgba(51, 10, 5, 0.35), rgba(51, 10, 5, 0.65));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fire-box-inner {
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 80%,
    rgba(var(--burnt-rgb), 0.4) 0%,
    rgba(var(--barn-rgb), 0.22) 40%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fire-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 30px rgba(var(--burnt-rgb), 0.8));
  animation: flicker 2s ease-in-out infinite alternate;
}

.fire-box-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--burnt);
  border-style: solid;
  opacity: 0.6;
}
.fire-box-corner.tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.fire-box-corner.tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.fire-box-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.fire-box-corner.br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

@keyframes flicker {
  0%   { transform: scale(1)    rotate(-1deg); opacity: 0.9; }
  50%  { transform: scale(1.05) rotate(1deg);  opacity: 1; }
  100% { transform: scale(0.97) rotate(-2deg); opacity: 0.85; }
}

/* ── MENU ── */
.menu-section {
  border-top: 1px solid rgba(var(--cream-rgb), 0.06);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
}

.menu-item {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(var(--cream-rgb), 0.06);
  background: rgba(51, 10, 5, 0.25); /* black bean surface */
  transition: border-color 0.4s ease, background 0.4s ease;
  cursor: default;
}

.menu-item:hover {
  border-color: rgba(var(--burnt-rgb), 0.4);
  background: rgba(157, 51, 6, 0.08); /* brown wash on hover */
}

.menu-item-cut {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(var(--cream-rgb), 0.45);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.menu-item-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--burnt);
}

.menu-item-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.4);
  border: 1px solid rgba(var(--barn-rgb), 0.6);
  padding: 0.3rem 0.6rem;
  margin-top: 0.9rem;
}

.menu-note {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.35);
  text-align: center;
  margin-top: 2.5rem;
  line-height: 2;
}

/* ── EXPERIENCE ── */
.experience-section {
  text-align: center;
}

.experience-section .section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.experience-body {
  max-width: 620px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(var(--cream-rgb), 0.65);
  font-style: italic;
}

.experience-list {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.exp-item {
  text-align: center;
}

.exp-icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 8px rgba(var(--burnt-rgb), 0.5));
}

.exp-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.4);
}

/* ── RESERVATION ── */
.reservation-section {
  text-align: center;
  padding-bottom: 8rem;
}

.res-body {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(var(--cream-rgb), 0.55);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.res-info {
  display: flex;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.res-info-block {
  text-align: left;
}

.res-info-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 0.5rem;
}

.res-info-value {
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 3.5rem;
  border: 1px solid var(--burnt);
  color: var(--burnt);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--burnt);
  color: var(--steel);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(var(--cream-rgb), 0.06);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: rgba(var(--cream-rgb), 0.15);
  margin-bottom: 1rem;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── DECORATIVE LINES ── */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--burnt);
  display: inline-block;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .particle,
  .glow-core,
  .glow-mid,
  .grain,
  .fire-box-inner,
  .fire-icon {
    animation: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { display: none; }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .res-info {
    gap: 2.5rem;
  }
  .experience-list {
    gap: 3rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
