/* ============================================
   SIHIA AFRICA LTD — GLOBAL CSS v2
   Blue × Gold × White Premium Design
   ============================================ */

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

/* ── CSS Variables ───────────────────────── */
:root {
  /* Blues */
  --blue:          #1D4ED8;
  --blue-dark:     #1E3A8A;
  --blue-mid:      #2563EB;
  --blue-light:    #60A5FA;
  --blue-pale:     #EFF6FF;
  --blue-ultra:    #DBEAFE;
  --blue-shadow:   rgba(29, 78, 216, 0.15);

  /* Golds */
  --gold:          #D97706;
  --gold-dim:      #B45309;
  --gold-light:    #F59E0B;
  --gold-pale:     #FEF3C7;
  --gold-shadow:   rgba(217, 119, 6, 0.2);

  /* Legacy aliases */
  --cyan:          #0EA5E9;
  --cyan-dim:      #0284C7;
  --success:       #059669;
  --dark:          #0F172A;
  --dark2:         #F8FAFC;
  --dark3:         #F1F5F9;
  --dark4:         #E2E8F0;

  /* Backgrounds */
  --white:         #FFFFFF;
  --off-white:     #F8FAFC;
  --light:         #F1F5F9;

  /* Text */
  --text-primary:  #0F172A;
  --text-body:     #334155;
  --grey:          #64748B;
  --grey-light:    #94A3B8;

  /* Borders */
  --border:        rgba(0, 0, 0, 0.07);
  --border-blue:   rgba(29, 78, 216, 0.2);
  --border-gold:   rgba(217, 119, 6, 0.3);

  /* Overlays */
  --overlay:       rgba(30, 58, 138, 0.65);
  --overlay-heavy: rgba(15, 23, 42, 0.82);

  /* Typography */
  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'Cormorant Garamond', serif;
  --font-mono:     'Space Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 12rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg:   0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -3px rgba(0,0,0,0.05);
  --shadow-blue: 0 8px 30px rgba(29,78,216,0.15), 0 2px 8px rgba(29,78,216,0.08);
  --shadow-gold: 0 8px 24px rgba(217,119,6,0.2);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-med:  0.35s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--white);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
}

h1 { font-size: clamp(3rem, 10vw, 9rem); }
h2 { font-size: clamp(2rem, 5vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 3rem); }
h4 { font-size: clamp(1.2rem, 2vw, 2rem); }

p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-body);
}

/* Eyebrow with gold dash */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  flex-shrink: 0;
}

/* Inverted eyebrow for dark sections */
.eyebrow-light {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow-light::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  flex-shrink: 0;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ── Color Utilities ─────────────────────── */
.text-gold     { color: var(--gold); }
.text-blue     { color: var(--blue); }
.text-navy     { color: var(--blue-dark); }
.text-white    { color: #FFFFFF; }
.text-grey     { color: var(--grey); }
.text-cyan     { color: var(--cyan); }

/* Gradient Text — blue-to-gold */
.text-gradient {
  background: linear-gradient(125deg, var(--blue-dark) 0%, var(--blue) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section    { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }

/* ── Photo Section System ────────────────── */
.photo-section {
  position: relative;
  overflow: hidden;
}

.photo-section .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.45) saturate(0.75);
  transition: filter var(--transition-slow);
}

.photo-section:hover .bg-photo {
  filter: brightness(0.55) saturate(0.85);
}

/* Blue-tinted gradient overlay */
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.82) 0%,
    rgba(15, 23, 42, 0.55) 55%,
    rgba(217, 119, 6, 0.18) 100%
  );
  z-index: 1;
}

.photo-content { position: relative; z-index: 2; }

/* ── Hero Photo ──────────────────────────── */
.hero-photo {
  animation: kenBurns 22s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1);    object-position: 50% 50%; }
  to   { transform: scale(1.08); object-position: 55% 45%; }
}

/* ── Decorative Background Elements ─────── */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.7;
  animation: orbFloat 9s ease-in-out infinite;
}

.bg-orb-blue { background: radial-gradient(circle, rgba(29,78,216,0.22) 0%, transparent 70%); }
.bg-orb-gold { background: radial-gradient(circle, rgba(217,119,6,0.16) 0%, transparent 70%); }
.bg-orb-navy { background: radial-gradient(circle, rgba(30,58,138,0.14) 0%, transparent 70%); }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -18px) scale(1.06); }
  66%       { transform: translate(-18px, 14px) scale(0.94); }
}

/* Dot grid pattern */
.dot-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29,78,216,0.06) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
}

/* Grid texture */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Animated gradient accent line */
.accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--gold-light), var(--blue));
  background-size: 250% 100%;
  animation: gradientSlide 4s ease infinite;
  border-radius: 2px;
}

@keyframes gradientSlide {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Scroll Reveal ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translateX(0);
}

/* ── Section Headers ─────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header .eyebrow {
  justify-content: center;
  margin-bottom: 0.75rem;
  display: flex;
}

.section-header h2 { margin-bottom: var(--space-sm); color: var(--blue-dark); }
.section-header h2 span { color: var(--gold); }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ── Section Tag ─────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: var(--space-sm);
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ── WhatsApp Float ──────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── Page Transition ─────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--blue-dark);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-transition.active { opacity: 1; pointer-events: all; }

/* ── Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--blue-ultra); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Selection ───────────────────────────── */
::selection { background: var(--blue); color: #fff; }

/* ── Number Counter ──────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--blue);
  line-height: 1;
  display: block;
}

.stat-number.gold { color: var(--gold); }

/* ── Ghost Text ──────────────────────────── */
.ghost-text {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 18rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(29,78,216,0.07);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  user-select: none;
}

/* ── Glow Lines ──────────────────────────── */
.glow-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue-ultra), transparent);
}

.glow-line-gold {
  background: linear-gradient(to right, transparent, rgba(217,119,6,0.3), transparent);
}

/* ── Pulse ───────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Spotlight Hint ──────────────────────── */
.spotlight-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: pulse 2s ease-in-out infinite;
  z-index: 10;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.spotlight-hint.hidden { opacity: 0; }

/* ── Grid Utilities ──────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

/* ── Footer ──────────────────────────────── */
#footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.9);
  padding: var(--space-lg) 0 var(--space-md);
}

#footer p { color: rgba(255,255,255,0.6); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.95rem; max-width: 260px; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  cursor: none;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(217,119,6,0.1);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ── Page Fade In ────────────────────────── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-fade-in { animation: pageFadeIn 0.5s ease forwards; }

/* ── Float ───────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.float { animation: float 4s ease-in-out infinite; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1199px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

@media (max-width: 899px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-lg) 0; }
  .container { padding: 0 var(--space-sm); }
  .footer-grid { grid-template-columns: 1fr; }
}
