/* ============================================
   MARCIE'S BURGER · STYLES
   Retro diner / classic American burger aesthetic
   ============================================ */

:root {
  --yellow: #fcc419;
  --yellow-deep: #f5b700;
  --red: #e5202a;
  --red-deep: #c01821;
  --cream: #fff7e0;
  --ink: #1a1208;
  --ink-soft: #3a2a1a;
  --line: rgba(26, 18, 8, 0.12);

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Familjen Grotesk", system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--yellow);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ TICKER ============ */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  font-size: 14px;
}
.ticker__track span { flex-shrink: 0; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--ink);
}
.nav__brand {
  display: flex;
  align-items: center;
}
.nav__brand img {
  height: 36px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}
.nav__brand:hover img {
  transform: rotate(-2deg);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}
.nav__links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav__links a:hover { color: var(--red); }
.nav__links a:hover::after { width: 100%; }

.nav__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.nav__ig:hover {
  background: var(--red);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--yellow);
  padding: clamp(50px, 7vw, 80px) var(--gutter) 110px;
  text-align: center;
  overflow: hidden;
}
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.07 0 0 0 0 0.03 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 24px;
  opacity: 0.8;
  animation: fade-in-up 0.8s ease 0.1s both;
}

.hero__logo {
  width: clamp(260px, 42vw, 460px);
  margin: 0 auto 14px;
  animation: fade-in-up 1s ease 0.25s both;
}

.hero__est {
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 32px;
  animation: fade-in-up 1s ease 0.35s both;
}

.hero__slogan {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
  color: var(--ink);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fade-in-up 1s ease 0.45s both;
}

.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 1s ease 0.55s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
  cursor: pointer;
}
.btn--red {
  background: var(--red);
  color: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--red:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--yellow:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--red);
}

/* ============ STORY ============ */
.story {
  background: var(--red);
  color: var(--cream);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  position: relative;
}
.story__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.story__media {
  position: relative;
  border: 4px solid var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.story__media:hover {
  transform: rotate(0deg);
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 2;
}
.story__media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--cream);
  padding: 24px 16px 14px;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 14px;
  text-align: center;
}
.story__copy {
  text-align: left;
}
.story__label {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 24px;
}
.story__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--cream);
}
.story__body {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  margin-bottom: 18px;
  opacity: 0.95;
}

@media (max-width: 760px) {
  .story__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .story__copy { text-align: center; }
  .story__media { transform: rotate(-1deg); margin: 0 auto; max-width: 480px; }
}

/* ============ BURGER BAND ============ */
.burger-band {
  position: relative;
  width: 100%;
  height: clamp(380px, 60vh, 640px);
  overflow: hidden;
  background: var(--ink);
}
.burger-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.burger-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--gutter) clamp(28px, 5vw, 56px);
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}
.burger-band__caption {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  letter-spacing: 0.02em;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  margin: 0;
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--yellow);
  padding: 22px 0;
  overflow: hidden;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
}
.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll-left 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.1em;
}
.marquee__track .dot { color: var(--red); }

/* ============ POPUP ============ */
.popup {
  background: var(--yellow);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  position: relative;
}
.popup__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.popup__head {
  text-align: center;
  margin-bottom: 60px;
}
.popup__tag {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  font-size: 12px;
  background: var(--ink);
  color: var(--yellow);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.popup__head h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--red);
  margin-bottom: 16px;
}
.popup__head p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ink-soft);
}
.popup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.popup__card {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.popup__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--red);
}
.popup__card--alt { background: var(--red); color: var(--cream); }
.popup__card--alt .popup__card-day { color: var(--yellow); }
.popup__card--soon { background: var(--ink); color: var(--cream); }
.popup__card--soon .popup__card-day { color: var(--yellow); }

.popup__card-day {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 14px;
}
.popup__card-where {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.popup__card-when {
  font-size: 15px;
  margin-bottom: 22px;
  opacity: 0.85;
}
.popup__card-link {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ============ MENU ============ */
.menu {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  position: relative;
}
.menu__inner {
  max-width: 820px;
  margin: 0 auto;
}
.menu__head {
  text-align: center;
  margin-bottom: 50px;
}
.menu__tag {
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  font-size: 13px;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.menu__head h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 12px;
}
.menu__sub {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
}
.menu__list {
  list-style: none;
  border-top: 2px dashed var(--ink);
}
.menu__item {
  padding: 22px 4px;
  border-bottom: 2px dashed var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: baseline;
}
.menu__item-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: 0.02em;
  color: var(--red);
  line-height: 1;
}
.menu__item-desc {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}
.menu__item-dots { display: none; }

.menu__note {
  text-align: center;
  margin-top: 36px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ============ CONTACT ============ */
.contact {
  background: var(--red);
  color: var(--cream);
  padding: clamp(60px, 9vw, 100px) var(--gutter);
}
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  text-align: center;
}
.contact__col h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 0.02em;
  color: var(--yellow);
  margin-bottom: 14px;
  line-height: 1;
}
.contact__col p {
  margin-bottom: 24px;
  font-size: 17px;
  opacity: 0.95;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 50px var(--gutter) 28px;
  text-align: center;
}
.footer__inner {
  max-width: 700px;
  margin: 0 auto;
}
.footer__logo {
  width: 180px;
  margin: 0 auto 22px;
  /* Transparent PNG is red — recolor to brand yellow on dark footer */
  filter: brightness(0) saturate(100%) invert(82%) sepia(48%) saturate(1300%) hue-rotate(2deg) brightness(101%) contrast(98%);
}
.footer__slogan {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 26px;
  color: var(--yellow);
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 22px;
}
.footer__meta a:hover { color: var(--yellow); }
.footer__copy {
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ============ MOTION RESPECT ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
