* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  background: linear-gradient(135deg, #6c6fa3, #8a7fb5);
  color: white;
}

.hero {
  display: flex;
  height: 100vh;
  padding: 60px;

  background: linear-gradient(
    to bottom right,
    #1a1f4d,
    #6a5acd
  );

  color: white;
}

/* LEFT TEXT */
.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-left h1 {
  font-size: 64px;
  font-weight: 700; /* penting */
  line-height: 1.1;
  letter-spacing: -1px;
}

/* RIGHT VIDEO */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slider {
  display: flex;
  gap: 20px;
  overflow: hidden;
}

/* animasi geser */
.video-slider.shift {
  transform: translateX(-180px); /* sesuaikan dengan width + gap */
  transition: transform 0.5s ease;
}

/* CARD VIDEO */
.video-card {
  width: 160px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.6;
  transform: scale(0.9);
  transition: all 0.4s ease;
  
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ACTIVE (video utama) */
.video-card.active {
  width: 220px;
  height: 360px;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ANIMASI keluar kiri */
.video-card.exit {
  transform: translateX(-200px) scale(0.8);
  opacity: 0;
}

.video-card {
  cursor: pointer;
}

/* =========================
   TABLET (<= 1024px)
========================= */
@media (max-width: 1024px) {
  .hero {
    padding: 40px;
    gap: 30px;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .video-card.active {
    width: 180px;
    height: 300px;
  }

  .video-card {
    width: 140px;
    height: 240px;
  }
}

/* =========================
   MOBILE (<= 768px)
========================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
  }

  .hero-left {
    text-align: center;
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-top: 80px;
  }

  .hero-right {
    margin-top: 30px;
  }

  .video-slider {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .video-card {
    position: relative; /* ⬅️ penting */
    opacity: 1;
    transform: none;
  }
}

/* =========================
   SMALL MOBILE (<= 480px)
========================= */
@media (max-width: 480px) {
  .video-slider {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .video-card {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  /* ACTIVE */
  .video-card.active {
    width: 160px;
    height: 260px;
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
    pointer-events: auto;
  }

  /* RIGHT */
  .video-card.next {
    width: 110px;
    height: 190px;
    opacity: 0.7;
    transform: translateX(120px);
    z-index: 2;
    pointer-events: auto;
  }

  /* LEFT */
  .video-card.prev {
    width: 110px;
    height: 190px;
    opacity: 0.7;
    transform: translateX(-120px);
    z-index: 2;
    pointer-events: auto;
  }
}

/* =========================
   NAVBAR
========================= */


/* NAVBAR BASE */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* DEFAULT (TRANSPARENT) */
.navbar {
  background: transparent;
}

/* TEXT DEFAULT (PUTIH) */
.navbar .logo,
.navbar a {
  color: white;
  transition: 0.3s;
}

/* SAAT SCROLL */
.navbar.scrolled {
  box-shadow: 
    0 5px 20px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* TEXT JADI HITAM */
.navbar.scrolled .logo,
.navbar.scrolled a {
  color: #ffffff;
}

/* CONTAINER */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* UNDERLINE */
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.logo img {
  height: 40px; /* ukuran default */
  width: auto;
  display: block;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }

  /* munculin hamburger */
  .hamburger {
    display: flex;
  }

  /* menu jadi dropdown */
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 12px;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);

    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  /* saat scroll → menu ikut putih */
  .navbar.scrolled .nav-menu {
    background: white;
  }

  .navbar.scrolled .nav-menu a {
    color: #111;
  }

    .logo img {
    height: 28px;
  }

}


/* =========================
   JOURNEY (TIMELINE)
========================= */

.journey {
  position: relative;
  padding: 100px 20px;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/bgjourney.jpg") center/cover no-repeat;
  z-index: -2;
    opacity: 0.3; /* 👈 ini yang ngatur transparansi gambar */

}

/* OVERLAY */
.journey::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85),
    rgba(124, 58, 237, 0.6)
  );
  z-index: -1;
}

.journey-title {
  font-size: 42px;
  margin-bottom: 60px;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #888;
  transform: translateX(-50%);
}

/* ITEM */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* CONTENT */
.timeline-content {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

/* DOT */
.timeline-dot {
  position: absolute;
  top: 30px;
  left: 100%;
  width: 14px;
  height: 14px;
  background: #7c3aed;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: 0;
}

/* HOTSPOT */
.video-hotspot {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  position: relative;
  width: 80%;
  max-width: 600px;
}

.lightbox video {
  width: 100%;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 10px !important;
  }
}

/* =========================
   PORTOFOLIO (GRID + FILTER)
========================= */

.portfolio {
  padding: 100px 20px;
  text-align: center;
  background: #0f172a;
  color: white;
}

.portfolio-title {
  font-size: 42px;
  margin-bottom: 30px;
}

/* FILTER */
.portfolio-filter {
  margin-bottom: 40px;
}

.portfolio-filter button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  cursor: pointer;
  background: #1e293b;
  color: white;
  border-radius: 20px;
}

.portfolio-filter button.active {
  background: #7c3aed;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* HOVER */
.portfolio-item:hover img {
  transform: scale(1.1);
}

/* NEGATIVE ART TOOL */
.image-wrapper {
  position: relative;
}

.overlay-tools {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.invert-btn {
  padding: 6px 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   MULTIMEDIA
========================= */

/* =========================
   MULTIMEDIA
========================= */

.multimedia {
  padding: 100px 20px;
  background: linear-gradient(to bottom right, #0f172a, #1e1b4b);
  color: white;
  text-align: center;
}

.multimedia-title {
  font-size: 42px;
  margin-bottom: 10px;
}

.multimedia-subtitle {
  opacity: 0.7;
  margin-bottom: 40px;
}

/* TABS */
.video-tabs {
  margin-bottom: 30px;
}

.video-tabs button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background: #1e293b;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.video-tabs button.active {
  background: #7c3aed;
}

/* VIDEO GROUP */
.multimedia .video-group {
  display: none;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.multimedia .video-group.active {
  display: flex;
}

/* VIDEO CARD */
.multimedia .video-card {
  width: 320px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: black;
  flex-shrink: 0;
  transition: 0.3s;
}

.multimedia .video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* HOVER */
.multimedia .video-card:hover {
  transform: scale(1.05);
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .multimedia .video-card {
    width: 260px;
    height: 150px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .multimedia .video-group.active {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  .multimedia .video-card {
    min-width: 260px;
    height: 150px;
    scroll-snap-align: center;
  }

  .multimedia .video-group::-webkit-scrollbar {
    display: none;
  }

  .multimedia .video-group {
    scroll-behavior: smooth;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .multimedia .video-card {
    flex: 0 0 90%;
    height: 160px;
  }
}

.social-proof {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: white;
}

.social-title {
  font-size: 42px;
  margin-bottom: 10px;
}

.social-subtitle {
  opacity: 0.7;
  margin-bottom: 40px;
}

/* PROFILE */
.instagram-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.instagram-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.follow-btn {
  padding: 8px 18px;
  background: #7c3aed;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  margin-left: 10px;
}

/* GRID */
.instagram-feed {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.insta-card {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

/* HOVER */
.insta-card:hover img {
  transform: scale(1.1);
}

/* TABLET */
@media (max-width: 1024px) {
  .instagram-feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .instagram-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-profile {
    flex-direction: column;
  }
}


.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 80px 20px 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.footer h3,
.footer h4 {
  color: white;
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

/* SOCIAL */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  text-decoration: none;
  color: #cbd5f5;
  transition: 0.3s;
}

.social-links a:hover {
  color: #7c3aed;
}

/* COPYRIGHT */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 13px;
  opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    align-items: center;
  }
}