/* =========================================================================
   Bharat Bazaar — Informative Website Wireframe
   Mid-fidelity, brand-styled. Dual language (JP primary / EN secondary).
   Brand tokens are CSS variables — swap in the real hex / fonts / logo later.
   ========================================================================= */

:root {
  /* Brand palette — Indian-flag inspired (reconstructed; replace with real values) */
  --saffron:       #FF9933;
  --saffron-dark:  #F4811F;
  --india-green:   #138808;
  --green-dark:    #0E6606;
  --navy:          #0A3D62;
  --sale-red:      #D32F2F;
  --crimson:       #D72028;  /* logo red */

  /* Surfaces & ink */
  --bg:      #FFF8F0;
  --surface: #FFFFFF;
  --surface-2: #FFF1E2;
  --ink:     #2B2B2B;
  --muted:   #6B6B6B;
  --line:    #ECE0D2;
  --ph:      #EFE6DA;  /* image-placeholder fill */
  --ph-ink:  #B9A88F;

  /* Type */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Poppins", "Segoe UI", system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 22px rgba(43, 43, 43, .08);
  --shadow-sm: 0 2px 8px rgba(43, 43, 43, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
html[lang="en"] body { font-family: var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-en); line-height: 1.25; margin: 0 0 .4em; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 { font-family: var(--font-jp); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: .18s ease;
  font-family: inherit;
}
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-dark); }
.btn-outline { background: transparent; border-color: var(--saffron); color: var(--saffron-dark); }
.btn-outline:hover { background: var(--saffron); color: #fff; }
.btn-green { background: var(--india-green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color:#fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background:#fff; color: var(--saffron-dark); }

/* ---------- Image placeholder ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, var(--ph) 0 14px, #f5ece1 14px 28px);
  border: 1px dashed var(--ph-ink);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--ph-ink); font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase; min-height: 120px; text-align:center; padding: 8px;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.utilbar { background: var(--navy); color: #fff; font-size: .8rem; }
.utilbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 20px; max-width: var(--maxw); margin: 0 auto; }
.util-hours { display: flex; align-items: center; gap: 8px; opacity: .95; }
.util-right { display: flex; align-items: center; gap: 16px; }
.util-phone { color:#fff; font-weight:600; display:inline-flex; align-items:center; gap:5px; }
.util-phone-ic { display:block; }
.util-social { display: flex; gap: 8px; }
.social-link {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
  background: rgba(255,255,255,.15); color:#fff;
}
.social-link:hover { background: var(--saffron); }

.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; overflow: hidden; }
.lang-btn {
  background: transparent; color: #fff; border: 0; cursor: pointer;
  padding: 3px 10px; font-size: .75rem; font-family: inherit; font-weight: 600;
}
.lang-btn.is-active { background: var(--saffron); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; max-width: var(--maxw); margin: 0 auto; }

/* Logo — official image (assets/img/logo.webp); SVG lockup below is the fallback */
.brand { display: flex; align-items: center; gap: 10px; line-height: 1; }
.brand-logo-img { height: 44px; width: auto; display: block; }
.brand-emblem { display: block; flex-shrink: 0; }
.brand-divider { width: 2px; height: 34px; background: var(--crimson); border-radius: 2px; }
.brand-words { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-en); font-weight: 800; font-size: 1.6rem; letter-spacing: .03em; color: var(--crimson); }
.brand-sub2 { font-size: .58rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

/* Primary nav */
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; padding: 10px 14px; font-weight: 600; font-size: .92rem;
  border-radius: var(--radius-sm); color: var(--ink); position: relative;
}
.nav-link:hover { color: var(--saffron-dark); background: var(--surface-2); }
.nav-item.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 8px; display: none; z-index: 60;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 6px; font-size: .9rem; }
.dropdown a:hover { background: var(--surface-2); color: var(--saffron-dark); }

.header-cta { margin-left: 8px; }
.hamburger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; font-size: 1.2rem;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,.18); transform: translateX(100%);
  transition: transform .25s ease; z-index: 80; padding: 20px; overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .25s; z-index: 70; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.mobile-drawer a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-close { float: right; border: 0; background: none; font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* =========================================================================
   HERO CAROUSEL
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { min-width: 100%; position: relative; min-height: 460px; display: grid; place-items: center; padding: 60px 20px; text-align: center; color: #fff; }
.hero-slide.s1 { background: linear-gradient(120deg, #C0392B 0%, var(--saffron-dark) 100%); }
.hero-slide.s2 { background: linear-gradient(120deg, var(--india-green) 0%, var(--navy) 100%); }
.hero-slide.s3 { background: linear-gradient(120deg, var(--saffron) 0%, #C0392B 100%); }
.hero-content { max-width: 760px; }
.hero-eyebrow { display:inline-block; background: rgba(255,255,255,.18); padding: 5px 14px; border-radius: 999px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .4em; }
.hero-text { font-size: 1.05rem; opacity: .95; margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.25); color: #fff; font-size: 1.4rem;
}
.hero-arrow:hover { background: rgba(255,255,255,.5); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dot.is-active { background: #fff; width: 26px; border-radius: 6px; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-eyebrow { color: var(--saffron-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 6px 0 .3em; }
.section-sub { color: var(--muted); margin: 0; }
.divider-leaf { width: 60px; height: 4px; border-radius: 4px; background: var(--saffron); margin: 14px auto 0; }

/* Our Brand intro */
.brandintro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.brandintro .ph { min-height: 320px; }
.brandintro h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.brandintro .tag { color: var(--saffron-dark); font-weight: 700; }

/* Category showcase */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 10px; text-align: center; transition: .18s; box-shadow: var(--shadow-sm); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--saffron); }
.cat-icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--surface-2); }
.cat-name { font-weight: 600; font-size: .9rem; }

/* Vision / Mission band */
.vm-band { background: linear-gradient(120deg, var(--navy), #11507f); color: #fff; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 32px; }
.vm-label { color: var(--saffron); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.vm-card h3 { font-size: 1.5rem; margin-top: 6px; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-2); color: var(--saffron-dark); }
.value-title { font-weight: 700; margin-bottom: 4px; }
.value-text { font-size: .85rem; color: var(--muted); }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm); }
.why-card .num { font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: var(--saffron); }
.why-card h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-logo { aspect-ratio: 3/2; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-en); font-weight: 700; color: var(--muted); transition: .18s; }
.brand-logo:hover { color: var(--saffron-dark); border-color: var(--saffron); }

/* Posts grid (blog/recipes) */
.post-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); }
.tab-btn.is-active { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { min-height: 180px; border-radius: 0; border: 0; border-bottom: 1px dashed var(--ph-ink); }
.post-body { padding: 18px; }
.post-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--india-green); margin-bottom: 6px; }
.post-title { font-size: 1.05rem; margin: 0 0 8px; }
.post-meta { font-size: .8rem; color: var(--muted); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; }
.pagination .is-active { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* Visit us / CTA */
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.visit-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { font-size: 1.1rem; }
.info-row .lbl { font-weight: 700; font-size: .85rem; }
.map-placeholder { min-height: 320px; }
.badge-closed { display:inline-block; background: var(--sale-red); color:#fff; font-size:.72rem; font-weight:700; padding:2px 8px; border-radius: 6px; }

/* Newsletter */
.newsletter-band { background: #241a12; }  /* old (dark) footer colour */
.newsletter-band .section-title { color: #fff; }
.newsletter-band .section-sub { color: #d8cfc4; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 14px auto 0; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; }

/* Page hero (interior pages) */
.page-hero { background: linear-gradient(120deg, var(--saffron) 0%, var(--saffron-dark) 100%); color: #fff; padding: 48px 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.breadcrumb { font-size: .85rem; opacity: .9; margin-top: 8px; }

/* Story / about */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-grid .ph { min-height: 300px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .ph { min-height: 160px; }

/* Awards */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.award-card { text-align: center; padding: 28px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.award-card .ic { font-size: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #F3F6E9; color: #4a4a42; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; padding: 56px 20px 32px; max-width: var(--maxw); margin: 0 auto; }
.footer-col h4 { color: var(--ink); font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; color: #5a5a50; }
.footer-links a { font-size: .9rem; color: #5a5a50; }
.footer-links a:hover { color: var(--saffron-dark); }
.footer-about p { font-size: .9rem; color: #6b6b60; }
.footer-brand { margin-bottom: 4px; }
.site-footer .brand-logo-img { background: transparent; padding: 0; }
.site-footer .brand-name { color: var(--crimson); }
.site-footer .brand-sub2 { color: var(--muted); }
.site-footer .brand-divider { background: var(--crimson); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social .social-link { background: rgba(0,0,0,.07); color: var(--ink); }
.footer-social .social-link:hover { background: var(--saffron); color: #fff; }
.footer-newsletter input { width: 100%; padding: 11px 14px; border-radius: 999px; border: 0; margin-bottom: 10px; font-family: inherit; }
/* Language switch on the light footer — visible saffron border (not merged with bg) */
.site-footer .lang-switch { border-color: var(--saffron); }
.site-footer .lang-btn { color: var(--ink); }
.site-footer .lang-btn.is-active { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,.12); padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; font-size: .82rem; color: #7a7a6e; }
.footer-credit { color: #7a7a6e; text-align: right; }
.footer-credit a { color: var(--saffron-dark); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* Cookie bar */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: #fff; padding: 14px 20px; display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; z-index: 90; font-size: .88rem; }
.cookie-bar.hidden { display: none; }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hide-mobile { } /* toggled below */

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta, .util-hours { display: none; }
  .hamburger { display: block; }
  .brandintro, .vm-grid, .visit-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .award-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid, .post-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .util-right { gap: 10px; }
  .hero-slide { min-height: 400px; }
}
