:root {
  --bg-main: #121410;
  --bg-secondary: #1A1D17;
  --panel: #23261F;

  --accent: #B7BE8A;
  --accent-dark: #9FA66F;

  --text-primary: #E6E8E1;
  --text-secondary: #A7AA9C;

  --divider: #3A3E34;

  --shadow-soft: rgba(0,0,0,0.35);
  --transition-fast: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-main);
  color: var(--text-primary);

  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  line-height: 1.75;
}

/* =========================
   HEADINGS (UPGRADED)
========================= */
h1, h2, h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

h2 {
  font-weight: 600;
}

h3 {
  font-weight: 500;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("images/WorldMap.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), var(--bg-main));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 92vw);
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.85);
}

.hero-content p {
  margin: 1.25rem auto 0;
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--text-secondary);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

/* BUTTONS (REFINED, NOT CHANGED STYLE) */

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.button {
  display: inline-block;
  min-width: 170px;
  padding: 0.85rem 1.15rem;

  border: 1px solid var(--divider);
  color: var(--text-primary);
  text-decoration: none;

  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(35, 38, 31, 0.7);
  backdrop-filter: blur(4px);

  transition: all var(--transition-fast);
}

.button:hover {
  background: rgba(183, 190, 138, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #121410;
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

/* SECTIONS */

.section-dark {
  background: var(--bg-secondary);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.container {
  width: min(900px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.section-dark h2,
.section-main h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
}

.section-dark p,
.section-main p {
  margin: 1rem auto;
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* EXPERIENCE GRID */

.section-main {
  background: var(--bg-main);
  padding: 5rem 1.5rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.experience-card {
  background: var(--panel);
  border: 1px solid var(--divider);
  padding: 2rem;
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.experience-card .eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.experience-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* MAP */

.wide-container {
  width: min(1400px, 96vw);
}

.map-frame {
  margin: 2.5rem auto;
}

.map-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--divider);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* UPDATES */

.updates-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.update-item {
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--divider);
  text-align: left;
  transition: all var(--transition-fast);
}

.update-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.update-type {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.update-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.update-desc {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.update-date {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* MOBILE */

@media (max-width: 800px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-content {
    padding: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: min(280px, 90vw);
  }
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SITE NAVIGATION
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;

  background: rgba(18, 20, 16, 0.72);
  border-bottom: 1px solid rgba(58, 62, 52, 0.75);
  backdrop-filter: blur(8px);
}

.site-nav {
  width: min(1200px, 94vw);
  margin: 0 auto;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  color: var(--text-primary);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-links a {
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-links a:hover {
  color: var(--accent);
}

@media (max-width: 700px) {
  .site-nav {
    min-height: auto;
    padding: 0.85rem 0;
    flex-direction: column;
  }

  .site-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1rem;
  }
}

/* Active nav link */
.site-links a.active {
  color: var(--accent);
}

/* Stronger nav when scrolling */
.site-header.scrolled {
  background: rgba(18, 20, 16, 0.9);
  border-bottom: 1px solid var(--divider);
}
