/* =========================================================
   CHURRO CRUNCH
   Edit the main colors in :root.
   ========================================================= */

:root {
  --orange: #e58b13;
  --orange-dark: #b95e08;
  --cream: #fff0cc;
  --paper: #fffaf1;
  --brown: #3b1d0d;
  --black: #17110c;
  --red: #a90016;
  --yellow: #ffca13;
  --muted: #705744;
  --white: #ffffff;
  --border: 2px solid var(--black);
  --heading: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--black);
  background:
    radial-gradient(circle at 18% 0%, rgba(229,139,19,.10), transparent 30%),
    var(--paper);
  font-family: var(--body);
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section { padding: 88px 0; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--heading);
  letter-spacing: -.02em;
  line-height: .95;
  text-transform: uppercase;
}

h1 { margin-bottom: 22px; font-size: clamp(58px, 8vw, 108px); }
h2 { margin-bottom: 24px; font-size: clamp(46px, 6vw, 78px); }
h3 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 42px); }

.button {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black);
}

.text-link {
  font-weight: 900;
  text-underline-offset: 5px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.18);
  background: rgba(255,250,241,.95);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  width: 142px;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 68px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  overflow: hidden;
  border-bottom: var(--border);
  background:
    linear-gradient(120deg, rgba(255,255,255,.17), transparent 42%),
    var(--orange);
}

.hero-grid {
  min-height: 710px;
  padding: 48px 0 58px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 58px;
}

.hero-logo {
  width: min(300px, 70%);
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--cream);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 var(--black);
}

.hero-description {
  max-width: 640px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-actions {
  margin: 30px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-pills span {
  padding: 10px 15px;
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 999px;
  background: rgba(255,240,204,.72);
  font-weight: 800;
}

.hero-collage {
  position: relative;
  min-height: 550px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.93);
  box-shadow: 10px 10px 0 rgba(23,17,12,.88);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-one {
  top: 0;
  right: 1%;
  width: 72%;
  height: 46%;
  transform: rotate(2deg);
}

.hero-card-two {
  top: 30%;
  left: 0;
  width: 59%;
  height: 53%;
  transform: rotate(-4deg);
}

.hero-card-three {
  right: 1%;
  bottom: 0;
  width: 48%;
  height: 48%;
  transform: rotate(4deg);
}

.hero-floating-logo {
  position: absolute;
  top: 6%;
  left: 2%;
  z-index: 4;
  width: 145px;
  filter: drop-shadow(5px 6px 0 rgba(23,17,12,.85));
  transform: rotate(-8deg);
}

.ticker {
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--black);
  color: var(--cream);
}

.ticker-track {
  width: max-content;
  padding: 14px 0;
  white-space: nowrap;
  font-family: var(--heading);
  font-size: 19px;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}

.about-copy {
  font-size: 20px;
}

.details-card {
  margin-top: 36px;
  border: var(--border);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--black);
}

.details-row {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-bottom: 1px dashed rgba(0,0,0,.45);
}

.details-row:last-child { border-bottom: 0; }
.details-row strong { text-transform: uppercase; }

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 40px;
  align-items: end;
}

/* Featured */
.featured {
  border-block: var(--border);
  background: var(--black);
  color: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.featured-card {
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 20px;
  background: var(--cream);
  color: var(--black);
  box-shadow: 7px 7px 0 var(--orange);
}

.featured-card img {
  width: 100%;
  height: 300px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.95), rgba(255,240,204,.85));
}

.featured-card div {
  padding: 20px;
}

.featured-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 6px 0 0;
  font-size: 31px;
}

/* Menu */
.menu-section {
  border-bottom: var(--border);
  background:
    linear-gradient(rgba(255,240,204,.95), rgba(255,240,204,.95)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(185,94,8,.08) 12px 14px);
}

.menu-category {
  margin-top: 56px;
}

.menu-category:first-of-type {
  margin-top: 0;
}

.category-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 3px solid var(--brown);
  padding-bottom: 18px;
}

.category-heading > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: var(--border);
  border-radius: 50%;
  background: var(--orange);
  font-family: var(--heading);
  font-size: 24px;
}

.category-heading h3 {
  margin: 0;
}

.category-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.dish-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(59,29,13,.5);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 4px 4px 0 rgba(59,29,13,.22);
  transition: transform .2s, box-shadow .2s;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(59,29,13,.28);
}

.dish-image {
  height: 265px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(59,29,13,.2);
  background:
    radial-gradient(circle at 50% 45%, #fff 0, #fff8e9 55%, #f4d69d 100%);
}

.dish-image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.dish-content {
  min-height: 150px;
  padding: 19px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 13px;
}

.dish-content h4 {
  margin: 0 0 6px;
  font-size: 20px;
}

.dish-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dish-content strong {
  min-width: 78px;
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid var(--white);
  outline: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  line-height: 1.08;
  text-align: center;
}

.frozen-card {
  margin-top: 38px;
  padding: 25px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 28px;
  border: var(--border);
  border-radius: 20px;
  background: var(--orange);
  box-shadow: 9px 9px 0 var(--brown);
}

.frozen-image {
  height: 180px;
  overflow: hidden;
  border: var(--border);
  border-radius: 14px;
  background: var(--white);
}

.frozen-image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.frozen-card p:last-child {
  margin-bottom: 0;
}

.frozen-card > strong {
  width: 115px;
  height: 115px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  outline: 3px solid var(--red);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--heading);
  font-size: 27px;
  text-align: center;
}

/* FAQ */
.faq-item { border-top: var(--border); }
.faq-item:last-child { border-bottom: var(--border); }

.faq-button {
  width: 100%;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-width: 820px;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

/* Contact */
.contact-section {
  border-top: var(--border);
  background: var(--orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 55px;
  align-items: start;
}

.contact-logo {
  width: 220px;
  margin-bottom: 24px;
}

.contact-description {
  max-width: 650px;
  font-size: 20px;
  font-weight: 700;
}

.contact-card {
  border: var(--border);
  background: var(--cream);
  box-shadow: 9px 9px 0 var(--black);
}

.contact-card div {
  padding: 20px 24px;
  border-bottom: 1px dashed rgba(0,0,0,.45);
}

.contact-card div:last-child { border-bottom: 0; }

.contact-card strong,
.contact-card span,
.contact-card a {
  display: block;
}

.contact-card strong {
  margin-bottom: 5px;
  font-size: 12px;
  letter-spacing: .14em;
}

/* Footer */
footer {
  padding: 30px 0;
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  width: 155px;
}

.footer-logo img {
  width: 100%;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s, transform .65s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid { min-height: auto; }
  .hero-collage { min-height: 560px; }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }

  .featured-card img {
    height: 250px;
  }

  .frozen-card {
    grid-template-columns: 210px 1fr auto;
  }
}

@media (max-width: 740px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: var(--border);
    background: var(--paper);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-order { display: none; }

  .hero-collage { min-height: 440px; }
  .hero-floating-logo { width: 105px; }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .dish-image {
    height: 280px;
  }

  .frozen-card {
    grid-template-columns: 1fr;
  }

  .featured-card {
    display: block;
  }

  .footer-contact {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .section { padding: 66px 0; }

  .brand {
    width: 112px;
  }

  .brand img {
    height: 61px;
  }

  .hero-logo {
    width: 230px;
  }

  .hero-collage { min-height: 365px; }

  .hero-card-one {
    width: 76%;
    height: 43%;
  }

  .hero-card-two {
    width: 62%;
    height: 49%;
  }

  .hero-card-three {
    width: 51%;
    height: 45%;
  }

  .details-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dish-image {
    height: 245px;
  }

  .dish-content {
    min-height: auto;
  }

  .frozen-card > strong {
    width: 100px;
    height: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
