@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ─────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────── */
:root {
  /* Brand colors — warm, bold, leather */
  --rust:        #B5451B;   /* primary accent — deep rust/burnt orange */
  --rust-dark:   #8C3212;   /* hover / dark variant */
  --rust-light:  #F2CBB8;   /* tinted backgrounds */
  --amber:       #D4843A;   /* secondary warm accent */
  --ink:         #1C1209;   /* near-black with warmth */
  --ink-mid:     #3D2B1A;   /* dark brown */
  --parchment:   #FAF3EA;   /* page background */
  --cream:       #F0E6D3;   /* slightly darker cream */
  --mid:         #7A5C3E;   /* body text on light */
  --border:      rgba(181,69,27,0.18);

  /* Legacy tan kept for swatches only */
  --tan:         #C4956A;
  --tan-dark:    #8B5E3C;
  --tan-light:   #E8D5C0;

  /* Green for sustainability page */
  --green:       #3A5A40;
  --green-light: #E8F0E9;
  --green-mid:   #6B8F71;

  /* Spacing */
  --px:  80px;   /* horizontal padding */
  --py:  96px;   /* vertical section padding */
}

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--parchment);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }

/* Headings use Poppins */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Display headings keep Cormorant Garamond */
.display, .section-title, .hero-title,
.custom-title, .cta-band h2,
.footer-logo, .page-hero h1,
.about-cta h2, .page-cta h2 {
  font-family: 'Poppins', sans-serif !important;
}

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--px);
  border-bottom: 1px solid var(--border);
  background: var(--parchment);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.logo-wrap { line-height: 1.2; }
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  text-transform: uppercase;
}
.logo span { color: var(--rust); }
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active { color: var(--rust); }

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rust);
  color: white;
  padding: 11px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-block;
}
.nav-cta:hover { background: var(--rust-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────
   MARQUEE STRIP
───────────────────────────────────── */
.strip {
  background: var(--rust);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.strip-inner {
  display: inline-block;
  animation: scroll 24s linear infinite;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.strip-inner span { margin: 0 28px; }
.strip-dot { opacity: 0.5; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────── */
.section {
  padding: var(--py) var(--px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--rust);
  flex-shrink: 0;
}
.section-label.green { color: var(--green); }
.section-label.green::before { background: var(--green); }

.section-title {
font-family: 'Poppins', sans-serif !important;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--ink);
  /* Full width — no truncation */
  white-space: normal;
  word-break: normal;
  max-width: 100%;
}
.section-title em { font-style: italic; color: var(--rust); }
.section-title em.green { color: var(--green); }

/* ─────────────────────────────────────
   STATS BAR
───────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.stat {
  padding: 44px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-primary {
  background: var(--rust);
  color: white;
  padding: 15px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--rust-dark); }

.btn-ghost {
  background: transparent;
  color: var(--rust);
  padding: 15px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--rust);
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--rust); color: white; }

.btn-green {
  background: var(--green);
  color: white;
  padding: 15px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.btn-green:hover { background: #2d4a32; }

.btn-light {
  background: var(--parchment);
  color: var(--rust);
  padding: 15px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.btn-light:hover { background: var(--cream); }

.btn-outline-light {
  background: transparent;
  color: white;
  padding: 15px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  padding: 72px var(--px) 36px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 52px;
  background: var(--ink);
  color: var(--parchment);
  width: 100%;
}
.footer-logo {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: white;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-logo span { color: var(--rust); }
.footer-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(245,239,230,0.42);
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(245,239,230,0.52);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--amber); }

.footer-bottom {
  padding: 20px var(--px);
  border-top: 1px solid rgba(181,69,27,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.footer-bottom span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245,239,230,0.28);
  text-transform: uppercase;
}

/* ─────────────────────────────────────
   WHATSAPP FLOAT
───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #25D366;
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ─────────────────────────────────────
   HERO PRODUCT IMAGE
───────────────────────────────────── */
.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* ─────────────────────────────────────
   GALLERY PREVIEW (HOME) — auto-scroll
───────────────────────────────────── */
.gallery-section {
  padding: var(--py) 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  overflow: hidden;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 var(--px);
}
.gallery-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.gallery-marquee::before,
.gallery-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.gallery-marquee::before { left: 0; background: linear-gradient(90deg, var(--parchment), transparent); }
.gallery-marquee::after  { right: 0; background: linear-gradient(270deg, var(--parchment), transparent); }

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-left: 20px;
  animation: galleryScroll 32s linear infinite;
}
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }

.gallery-img {
  height: 320px;
  width: 260px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.gallery-img:hover { opacity: 0.85; }

@keyframes galleryScroll {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@media (max-width: 900px) {
  .gallery-img { height: 260px; width: 210px; }
}
@media (max-width: 600px) {
  .gallery-img { height: 200px; width: 160px; }
  .gallery-head { padding: 0 var(--px); }
}

/* ─────────────────────────────────────
   GALLERY PAGE (gallery.html)
───────────────────────────────────── */
.gallery-page-hero {
  padding: 90px var(--px) 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.gallery-page-hero .section-label { justify-content: center; }
.gallery-page-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 58px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 18px;
}
.gallery-page-title em { font-style: italic; color: var(--rust); }
.gallery-page-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}

.gallery-grid-wrap { padding: var(--py) var(--px); }
.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}
.gallery-item {
  margin-bottom: 18px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  color: var(--parchment);
  font-size: 22px;
  opacity: 0;
  pointer-events: none;   /* ← add this line */
  transition: opacity 0.3s ease;
  background: rgba(28,18,9,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--parchment);
  font-size: 28px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(250,243,234,0.35);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(28,18,9,0.35);
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.lightbox-arrow:hover { background: var(--rust); border-color: var(--rust); }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

@media (max-width: 600px) {
  .lightbox-arrow { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 600px) { .gallery-grid { column-count: 1; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28,18,9,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border: 4px solid var(--parchment);
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 38px;
  color: var(--parchment);
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

/* ─────────────────────────────────────
   CTA BAND (shared across pages)
───────────────────────────────────── */
.cta-band {
  padding: var(--py) var(--px);
  background: var(--rust);
  text-align: center;
  width: 100%;
}
.cta-band h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 62px;
  font-weight: 300;
  color: white;
  margin-bottom: 14px;
  white-space: normal;
}
.cta-band h2 em { font-style: italic; color: var(--rust-light); }
.cta-band p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .cta-band h2 { font-size: 46px; }
}
@media (max-width: 600px) {
  .cta-band h2 { font-size: 36px; }
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --px: 52px; }
  .section-title { font-size: 50px; }
}

@media (max-width: 900px) {
  :root { --px: 28px; --py: 60px; }

  nav { padding: 16px var(--px); }
  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--parchment);
    padding: 90px 36px 40px;
    gap: 28px;
    z-index: 105;
    overflow-y: auto;
  }
  nav ul.open { display: flex; }
  nav ul li a { font-size: 20px; font-weight: 600; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 32px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 40px; }

  .section-title { font-size: 40px; }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 52px var(--px) 28px;
  }
  .footer-bottom { padding: 16px var(--px); }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

@media (max-width: 600px) {
  :root { --px: 18px; --py: 48px; }

  .logo { font-size: 17px; }
  .section-title { font-size: 32px; }
  .stat-num { font-size: 34px; }

  .site-footer { grid-template-columns: 1fr; }

  .btn-primary, .btn-ghost, .btn-green,
  .btn-light, .btn-outline-light {
    width: 100%;
    text-align: center;
    display: block;
    padding: 14px 20px;
  }
}


/* ═══════════════════════════════════════════════════════
   GLOBAL FONT ENFORCEMENT
   These rules override any inline <style> on every page.
   Poppins = all headings   |   Montserrat = all body text
   Cormorant = display only (hero titles, section titles)
═══════════════════════════════════════════════════════ */

/* ── Load fonts (redundant safety import) ── */
/* Already loaded at top — kept here for reference */

/* ── Body & all text defaults → Montserrat ── */
body,
p, li, span, label, input, select, textarea, button,
.stat-label, .section-label, .footer-tagline,
.footer-col ul li a, .footer-bottom span,
.hero-sub, .hero-eyebrow, .origin-badge,
.product-meta, .product-moq, .custom-body,
.custom-feat, .step-desc, .cta-band p,
.contact-intro, .gdpr-note, .form-note,
.bi-body, .cm-note, .cm-label, .cm-val,
.cert-body, .cert-status, .comp-detail,
.timeline-desc, .timeline-location, .timeline-year,
.timeline-tags, .timeline-tag,
.upcoming-date, .meet-box p,
.sustain-body, .sustain-body p,
.sm-detail, .sm-label,
.pillar-body, .gp-body,
.sialkot-point-body, .step-desc,
.value-body, .story-text p,
.cert-intro, .fashion-intro, .page-hero p,
.hero-img-hint, .hero-img-label,
.filter-btn, .btn-sm,
.product-badge, .hero-tag,
.detail-val, .detail-label,
.custom-note-body, .footer-tagline,
.cert-label, .cert-item, .comp-name {
  font-family: 'Montserrat', sans-serif !important;
}

/* ── All headings → Poppins ── */
h1, h2, h3, h4, h5, h6,
.stat-num, .step-num,
.section-label,
.nav ul li a, .nav-cta,
.logo, .footer-logo,
.market-name, .product-name,
.cert-name, .pillar-title,
.value-title, .timeline-event,
.bi-title, .gp-title,
.hero-stat-label, .upcoming-name,
.sialkot-point-title, .story-fact-label,
.step-title, .custom-label,
.cert-compliance .comp-name,
.custom-note-title, .about-cta h2,
.page-cta h2, .page-hero h1,
.form-title, .footer-col h4 {
  font-family: 'Poppins', sans-serif !important;
}

/* ── Display / editorial titles → Cormorant Garamond ── */
/* These are the BIG Cormorant titles only */
.hero-title,
.section-title,
.custom-title,
.cta-band h2,
.lead-time-val,
.story-fact-val,
.hero-stat-num,
.stat-num {
font-family: 'Poppins', sans-serif !important;
}

/* Stat numbers — keep Poppins for bold impact */
.stat-num {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
}

/* Buttons always Montserrat bold */
.btn-primary, .btn-ghost, .btn-green,
.btn-light, .btn-outline-light,
.nav-cta, .form-submit-btn,
a.btn-primary, a.btn-ghost, a.btn-light,
a.btn-outline-light, a.btn-green {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Nav links Montserrat */
nav ul li a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

/* Logo name → Poppins bold */
.logo, .footer-logo {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
}

/* Section label → Montserrat bold */
.section-label {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Strip ticker → Montserrat */
.strip-inner {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

.footer-logo-image img {
  width: 110px;
  height: auto;
  margin-top: 10px;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: 0.3s ease;
}

.footer-logo-image img:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}
