/* ============================================================
   TAMENSAH — main.css
   Shared styles loaded by every page.
   Page-specific CSS lives in each page's own <style> block.
   Do not add page-specific rules here.
   ============================================================ */

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

/* BASE VARIABLES */
:root {
  --orange: #E84D0E;
  --orange-light: #FF6B35;
  --black: #0A0A0A;
  --dark: #111111;
  --charcoal: #1A1A1A;
  --mid: #2A2A2A;
  --muted: #6B6B6B;
  --white: #FAFAF8;
  --nav-h: 72px;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 77, 14, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-back {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  cursor: none;
}

.nav-back:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  cursor: none;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
}

/* SHARED SECTION UTILITIES */
/* Used by training, speaking, resources, qr — harmless on index */
section {
  padding: 120px 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--orange);
}

.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.sec-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
  font-weight: 300;
}

.outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  color: transparent;
}

.pill {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.pill-dark {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.pill-orange {
  background: rgba(232, 77, 14, 0.15);
  color: var(--orange);
  border: 1px solid rgba(232, 77, 14, 0.3);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: none;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: none;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  background: var(--charcoal);
  padding: 32px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* RESPONSIVE — nav + footer (page-specific breakpoints stay inline) */
@media (max-width: 1024px) {
  section {
    padding: 80px 40px;
  }

  nav {
    padding: 0 24px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
    z-index: 1000;
    gap: 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 24px;
    display: block;
    padding: 15px;
  }

  footer {
    padding: 24px 40px;
    flex-direction: column;
    text-align: center;
  }
}
