/* static/css/landing.css */

/* =========================================================
   BASE
   ========================================================= */

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   HEADER & NAV
   ========================================================= */

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
}

.nav {
  height: var(--nav-height);
  padding: 0 var(--container-padding-x);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-nav);
}

.nav a {
  color: var(--color-text-main);
  text-decoration: none;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.nav-left {
  display: flex;
  gap: 28px;
}

.nav-center {
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  font-size: var(--font-size-brand);
}

.nav-right {
  display: flex;
  justify-self: end;
  gap: 28px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  height: 100vh;
  background: url("/static/images/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.55)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--font-size-hero);
  letter-spacing: var(--letter-spacing-hero);
  margin: 0 0 56px;
  line-height: 1;
}

/* =========================================================
   HERO ACTIONS / BUTTONS
   ========================================================= */

.hero-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  height: 48px;

  font-size: var(--font-size-button);
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
  text-decoration: none;

  transition: all 0.25s ease;
}

/* OUTLINE STYLE — Fear of God vibe */
.btn-outline {
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-text-main);
}

/* =========================================================
   RESPONSIVE EXTENSION (NON-DESTRUCTIVE)
   ========================================================= */

/* MOBILE ELEMENTS HIDDEN BY DEFAULT (DESKTOP) */
.nav-mobile-left,
.nav-mobile-right {
  display: none;
}

/* HAMBURGER */
.hamburger {
  background: none;
  border: none;
  padding: 0;
  width: 20px;
  height: 8px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 1px;
  width: 100%;
  background: var(--color-text-main);
  display: block;
}

/* ICON BUTTON */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.icon-btn:hover {
  opacity: 1;
}

/* =========================================================
   MOBILE MODE
   ========================================================= */

@media (max-width: 1200px) {

  /* sembunyikan nav desktop */
  .nav-left,
  .nav-right {
    display: none;
  }

  /* munculkan nav mobile */
  .nav-mobile-left,
  .nav-mobile-right {
    display: flex;
    gap: 18px;
  }

  .nav-mobile-left {
    justify-self: start;
  }

  .nav-mobile-right {
    justify-self: end;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    min-width: 220px;
  }
}
