html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  height: 100vh;
  position: relative;
}

section {
  scroll-snap-align: start;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 10px 20px;
  z-index: 1000;
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(0,0,0,0.8); }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { height: 40px; } /* versi akhir: lebih kecil agar konsisten */
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  display: none;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000;
}
.mobile-menu a {
  color: white;
  padding: 10px;
  text-decoration: none;
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-video, .hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}
.hero-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

/* Background Variants */
.bg-light { background: #fff; color: #000; }
.bg-dark { background: #000; color: #fff; }
.red-section { background: #dc2626; color: white; }

/* Button */
.btn-primary {
  background: #e10600;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}
.btn-red {
  background: #e60000;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-red:hover { background: #b50000; }

/* Sections */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.section-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 3rem 1rem;
}
.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.section-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Brand slider */
.brand-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.brand-slider::-webkit-scrollbar { display: none; }
.brand-item {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: center;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Overlay umum */
.overlay-dark {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Hero text */
.hero-text {
  max-width: 800px;
  margin: auto;
  color: white;
}
.hero-text .tagline {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
@media(min-width:768px){
  .hero-text .tagline { font-size: 2.4rem; }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: 1s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-up { opacity: 0; transform: translateY(40px); animation: fadeUp 1s forwards; }
.fade-up.delay-1 { animation-delay: 0.5s; }
.fade-up.delay-2 { animation-delay: 1s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
/* Responsive fix biar konten tidak kepotong di HP */
@media (max-width: 767px) {
  section {
    min-height: auto;
    height: auto;
    padding: 40px 15px;
  }
  .section-content {
    padding: 1.5rem 1rem;
    text-align: left;
  }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .hero-overlay {
    padding: 1rem;
  }
}

.contact-box {
  background: rgba(0, 0, 0, 0.6); /* hitam transparan */
  padding: 2rem;                 /* jarak dalam biar lega */
  border-radius: 10px;           /* sudut membulat */
  max-width: 700px;              /* supaya tidak kepanjangan */
  margin: 20px;                  /* jarak dengan tepi layar */
}
.contact-box h2, 
.contact-box h3, 
.contact-box p {
  margin-bottom: 1rem;
}