/* ================= HEADER / NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(6px);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    min-height: 64px;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 0.6px;
  }  
  
  .logo img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
  }
  
  @media (max-width: 768px) {
    .logo img {
      max-height: 32px;
    }
  }  

/* ================= HERO ================= */
.hero-backdrop {
    position: relative;
    min-height: 80vh;
    background: url("totem-signage.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 80px;
    color: #ffffff;
  }   
  
  /* overlay gelap */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(10,15,25,0.92),
      rgba(10,15,25,0.75),
      rgba(10,15,25,0.6)
    );
  }  

  .hero {
    position: relative;
    max-width: 900px;
    text-align: center;
    z-index: 2;
  }  
  
  @media (max-width: 768px) {
    .hero {
      margin-left: 0;
    }
  }  
  
  /* badge */
  .badge {
    display: inline-block;
    background: #22c55e;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 16px;
  }  
  
  /* heading */
  .hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0,0,0,0.85);
  }  
  
  .hero h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 18px;
    color: #e5e7eb;
    text-shadow: 0 4px 16px rgba(0,0,0,0.8);
  }  
  
  /* paragraph */
  .hero p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 14px;
    color: #f3f4f6;
    text-shadow: 0 3px 12px rgba(0,0,0,0.8);
  }  
  
  /* link SEO */
  .hero-links a {
    color: #22c55e;
    font-weight: 600;
    text-decoration: none;
  }
  
  .hero-links a:hover {
    text-decoration: underline;
  }
  
  /* tombol */
  .hero-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }  
  
  .btn-outline {
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
  
  .btn-outline:hover {
    background: #22c55e;
    color: #ffffff;
  }
  
  /* responsive */
  @media (max-width: 768px) {
    .hero-backdrop {
      min-height: auto;
      padding: 120px 16px 60px;
    }
  
    .hero h1 {
      font-size: 30px;
    }
  
    .hero h2 {
      font-size: 16px;
    }
  }     
  
  /* MENU */
  .menu {
    display: flex;
    gap: 18px;
  }
  
  .menu a {
    position: relative;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.3s ease;
  }  
  
  .menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
  }
  
  .menu a.active {
    background: #22c55e;
    color: #ffffff;
    font-weight: 600;
  }
  
  .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: 0.3s ease;
  }
  
  .menu a:hover::after {
    width: 100%;
  }  
  
  /* BUTTON WA */
  .btn-wa {
    background: #22c55e;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
  }
  
  .btn-wa:hover {
    background: #16a34a;
    transform: translateY(-1px);
  }
  
  /* ================= GALERI HURUF TIMBUL ================= */
.gallery-section {
    padding: 60px 20px;
    background: #f9fafb;
  }
  
  .gallery-section h2 {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .gallery-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .gallery-grid figure {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .gallery-grid figure:hover {
    transform: translateY(-5px);
  }
  
  .gallery-grid img {
    width: 100%;
    aspect-ratio: 32 / 15;
    object-fit: cover;
    display: block;
  }  
  
  /* CAPTION */
.gallery-grid figcaption {
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #111827;
    line-height: 1.4;
  }

  .gallery-grid figure img {
    transition: transform 0.4s ease;
  }
  
  .gallery-grid figure:hover img {
    transform: scale(1.05);
  }

  .gallery-grid figure {
    border-top: 4px solid #22c55e;
  }  

  @media (max-width: 768px) {

    /* navbar */
    .nav-container {
      padding: 12px 16px;
    }
  
    .logo img {
      max-height: 38px;
    }
  
    /* menu tetap ada tapi rapi */
    .menu {
      gap: 10px;
    }
  
    .menu a {
      font-size: 12px;
      padding: 5px 6px;
    }
  
    /* hero */
    .hero-backdrop {
      padding: 120px 16px 60px;
      text-align: center;
    }
  
    .hero h1 {
      font-size: 30px;
    }
  
    .hero h2 {
      font-size: 16px;
    }
  
    .hero p {
      font-size: 14px;
    }
  
    /* tombol */
    .hero-buttons {
      justify-content: center;
    }
  
    /* WhatsApp floating button */
    .btn-wa {
      position: fixed;
      bottom: 18px;
      right: 18px;
      padding: 10px 14px;
      font-size: 13px;
      border-radius: 999px;
      z-index: 1000;
      box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    }
  }

  /* ================= CTA ================= */
.cta {
    text-align: center;
    padding: 40px 20px;
  }
  
  /* ================= FOOTER ================= */
  .footer {
    background: #0a0f19;
    color: #e5e7eb;
    text-align: center;
    padding: 20px 16px;
    font-size: 14px;
  }
  
  .footer p {
    margin: 0;
  }
  
  @media (max-width: 768px) {
    .navbar {
      position: relative !important;
    }  
  }

  @media (max-width: 768px) {
    .navbar .menu {
      display: none !important;
    }  
  }
  
  @media (max-width: 768px) {
    .nav-container .btn-wa {
      display: none !important;
    }  
  }

  /* ================= MOBILE FIX FINAL ================= */
@media (max-width: 768px) {

  .navbar {
    position: relative !important;
  }

  .navbar .menu {
    display: none !important;
  }

  .nav-container .btn-wa {
    display: none !important;
  }

  .hero-backdrop {
    padding-top: 40px !important;
    min-height: auto;
  }

  .badge {
    font-size: 22px;
    padding: 6px 14px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero p {
    font-size: 14px;
  }
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-grid img {
  cursor: zoom-in;
}
