/* ==========================================================================
   MUDHAFAR SHAKIR TRADING L.L.C — Shared Stylesheet
   Design system: deep navy + champagne gold, Playfair Display + Inter
   ========================================================================== */

:root {
  /* Color palette */
  --navy-950: #0a1a2e;
  --navy-900: #0e2038;
  --navy-800: #142c48;
  --navy-700: #1c3a5e;
  --navy-600: #2a4d78;
  --gold-500: #b8935b;
  --gold-400: #c9a86c;
  --gold-300: #ddc38f;
  --cream-100: #faf8f4;
  --cream-200: #f4efe6;
  --paper: #ffffff;
  --ink-900: #1b1f24;
  --ink-700: #3d444c;
  --ink-500: #6b7280;
  --line: #e6e1d7;
  --success: #2e7d52;
  --shadow-sm: 0 2px 10px rgba(10, 26, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 26, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 26, 46, 0.16);

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-950);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 24px;
  top: 24px;
}

/* ---------- Utility ---------- */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--tint { background: var(--cream-100); }
.section--navy { background: var(--navy-950); color: #dfe6ee; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

.eyebrow-line { color: var(--ink-500); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-dark {
  background: var(--navy-950);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.tag {
  display: inline-block;
  background: var(--cream-200);
  color: var(--navy-800);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.tag--gold { background: rgba(184,147,91,0.14); color: var(--gold-500); }

.badge-tbc {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #fff3d6;
  color: #8a6116;
  border: 1px solid #f0d9a3;
  padding: 2px 8px;
  border-radius: 5px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 26, 46, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 26, 46, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  height: 72px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-950);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  width: 44px; height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(120deg, rgba(9,20,36,0.92), rgba(10,26,46,0.82)), var(--navy-950);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201,168,108,0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,168,108,0.12), transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero-inner { max-width: 760px; padding: 64px 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 620px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-300);
}
.hero-stats div span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: linear-gradient(120deg, rgba(9,20,36,0.94), rgba(10,26,46,0.88)), var(--navy-950);
  color: #fff;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(201,168,108,0.16), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-300); }
.page-hero p.lead { color: rgba(255,255,255,0.78); max-width: 640px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-card {
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy-950);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.icon-card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 0; }

/* Product card */
.product-card { display: flex; flex-direction: column; }
.product-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-200);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.product-card p { color: var(--ink-500); font-size: 0.92rem; margin-bottom: 14px; }
.product-card .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }

/* Service list card */
.service-card {
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s ease, border-color .3s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.service-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-500);
  font-weight: 700;
  flex-shrink: 0;
  width: 46px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-500); margin-bottom: 0; font-size: 0.94rem; }

/* Value / why-choose card */
.value-card { text-align: left; }

/* ---------- Testimonial / quote block ---------- */
.quote-block {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  border-left: 4px solid var(--gold-500);
}
.quote-block p.big { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--navy-900); }
.form-field .req { color: var(--gold-500); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184,147,91,0.18);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkbox-item:hover { border-color: var(--gold-400); background: var(--cream-100); }
.checkbox-item input { accent-color: var(--gold-500); width: 16px; height: 16px; }
.form-note { font-size: 0.82rem; color: var(--ink-500); }
.form-success {
  display: none;
  background: #eaf6ee;
  border: 1px solid #b8e0c4;
  color: #245c39;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* ---------- Contact info blocks ---------- */
.contact-info-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  align-items: flex-start;
}
.contact-info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { color: var(--ink-500); font-size: 0.92rem; margin-bottom: 0; }
.contact-info-card a:hover { color: var(--gold-500); }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  position: relative;
  background: var(--cream-200);
}
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-500);
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--gold-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,168,108,0.2), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.72); margin-bottom: 0; }

/* ---------- Timeline / process ---------- */
.process-step {
  display: flex;
  gap: 20px;
}
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: var(--ink-500); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.social-row svg { width: 16px; height: 16px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 400;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Filter bar (Products page) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold-400); }
.filter-btn.is-active { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }

/* ---------- Table (Company info) ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table td { padding: 16px 4px; font-size: 0.95rem; }
.info-table td:first-child { color: var(--ink-500); width: 42%; }
.info-table td:last-child { font-weight: 600; color: var(--navy-900); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn span { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-stats { gap: 28px; }

  /* Mobile nav drawer */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-950);
    padding: 12px 24px 28px;
    gap: 4px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .nav-links.is-open a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 40px 0; }
  .cta-band { padding: 32px 24px; }
  .quote-block { padding: 30px; }
}
