/* Shared styles for every page. Edit here only for site-wide changes. */

:root {
  --ae-navy-950: #05080d;
  --ae-navy-900: #0a0f18;
  --ae-navy-800: #111a2b;
  --ae-navy-700: #1a2740;
  --ae-navy-border: #243352;
  --ae-black: #0a0a0a;
  --ae-gold: #f3db23;
  --ae-gold-light: #ffe873;
  --ae-gold-dark: #c9a600;
  --ae-text-muted: #9aa5b8;
  --header-height: 128px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--ae-black);
  color: #fff;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.ae-navbar {
  position: sticky;
  top: 0;
  min-height: var(--header-height);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 3vw, 48px);
  background: var(--ae-navy-950);
  border-bottom: 2px solid var(--ae-gold);
}

.ae-logo {
  display: flex;
  align-items: center;
  height: 100px;
  flex-shrink: 0;
}

.ae-logo img { height: 100%; width: auto; }

.ae-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.ae-nav-links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

.ae-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--ae-gold);
  transition: width .25s ease;
}

.ae-nav-links a:hover::after,
.ae-nav-links a.active::after { width: 100%; }

.ae-nav-links a.active { color: var(--ae-gold); }

.ae-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 60;
  margin-left: auto;
}

.ae-burger span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s ease;
}

@media (max-width: 1024px) {
  /* Bar atas dirampingkan khusus HP/tablet — desktop tidak tersentuh */
  .ae-navbar {
    min-height: 72px;
    padding: 10px 20px;
  }

  .ae-logo { height: 56px; }

  .ae-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ae-navy-900);
    border-left: 1px solid var(--ae-navy-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 110px 40px 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .ae-nav-links a { font-size: 1.05rem; }

  .ae-nav-links.is-open { transform: translateX(0); }
  .ae-burger { display: flex; }

  /* Biar judul/tombol nggak ketutup bar saat scroll di HP */
  .ae-section,
  .cs-section {
    scroll-margin-top: 84px;
  }

  /* Hero boleh melar mengikuti isi di HP — tombol nggak kepotong lagi */
  body .ae-hero {
    height: auto;
    min-height: 92svh;
  }

  /* Hero lebih ramping di HP (menimpa padding tiap halaman, khusus mobile) */
  body .ae-hero-content {
    padding-top: clamp(48px, 7vh, 84px);
  }
}

.ae-footer {
  position: relative;
  background: var(--ae-gold);
  color: #151206;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  padding: 16px 24px;
}

.ae-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ae-navy-900);
  border: 1px solid var(--ae-gold-dark);
  color: var(--ae-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 80;
}

.ae-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ae-back-to-top:hover { background: var(--ae-gold); color: #151206; }

.ae-coming-soon {
  height: clamp(560px, 72svh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(140px, 15vh, 200px) clamp(24px, 8vw, 120px) clamp(80px, 10vh, 140px);
  overflow: hidden;
}

.ae-coming-soon h1 {
  color: var(--ae-gold);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  line-height: 1.25;
  margin-bottom: 22px;
}

.ae-coming-soon p { color: var(--ae-text-muted); }
