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

img {
  max-width: 100%;
  display: block;
}

/* ========================= BODY ========================= */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #020617;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================= DECOR ========================= */
body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 260px;
  z-index: 1;

  background: linear-gradient(
      to top,
      rgba(2,6,23,0.3),
      rgba(2,6,23,0.9)
    ),
    url('./assets/images/gedung-sate.jpg') center/cover no-repeat;

  opacity: 0.6;
  pointer-events: none;
}

/* ========================= LAYER FIX ========================= */
header,
.container,
.section,
footer {
  position: relative;
  z-index: 2;
}

/* ========================= CONTAINER ========================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ========================= TOPBAR ========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO KECIL */
.topbar .logo {
  width: 50px;
  aspect-ratio: 1/1;

  border-radius: 50%;
  object-fit: contain;

  padding: 5px;
  background: #020617;

  border: 2px solid #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

/* NAV */
.topbar nav {
  display: flex;
  gap: 15px;
}

.topbar nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}

.topbar nav a:hover {
  color: #e2e8f0;
}

/* ========================= HERO ========================= */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 10px;

  color: #22d3ee;
  text-shadow: 
    0 0 6px #22d3ee,
    0 0 12px #22d3ee;
}

.hero-sub {
  font-size: 16px;
}

.hero-sub span {
  color: #38bdf8;
  font-weight: 500;
}

.hero-desc {
  font-size: 14px;
  color: #94a3b8;
}

/* ========================= SECTION ========================= */
.section {
  padding: 50px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 22px;
}

/* ========================= TEXT ========================= */
p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

.quote {
  border-left: 3px solid #38bdf8;
  padding-left: 15px;
  margin: 30px 0;
  color: #94a3b8;
  font-style: italic;
}

/* ========================= GRID ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* ========================= CARD ========================= */
.card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  padding: 20px;
}

/* ========================= BUTTON ========================= */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 8px;

  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);

  color: #e2e8f0;
  text-decoration: none;
}

.btn:hover {
  background: #1e293b;
}

/* ========================= FOOTER ========================= */
footer {
  text-align: center;
  padding: 25px;
  margin-top: 40px;
  color: #64748b;
}

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

  .topbar-content {
    flex-direction: row;
  }

  .topbar .logo {
    width: 45px;
  }

  .hero h1 {
    font-size: 22px;
  }
}

/* =========================
   LOGO SCROLL FINAL FIX
========================= */

.logo-section {
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 60px;

  animation: scrollLogo 20s linear infinite;
}

/* FIX SIZE */
.logo-track img {
  height: 80px;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0;
}

/* ANIMASI */
@keyframes scrollLogo {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   MAP
========================= */

.map-wrapper {
  width: 100%;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
}

/* =========================
   Video Wrapper
========================= */


.video-wrapper {
  width: 100%;
  display: flex;
  justify-content: center; /* center video */
}

.video-wrapper video {
  width: 70%;
  max-width: 600px;    /* biar nggak kegedean di layar besar */
  height: auto;

  object-fit: cover;
  margin-top: 20px;

  border-radius: 16px;  /* bonus biar lebih clean */
  box-shadow: 0 0 20px rgba(0,255,255,0.2); /* glow dikit */
}
