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

body {
    background: #000;
    font-family: "Segoe UI", sans-serif;
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container-utama {
  scroll-snap-type: y mandatory;
}

.slide-1,
.slide-2 {
  scroll-snap-align: start;
}

.slide {
  perspective: 1000px;
}

.slide img {
  transition: transform 0.2s ease, filter 0.2s ease;
}


@font-face{
  font-family: "space-age";
  src: url(../font/space-age.ttf);
  font-weight: 700;
  font-style: normal;
}

/* NAVBAR */
.navbar {
  width: 100%;
  height: 4vw;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: #050b1e;
  position: fixed;
  z-index: 1001;
}

.logo img {
  width: 3vw;
  min-width: 40px;
}

.nav {
  width: 50%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 5vw;
}

.nav-link {
  color: #CEE0F4;
  text-decoration: none;
  font-size: 1vw;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5vw;
  left: 0;
  width: 100%;
  height: 2px;
  background: #315381;
}

.bahasa {
  display: flex;
  gap: 0.5vw;
  align-items: center;
}

.lang {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.active-lang {
  color: #315381;
}

.line {
  width: 1px;
  height: 1vw;
  background: rgba(255,255,255,0.5);
}



.slide-1 {
    height: 200vh;
    position: relative;
}

.parallax-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-bg { z-index: 1; }
.layer-3  { z-index: 2; }
.layer-text { z-index: 3; }
.layer-2  { z-index: 4; }
.layer-1  { z-index: 5; }

.layer-text h1 {
    font-size: 10vw;
    font-family: "space-age";
    letter-spacing: 0.3em;
    color: white;
    text-shadow: 0 0 40px rgba(255,255,255,0.4);
    transform: translate(0, -3vw);
}

.slide-2 {
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
}

.slide-1 {
    height: 100vh;
    background: #050b1e;
    overflow: hidden;
}

.parallax-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* INTRO SCREEN */
.intro-overlay {
    position: absolute;
    inset: 0;
    background: #050b1e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.intro-title {
    font-size: 5vw;
    font-family: "space-age";
    color: #cee0f4;
    letter-spacing: 0.2em;
}

/* SCROLL ICON */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #859fc0;
    font-size: 14px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #859fc0;
    border-radius: 12px;
    position: relative;
    margin-bottom: 8px;
}

.mouse::after {
    content: "";
    width: 4px;
    height: 6px;
    background: #859fc0;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.5s infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* SEMUA LAYER AWAL DISEMBUNYIKAN */
.parallax-layer {
    opacity: 0;
}
.parallax-layer {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DEPTH ORDER */
.layer-bg { z-index: 1; }
.layer-3 { z-index: 3; }
.layer-2 { z-index: 5; }
.layer-1 { z-index: 7; }


/* =========================== section  2 ========================== */

.slide-2 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* BACKGROUND */
.industry-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease, transform 1s ease;
  z-index: 0;
}

.konten-tengah{
 width: 100%;
 height: auto;
 gap: 15vw;
 display: flex;
 flex-direction; row;
}
.industry-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* CONTENT */
.industry-content {
  position: relative;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  z-index: 5;
}

.subtitle {
  font-size: 1vw;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

#industry-title {
  font-size: 3vw;
  margin: 20px 0;
  font-family: "space-age";
}

#industry-desc {
  opacity: 0.8;
  line-height: 1.6;
}

/* SLIDER */
.slider-wrapper {
  position: relative;
  right: 0vw;
  top: 0%;
  width: 60%;
  height: 15vw;
  transform: translate(0vw, 0vw);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}

.slider-viewport {
  width: calc(3 * 160px + 2 * 20px);
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}

.slide {
  width: 160px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;

  opacity: 0.25;
  transform: scale(0.88) translateY(10px);
  filter: blur(1px);

  transition:
    transform 0.45s cubic-bezier(.4,0,.2,1),
    opacity 0.45s ease,
    filter 0.45s ease,
    box-shadow 0.45s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1.15) translateY(0);
  filter: blur(0);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  z-index: 3;
}

/* Hover hanya memperkuat */
.slide.active:hover {
  transform: scale(1.18);
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ARROW */
.arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
}

.arrow:hover {
  background: rgba(255,255,255,0.15);
}

.slide-2 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.industry-bg {
  transform: scale(1.1);
  will-change: transform;
}

.parallax-left,
.parallax-right {
  will-change: transform, opacity;
}

.slide {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* ===== POPUP MODAL ===== */
.industry-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.industry-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #111;
  padding: 32px;
  border-radius: 16px;
  max-width: 500px;
  color: #fff;
  transform: scale(0.85);
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
}

.read-more {
  margin-top: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
}

.read-more:hover {
  background: rgba(255,255,255,0.15);
}

/* =====================
   SWITCH BUTTON
===================== */
.slide-switch {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

.switch-btn {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  letter-spacing: 0.2em;
  cursor: pointer;
  padding-bottom: 6px;
  opacity: 0.6;
  position: relative;
}

.switch-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

.switch-btn.active {
  opacity: 1;
}

.switch-btn.active::after {
  width: 100%;
}

.industry-modal {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 999;
}

.industry-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(20,20,20,0.85);
  padding: 40px;
  max-width: 520px;
  color: white;
  border-radius: 18px;
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: 0.4s ease;
}

.industry-modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 16px;
  cursor: pointer;
  font-size: 24px;
  opacity: 0.6;
}

.close-modal:hover {
  opacity: 1;
}


/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .slide-switch {
    bottom: 24px;
    gap: 14px;
  }
}

@media (max-width: 768px) {

  .industry-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 120px;
  }

  .industry-content {
    max-width: 100%;
  }

  #industry-title {
    font-size: 6vw;
  }

  .slider-wrapper {
    justify-content: center;
    right: 0vw;
    width: 100%;
    gap: 55px;
    padding: 5vw;
  }

  .slider-viewport {
    width: calc(3 * 140px + 2 * 16px);
  }

  .konten-tengah{
   flex-direction: column;
 }

  .slide {
    width: 140px;
    height: 200px;
    display: none;
  }
}

.slide {
  opacity: 1 !important;
  transform: scale(1);
}


.hamburger {
  position: relative;
  right: 4vw;
  top: 2.5%;
  transform: translateY(-0%);
  cursor: pointer;
  z-index: 1002;
  display: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #CEE0F4;
  margin: 5px 0;
}


.mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #050b1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 90px 0 40px;
  transform: translateY(-100%);
  transition: 0.4s ease;
  z-index: 1000;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  color: #CEE0F4;
  text-decoration: none;
  font-size: 18px;
}

.mobile-lang {
  display: flex;
  gap: 20px;
}

.mobile-lang .lang {
  color: rgba(255,255,255,0.5);
}

.mobile-lang .active-lang {
  color: #315381;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .side-nav {
    align-items: center;
    justify-content: center;
  }
}

/* ===============================
   FOOTER TOGGLE BUTTON
================================ */
.footer-toggle {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  width: 2.8vw;
  height: 2.8vw;
  border-radius: 50%;
  border: none;
  background: rgba(5,11,30,.65);
  color: #315381;
  font-size: 1.3vw;
  cursor: pointer;
  z-index: 99;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 20px rgba(0,200,255,.35),
    inset 0 0 10px rgba(255,255,255,.05);
  transition: .35s ease;
}

.footer-toggle:hover {
  transform: scale(1.08);
}

/* ===============================
   FOOTER SLIDE
================================ */
.footer-slide {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28%;
  background: rgba(5,11,30,.75);
  backdrop-filter: blur(14px);
  padding: 3vw 4vw;
  transform: translateY(110%);
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  z-index: 98;
  pointer-events: none;
}

.footer-slide.active {
  transform: translateY(0);
  pointer-events: auto;
}

/* Neon line */
.footer-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, #315381, transparent);
  box-shadow: 0 0 15px rgba(0,200,255,.8);
}

/* FOOTER TOGGLE – AI CONTROL */
.footer-toggle {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  width: 2.8vw;
  height: 2.8vw;
  border-radius: 50%;
  border: none;
  background: rgba(5,11,30,.65);
  color: #315381;
  font-size: 1.3vw;
  cursor: pointer;
  z-index: 99;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 20px rgba(0,200,255,.35),
    inset 0 0 10px rgba(255,255,255,.05);
  transition: .35s ease;
}

.footer-toggle:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 30px rgba(0,200,255,.6),
    inset 0 0 15px rgba(255,255,255,.08);
}

.footer-slide {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 28%;
  background: rgba(5,11,30,.75);
  backdrop-filter: blur(14px);
  z-index: 98;
  padding: 3vw 4vw;
  transform: translateY(110%);
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  box-shadow:
    0 -20px 60px rgba(0,200,255,.25);
}

/* Neon top line */
.footer-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #315381,
    transparent
  );
  box-shadow: 0 0 15px rgba(0,200,255,.8);
}

.footer-slide {
  pointer-events: none;
}

/* ===== SCAN LINE EFFECT ===== */
.footer-slide::after {
  content: "";
  position: absolute;
  left: 0;
  top: -30%;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0,200,255,.15),
    transparent
  );
  animation: scanLine 6s linear infinite;
  pointer-events: none;
}

@keyframes scanLine {
  from { top: -30%; }
  to   { top: 100%; }
}


.footer-slide.active {
  pointer-events: auto;
  transform: translateY(0);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4vw;
  color: rgba(206,224,244,.85);
}

/* Column */
.footer-col h4 {
  font-size: 0.95vw;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.8vw;
  color: #315381;
}

.footer-col p {
  font-size: 0.8vw;
  line-height: 1.7;
  opacity: .75;
}

.footer-col a {
  font-size: 0.8vw;
  color: #315381;
  text-decoration: none;
  position: relative;
}

/* subtle underline animation */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #315381;
  transition: .3s ease;
}

.footer-col a:hover::after {
  width: 100%;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .footer-slide {
    height: 100vh;
    padding: 10vw 6vw;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 8vw;
    margin-top: 10vw;
  }

  .footer-col h4 {
    font-size: 4vw;
  }

  .footer-col p,
  .footer-col a {
    font-size: 3.5vw;
  }

  .footer-toggle {
    width: 12vw;
    height: 12vw;
    font-size: 6vw;
  }
}
