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

:root {
  --red:   #dd3333;
  --black: #000000;
  --white: #ffffff;
  --gray:  #f4f4f4;
  --text:  #111111;
  --muted: #555555;
  --nav-h: 56px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================================================
   UTILITIES
   ================================================ */
.container {
  max-width: 1000px;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }

.red { color: var(--red); }

section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray);
}

.section-red {
  background: var(--red);
  color: var(--white);
}

/* ================================================
   SECTION TITLES
   ================================================ */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 8px;
}

.section-red .section-title { color: var(--white); }
.section-red .section-title::after { background: var(--white); }
.text-center .section-title::after { margin: 8px auto 0; }

/* ================================================
   NAVIGATION
   ================================================ */
#navbar.navbar {
  background: var(--black);
  border-bottom: 2px solid var(--red);
  height: var(--nav-h);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar .navbar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

#navbar .navbar-brand:hover {
  color: var(--red);
}

#navbar .navbar-nav {
  gap: 32px;
}

#navbar .nav-link {
  padding: 0;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#navbar .nav-link:hover {
  color: var(--red);
}

#navbar .navbar-toggler {
  padding: 0;
  border: none;
  background: none;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: none;
}

@media (max-width: 767.98px) {

  #navLinks.navbar-collapse {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 2px solid var(--red);
    padding: 8px 0;
  }

  #navbar .navbar-nav {
    gap: 0;
  }

  #navbar .nav-link {
    display: block;
    padding: 12px 24px;
  }

}

/* ================================================
   HERO
   ================================================ */
#hero {
  background: var(--black);
  padding: var(--nav-h) 24px 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.1;
}

#hero h1 .red {
  font-weight: 700;
}

.hero-quote {
  max-width: 500px;
  font-size: 1rem;
  font-weight: 300;
  color: #999999;
  font-style: italic;
  line-height: 1.6;
}

.hero-quote em {
  font-style: normal;
  font-weight: 600;
  color: #666666;
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.hero-icons a {
  color: var(--white);
  font-size: 1.8rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.hero-icons a:hover {
  color: var(--red);
  transform: translateY(-3px);
  text-decoration: none;
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  color: #444444;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

.scroll-down:hover {
  color: var(--red);
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ================================================
   ABOUT
   ================================================ */
.about-photo {
  max-width: calc(210px + var(--bs-gutter-x, 3rem));
}

.about-photo img {
  width: 100%;
  border-radius: 2px;
  border-left: 4px solid var(--red);
  filter: grayscale(15%);
}

.about-text p {
  margin-bottom: 14px;
}

@media (max-width: 767.98px) {
  .about-photo {
    max-width: calc(180px + var(--bs-gutter-x, 3rem));
  }
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.about-meta i {
  color: var(--red);
}

/* ================================================
   TIMELINE
   ================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--red);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--gray);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.timeline-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.timeline-org {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.timeline-org i {
  color: var(--red);
  margin-right: 4px;
}

.timeline-body p:last-child {
  font-size: 0.93rem;
  color: var(--text);
}

/* ================================================
   SKILLS
   ================================================ */
.skills-grid.row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.skill-card {
  border: 1px solid #e4e4e4;
  border-top: 3px solid var(--red);
  border-radius: 0;
  padding: 22px 18px;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.skill-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 10px;
}

.skill-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: none;
}

/* ================================================
   INTERESTS
   ================================================ */
.interests-grid.row {
  --bs-gutter-x: 32px;
  --bs-gutter-y: 32px;
}

.interest-item i {
  font-size: 2.2rem;
  margin-bottom: 14px;
  opacity: 0.9;
}

.interest-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.interest-item p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
  max-width: none;
}

/* ================================================
   COUNTRY DASHBOARDS
   ================================================ */
.section-dark {
  background: var(--black);
  color: var(--white);
}

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

.section-dark .section-title::after {
  background: var(--red);
}

.dashboards-intro {
  color: #555;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: -32px;
  margin-bottom: 40px;
}

.dashboards-grid.row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

.dash-card {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-top: 3px solid var(--accent, #dd3333);
  border-radius: 0;
  padding: 28px 20px 22px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  border-color: var(--accent, #dd3333);
  text-decoration: none;
}

.dash-flag {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 16px;
}

.dash-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.dash-region {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
  flex: 1;
  margin-bottom: 20px;
}

.dash-open {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #dd3333);
  transition: opacity 0.2s;
}

.dash-card:hover .dash-open {
  opacity: 0.8;
}

.projects-grid.row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

.dash-card.teaser {
  border: 1px dashed #333;
  cursor: default;
}

.dash-card.teaser:hover {
  transform: none;
  box-shadow: none;
  border-color: #333;
}

.dash-card.teaser .dash-flag,
.dash-card.teaser .dash-open {
  color: #555;
}

/* ================================================
   CONTACT / SIGNATURE
   ================================================ */
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid var(--black);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-links a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  text-decoration: none;
}

.contact-links a i {
  font-size: 1.1rem;
}

.signature-wrap {
  display: flex;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.signature {
  max-width: 260px;
  width: 100%;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--black);
  border-top: 2px solid var(--red);
  padding: 20px 24px;
  text-align: center;
  color: #666666;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
}

/* ================================================
   RESPONSIVE — TABLET
   ================================================ */
@media (max-width: 800px) {

  section { padding: 60px 0; }

}

/* ================================================
   RESPONSIVE — MOBILE
   ================================================ */
@media (max-width: 480px) {

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .about-meta {
    flex-direction: column;
    gap: 8px;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

}
