/* ============================================================
   CHAAT CHATORI — nav.css  (single source of truth)
   Owns: top-bar, header, hamburger, mobile drawer,
         hero banner, page-hero, animations, blog-detail
   ============================================================ */

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes fadeInLeft  { from{opacity:0;transform:translateX(-36px)} to{opacity:1;transform:none} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(36px)}  to{opacity:1;transform:none} }
@keyframes fadeInUp    { from{opacity:0;transform:translateY(28px)}  to{opacity:1;transform:none} }
@keyframes fadeInDown  { from{opacity:0;transform:translateY(-24px)} to{opacity:1;transform:none} }
@keyframes badgePulse  { 0%,100%{box-shadow:0 0 0 0 rgba(200,21,27,.4)} 70%{box-shadow:0 0 0 10px rgba(200,21,27,0)} }
@keyframes floatUpDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  background: #C8151B;
  color: #fff;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 500;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.tb-sep { opacity: .35; }
.top-bar-right { display: flex; align-items: center; gap: 5px; }
.tb-social {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.tb-social svg { width: 13px; height: 13px; }
.tb-social:hover { background: rgba(255,255,255,.38); }

/* ── Header ─────────────────────────────────────────────────── */
header {
  background: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 18px rgba(0,0,0,.09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid #C8151B;
  color: #C8151B;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  transition: all .3s;
  white-space: nowrap;
  background: #fff;
}
.header-phone:hover { background: #C8151B; color: #fff; }

/* ── Desktop Nav ────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav > a,
.nav-links > a {
  font-weight: 600;
  font-size: 14.5px;
  color: #333;
  transition: color .3s;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
.nav > a::after,
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #C8151B;
  transition: width .3s ease;
}
.nav > a:hover,
.nav > a.active,
.nav-links > a:hover,
.nav-links > a.active { color: #C8151B; }
.nav > a:hover::after,
.nav > a.active::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14.5px;
  color: #333;
  transition: color .3s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-item > a:hover, .nav-item > a.active { color: #C8151B; }
.nav-item.active-parent > a { color: #C8151B; }
.drop-arrow { font-size: 9px; transition: transform .3s ease; display: inline-block; }
.nav-item:hover > a .drop-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
  border-top: 3px solid #C8151B;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .28s cubic-bezier(.4,0,.2,1);
  z-index: 999;
  overflow: hidden;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
  transition: all .2s;
  border-bottom: 1px solid #f5f0ea;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover, .dropdown a.active { background: #fff5f5; color: #C8151B; padding-left: 22px; }
.dd-icon { font-size: 14px; width: 20px; text-align: center; }

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 2px solid rgba(200,21,27,.2);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: border-color .25s, background .25s;
  position: relative;
  flex-shrink: 0;
}
.hamburger:hover { background: #fff5f5; border-color: #C8151B; }
.hb-line {
  display: block;
  width: 20px; height: 2px;
  background: #C8151B;
  border-radius: 2px;
  position: absolute;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s, top .35s cubic-bezier(.4,0,.2,1);
}
.hb-top { top: 12px; }
.hb-mid { top: 19px; }
.hb-bot { top: 26px; }
.hamburger.open .hb-top { top: 19px; transform: rotate(45deg); }
.hamburger.open .hb-mid { opacity: 0; }
.hamburger.open .hb-bot { top: 19px; transform: rotate(-45deg); }

/* ── Backdrop ───────────────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 8999;
  backdrop-filter: blur(2px);
}
.nav-backdrop.show { display: block; }

/* ── FAB ────────────────────────────────────────────────────── */
.fab-wa {
  background: #25D366 !important;
  border: 3px solid #fff !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.45) !important;
  animation: floatUpDown 3s ease-in-out infinite;
}
.fab-call {
  background: #fff !important;
  border: 3px solid #C8151B !important;
  color: #C8151B !important;
  font-size: 1.3rem !important;
  text-decoration: none;
  animation: floatUpDown 3s ease-in-out .5s infinite;
}
.fab-call:hover { background: #C8151B !important; color: #fff !important; }
.social-btn.loc { background: #4285F4; }
.social-btn.loc:hover { background: #2b6ce6; }

/* ── HERO BANNER (home page) — TEXT LEFT, IMAGE RIGHT ───────── */
.hero { background: #0d0401; }
.hero-slider { position: relative; }

.hero-slide {
  display: none;
  position: relative;
  min-height: 580px;
  align-items: stretch;  /* stretch so container fills height */
}
.hero-slide.active { display: flex; }

/* Container inside hero: flex row, content anchors LEFT */
.hero-slide > .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* LEFT */
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;  /* food always on right side */
  z-index: 0;
  transform: scale(1.05);
  transition: transform 7s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }

/* Left-to-right dark gradient: text readable on left, food visible on right */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Solid dark on left (text area) fading right (food image visible) */
  background: linear-gradient(
    to right,
    rgba(8,2,0,.97)  0%,
    rgba(8,2,0,.96) 20%,
    rgba(8,2,0,.90) 40%,
    rgba(8,2,0,.55) 58%,
    rgba(8,2,0,.12) 78%,
    rgba(8,2,0,.00) 100%
  );
}

/* Content is LEFT-aligned, max 52% wide so food image shows on right */
.hero-content {
  /* No position:relative needed - container handles z-index */
  padding: 90px 0;
  width: 100%;
  max-width: 52%;      /* left half only — food image fills right half */
  text-align: left;
  flex-shrink: 0;
}

.hero-badge {
  background: #C8151B;
  color: #fff;
  display: inline-block;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 11px; font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 2px;
  animation: badgePulse 2.5s infinite;
}

.hero-title {
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.05;
  text-align: left;
}
.hero-title .city-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 4px;
  animation: fadeInLeft .6s .1s ease both;
}
.hero-title .big {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 4.8rem; color: #C8151B;
  letter-spacing: 3px; line-height: 1;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(0,0,0,.4);
  animation: fadeInLeft .65s .15s ease both;
}
.hero-title .chaat-word {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 4.8rem; color: #fff;
  letter-spacing: 3px; line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,.45);
  animation: fadeInLeft .7s .2s ease both;
}
.hero-title .emoji-inline { font-size: 2.8rem; vertical-align: middle; }

.hero-sub {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-size: 15px; color: rgba(255,255,255,.88);
  text-align: left;
  animation: fadeInUp .7s .3s ease both;
}
.hero-buttons {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: flex-start;
  animation: fadeInUp .7s .4s ease both;
}
.hero-location {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  text-align: left;
  animation: fadeInUp .7s .5s ease both;
}

/* ── PAGE HERO (inner pages) — also LEFT ────────────────────── */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0d0401;
}

/* Container inside page-hero anchors content LEFT */
.page-hero > .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  position: relative;
  z-index: 2;
}
.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;  /* food always on right side */
  z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(8,2,0,.97)  0%,
    rgba(8,2,0,.94) 25%,
    rgba(8,2,0,.82) 45%,
    rgba(8,2,0,.42) 65%,
    rgba(8,2,0,.08) 85%,
    rgba(8,2,0,.00) 100%
  );
}
.page-hero-content {
  padding: 68px 0;
  max-width: 55%;      /* left zone — image visible on right */
  text-align: left;
  flex-shrink: 0;
}
.page-hero-content .label {
  color: #FFD700;
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 10px; display: block;
  animation: fadeInDown .5s ease both;
}
.page-hero-content h1 {
  font-family: 'Baloo 2', serif;
  font-size: 2.8rem; color: #fff;
  line-height: 1.2; margin-bottom: 12px;
  text-align: left;
  animation: fadeInLeft .6s .1s ease both;
}
.page-hero-content h1 span { color: #FFD700; font-style: italic; }
.page-hero-content p {
  color: rgba(255,255,255,.82);
  font-size: 14.5px; max-width: 520px; line-height: 1.8;
  text-align: left;
  animation: fadeInLeft .65s .2s ease both;
}

/* Section headings */
.section-title h2,
.popular-header h2 { font-family: 'Baloo 2', 'Playfair Display', serif; }
.section-title h2 span,
.popular-header h2 span { font-style: italic; color: #C8151B; }

/* ── MOBILE SIDE DRAWER ─────────────────────────────────────── */
@media (max-width: 900px) {

  .hamburger { display: flex; }
  .header-actions .header-phone { display: none; }

  /* Slide-in drawer */
  .nav {
    display: none;
    flex-direction: column;
    position: fixed; top: 0; left: 0;
    width: 300px; max-width: 85vw; height: 100vh;
    background: #fff;
    z-index: 9000;
    transform: translateX(-100%);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 40px rgba(0,0,0,.22);
    overflow: hidden;
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
  }
  .nav.open { display: flex; transform: translateX(0); }

  /* Drawer header */
  .nav-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 2px solid #f0e8e0;
    background: #fff;
    flex-shrink: 0;
  }
  .nav-drawer-logo { height: 40px; width: auto; display: block; }

  .nav-close {
    display: flex !important;
    width: 34px; height: 34px;
    background: #f5f0ea; border: none;
    border-radius: 50%; cursor: pointer;
    align-items: center; justify-content: center;
    transition: background .2s;
    padding: 0; flex-shrink: 0;
  }
  .nav-close svg { width: 16px; height: 16px; stroke: #333; }
  .nav-close:hover { background: #C8151B; }
  .nav-close:hover svg { stroke: #fff; }

  /* Scrollable links area */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
  }

  /* Plain links */
  .nav-links > a {
    display: block;
    padding: 13px 20px;
    font-size: 14px; font-weight: 600; color: #2a2a2a;
    border-bottom: 1px solid #f4eeea;
    white-space: normal;
  }
  .nav-links > a::after { display: none; }
  .nav-links > a:hover,
  .nav-links > a.active { color: #C8151B; background: #fff5f5; }

  /* Nav items with dropdown */
  .nav-item { width: 100%; border-bottom: 1px solid #f4eeea; }
  .nav-item > a {
    padding: 13px 20px;
    font-size: 14px; font-weight: 600; color: #2a2a2a;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%;
  }
  .nav-item > a:hover, .nav-item > a.active { color: #C8151B; background: #fff5f5; }

  /* Accordion dropdown */
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 0; border-top: none;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    background: #fdf8f5;
  }
  .dropdown.mob-open { max-height: 400px; }
  .dropdown a {
    padding: 11px 20px 11px 40px;
    font-size: 13px; font-weight: 500;
    border-bottom: 1px solid #f0eae5;
    background: #fdf8f5;
  }
  .dropdown a:hover { background: #fff0ee; color: #C8151B; padding-left: 40px; }

  /* Override desktop hover on mobile */
  .nav-item:hover .dropdown { max-height: 0; opacity: 1; visibility: visible; }
  .nav-item:hover > a .drop-arrow { transform: none; }
  .nav-item.mob-open .dropdown { max-height: 400px; }
  .nav-item.mob-open > a .drop-arrow { transform: rotate(180deg); }

  /* Drawer footer */
  .nav-drawer-footer {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-top: 2px solid #f0e8e0;
    background: #fdf8f5;
    flex-shrink: 0;
  }
  .nav-footer-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: #fff; border: 1.5px solid #e0d8d0;
    border-radius: 10px; font-size: 13px; font-weight: 600;
    color: #333; text-decoration: none; transition: all .2s;
  }
  .nav-footer-btn:hover { border-color: #C8151B; color: #C8151B; }
  .nav-footer-wa { background: #25D366; border-color: #25D366; color: #fff; }
  .nav-footer-wa:hover { background: #1da851; color: #fff; border-color: #1da851; }
  .nav-footer-socials { display: flex; gap: 8px; justify-content: center; margin-top: 2px; }
  .nfs-btn {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
    text-decoration: none; text-transform: uppercase;
  }
  .nfs-fb { background: #1877F2; }
  .nfs-ig { background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%); }
  .nfs-wa { background: #25D366; }
}

/* Desktop — reset drawer styles */
@media (min-width: 901px) {
  .nav {
    display: flex !important;
    flex-direction: row;
    position: static; width: auto; height: auto;
    transform: none; padding: 0;
    box-shadow: none; overflow: visible;
    background: transparent;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
  .nav-drawer-header,
  .nav-drawer-footer { display: none !important; }
  .nav-links { display: contents; }
  .nav-close { display: none !important; }
}

/* ── Hero responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-slide    { min-height: 480px; }
  .hero-content  { padding: 56px 0; max-width: 100%; }
  .page-hero-content { max-width: 100%; padding: 48px 0; }
  .hero-slide > .container,
  .page-hero > .container { justify-content: flex-start; }
  .hero-overlay  { background: rgba(8,2,0,.82); } /* solid dark on mobile - full coverage */
  .hero-title .big, .hero-title .chaat-word { font-size: 3rem; letter-spacing: 1px; }
  .hero-title .city-name { font-size: 1.1rem; }
  .hero-buttons  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-hero-content h1 { font-size: 2rem; }
  .page-hero-content { padding: 50px 0; }
  .top-bar-right { display: none; }
}
@media (max-width: 480px) {
  .hero-title .big, .hero-title .chaat-word { font-size: 2.5rem; }
  .top-bar-inner { justify-content: center; }
}

/* ── Blog Detail — wide layout with sidebar ─────────────────── */
.blog-detail-section .container { max-width: 1200px; }
.blog-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-detail-main { min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #C8151B; font-weight: 600; font-size: 14px; margin-bottom: 24px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.blog-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.bdm-item { font-size: 13px; color: rgba(255,255,255,.80); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.bdm-sep { color: rgba(255,255,255,.3); }

.blog-share-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 36px 0; padding: 18px 22px; background: #f9f5f0; border-radius: 12px; border: 1px solid #ece5dd; }
.share-label { font-size: 13px; font-weight: 700; color: #333; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { padding: 7px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all .2s; }
.share-wa { background: #25D366; color: #fff; }
.share-fb { background: #1877F2; color: #fff; }
.share-tw { background: #1DA1F2; color: #fff; }
.share-btn:hover { opacity: .85; }

.blog-cta-box { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg,#fff5f5,#fff9f0); border: 1px solid #f0ddd0; border-radius: 14px; padding: 24px; margin-top: 36px; }
.blog-cta-icon { font-size: 2.5rem; flex-shrink: 0; }
.blog-cta-content h3 { font-family: 'Baloo 2', serif; font-size: 1.15rem; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.blog-cta-content p  { font-size: 13.5px; color: #666; margin-bottom: 14px; line-height: 1.7; }
.blog-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.blog-detail-sidebar { position: sticky; top: 85px; display: flex; flex-direction: column; gap: 22px; }
.sidebar-widget { background: #fff; border-radius: 14px; border: 1px solid #f0e8e0; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.sw-header { background: #C8151B; color: #fff; font-size: 12px; font-weight: 700; padding: 11px 16px; text-transform: uppercase; letter-spacing: 1px; }
.sw-body { padding: 16px; }
.sw-posts { padding: 0; }
.sw-post-item { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f5f0ea; text-decoration: none; transition: background .2s; }
.sw-post-item:last-child { border-bottom: none; }
.sw-post-item:hover { background: #fff5f5; }
.sw-post-img { width: 56px; height: 44px; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.sw-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-post-title { font-size: 12px; font-weight: 600; color: #1a1a1a; line-height: 1.4; margin-bottom: 3px; }
.sw-post-date  { font-size: 10.5px; color: #aaa; }

.related-posts-section { margin-top: 56px; padding-top: 36px; border-top: 2px solid #f0e8e0; }
.related-posts-title { font-family: 'Baloo 2', serif; font-size: 1.7rem; font-weight: 800; color: #1a1a1a; margin-bottom: 24px; }

@media (max-width: 1024px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-detail-sidebar { position: static; }
}
@media (max-width: 768px) {
  .blog-cta-box { flex-direction: column; }
  .blog-detail-meta { gap: 8px; }
}
