/* ============================================
   SHOPPING CLUB SAHIWAL - GLOBAL STYLES
   Brand: Blue #1B3FA0 | Red #CC1B1B | Yellow #FFD700
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1B3FA0;
  --blue-dark: #0D2260;
  --blue-light: #2451C8;
  --red: #CC1B1B;
  --red-dark: #AA1414;
  --yellow: #FFD700;
  --dark: #111827;
  --gray: #6B7280;
  --light: #F5F7FF;
  --white: #FFFFFF;
  --border: #E5E7EB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION HEADERS ---- */
.section-tag {
  display: inline-block;
  background: #E8EEFF;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-tag.light { background: rgba(255,215,0,0.15); color: var(--yellow); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 16px; color: var(--gray); }
.section-sub.light { color: rgba(255,255,255,0.7); }
.section-header { text-align: center; margin-bottom: 48px; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 15px 34px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(204,27,27,0.35);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(204,27,27,0.45); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 15px 34px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ================================================
   NAVBAR
   ================================================ */
.navbar { position: sticky; top: 0; z-index: 1000; }

.navbar-top {
  background: var(--dark);
  padding: 8px 0;
}
.navbar-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-top-info { color: #CBD5E1; font-size: 13px; }
.navbar-top-info span { margin-right: 20px; }

.navbar-main {
  background: var(--blue);
  box-shadow: 0 4px 20px rgba(27,63,160,0.3);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(204,27,27,0.4);
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.15; white-space: nowrap; }
.sc-colorful span { font-weight: inherit; font-size: inherit; font-family: inherit; }
.logo-tag { color: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }

.nav-links { display: flex; gap: 2px; }
.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(204,27,27,0.3);
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; border-radius: 6px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-profile { background: rgba(255,255,255,0.18); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid rgba(255,255,255,0.35); }
.nav-profile:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--blue-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 22px; font-weight: 700; padding: 12px 32px; }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; }

/* ================================================
   PILLAR DESIGN SYSTEM
   ================================================ */

/* shared pillar wrapper */
.ph-wrap { display: flex; align-items: stretch; position: relative; }
.ph-panel {
  width: 150px; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px; padding: 24px 14px;
}
.ph-body { flex: 1; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.ph-logo-fade { width: 66px; height: auto; opacity: 0.15; }

/* ── Red bg + white panels + black borders ── */
.ph-red { background: #CC1B1B; border-top: 16px solid #111827; border-bottom: 16px solid #111827; }
.ph-red .ph-panel { background: #fff; }
.ph-red .ph-panel:first-child { border-right: 14px solid #111827; }
.ph-red .ph-panel:last-child  { border-left:  14px solid #111827; }
.ph-red .page-title    { color: #fff; }
.ph-red .page-subtitle { color: rgba(255,255,255,0.85); }
.ph-red .bread-link    { color: rgba(255,255,255,0.6); }
.ph-red .bread-sep     { color: rgba(255,255,255,0.35); }
.ph-red .bread-current { color: #FFD700; font-weight: 700; }

/* ── White bg + red panels + black borders ── */
.ph-white { background: #fff; border-top: 16px solid #111827; border-bottom: 16px solid #111827; }
.ph-white .ph-panel { background: #CC1B1B; }
.ph-white .ph-panel:first-child { border-right: 14px solid #111827; }
.ph-white .ph-panel:last-child  { border-left:  14px solid #111827; }
.ph-white .page-title    { color: #111827; }
.ph-white .page-subtitle { color: #6B7280; }
.ph-white .bread-link    { color: #6B7280; }
.ph-white .bread-sep     { color: #9CA3AF; }
.ph-white .bread-current { color: #CC1B1B; font-weight: 700; }
.ph-white .ph-logo-fade  { filter: brightness(0) invert(1); }

/* ── Black bg + red-border panels ── */
.ph-black { background: #111827; border-top: 16px solid #CC1B1B; border-bottom: 16px solid #CC1B1B; }
.ph-black .ph-panel { background: #1a2535; }
.ph-black .ph-panel:first-child { border-right: 14px solid #CC1B1B; }
.ph-black .ph-panel:last-child  { border-left:  14px solid #CC1B1B; }
.ph-black .page-title    { color: #fff; }
.ph-black .page-subtitle { color: rgba(255,255,255,0.72); }
.ph-black .bread-link    { color: rgba(255,255,255,0.5); }
.ph-black .bread-sep     { color: rgba(255,255,255,0.3); }
.ph-black .bread-current { color: #FFD700; font-weight: 700; }

/* page title spans — inherit colour from parent (no per-letter rainbow) */
.mc-title span { display: inline; }
.mc-1, .mc-2, .mc-3, .mc-4, .mc-5, .mc-6, .mc-7, .mc-8 { color: inherit; }
/* ph-red and ph-black heroes need white page titles */
.ph-red .page-title, .ph-black .page-title { color: #fff; }
/* ph-white heroes keep default dark colour */
.ph-white .page-title { color: #111827; }

/* Section color variants */
.section-dark  { background: #111827; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub   { color: rgba(255,255,255,0.7); }
.section-dark .section-tag   { background: rgba(255,215,0,0.15); color: #FFD700; }

.section-red   { background: #CC1B1B; }
.section-red .section-title { color: #fff; }
.section-red .section-sub   { color: rgba(255,255,255,0.85); }
.section-red .section-tag   { background: rgba(0,0,0,0.2); color: #FFD700; border: 1px solid rgba(255,255,255,0.2); }

/* pillar strip used inside page sections */
.pillar-strip {
  display: flex;
  align-items: stretch;
}
.pillar-stripe {
  width: 22px;
  flex-shrink: 0;
}

/* PAGE HERO (inner pages) – base (now overridden by ph-* variants) */
.page-hero { padding: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.bread-link { font-size: 13px; transition: color 0.2s; }
.bread-link:hover { color: var(--yellow); }
.bread-sep { font-size: 13px; }
.bread-current { font-size: 13px; font-weight: 600; }
.page-title { font-family: 'Poppins', sans-serif; font-size: clamp(30px, 5vw, 54px); font-weight: 900; margin-bottom: 14px; letter-spacing: -1px; line-height: 1.1; }
.page-subtitle { font-size: 17px; max-width: 540px; line-height: 1.7; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 42px; height: 42px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.footer-logo-name { display: block; font-size: 18px; font-weight: 800; }
.footer-logo-tag { display: block; color: var(--yellow); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-desc { color: #9CA3AF; font-size: 14px; line-height: 1.7; }
.footer-heading { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: #9CA3AF; font-size: 14px; transition: color 0.2s; }
.footer-link:hover { color: var(--yellow); }
.footer-info { color: #9CA3AF; font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.footer-info strong { color: #fff; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-copy { color: #6B7280; font-size: 13px; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-profile { display: none; }
  .hamburger { display: flex; }
  .navbar-top { display: none; }
  .navbar-inner { height: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  /* pillar responsive */
  .ph-panel { width: 0; overflow: hidden; padding: 0; gap: 0; }
  .ph-panel:first-child, .ph-panel:last-child { border: none; width: 0; }
  .ph-red, .ph-white, .ph-black { border-top: 10px solid; border-bottom: 10px solid; }
  .ph-red   { border-color: #111827; }
  .ph-white { border-color: #111827; }
  .ph-black { border-color: #CC1B1B; }
  .ph-body { padding: 40px 20px; }
  .page-title { font-size: clamp(28px, 8vw, 44px); }
  .page-subtitle { font-size: 15px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .logo-name { font-size: 16px; }
  .logo img { height: 38px; }
}
