/* ============================================================
   CUSTOM — Per-store overrides for Template TF
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* Kabul Grill — match www.kabulgrill.ca: Playfair Display
   headings, Inter body, softer 0.5rem-style corners instead
   of pills, warm brown-tinted shadows. */
:root {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --r-xl: 0.9rem;
  --r-lg: 0.75rem;
  --r-md: 0.5rem;
  --r-pill: 0.5rem;

  --shadow-sm: 0 4px 14px rgba(89, 60, 38, 0.08);
  --shadow-md: 0 10px 40px -10px rgba(89, 60, 38, 0.3);
  --shadow-lg: 0 24px 60px -12px rgba(89, 60, 38, 0.35);
}

h1,
h2,
h3,
.display {
  letter-spacing: 0;
}

/* Buttons use the body font, as on kabulgrill.ca */
.btn,
.btn-line,
.btn-ghost {
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============================================================
   HOME HERO — kabulgrill.ca style: full-screen photo, black
   gradient scrim, centred Playfair title, subtitle, solid +
   white-outline buttons, staggered fade-in.
   ============================================================ */
.hero-full {
  min-height: calc(100vh - var(--header-h, 80px));
  min-height: calc(100svh - var(--header-h, 80px));
  justify-content: center;
}

.hero-full::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-full__content {
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 6rem) 1rem;
  color: #fff;
}

.hero-full h1 {
  font-size: clamp(3rem, 11vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.hero-full__city {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-full__tag {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  margin-bottom: 0.75rem;
}

.hero-full__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 38rem;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

.hero-full .hero-actions {
  gap: 1rem;
}

.hero-full .btn {
  padding: 0.95rem 2rem;
  border: 2px solid transparent;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
}

.hero-full .btn:hover {
  background: color-mix(in srgb, var(--brand) 80%, transparent);
  box-shadow: 0 20px 30px -8px rgba(0, 0, 0, 0.45);
  transform: none;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

.btn--outline-light:hover {
  background: #fff !important;
  color: var(--ink);
}

/* staggered fade-in (fade-in 0.8s ease-out, as on kabulgrill.ca) */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade {
  opacity: 0;
  animation: hero-fade-in 0.8s ease-out forwards;
  animation-delay: var(--fade-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .hero-fade {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 560px) {
  .hero-full {
    min-height: calc(100svh - var(--header-h, 70px));
  }

  .hero-full .hero-actions a {
    flex: 1 1 100%;
  }
}

/* ============================================================
   TRANSPARENT NAVBAR (home page only — body.home-transparent)
   Header + topline float over the full-screen hero like
   kabulgrill.ca; header turns solid once the page scrolls
   (script.js adds .scrolled) or the mobile menu is opened.
   ============================================================ */
body.home-transparent #header-container {
  display: block;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
}

body.home-transparent .site-topline {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 3rem;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* topline slides away once scrolled */
body.home-transparent #header-container:has(.site-header.scrolled) .site-topline {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

body.home-transparent .site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* transparent state: top of page, menu closed */
body.home-transparent .site-header:not(.scrolled):not(:has(.site-nav.open)) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

@media (min-width: 901px) {
  body.home-transparent .site-header:not(.scrolled) .site-nav a {
    color: #fff;
  }

  body.home-transparent .site-header:not(.scrolled) .site-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  body.home-transparent .site-header:not(.scrolled) .site-nav a.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
}

body.home-transparent .site-header:not(.scrolled):not(:has(.site-nav.open)) .nav-toggle {
  background: rgba(255, 255, 255, 0.15);
}

body.home-transparent .site-header:not(.scrolled):not(:has(.site-nav.open)) .nav-toggle__bars span {
  background: #fff;
}

/* hero sits under the floating header — fill the screen and
   push the content clear of it */
body.home-transparent .hero-full {
  min-height: 100vh;
  min-height: 100svh;
}

body.home-transparent .hero-full__content {
  padding-top: calc(var(--header-h, 80px) + 3rem);
}

/* menu-band watermark — template shipped "TANDOOR" (Indian) */
.menu-band::after {
  content: "KABAB";
}

/* inner-page variant of the full-screen hero (about.html):
   kicker line on top, smaller title for longer headings */
.hero-full--page .hero-full__city {
  margin: 0 0 1.25rem;
}

.hero-full--page h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  line-height: 1.08;
  max-width: 50rem;
  text-wrap: balance;
}

.hero-full--page h1 em {
  color: var(--brand);
}

.hero-full--page .hero-full__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}
