/* ═══════════════════════════════════════════════════
   SHAMA OIL INVESTMENT LIMITED — Shared styles
   Brand: deep green + amber accent
   ═══════════════════════════════════════════════════ */

:root {
  /* Brand colors (extracted from logo) */
  --green-950: #061d0e;
  --green-900: #0d3a1c;
  --green-800: #14491f;
  --green-700: #1c5828;
  --green-600: #1f6334;
  --green-500: #2d7a3f;
  --green-100: #e0eee2;
  --green-50:  #f1f8f2;

  --amber-700: #b9701c;
  --amber-600: #d68224;
  --amber-500: #e1932f;
  --amber-300: #f4cc88;
  --amber-100: #fdf1d9;

  --navy: #0a2540;
  --ink: #1a1a1a;
  --ink-soft: #2a3d30;
  --text: #3a3a3a;
  --muted: #6b7a6f;
  --border: #e5e7eb;
  --border-soft: #f0f0e8;
  --bg: #ffffff;
  --bg-soft: #fafaf7;
  --bg-cream: #f9f6ee;

  --display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-700); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber-700);
  margin-bottom: 0.875rem;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a.active {
  color: var(--green-700);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -1.05rem;
  height: 2px;
  background: var(--amber-500);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-700);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--green-800);
  color: white !important;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: white;
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
  }
  .nav.open .nav-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--body);
}
.btn-primary {
  background: var(--amber-500);
  color: var(--green-950) !important;
  border-color: var(--amber-500);
}
.btn-primary:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
  color: var(--green-950) !important;
}
.btn-outline {
  color: white !important;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: white;
  color: var(--green-900) !important;
  border-color: white;
}
.btn-dark {
  background: var(--green-800);
  color: white !important;
  border-color: var(--green-800);
}
.btn-dark:hover {
  background: var(--green-900);
  color: white !important;
  border-color: var(--green-900);
}
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════
   PAGE HEADER (hero strip on inner pages)
   ═══════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: white;
  padding: 4rem var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(225,147,47,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-300);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 800px;
}
.page-hero h1 span { color: var(--amber-500); }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════ */
.section {
  padding: 4.5rem var(--gutter);
}
.section-alt { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }
.section-dark {
  background: var(--green-950);
  color: white;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-dark .eyebrow { color: var(--amber-300); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section h2 span { color: var(--amber-700); }

.section-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-intro p {
  font-size: 1.05rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem var(--gutter) 1.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand-logo {
  background: white;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.footer-brand-logo img { height: 36px; width: auto; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-300);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber-300); }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.footer-contact-line svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--amber-300);
}
.footer-contact-line strong {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.1rem;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════
   COMPONENT: STAT CARDS (used on home + markets)
   ═══════════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .stats-row { grid-template-columns: 1fr; }
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  border-left: 4px solid var(--amber-500);
}
.stat-card-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-card-num span {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.25rem;
}
.stat-card-label {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.stat-card-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Dark variant */
.section-dark .stat-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  border-left-color: var(--amber-500);
}
.section-dark .stat-card-num { color: var(--amber-300); }
.section-dark .stat-card-label { color: white; }
.section-dark .stat-card-text { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════
   COMPONENT: FEATURE / VALUE-PROP CARDS
   ═══════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--amber-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,58,28,0.06);
}
.feature-num {
  display: inline-block;
  background: var(--green-700);
  color: var(--amber-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.85rem;
}
.feature-card h3 {
  font-size: 1.08rem;
  color: var(--green-900);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════
   COMPONENT: SUPPLY CHAIN STAGES
   ═══════════════════════════════════════════════════ */
.chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
@media (max-width: 880px) {
  .chain { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.chain-stage {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 1.1rem 1rem;
  text-align: center;
  position: relative;
}
.chain-stage:nth-child(2n) {
  background: var(--amber-100);
  border-color: var(--amber-300);
}
.chain-stage-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-700);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.chain-stage-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.2rem;
}
.chain-stage-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════
   COMPONENT: TWO-COLUMN BLOCKS
   ═══════════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
.two-col h3 {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.two-col h3 .badge {
  display: inline-block;
  background: var(--amber-500);
  color: var(--green-950);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.5rem;
  letter-spacing: 0.08em;
}
.two-col ul {
  list-style: none;
  padding: 0;
}
.two-col li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.two-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  background: var(--amber-500);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════
   COMPONENT: CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: white;
  padding: 3.5rem var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(225,147,47,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white !important;
  position: relative;
}
.cta-banner h2 span { color: var(--amber-500); }
.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
}
.cta-banner-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════
   COMPONENT: TABLE (used on partnership page)
   ═══════════════════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.data-table th {
  background: var(--green-900);
  color: white;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.data-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
}
.data-table tr:nth-child(even) td { background: var(--bg-soft); }
.data-table strong { color: var(--green-900); }
.data-table .badge-status {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
