/* ═══════════════════════════════════════════
   GOOD DAY DEFENCE ACADEMY — SHARED STYLES
   ═══════════════════════════════════════════ */

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

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1a3356;
  --gold:       #c9a227;
  --gold-light: #e8c84a;
  --gold-dim:   rgba(201,162,39,0.18);
  --cream:      #f8f3e8;
  --cream-dark: #ede8d8;
  --text:       #1a1a2e;
  --text-muted: #5a5a7a;
  --red:        #8b1a1a;
  --white:      #ffffff;
  --border:     rgba(201,162,39,0.25);
  --shadow:     0 8px 40px rgba(10,22,40,0.18);
  --nav-h:      72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: box-shadow 0.3s;
}

#nav.scrolled {
  box-shadow: 0 4px 30px rgba(10,22,40,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-emblem {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(201,162,39,0.08);
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-brand-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(201,162,39,0.1);
  transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover, .nav-mobile a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.05);
}

@media (max-width: 860px) {
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── PAGE WRAPPER ─── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ─── SECTION UTILITIES ─── */
.section {
  padding: 90px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-sm { padding: 60px 48px; max-width: 1100px; margin: 0 auto; }

.dark-bg {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.dark-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 60px,
    rgba(201,162,39,0.018) 60px, rgba(201,162,39,0.018) 61px
  );
  pointer-events: none;
}

.mid-bg { background: var(--navy-mid); }
.cream-bg { background: var(--cream-dark); }

.section-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 5px;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.dark-bg .section-title,
.mid-bg .section-title { color: var(--white); }

.section-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 680px;
}

.dark-bg .section-body,
.mid-bg .section-body { color: rgba(255,255,255,0.6); }

/* ─── PULL QUOTE ─── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 20px 32px;
  margin: 36px 0;
  background: var(--gold-dim);
}

.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--navy);
  line-height: 1.55;
}

.dark-bg .pull-quote p,
.mid-bg .pull-quote p { color: var(--cream); }

/* ─── DECORATIVE RULE ─── */
.rule {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0;
}
.rule::before, .rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule span { color: var(--gold); font-size: 16px; letter-spacing: 4px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  font-size: 14px;
  padding: 14px 32px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dark-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  padding: 32px 28px;
  transition: background 0.25s;
}
.dark-card:hover { background: rgba(255,255,255,0.07); }

/* ─── FOOTER ─── */
footer {
  background: #060e1a;
  border-top: 2px solid var(--gold);
  padding: 56px 48px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .section, .section-sm { padding: 60px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  footer { padding: 40px 20px 24px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate { opacity: 0; }
.animate.visible {
  animation: fadeUp 0.7s ease forwards;
}

/* Stagger delays */
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }
.d6 { animation-delay: 0.55s; }
