/* ═══════════════════════════════════════════════
   ExpoScheduler V4 — Shared Styles
   Variables · Base · Nav · Footer · Responsive
   ═══════════════════════════════════════════════ */

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

:root {
  /* Dark palette — ExpoScheduler brand navy */
  --ink:       #05053C;
  --ink-2:     #07074E;
  --ink-3:     #0C0C62;
  --ink-4:     #111178;
  /* Brand accents */
  --purple:    #4935B5;
  --purple-dim:#311F8A;
  --purple-glow: rgba(73,53,181,0.28);
  --red:       #EF3E2D;
  --red-dim:   #B02D20;
  --blue:      #9ECBE3;
  --blue-dim:  #5E9AB8;
  --gold:      #E0A020;
  /* Text */
  --white:     #F4F4FC;
  --muted:     rgba(244,244,252,0.85);
  --subtle:    rgba(244,244,252,0.60);
  /* Borders */
  --line:      rgba(255,255,255,0.07);
  --line-hover:rgba(73,53,181,0.45);
  /* Light section */
  --lt-bg:     #F0EFF4;
  --lt-card:   #FFFFFF;
  --lt-border: #DDD9EC;
  --lt-text:   #07074E;
  --lt-muted:  #7A7698;

  --r:  14px;
  --rl: 22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Shared layout ─────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
section {
  padding: 6rem 5%;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1rem;
}

/* ── NAV ───────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,60,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  height: 64px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #86BBD8;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-nav-ghost {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s;
}
.btn-nav-ghost:hover { color: var(--white); }
.btn-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-pill:hover { background: #FF5544; transform: translateY(-1px); }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  display: block; position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  z-index: 199;
  background: rgba(5,5,60,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn-pill {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  margin-top: 1rem;
}

/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 4rem 5% 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}
.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--subtle); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--muted); }

/* ── Shared fade-in animation ──────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SHARED RESPONSIVE ─────────────────────── */
@media (max-width: 930px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  nav { padding: 0 1.25rem; }
  footer { padding: 3rem 1.25rem 2rem; }
  .footer-top { grid-template-columns: 1fr; }
}
