/* ============================================================
   HOME PAGE
   ============================================================ */

.home-page {
  width: 100%;

  position: relative;

  overflow: hidden;
}


/* ============================================================
   COMMON SECTION
   ============================================================ */

.section-heading {

  text-align: center;

  margin-bottom: 45px;

}


.section-heading span {

  display: block;

  margin-bottom: 5px;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 3px;

  color: #C7BD55;

}


.section-heading h2 {

  margin: 0;

  font-family: "Alan Sans", sans-serif;

  font-size: clamp(
    34px,
    5vw,
    55px
  );

  font-weight: 900;

  color: #399447;

  text-transform: uppercase;

}


.section-heading p {

  margin: 8px 0 0;

  font-size: 14px;

  color: #6d8b69;

}


/* ============================================================
   BLOCK 1
   AFTERRA OLYMPIC HERO
   ============================================================ */

.olympic-hero {

  width: 100%;

  min-height: 680px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

}


/* BACKGROUND */

/* ============================================================
   BACKGROUND
   ============================================================ */

.olympic-background {

  position: absolute;
  inset: 0;


  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  z-index: 0;
}


/* ============================================================
   OVERLAY
   ============================================================ */

.olympic-overlay {

  position: absolute;
  inset: 0;

  background-image:
    url("assets/home1.png");

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  z-index: 1;

  pointer-events: none;
}

/* CONTENT */

.olympic-content {

  width: min(
    100%,
    1100px
  );

  padding: 40px;

  position: relative;

  z-index: 2;

  color: white;

}


.olympic-label {

  display: block;

  margin-bottom: 8px;

  font-size: 18px;

  font-weight: 800;

  letter-spacing: 5px;

  color: #ffffff;

}


.olympic-title {

  margin: 0;

  font-family:
    "Alan Sans",
    sans-serif;

  font-size: clamp(
    65px,
    11vw,
    150px
  );

  line-height: .85;

  font-weight: 900;

  letter-spacing: -5px;

  color: white;

}


.olympic-description {

  width: min(
    100%,
    500px
  );

  margin:
    30px 0;

  font-size: 17px;

  line-height: 1.6;

  color: rgba(
    255,
    255,
    255,
    .9
  );

}


.olympic-button {

  width: 175px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  text-decoration: none;

  font-family:
    "Alan Sans",
    sans-serif;

  font-size: 13px;

  font-weight: 800;

  background: #278d3e;

  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 50%,
    92% 100%,
    8% 100%,
    0% 50%
  );

  transition:
    transform .2s ease,
    filter .2s ease;

}


.olympic-button:hover {

  transform:
    translateY(-3px);

  filter:
    brightness(1.08);

}


/* ============================================================
   BLOCK 2
   DOCUMENTATION
   ============================================================ */

.documentation-section {

  width: 100%;

  padding:
    100px
    30px
    110px;

  background:
    rgba(
      255,
      255,
      255,
      .35
    );

}


.documentation-slider {

  width: min(
    100%,
    1200px
  );

  margin: 0 auto;

  position: relative;

  display: flex;

  align-items: center;

}


.documentation-track {

  width: 100%;

  display: flex;

  gap: 20px;

  overflow: hidden;

  scroll-behavior: smooth;

}


/* PHOTO */

.documentation-photo {

  min-width: 100%;

  height: 500px;

  object-fit: cover;

  display: block;

  border-radius: 4px;

  box-shadow:
    0 5px 20px
    rgba(
      50,
      70,
      50,
      .15
    );

}


/* SLIDER BUTTON */

.slider-button {

  position: absolute;

  top: 50%;

  transform:
    translateY(-50%);

  width: 45px;

  height: 45px;

  border: none;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  z-index: 5;

  font-size: 30px;

  line-height: 1;

  color: white;

  background:
    rgba(
      39,
      141,
      62,
      .85
    );

  transition:
    transform .2s ease,
    filter .2s ease;

}


.slider-button:hover {

  filter:
    brightness(1.1);

}


.slider-prev {

  left: 15px;

}


.slider-next {

  right: 15px;

}


/* DOTS */

.slider-dots {

  margin-top: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

}


.slider-dot {

  width: 8px;

  height: 8px;

  border: none;

  border-radius: 50%;

  padding: 0;

  background:
    #c7d7c2;

  cursor: pointer;

}


.slider-dot.active {

  width: 24px;

  border-radius: 10px;

  background:
    #399447;

}


/* ============================================================
   BLOCK 3
   HEROES
   ============================================================ */

.heroes-section {

  width: 100%;

  padding:
    100px
    30px
    110px;

}


.heroes-grid {

  width: min(
    100%,
    1100px
  );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 25px;

}


/* HERO CARD */

.hero-card {

  height: 330px;

  position: relative;

  overflow: hidden;

  background:
    #dcebd2;

  box-shadow:
    0 4px 15px
    rgba(
      50,
      70,
      50,
      .14
    );

  transition:
    transform .25s ease,
    box-shadow .25s ease;

}


.hero-card:hover {

  transform:
    translateY(-6px);

  box-shadow:
    0 10px 25px
    rgba(
      50,
      70,
      50,
      .2
    );

}


.hero-card img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

}


.hero-card-overlay {

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  padding:
    45px 18px
    18px;

  background:
    linear-gradient(
      transparent,
      rgba(0,0,0,.7)
    );

  color: white;

}


.hero-card-number {

  font-size: 11px;

  font-weight: 800;

  color: #C7BD55;

}


.hero-card-name {

  margin-top: 3px;

  font-size: 20px;

  font-weight: 900;

  text-transform: uppercase;

}


/* ============================================================
   BLOCK 4
   MAPS
   ============================================================ */

.maps-section {

  width: 100%;

  padding:
    100px
    30px
    120px;

  background:
    rgba(
      220,
      235,
      210,
      .55
    );

}


/* ============================================================
   MAPS GRID
   ============================================================ */

.maps-grid {

  width: min(
    100%,
    1150px
  );

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 22px;

}


/* ============================================================
   MAP CARD
   ============================================================ */

.map-card {

  width: 100%;

  height: 100%;

  display: grid;

  grid-template-columns:
    58% 42%;

  position: relative;

  overflow: hidden;

  background:
    rgba(
      255,
      255,
      255,
      .65
    );

  box-shadow:
    0 5px 20px
    rgba(
      50,
      70,
      50,
      .14
    );

  transition:
    transform .25s ease,
    box-shadow .25s ease;

}


/* HOVER */

.map-card:hover {

  transform:
    translateY(-5px);

  box-shadow:
    0 12px 30px
    rgba(
      50,
      70,
      50,
      .20
    );

}


/* ============================================================
   MAP IMAGE
   ============================================================ */

.map-card > img {

  width: 80%;

  height: 80%;

  min-height: 280px;


}


/* ============================================================
   MAP INFORMATION BOX
   ============================================================ */

.map-card-overlay {

  position: relative;

  inset: auto;

  height: 100%;

  min-height: 280px;

  box-sizing: border-box;

  padding:
    35px
    40px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  color: #263326;

  background:
    rgba(
      255,
      255,
      255,
      .85
    );

}


/* ============================================================
   MAP NUMBER
   ============================================================ */

.map-card-overlay::before {

  content:
    "MAP";

  display: inline-flex;

  width: fit-content;

  margin-bottom: 12px;

  padding:
    6px
    13px;

  border:
    1px solid
    #C7BD55;

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 2px;

  color:
    #8d8530;

  background:
    rgba(
      199,
      189,
      85,
      .08
    );

}


/* ============================================================
   MAP NAME
   ============================================================ */

.map-card-name {

  margin: 0;

  font-family:
    "Alan Sans",
    sans-serif;

  font-size: 28px;

  font-weight: 900;

  line-height: 1.1;

  text-transform: uppercase;

  color:
    #278d3e;

}


/* ============================================================
   SMALL DECORATIVE LINE
   ============================================================ */

.map-card-name::after {

  content: "";

  display: block;

  width: 35px;

  height: 3px;

  margin-top: 13px;

  margin-bottom: 16px;

  background:
    #C7BD55;

}


/* ============================================================
   MAP DESCRIPTION
   ============================================================ */

.map-card-description {

  max-width: 500px;

  margin: 0;

  font-size: 14px;

  line-height: 1.7;

  color:
    #61705d;

}


/* ============================================================
   DECORATIVE CORNER
   ============================================================ */

.map-card::after {

  content: "";

  position: absolute;

  top: 0;

  right: 0;

  width: 0;

  height: 0;

  border-top:
    35px solid
    #C7BD55;

  border-left:
    35px solid
    transparent;

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

  .map-card {

    grid-template-columns:
      52% 48%;

  }


  .map-card-overlay {

    padding:
      30px;

  }


  .map-card-name {

    font-size: 24px;

  }


  .map-card-description {

    font-size: 13px;

    line-height: 1.6;

  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 620px) {

  .maps-grid {

    gap: 18px;

  }


  .map-card {

    display: flex;

    flex-direction: column;

    min-height: auto;

  }


  .map-card > img {

    width: 100%;

    height: 220px;

    min-height: 220px;

  }


  .map-card-overlay {

    width: 100%;

    min-height: auto;

    padding:
      25px;

  }


  .map-card-name {

    font-size: 22px;

  }


  .map-card-description {

    font-size: 13px;

    line-height: 1.6;

  }


  .map-card::after {

    border-top-width: 25px;

    border-left-width: 25px;

  }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  .map-card > img {

    height: 190px;

    min-height: 190px;

  }


  .map-card-overlay {

    padding:
      22px;

  }


  .map-card-name {

    font-size: 20px;

  }

}

/* ============================================================
   FOOTER
   ============================================================ */

.home-footer {

  min-height: 120px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 8px;

}


.home-footer img {

  width: 90px;

  height: auto;

  opacity: .25;

}


.home-footer p {

  margin: 0;

  font-size: 11px;

  color: #7b8975;

}



/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

  /* =========================
     HERO
     ========================= */

  .olympic-hero {
    min-height: 600px;
  }

  .olympic-content {
    width: 100%;
    padding: 40px 35px;
  }

  .olympic-title {
    font-size: clamp(65px, 12vw, 110px);
  }


  /* =========================
     DOCUMENTATION
     ========================= */

  .documentation-section {
    padding: 80px 25px 90px;
  }

  .documentation-photo {
    height: 420px;
  }


  /* =========================
     HEROES
     ========================= */

  .heroes-section {
    padding: 80px 25px 90px;
  }

  .heroes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-card {
    height: 300px;
  }


  /* =========================
     MAPS
     ========================= */

  .maps-section {
    padding: 80px 25px 100px;
  }

  .map-card {
    grid-template-columns: 52% 48%;
  }

  .map-card > img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }

  .map-card-overlay {
    padding: 30px;
    min-height: 280px;
  }

  .map-card-name {
    font-size: 24px;
  }

  .map-card-description {
    font-size: 13px;
    line-height: 1.6;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 620px) {

  /* =========================
     COMMON
     ========================= */

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading span {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .section-heading h2 {
    font-size: 32px;
    line-height: 1;
  }

  .section-heading p {
    font-size: 13px;
    line-height: 1.5;
  }


  /* =========================
     BLOCK 1
     OLYMPIC HERO
     ========================= */

  .olympic-hero {
    min-height: 560px;
    align-items: center;
  }

  .olympic-background {
    background-position: center;
    background-size: cover;
  }

  .olympic-content {
    width: 100%;
    padding: 30px 22px;
    box-sizing: border-box;
  }

  .olympic-label {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 3px;
  }

  .olympic-title {
    font-size: clamp(
      58px,
      18vw,
      85px
    );

    line-height: .88;
    letter-spacing: -3px;
  }

  .olympic-description {
    width: 100%;
    max-width: 390px;

    margin: 22px 0;

    font-size: 14px;
    line-height: 1.55;
  }

  .olympic-button {
    width: 155px;
    height: 46px;
    font-size: 12px;
  }


  /* =========================
     BLOCK 2
     DOCUMENTATION
     ========================= */

  .documentation-section {
    padding: 65px 16px 75px;
  }

  .documentation-slider {
    width: 100%;
  }

  .documentation-track {
    gap: 12px;
  }

  .documentation-photo {
    width: 100%;
    min-width: 100%;
    height: 260px;

    object-fit: cover;

    border-radius: 3px;
  }

  .slider-button {
    width: 34px;
    height: 34px;

    font-size: 21px;

    background:
      rgba(
        39,
        141,
        62,
        .9
      );
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .slider-dots {
    margin-top: 15px;
    gap: 6px;
  }

  .slider-dot {
    width: 7px;
    height: 7px;
  }

  .slider-dot.active {
    width: 20px;
  }


  /* =========================
     BLOCK 3
     HEROES
     ========================= */

  .heroes-section {
    padding: 65px 16px 75px;
  }

  .heroes-grid {
    width: 100%;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .hero-card {
    width: 100%;
    height: 245px;
  }

  .hero-card-overlay {
    padding:
      35px 12px
      12px;
  }

  .hero-card-number {
    font-size: 9px;
  }

  .hero-card-name {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.1;
  }


  /* =========================
     BLOCK 4
     MAPS
     ========================= */

  .maps-section {
    padding: 65px 16px 80px;
  }

  .maps-grid {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 18px;
  }

  .map-card {
    width: 100%;

    display: flex;
    flex-direction: column;

    height: auto;
    min-height: 0;
  }

  .map-card > img {
    width: 100%;
    height: 210px;
    min-height: 210px;

    object-fit: cover;
    display: block;
  }

  .map-card-overlay {
    width: 100%;

    min-height: 0;

    padding:
      22px 20px
      25px;

    box-sizing: border-box;
  }

  .map-card-overlay::before {
    margin-bottom: 9px;

    padding:
      5px 10px;

    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .map-card-name {
    font-size: 21px;
    line-height: 1.1;
  }

  .map-card-name::after {
    width: 28px;
    height: 2px;

    margin-top: 10px;
    margin-bottom: 12px;
  }

  .map-card-description {
    max-width: none;

    font-size: 12px;
    line-height: 1.6;
  }

  .map-card::after {
    border-top-width: 24px;
    border-left-width: 24px;
  }


  /* =========================
     FOOTER
     ========================= */

  .home-footer {
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
  }

  .home-footer img {
    width: 75px;
  }

  .home-footer p {
    font-size: 10px;
    text-align: center;
  }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  /* =========================
     COMMON
     ========================= */

  .section-heading h2 {
    font-size: 28px;
  }


  /* =========================
     HERO
     ========================= */

  .olympic-hero {
    min-height: 520px;
  }

  .olympic-content {
    padding:
      25px 18px;
  }

  .olympic-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .olympic-title {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .olympic-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .olympic-button {
    width: 145px;
    height: 44px;
  }


  /* =========================
     DOCUMENTATION
     ========================= */

  .documentation-photo {
    height: 220px;
  }


  /* =========================
     HEROES
     ========================= */

  .heroes-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  .hero-card {
    height: 220px;
  }

  .hero-card-overlay {
    padding:
      30px 10px
      10px;
  }

  .hero-card-name {
    font-size: 12px;
  }


  /* =========================
     MAPS
     ========================= */

  .map-card > img {
    height: 180px;
    min-height: 180px;
  }

  .map-card-overlay {
    padding:
      20px 18px
      22px;
  }

  .map-card-name {
    font-size: 19px;
  }

  .map-card-description {
    font-size: 11.5px;
  }

}

@media (max-width: 620px) {

  .olympic-overlay {

    background-size: 100% 80%;
    background-position: top;

  }

}



/* ============================================================
   NAVBAR - MOBILE
   ============================================================ */

.nav-toggle {

  display: none;

}


/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 620px) {

  /* =========================
     NAVBAR
     ========================= */

  .navbar {

    width: 100%;

    min-height: 64px;

    padding:
      0 18px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 1000;

  }


  /* =========================
     LOGO
     ========================= */

  .nav-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

  }

  .nav-logo img {

    width: 78px;

    height: auto;

    display: block;

  }


  /* =========================
     HAMBURGER
     ========================= */

  .nav-toggle {

    width: 42px;

    height: 42px;

    padding: 0;

    border: none;

    background: transparent;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    cursor: pointer;

    position: relative;

    z-index: 1002;

  }


  .nav-toggle span {

    width: 22px;

    height: 2px;

    display: block;

    background: #f8f8f8;

    border-radius: 2px;

    transition:
      transform .25s ease,
      opacity .2s ease;

  }


  /* =========================
     HAMBURGER -> X
     ========================= */

  .nav-toggle.active span:nth-child(1) {

    transform:
      translateY(7px)
      rotate(45deg);

  }

  .nav-toggle.active span:nth-child(2) {

    opacity: 0;

  }

  .nav-toggle.active span:nth-child(3) {

    transform:
      translateY(-7px)
      rotate(-45deg);

  }


  /* =========================
     MENU
     ========================= */

  .nav-menu {

    position: absolute;

    top: 64px;

    left: 12px;

    right: 12px;

    padding:
      12px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 4px;

    background:
      rgba(
        255,
        255,
        255,
        .97
      );

    box-shadow:
      0 10px 30px
      rgba(
        40,
        70,
        40,
        .15
      );

    border:
      1px solid
      rgba(
        39,
        141,
        62,
        .08
      );

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-10px);

    transition:
      opacity .2s ease,
      transform .2s ease,
      visibility .2s ease;

    z-index: 1001;

  }


  /* =========================
     OPEN MENU
     ========================= */

  .nav-menu.active {

    opacity: 1;

    visibility: visible;

    transform:
      translateY(0);

  }


  /* =========================
     MENU LINKS
     ========================= */

  .nav-menu > a:not(.play-now) {

    width: 100%;

    min-height: 45px;

    padding:
      0 16px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-decoration: none;

    color: #52634e;

    background: transparent;

    transition:
      background .2s ease,
      color .2s ease;

  }


  .nav-menu > a:not(.play-now):hover {

    color: #278d3e;

    background:
      rgba(
        39,
        141,
        62,
        .06
      );

  }


  /* =========================
     ACTIVE
     ========================= */

  .nav-menu > a.active {

    color: #278d3e;

    background:
      rgba(
        39,
        141,
        62,
        .08
      );

  }


  /* =========================
     PLAY NOW
     ========================= */

  .nav-menu .play-now {

    width: 100%;

    height: 44px;

    margin-top: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    font-size: 11px;

  }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  .navbar {

    min-height: 60px;

    padding:
      0 15px;

  }


  .nav-logo img {

    width: 70px;

  }


  .nav-toggle {

    width: 40px;

    height: 40px;

  }


  .nav-menu {

    top: 60px;

    left: 10px;

    right: 10px;

  }

}

/* =========================================
   FIX HERO BANNER - DESKTOP
   ========================================= */

.olympic-overlay {
    background-image: none;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* =========================================
   FIX HERO BANNER - MOBILE
   ========================================= */

@media (max-width: 620px) {

    .olympic-hero {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .olympic-overlay {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .olympic-content {
        position: absolute;
        inset: 0;
        padding: 0;
    }

}