/* ══════════════════════════════════════════════════════════════════════════════
   LongRun LED — style.css (MAIN HOMEPAGE STYLES)
   ══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff; --text: #1a1a1a; --muted: #6b7280;
  --accent: #0057b8; --accent-dk: #004499; --accent-lt: #e8f0fb;
  --border: #e5e7eb; --card-bg: #f9fafb; --nav-h: 80px;
  --red: #c8102e; --dark-navy: #0a1628; --mid-navy: #0d2a5e;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body { background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.bg-light { background: var(--card-bg); }

/* ══ HEADER & NAV (Sama seperti sebelumnya) ══ */
header { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; }
nav { max-width: 1280px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.logo a { font-size: 24px; font-weight: 800; color: var(--dark-navy); }
.logo span { color: var(--red); }
.nav-links { display: flex; list-style: none; gap: 32px; height: 100%; }
.nav-links > li { position: relative; display: flex; align-items: center; height: 100%; }
.nav-links > li > a { font-size: 15px; font-weight: 600; color: #374151; transition: 0.2s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--accent); }

.dropdown { position: absolute; top: var(--nav-h); left: 0; background: #fff; min-width: 220px; border: 1px solid var(--border); box-shadow: 0 10px 25px rgba(0,0,0,0.08); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s; }
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 12px 20px; font-size: 14px; border-bottom: 1px solid #f3f4f6; transition: 0.2s; }
.dropdown a:hover { background: var(--accent-lt); color: var(--accent); padding-left: 24px; }

.nav-actions { display: flex; gap: 20px; align-items: center; }
.btn-contact { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; transition: 0.2s; }
.btn-contact:hover { background: var(--accent-dk); }

/* Mobile Menu */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger span { width: 25px; height: 3px; background: var(--dark-navy); transition: 0.3s; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 2000; padding: 30px 24px; display: flex; flex-direction: column; transition: right 0.4s ease; }
.mobile-menu.active { right: 0; }
.mobile-close { align-self: flex-end; background: none; border: none; font-size: 36px; color: var(--dark-navy); cursor: pointer; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.mobile-nav-links a { display: block; font-size: 18px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--dark-navy); transition: 0.2s; }
.mobile-nav-links a:hover { color: var(--accent); padding-left: 10px; }

/* ══ HERO SLIDER ══ */
.hero-slider-section { position: relative; height: 100vh; min-height: 600px; max-height: 900px; margin-top: var(--nav-h); overflow: hidden; background: var(--dark-navy); }
.slider-container { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }

.slide-content { text-align: center; color: #fff; max-width: 800px; padding: 0 24px; transform: translateY(30px); opacity: 0; transition: all 0.8s ease 0.3s; }
.slide.active .slide-content { transform: translateY(0); opacity: 1; }

.slide-badge { display: inline-block; background: var(--red); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.slide-title { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.slide-desc { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 30px; }

.btn-primary { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 10px 30px; border-radius: 15px; font-size: 16px; font-weight: 700; transition: 0.3s; }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-3px); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; z-index: 2; backdrop-filter: blur(5px); transition: 0.3s; }
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--accent); width: 30px; border-radius: 10px; }

/* ══ GENERAL SECTIONS ══ */
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-subtitle { font-size: 16px; color: var(--red); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--dark-navy); margin-bottom: 15px; }

/* ══ ABOUT SNIPPET ══ */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: 0; right: 0; background: var(--accent); color: #fff; padding: 30px; border-radius: 12px 0 0 0; text-align: center; }
.experience-badge h3 { font-size: 42px; font-weight: 800; line-height: 1; }
.feature-list { list-style: none; margin: 25px 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--dark-navy); }
.feature-list i { color: var(--accent); font-size: 20px; }
.btn-secondary { display: inline-block; padding: 14px 28px; border: 2px solid var(--dark-navy); color: var(--dark-navy); font-weight: 700; border-radius: 8px; transition: 0.3s; }
.btn-secondary:hover { background: var(--dark-navy); color: #fff; }

/* ══ PRODUCTS ══ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.prod-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; cursor: pointer; }
.prod-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--accent); }
.prod-img { overflow: hidden; aspect-ratio: 4/3; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-info { padding: 25px; }
.prod-info h3 { font-size: 22px; color: var(--dark-navy); margin-bottom: 10px; }
.prod-info p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.prod-link { font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.prod-card:hover .prod-link { gap: 12px; color: var(--red); }


/* ══ CTA STRIP ══ */
.cta-strip { background: linear-gradient(135deg, var(--dark-navy), var(--mid-navy)); padding: 80px 0; color: #fff; text-align: center; }
.cta-inner h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 30px; }
.btn-cta-white { display: inline-block; background: #fff; color: var(--accent); padding: 16px 36px; border-radius: 8px; font-size: 16px; font-weight: 700; transition: 0.3s; }
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* ══ FOOTER ══ */
footer { background: var(--dark-navy); }

/* ══ ANIMASI SCROLL & RESPONSIVE ══ */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .grid-2-cols { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .slide-title { font-size: 36px; }
  .product-grid, .app-grid { grid-template-columns: 1fr; }
  .hero-slider-section { height: 80vh; min-height: 500px; }
}

/* ═══════════════════════════════════════
   HERO VIDEO SECTION
   ═══════════════════════════════════════ */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;
    transform: translate(-50%, -50%);

    z-index: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0)
    );

    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 900px;

    padding: 20px;

    color: #fff;
    text-align: center;

    /* Menggeser seluruh content sedikit ke bawah */
    transform: translateY(80px);
}

/* Hero Button Container */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 100px;
}

/* Button */
.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: var(--accent);
    color: #fff;

    padding: 12px 30px;

    border-radius: 15px;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover */
.btn-primary:hover {
    background: var(--accent-dk);
    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ══ PRODUCTS SLIDER ══ */
.product-grid { 
  display: flex; 
  gap: 30px; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  scroll-behavior: smooth;
  padding: 15px 5px 25px 5px; 
  -webkit-overflow-scrolling: touch;

  /* HILANGKAN SCROLLBAR */
  -ms-overflow-style: none;  /* IE dan Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hilangkan scrollbar di Chrome, Safari, dan Opera */
.product-grid::-webkit-scrollbar {
  display: none;
}

.prod-card { 
  flex: 0 0 calc(33.333% - 20px); 
  min-width: 300px; 
  scroll-snap-align: start; 
  background: #fff; 
  border-radius: 12px; 
  overflow: hidden; 
  border: 1px solid var(--border); 
  transition: 0.3s; 
  cursor: pointer; 
}

.prod-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
  border-color: var(--accent); 
}

.prod-img { 
  overflow: hidden; 
  aspect-ratio: 4/3; 
}

.prod-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: 0.5s; 
}

.prod-card:hover .prod-img img { 
  transform: scale(1.05); 
}

.prod-info { 
  padding: 25px; 
}

.prod-info h3 { 
  font-size: 22px; 
  color: var(--dark-navy); 
  margin-bottom: 10px; 
}

.prod-info p { 
  color: var(--muted); 
  margin-bottom: 20px; 
  font-size: 15px; 
}

.prod-link { 
  font-weight: 700; 
  color: var(--accent); 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  transition: 0.3s; 
}

.prod-card:hover .prod-link { 
  gap: 12px; 
  color: var(--red); 
}

/* Responsive */
@media (max-width: 992px) {
  .prod-card {
    flex: 0 0 calc(50% - 15px); 
  }
}

@media (max-width: 576px) {
  .prod-card {
    flex: 0 0 100%; 
  }
}

/* ══ PRODUCTS SLIDER ══ */
.product-grid { 
  display: flex; 
  gap: 30px; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  scroll-behavior: smooth;
  padding: 15px 5px 25px 5px; 
  -webkit-overflow-scrolling: touch;

  /* HILANGKAN SCROLLBAR */
  -ms-overflow-style: none;  /* IE dan Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hilangkan scrollbar di Chrome, Safari, dan Opera */
.product-grid::-webkit-scrollbar {
  display: none;
}

.prod-card { 
  flex: 0 0 calc(33.333% - 20px); 
  min-width: 300px; 
  scroll-snap-align: start; 
  background: #fff; 
  border-radius: 12px; 
  overflow: hidden; 
  border: 1px solid var(--border); 
  transition: 0.3s; 
  cursor: pointer; 
}

.prod-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
  border-color: var(--accent); 
}

.prod-img { 
  overflow: hidden; 
  aspect-ratio: 4/3; 
}

.prod-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: 0.5s; 
}

.prod-card:hover .prod-img img { 
  transform: scale(1.05); 
}

.prod-info { 
  padding: 25px; 
}

.prod-info h3 { 
  font-size: 22px; 
  color: var(--dark-navy); 
  margin-bottom: 10px; 
}

.prod-info p { 
  color: var(--muted); 
  margin-bottom: 20px; 
  font-size: 15px; 
}

.prod-link { 
  font-weight: 700; 
  color: var(--accent); 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  transition: 0.3s; 
}

.prod-card:hover .prod-link { 
  gap: 12px; 
  color: var(--red); 
}

/* Responsive */
@media (max-width: 992px) {
  .prod-card {
    flex: 0 0 calc(50% - 15px); 
  }
}

@media (max-width: 576px) {
  .prod-card {
    flex: 0 0 100%; 
  }
}

/* ══ MEDIA GALLERY (Images + Videos, auto-sliding) ══ */
.home-gallery { overflow: hidden; }
.home-gallery .section-header p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

.gallery-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-wrapper + .gallery-wrapper { margin-top: 4px; }

.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  user-select: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; scroll-behavior: auto; }
.gallery-track.dragging .gallery-item { pointer-events: none; }

.gallery-item {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--dark-navy);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  pointer-events: none;
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.08); }

.gallery-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--dark-navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  z-index: 2;
}
.gallery-caption span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Video-specific styling (autoplay, no play button needed) */
.gallery-item.is-video { background: #000; }

/* Responsive */
@media (max-width: 992px) {
  .gallery-item { flex: 0 0 190px; }
}
@media (max-width: 768px) {
  .gallery-wrapper { padding: 0 12px; }
  .gallery-track { gap: 8px; }
  .gallery-item { flex: 0 0 160px; }
}
@media (max-width: 480px) {
  .gallery-track { gap: 6px; }
  .gallery-item { flex: 0 0 68vw; }
}