/* ============================================================
   Tag Markets Jim Corbett Leadership Tour 2026
   Design System: Nature & Wildlife / Premium Leadership Theme
   Palette: Deep Forest Green, Gold, Off-White
   ============================================================ */

:root {
  /* Forest greens */
  --forest-950: #0a1f14;
  --forest-900: #0f2e1c;
  --forest-800: #163d26;
  --forest-700: #1f4d31;
  --forest-600: #2d6b42;
  --forest-500: #3d8a56;

  /* Gold accents */
  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e8b923;
  --gold-300: #f0cc5a;

  /* Neutrals */
  --cream-50: #fdfbf3;
  --cream-100: #f7f2e3;
  --ink-900: #1a1f1a;
  --ink-700: #3a423a;
  --ink-500: #5c655c;

  /* Semantic */
  --success: #2d6b42;
  --warning: #b8860b;
  --danger: #a13a2c;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 4px 20px rgba(15, 46, 28, 0.12);
  --shadow-deep: 0 12px 40px rgba(15, 46, 28, 0.25);

  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ---------------- Typography ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--forest-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-700);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--forest-950);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(212, 160, 23, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--cream-100);
  color: var(--cream-50);
}

.btn-outline:hover {
  background: rgba(253, 251, 243, 0.1);
}

.btn-full {
  width: 100%;
}

/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  transition: background 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream-50);
}

.navbar-brand .leaf-icon {
  color: var(--gold-500);
  font-size: 1.4rem;
}

.navbar-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar-links a {
  color: var(--cream-100);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--gold-400);
}

.navbar-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream-50);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at top right, rgba(212, 160, 23, 0.15), transparent 50%),
    linear-gradient(180deg, rgba(10, 31, 20, 0.75) 0%, rgba(10, 31, 20, 0.92) 100%),
    repeating-linear-gradient(115deg, var(--forest-950) 0px, var(--forest-900) 2px, var(--forest-900) 40px, var(--forest-800) 42px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(61, 138, 86, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(61, 138, 86, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(212, 160, 23, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 78px, var(--cream-50) 79px, transparent 80px),
    repeating-linear-gradient(0deg, transparent, transparent 78px, var(--cream-50) 79px, transparent 80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 160px 24px 100px;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 100px;
  background: rgba(212, 160, 23, 0.08);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--cream-50);
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .accent {
  display: block;
  color: var(--gold-400);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--cream-100);
  max-width: 680px;
  margin: 0 auto 40px;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Highlights row */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.highlight-card {
  background: rgba(253, 251, 243, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  background: rgba(212, 160, 23, 0.1);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.highlight-label {
  color: var(--cream-100);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 2.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------------- Countdown ---------------- */
.countdown-section {
  background: var(--forest-900);
  padding: 56px 0;
  position: relative;
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.countdown-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.countdown-heading {
  color: var(--cream-100);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.countdown-timer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-unit {
  background: rgba(253, 251, 243, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 26px;
  min-width: 90px;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.countdown-unit-label {
  font-size: 0.72rem;
  color: var(--cream-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.8;
}

/* ---------------- Generic Section ---------------- */
section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-label,
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-title {
  margin-bottom: 12px;
}

/* ---------------- Event Info Cards ---------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.info-card {
  background: var(--cream-50);
  border: 1px solid rgba(15, 46, 28, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--gold-300);
}

.info-card h3 {
  font-size: 1.2rem;
  color: var(--forest-900);
  margin-bottom: 10px;
}

.info-card p,
.info-card ul {
  color: var(--ink-700);
  font-size: 0.92rem;
}

.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.info-card ul li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.info-card ul li::before {
  content: '•';
  color: var(--gold-500);
  font-weight: 700;
}

/* ---------------- Why Attend / Highlights detail section ---------------- */
.why-section {
  background: var(--cream-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 18px;
  background: var(--cream-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(15, 46, 28, 0.06);
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-300);
  color: var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.why-text h4 {
  font-size: 1.05rem;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.why-text p {
  font-size: 0.9rem;
  color: var(--ink-700);
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-950));
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 160, 23, 0.15), transparent 60%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--cream-50);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--cream-100);
  opacity: 0.85;
  margin-bottom: 32px;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--forest-950);
  color: var(--cream-100);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream-50);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  opacity: 0.7;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  opacity: 0.75;
  margin-bottom: 10px;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 251, 243, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------------- WhatsApp Floating Button ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ---------------- Hall of Fame ---------------- */
.hof-section {
  background: linear-gradient(180deg, var(--forest-950) 0%, var(--forest-900) 100%);
  position: relative;
}

.hof-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(61, 138, 86, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hof-section .section-label {
  color: var(--gold-400);
}

.hof-section .section-title {
  color: var(--cream-50);
}

.hof-section .section-subtitle {
  color: var(--cream-100);
  opacity: 0.85;
}

.hof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hof-card {
  background: rgba(253, 251, 243, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 160, 23, 0.6);
}

.hof-card-medal {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.hof-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream-50);
  margin-bottom: 6px;
}

.hof-card-city {
  font-size: 0.85rem;
  color: var(--cream-100);
  opacity: 0.75;
  margin-bottom: 14px;
}

.hof-card-rank {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--forest-950);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hof-card-date {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--cream-100);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------- Leaderboard ---------------- */
.lb-section {
  background: var(--cream-50);
}

.lb-filter-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.lb-filter-bar .form-control {
  width: auto;
  min-width: 180px;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.lb-table th {
  background: var(--forest-900);
  color: var(--cream-100);
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 20px;
}

.lb-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink-900);
  border-bottom: 1px solid rgba(15, 46, 28, 0.08);
}

.lb-table tr:last-child td {
  border-bottom: none;
}

.lb-table tr:hover td {
  background: rgba(212, 160, 23, 0.06);
}

.lb-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--forest-900);
}

.lb-featured-star {
  color: var(--gold-500);
  font-size: 0.95rem;
}

.lb-rank-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--cream-100);
  color: var(--forest-800);
  font-size: 0.8rem;
  font-weight: 600;
}

.lb-loading {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.lb-loading .spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(212, 160, 23, 0.25);
  border-top-color: var(--gold-500);
  border-radius: 50%;
  animation: lb-spin 0.8s linear infinite;
}

.hof-section .lb-loading .spinner {
  border-color: rgba(212, 160, 23, 0.2);
  border-top-color: var(--gold-400);
}

@keyframes lb-spin {
  to { transform: rotate(360deg); }
}

.lb-empty {
  text-align: center;
  color: var(--ink-500);
  padding: 32px 0;
  font-size: 0.95rem;
}

.hof-section .lb-empty {
  color: var(--cream-100);
  opacity: 0.7;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .navbar-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--forest-950);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .navbar-links.open {
    transform: translateY(0);
  }

  .navbar-toggle {
    display: block;
  }

  .hero-content {
    padding: 130px 20px 80px;
  }

  .hero-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .countdown-timer {
    gap: 10px;
  }

  .countdown-unit {
    padding: 14px 18px;
    min-width: 72px;
  }

  .countdown-value {
    font-size: 1.6rem;
  }

  .cta-banner {
    margin: 0 16px;
    padding: 48px 24px;
  }

  .hof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .lb-filter-bar .form-control {
    flex: 1;
    min-width: 140px;
  }

  .lb-table th,
  .lb-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .highlight-card {
    padding: 18px 10px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hof-grid {
    grid-template-columns: 1fr;
  }
}
