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

/* =========================
   BODY
========================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #000;
  color: white;
  overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;

  width: 100%;
  height: 100vh;

  /* HERO IMAGE */
  background-image: url("assets/hero.jpg");

  /* DESKTOP: show full image */
  background-size: contain;

  background-repeat: no-repeat;
  background-position: center center;

  /* side empty space */
  padding: 0 80px;

  /* black side background */
  background-color: #000;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* =========================
   DARK OVERLAY
========================= */
.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.28);

  z-index: 1;
}

/* =========================
   CENTER CONTENT
========================= */
.hero-content {
  position: relative;
  z-index: 2;

  text-align: center;

  padding: 20px;
}

/* =========================
   TITLE
========================= */
.hero-content h1 {
  font-size: 72px;
  font-weight: 700;

  letter-spacing: -2px;

  color: white;

  text-shadow:
    0 4px 20px rgba(0,0,0,0.5),
    0 0 40px rgba(0,0,0,0.3);

  animation: fadeUp 1.2s ease;
}

/* =========================
   SUBTITLE
========================= */
.hero-content p {
  margin-top: 16px;

  font-size: 18px;
  font-weight: 400;

  color: rgba(255,255,255,0.88);

  letter-spacing: 2px;

  text-transform: uppercase;

  animation: fadeUp 1.6s ease;
}

/* =========================
   BUTTON
========================= */
.hero-btn {
  display: inline-block;

  margin-top: 32px;

  padding: 14px 30px;

  border-radius: 999px;

  background: white;
  color: black;

  text-decoration: none;

  font-weight: 600;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.05);

  background: black;
  color: white;

  border: 1px solid white;
}

/* =========================
   SCROLL INDICATOR
========================= */
.scroll-indicator {
  position: absolute;

  bottom: 30px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 2;

  font-size: 14px;
  letter-spacing: 2px;

  color: rgba(255,255,255,0.75);

  animation: bounce 2s infinite;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -8px);
  }

  60% {
    transform: translate(-50%, -4px);
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {

  .hero {
    padding: 0 40px;
  }

  .hero-content h1 {
    font-size: 56px;
  }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hero {

    /* mobile fill screen better */
    background-size: cover;

    background-position: center center;

    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 38px;

    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 14px;

    letter-spacing: 1px;
  }

  .hero-btn {
    padding: 12px 24px;

    font-size: 14px;
  }

  .scroll-indicator {
    font-size: 12px;
  }
}
