/* ==========================================================
   Fins & Buns — stylesheet
   ========================================================== */

@font-face {
  font-family: "Honey Bear";
  src: url("../assets/fonts/HoneyBear.woff2") format("woff2"),
       url("../assets/fonts/HoneyBear.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #033a3a;
  --teal-dark: #022424;
  --teal-light: #0c4a4a;
  --gold: #e4b339;
  --gold-dark: #c99a26;
  --cream: #fdf7e8;
  --ink: #12211f;
  --white: #ffffff;
  --grey: #6c7876;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(3, 58, 58, 0.12);
  --shadow-strong: 0 20px 45px rgba(3, 58, 58, 0.22);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  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; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.section { padding: 100px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.kicker {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-size: .8rem;
  margin: 0 0 10px;
}

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head h2 {
  font-family: "Honey Bear", "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal);
  line-height: 1.35;
  letter-spacing: .01em;
  margin-bottom: 14px;
}

.amp { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--teal-dark); box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: 10px 22px; font-size: .85rem; }
.btn-delivery {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
  padding: 12px 26px;
  flex: 1;
}
.btn-delivery:hover { background: var(--teal); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3, 58, 58, .92);
  border-bottom: 1px solid rgba(228,179,57,.15);
  /* NOTE: backdrop-filter intentionally lives on ::before, not here —
     filter/backdrop-filter on this element would establish a new containing
     block and break position:fixed on the mobile nav panel nested inside it. */
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 50px; width: auto; display: block; }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--cream);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; border: 1.5px solid rgba(228,179,57,.4); border-radius: 100px; padding: 3px; }
.lang-btn {
  background: transparent; border: none; color: var(--cream);
  font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 100px;
  cursor: pointer; transition: background .15s, color .15s;
}
.lang-btn.is-active { background: var(--gold); color: var(--teal-dark); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--gold); border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 920px) {
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--teal); flex-direction: column; padding: 32px 24px; gap: 22px;
    transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; }
  .header-actions .btn-small { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 25%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,36,36,.55) 0%, rgba(3,36,36,.55) 40%, rgba(2,20,20,.92) 100%),
    linear-gradient(90deg, rgba(3,36,36,.75) 0%, rgba(3,36,36,.25) 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; max-width: 760px; }
.hero .eyebrow {
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-size: .85rem; margin-bottom: 18px;
}
.hero-title { margin: 0 0 22px; line-height: 0; }
.hero-logo {
  width: clamp(260px, 34vw, 460px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.35));
}
.hero-tagline {
  font-family: "Inter", sans-serif; font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-transform: uppercase; letter-spacing: .08em; color: var(--cream); margin-bottom: 20px;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img:first-child {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-strong);
  aspect-ratio: 3/4; object-fit: cover; width: 100%;
}
.about-icon-badge {
  position: absolute; bottom: -24px; right: -24px;
  width: 96px; height: 96px; padding: 20px;
  background: var(--gold); border-radius: 50%; box-shadow: var(--shadow-strong);
}
.about-copy h2 { font-family: "Honey Bear", sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--teal); margin-bottom: 20px; }
.about-copy p { color: #3c4a48; font-size: 1.05rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.value { border-top: 3px solid var(--gold); padding-top: 12px; }
.value-title { display: block; font-weight: 800; color: var(--teal); margin-bottom: 4px; }
.value-sub { display: block; font-size: .88rem; color: var(--grey); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Menu ---------- */
.menu-section { background: var(--cream); }
.menu-note { color: #4d5a58; max-width: 640px; }

.price-disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff3d6; border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 20px; margin-bottom: 48px; max-width: 900px;
}
.disc-icon { width: 22px; height: 22px; flex-shrink: 0; fill: var(--gold-dark); margin-top: 2px; }
.price-disclaimer p { font-size: .92rem; color: #4a3c14; font-weight: 600; }

.menu-category { margin-bottom: 56px; }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid rgba(3,58,58,.12); padding-bottom: 12px; margin-bottom: 26px; }
.menu-cat-head h3 {
  font-family: "Honey Bear", sans-serif; font-size: 1.7rem; color: var(--teal); font-weight: 400;
}
.menu-cat-head span { font-size: .85rem; color: var(--grey); font-style: italic; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.menu-grid-small { grid-template-columns: 1fr; }
.menu-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.menu-row-2col .menu-category { margin-bottom: 0; }
.menu-row-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.menu-row-3col .menu-category { margin-bottom: 0; }

.menu-item {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.menu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.menu-item-media { aspect-ratio: 16/10; overflow: hidden; }
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-body { padding: 18px 20px 20px; }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.menu-item-top h4 { font-size: 1.05rem; color: var(--teal); font-weight: 700; }
.menu-item .price, .simple-list .price { color: var(--gold-dark); font-weight: 800; white-space: nowrap; }
.menu-item-body p { font-size: .9rem; color: #57635f; }

.menu-item-compact { flex-direction: row; align-items: center; }
.menu-item-compact .menu-item-media { width: 110px; height: 90px; flex-shrink: 0; aspect-ratio: auto; }
.menu-item-compact .menu-item-body { padding: 12px 16px; flex: 1; }

.menu-item-noimg { border-top: 3px solid var(--gold); }
.menu-item-noimg .menu-item-body { padding: 20px 22px; }
.menu-item-compact.menu-item-noimg .menu-item-body { padding: 18px 20px; }

.price-tbd { color: #c0392b !important; font-style: italic; font-weight: 700; font-size: .82rem; }

.dip-image { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-soft); }
.dip-image img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

.simple-list li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 11px 0; border-bottom: 1px dashed rgba(3,58,58,.15);
  font-size: .96rem; color: #33403e;
}
.simple-list .dots { flex: 1; border-bottom: 1px dotted rgba(3,58,58,.25); transform: translateY(-4px); }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-row-2col { grid-template-columns: 1fr; gap: 40px; }
  .menu-row-3col { grid-template-columns: 1fr; gap: 40px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .menu-row-3col { grid-template-columns: 1fr 1fr; }
  .menu-row-3col .menu-category:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---------- Find Us ---------- */
.find-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.find-us-info { display: flex; flex-direction: column; gap: 30px; }
.info-block h3 { font-family: "Honey Bear", sans-serif; font-weight: 400; color: var(--teal); font-size: 1.3rem; margin-bottom: 10px; }
.text-link { color: var(--gold-dark); font-weight: 700; display: inline-block; margin-top: 6px; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: .98rem; }
.hours-list .closed { color: #c0392b; font-weight: 700; }
.phone-link { font-family: "Honey Bear", sans-serif; font-size: 2rem; color: var(--teal); }
.fine-print { font-size: .82rem; color: var(--grey); margin-top: 8px; }
.delivery-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.find-us-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); min-height: 420px; }
.find-us-map iframe { width: 100%; height: 100%; min-height: 420px; }

@media (max-width: 900px) {
  .find-us-grid { grid-template-columns: 1fr; }
  .find-us-map { min-height: 320px; }
  .find-us-map iframe { min-height: 320px; }
}

/* ---------- Contact & Franchise ---------- */
.contact { background: var(--teal); color: var(--white); }
.contact .kicker { color: var(--gold); }
.contact h2 { font-family: "Honey Bear", sans-serif; font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--white); margin-bottom: 14px; }
.contact-copy p { color: rgba(255,255,255,.8); }
.contact-grid, .franchise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-details li { display: flex; gap: 10px; align-items: baseline; }
.contact-details strong { color: var(--gold); min-width: 70px; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }

.social-row { display: flex; gap: 14px; margin-top: 26px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); }
.social-row svg { width: 18px; height: 18px; fill: var(--white); }
.social-row a:hover svg { fill: var(--teal-dark); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-strong); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .82rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; border: 1.5px solid #d9e2e0; border-radius: var(--radius-sm);
  padding: 12px 14px; font: inherit; color: var(--ink); background: var(--cream);
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .92rem; }
.form-status.ok { color: #1a7a4c; }
.form-status.err { color: #c0392b; }

.franchise { background: var(--cream); }
.franchise h2 { font-family: "Honey Bear", sans-serif; font-weight: 400; color: var(--teal); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px; }
.franchise-copy p { color: #3c4a48; font-size: 1.05rem; }

@media (max-width: 900px) {
  .contact-grid, .franchise-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 26px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { height: 130px; width: auto; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a:hover { color: var(--gold); }
.footer-info p { margin-bottom: 8px; font-size: .95rem; }
.footer-info a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: .82rem; color: rgba(255,255,255,.45); }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-strong);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s, transform .2s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Scroll offset for anchor links under fixed header ---------- */
section[id], div[id] { scroll-margin-top: 90px; }
