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

body {
  background: #f4f6f9;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

header {
  background: #021226;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #d6b46a;
}

/* HERO */

.gallery-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 18, 38, 0.97) 0%, rgba(5, 24, 48, 0.86) 48%, rgba(9, 32, 61, 0.62) 100%),
    url("idm1.JPG");
  background-size: cover;
  background-position: center center;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
  pointer-events: none;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 180, 106, 0.10), transparent 24%),
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.05), transparent 18%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 70px 0;
}

.kicker,
.eyebrow {
  color: #d6b46a;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.gallery-hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gallery-hero p {
  max-width: 720px;
  color: #e5e7eb;
  font-size: 20px;
  margin-bottom: 26px;
}

/* BUTTONS */

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-glass,
.btn-glass-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: 0.3s ease;
}

.btn-primary {
  background: #d6b46a;
  color: #07111f;
  border: 1px solid #d6b46a;
}

.btn-primary:hover {
  background: #e3c57f;
  border-color: #e3c57f;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-glass-dark {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
}

.btn-glass-dark:hover {
  background: #ffffff;
  color: #07111f;
  transform: translateY(-2px);
}

/* SECTION HEADING */

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: 38px;
  color: #07111f;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.15;
}

.section-heading.light h2 {
  color: #ffffff;
}

/* SLIDESHOW */

.slideshow-section {
  padding: 80px 0;
}

.slideshow-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 20px 55px rgba(7, 17, 31, 0.13);
}

.slideshow {
  position: relative;
  height: 660px;
  border-radius: 24px;
  overflow: hidden;
  background: #07111f;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,18,38,0.72), rgba(2,18,38,0.16)),
    linear-gradient(transparent, rgba(2,18,38,0.88));
}

.slide-caption {
  position: absolute;
  left: 44px;
  bottom: 44px;
  z-index: 2;
  color: #ffffff;
  max-width: 620px;
}

.slide-tag {
  display: inline-block;
  background: rgba(214, 180, 106, 0.95);
  color: #07111f;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.slide-tag.international {
  background: rgba(59, 130, 246, 0.92);
  color: #ffffff;
}

.slide-tag.gold {
  background: rgba(214, 180, 106, 0.95);
  color: #07111f;
}

.slide-tag.national {
  background: rgba(34, 197, 94, 0.9);
  color: #ffffff;
}

.slide-tag.podium {
  background: rgba(124, 58, 237, 0.9);
  color: #ffffff;
}

.slide-tag.team {
  background: rgba(255, 255, 255, 0.9);
  color: #07111f;
}

.slide-caption h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  margin-bottom: 12px;
}

.slide-caption p {
  color: #e5e7eb;
  font-size: 18px;
  font-weight: 700;
}

/* NAV */

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: #07111f;
  font-size: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav:hover {
  background: #d6b46a;
  transform: translateY(-50%) scale(1.06);
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

/* DOTS */

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 18px 0 4px;
}

.dot {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background: #d6b46a;
  transform: scale(1.25);
}

/* MOMENTS */

.moments-section {
  padding: 85px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 180, 106, 0.1), transparent 28%),
    linear-gradient(135deg, #07111f, #10243d);
  color: #ffffff;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, 250px);
  gap: 22px;
}

.moment-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}

.moment-card.large {
  grid-row: span 2;
}

.moment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.moment-card:hover img {
  transform: scale(1.05);
}

.moment-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(7, 17, 31, 0.94));
}

.moment-overlay span {
  display: inline-block;
  background: rgba(214, 180, 106, 0.95);
  color: #07111f;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.moment-overlay h3 {
  font-size: 24px;
  line-height: 1.1;
}

/* FINAL CTA */

.final-cta {
  padding: 85px 0;
  background: linear-gradient(135deg, #07111f, #10243d);
  color: #ffffff;
  text-align: center;
}

.final-cta h2 {
  font-size: 40px;
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 780px;
  margin: 0 auto 30px;
  color: #e5e7eb;
  font-size: 18px;
}

.final-cta .cta-actions {
  justify-content: center;
}

/* FOOTER */

footer {
  background: #050b13;
  color: #cbd5e1;
  text-align: center;
  padding: 22px 0;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .slideshow {
    height: 560px;
  }

  .moments-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .moment-card,
  .moment-card.large {
    height: 320px;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  nav ul {
    gap: 14px;
  }

  nav a {
    font-size: 14px;
  }

  .gallery-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(2, 18, 38, 0.97) 0%, rgba(5, 24, 48, 0.9) 55%, rgba(9, 32, 61, 0.84) 100%),
      url("idm1.JPG");
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    text-align: center;
    padding: 60px 0;
  }

  .gallery-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
    letter-spacing: -1px;
  }

  .gallery-hero p {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
  }

  .btn-primary,
  .btn-glass,
  .btn-glass-dark {
    width: 100%;
  }

  .slideshow-section,
  .moments-section,
  .final-cta {
    padding: 65px 0;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .slideshow-card {
    padding: 10px;
    border-radius: 24px;
  }

  .slideshow {
    height: 460px;
    border-radius: 18px;
  }

  .slide-caption {
    left: 24px;
    right: 24px;
    bottom: 32px;
  }

  .slide-caption h2 {
    font-size: 34px;
  }

  .slide-caption p {
    font-size: 16px;
  }

  .nav {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .prev {
    left: 14px;
  }

  .next {
    right: 14px;
  }

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

  .moment-card,
  .moment-card.large {
    height: 280px;
  }
}