/* --- RESET & BASIC --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f6f7;
  color: #2c3e50;
  line-height: 1.6;
}

/* --- NAVBAR ELEGAN & RESPONSIF --- */
.navbar {
  background-color: #111827; /* Hitam arang modern */
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid #f59e0b; /* Aksen emas tipis */
}

/* Logo Brand dengan Gambar */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  height: 40px; /* Ukuran tinggi logo, bisa disesuaikan */
  width: auto;
  object-fit: contain;
}

.navbar-brand .brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.navbar-brand .brand-text span {
  color: #f59e0b; /* Warna emas */
}

/* Menu Navigasi */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f59e0b;
}

/* Tombol Login / Aksi di Navbar */
.btn-nav-login {
  background-color: #f59e0b;
  color: #111827 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.btn-nav-login:hover {
  background-color: #d97706;
  transform: translateY(-1px);
}

/* Tombol Hamburger untuk HP (Responsive) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Styling Menu Navigasi dengan Efek Hover & Ikon */
.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative; /* Wajib ada untuk posisi garis bawah */
  padding-bottom: 5px; /* Jarak antara teks dan garis */
  display: flex;
  align-items: center;
  gap: 8px; /* Jarak antara ikon dan teks menu */
  transition: color 0.3s ease;
}

/* Warna ikon default */
.nav-links a i {
  color: #9ca3af;
  transition: color 0.3s ease;
}

/* Efek Garis Bawah Animasi saat Hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Mulai dari 0 (tidak terlihat) */
  height: 2px;
  background-color: #f59e0b; /* Warna garis emas */
  transition: width 0.3s ease-in-out; /* Animasi melebar */
}

/* Ketika kursor menyentuh menu (Hover) */
.nav-links a:hover {
  color: #f59e0b;
}

.nav-links a:hover i {
  color: #f59e0b; /* Ikon ikut berubah warna jadi emas */
}

.nav-links a:hover::after {
  width: 100%; /* Garis melebar penuh ke kanan */
}

/* Pengecualian khusus untuk tombol login agar tidak kena efek garis bawah */
.nav-links a.btn-nav-login::after {
  display: none; /* Tombol login bebas dari garis bawah */
}

/* --- RESPONSIVE MEDIA QUERY UNTUK HP --- */
/* --- RESPONSIVE MEDIA QUERY & SIDEBAR MENU MOBILE --- */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  /* Kotak menu berubah menjadi panel geser dari samping */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Sembunyikan sepenuhnya di luar layar sebelah kanan */
    width: 220px; /* Lebar panel menu samping */
    height: auto; /* Full tinggi layar */
    background-color: #111827;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px 30px; /* Ruang atas untuk jarak */
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transition: right 0.4s ease-in-out; /* Animasi geser yang halus */
    z-index: 999;
    border-left: 2px solid #f59e0b;
  }

  /* Ketika kelas 'active' ditambahkan via JS, panel bergeser masuk ke layar */
  .nav-links.active {
    right: 0;
  }

  /* Penyesuaian tata letak menu di dalam panel samping */
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #1f2937;
  }

  /* Tombol login di dalam panel agar pas */
  .nav-links a.btn-nav-login {
    margin-top: 15px;
    text-align: center;
    justify-content: center;
  }

  /* Posisi ikon hamburger tombol supaya tetap di atas dan mudah diklik */
  .menu-toggle {
    display: flex;
    z-index: 1001; /* Pastikan berada di atas panel samping */
  }
}

/* --- HERO SECTION RATA KIRI DENGAN BACKGROUND GAMBAR --- */
.hero-section {
  /* Background gambar dengan efek gelap transparan di atasnya agar teks tetap sangat terbaca */
  background:
    linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.75)),
    url('../img/suasanabarber.jpeg') center/cover no-repeat;

  /* Background diam/terkunci saat halaman di-scroll */
  background-attachment: fixed;

  color: #ffffff;
  padding: 100px 40px;
  min-height: 80vh; /* Tinggi yang pas di layar */
  display: flex;
  align-items: center; /* Vertikal di tengah */
  position: relative;
  z-index: 2;
  /* Garis kuning bawah sudah dihapus sesuai permintaan */
}

.hero-content {
  max-width: 750px;
  margin: 0; /* Rata kiri sepenuhnya */
  text-align: left; /* Teks posisi di kiri */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* background-color: rgba(245, 158, 11, 0.2); */
  color: #f59e0b;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 25px;
  /* border-left: 3px solid #f59e0b; */
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Judul besar dengan gaya huruf tebal dan berkarakter */
.hero-section h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* Style khusus untuk huruf besar di awal teks */
.hero-section h1 .big-initial {
  font-size: 64px; /* Ukuran lebih besar menonjol */
  color: #f59e0b;
  font-family: serif; /* Sentuhan elegan klasik */
  margin-right: -2px;
}

.hero-section h1 span.highlight {
  color: #f59e0b;
}

/* --- HERO DESCRIPTION DENGAN EFEK KLIK TEKS --- */
.hero-section p {
  font-size: 17px;
  color: #d1d5db;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 600px;
  cursor: pointer; /* Menandakan teks bisa diklik */
  position: relative;
  transition: color 0.3s ease;
}

/* Efek sedikit berubah warna saat kursor menyentuh teks */
.hero-section p:hover {
  color: #f3f4f6;
}

/* Bagian teks tambahan yang tersembunyi secara default */
.more-text {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Kelas saat teks terbuka */
.more-text.show {
  display: inline;
  opacity: 1;
}

/* Indikator petunjuk kecil interaktif di ujung teks */
.read-more-hint {
  color: #f59e0b;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-left: 5px;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.hero-section p:hover .read-more-hint {
  text-decoration: underline;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start; /* Tombol rata kiri */
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: #f59e0b;
  color: #111827;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-hero-primary:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}

/* Styling Tombol Sekunder dengan Ikon Play Tipis */
.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #4b5563;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

/* Mengatur ikon play agar terlihat agak tipis / redup (tidak terlalu terang) */
.btn-hero-secondary i.fa-play {
  color: rgba(255, 255, 255, 0.4); /* Transparan/tipis */
  font-size: 13px;
  transition: color 0.3s ease;
}

/* Ketika kursor menyentuh tombol, ikon play dan border jadi ikut bersinar emas */
.btn-hero-secondary:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.05);
}

.btn-hero-secondary:hover i.fa-play {
  color: #f59e0b;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
    text-align: left; /* Tetap rata kiri di HP */
  }
  .hero-section h1 {
    font-size: 34px;
  }
  .hero-section h1 .big-initial {
    font-size: 46px;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
}

/* --- MODAL POPUP VIDEO YOUTUBE --- */
.video-modal {
  display: none; /* Sembunyikan secara default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Latar belakang gelap transparan */
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 800px; /* Lebar maksimal pemutar video */
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 2px solid #f59e0b;
}

/* Kotak responsif untuk iframe YouTube */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Rasio aspek standar YouTube (16:9) */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tombol Tutup (X) */
.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  background: #ef4444;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.close-modal:hover {
  background: #dc2626;
}

/* --- SECTION HEADER LAYANAN (DENGAN GARIS KECIL & RATA KIRI DI HP) --- */
.services-section {
  padding: 50px 20px;
  background-color: #0b0f19;
  text-align: center; /* Default di Laptop tetap di tengah */
  /* border-bottom: 2px solid #1f2937; */
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
}

/* Sub-judul dengan garis kecil di depannya */
.section-header .sub-title {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Garis kecil pemanis sebelum teks sub-judul */
.section-header .sub-title::before {
  content: '';
  width: 25px;
  height: 3px;
  background-color: #f59e0b;
  border-radius: 2px;
}

/* Judul utama dengan gaya lebih keren dan elegan */
.section-header h2 {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-transform: capitalize;
}

/* Efek gradasi warna emas tipis pada kata tertentu atau seluruh judul agar makin keren */
.section-header h2 span {
  color: #f59e0b;
}

/* --- RESPONSIF KHUSUS HP (RATA KIRI) --- */
@media (max-width: 768px) {
  .services-section {
    text-align: left; /* Ubah jadi rata kiri di HP */
    padding: 60px 20px;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .section-header h2 {
    font-size: 28px; /* Ukuran pas di layar HP */
    line-height: 1.3;
  }
}

/* --- KELENGKAPAN CSS SERVICE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.service-card {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #1f2937;
}

.service-price {
  font-size: 20px;
  font-weight: 800;
  color: #f59e0b;
}

.service-duration {
  font-size: 13px;
  color: #9ca3af;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-service-action {
  display: block;
  width: 100%;
  background-color: #1f2937;
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.service-card:hover .btn-service-action {
  background-color: #f59e0b;
  color: #111827;
}

/* --- PENYESUAIAN 2 KOLOM KE SAMPING KHUSUS DI HP --- */
@media (max-width: 768px) {
  .services-section {
    text-align: left;
    padding: 50px 15px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  /* KUNCI UTAMA: Paksa grid jadi 2 kolom di layar HP */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom berdampingan */
    gap: 12px; /* Jarak antar kartu sedikit dipersempit agar pas di layar HP */
  }

  .service-card {
    padding: 15px; /* Padding dikurangi sedikit agar muat */
  }

  .service-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 15px; /* Ukuran font judul disesuaikan */
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .service-info {
    flex-direction: column; /* Harga & durasi disusun ke bawah agar rapi di kartu kecil */
    align-items: flex-start;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 12px;
    padding-top: 10px;
  }

  .service-price {
    font-size: 15px;
  }

  .service-duration {
    font-size: 11px;
    padding: 2px 8px;
  }

  .btn-service-action {
    padding: 8px;
    font-size: 12px; /* Tombol disesuaikan jadi lebih compact */
  }

  /* Membuat kartu terakhir (ganjil) melebar penuh otomatis di baris bawah */
  .service-card:last-child {
    grid-column: span 2;
  }
}

/* --- SISTEM ANIMASI SCROLL (DIPERLAMBAT AGAR TERASA & ELEGAN) --- */

.animate-on-scroll {
  opacity: 0;
  /* Durasi diubah dari 0.8s menjadi 1.2s dengan efek cubic-bezier yang halus */
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Variasi 1: Muncul dari bawah ke atas */
.animate-on-scroll.fade-up {
  transform: translateY(50px); /* Jarak geser sedikit diperbesar agar pergerakannya lebih terasa */
}

/* Variasi 2: Muncul dari kiri ke kanan */
.animate-on-scroll.fade-left {
  transform: translateX(-60px);
}

/* Variasi 3: Muncul dari kanan ke kiri */
.animate-on-scroll.fade-right {
  transform: translateX(60px);
}

/* Variasi 4: Efek zoom/membesar perlahan */
.animate-on-scroll.zoom-in {
  transform: scale(0.88); /* Skala awal sedikit lebih kecil agar efek zoom-nya lebih dramatis */
}

/* KONDISI SAAT ELEMEN AKTIF/TERTAMPIL DI LAYAR */
.animate-on-scroll.show {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* --- SECTION TENTANG KAMI --- */
.about-section {
  padding: 50px 20px;
  background-color: #0b0f19;
  /* border-bottom: 2px solid #1f2937; */
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Kolom: Kiri Foto, Kanan Teks */
  gap: 50px;
  align-items: center;
}

/* Header Teks & Efek Garis Lengkung di Bawah Judul */
.about-header {
  margin-bottom: 25px;
}

.about-header .sub-title {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-flex; /* Diubah jadi inline-flex agar garis dan teks sejajar */
  align-items: center;
  gap: 10px; /* Jarak antara garis tipis dan teks */
}

/* Membuat garis tipis horizontal mini di sebelah kiri teks */
.about-header .sub-title::before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: #f59e0b;
  display: inline-block;
}

.about-header h2 {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 15px; /* Jarak pas sebelum garis lengkung */
}

.about-header h2 span {
  color: #f59e0b;
}

/* --- KUNCI: GARIS LENGKUNG BERANIMASI DI BAWAH JUDUL --- */
.curved-line-container {
  width: 120px;
  height: 14px;
  margin-bottom: 20px;
}

.curved-line-container svg {
  width: 100%;
  height: 100%;
  stroke: #f59e0b;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  /* Efek animasi garis seolah-olah digambar otomatis */
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* Saat section aktif/terlihat, garis lengkung mulai beranimasi */
.animate-on-scroll.show .curved-line-container svg {
  stroke-dashoffset: 0;
}

/* Konten Teks & Keunggulan */
.about-description {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.feature-item i {
  width: 32px;
  height: 32px;
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Sisi Kiri: Foto/Visual Barbershop */
.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1f2937;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

/* --- RESPONSIF KHUSUS HP --- */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 15px;
  }

  .about-container {
    grid-template-columns: 1fr; /* Jadi 1 kolom ke bawah di HP */
    gap: 30px;
  }

  .about-header h2 {
    font-size: 28px;
  }

  .about-image-wrapper {
    order: -1; /* Foto ditaruh paling atas di HP agar menarik perhatian */
  }
}

/* --- SECTION GALERI --- */
.gallery-section {
  padding: 40px 20px;
  background-color: #0b0f19;
  position: relative;
  overflow: hidden;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-header .sub-title {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gallery-header .sub-title::before,
.gallery-header .sub-title::after {
  content: '';
  width: 25px;
  height: 2px;
  background-color: #f59e0b;
  display: inline-block;
}

.gallery-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gallery-header h2 span {
  color: #f59e0b;
}

/* Tata Letak Grid Foto */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolom di Desktop */
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px; /* Tinggi seragam untuk setiap kotak foto */
  border: 2px solid #1f2937;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background-color: #111827;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lapisan Overlay Gelap saat Hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.85), rgba(11, 15, 25, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay i {
  color: #f59e0b;
  font-size: 24px;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gallery-overlay span {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

/* Efek Interaksi saat Kursor Mendekat (Hover) */
.gallery-item:hover img {
  transform: scale(1.08); /* Foto memperbesar secara mulus */
}

.gallery-item:hover .gallery-overlay {
  opacity: 1; /* Overlay muncul */
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
  transform: translateY(0); /* Teks & ikon bergerak naik halus */
}

/* --- RESPONSIF UNTUK HP --- */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* Jadi 2 kolom di HP agar tetap rapi */
    gap: 12px;
  }

  .gallery-item {
    height: 190px;
  }

  .gallery-header h2 {
    font-size: 26px;
  }
}

/* --- CSS LIGHTBOX GALERI DENGAN NAVIGASI --- */
.gallery-item {
  cursor: pointer;
}

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 85%;
}

.lightbox-content {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  border: 2px solid #1f2937;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

#lightboxCaption {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  letter-spacing: 0.5px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  color: #f59e0b;
}

/* Tombol Navigasi Kiri & Kanan */
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(31, 41, 55, 0.7);
  color: #ffffff;
  border: 2px solid #374151;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-btn:hover {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #0b0f19;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

/* --- SECTION TESTIMONI (HORIZONTAL SCROLLING / TANPA KOTAK) --- */
.testimonial-section {
  padding: 40px 20px;
  background-color: #0b0f19;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header Asimetris */
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  border-bottom: 1px solid #1f2937;
  padding-bottom: 25px;
}

.testimonial-header-left {
  max-width: 500px;
}

.testimonial-header .sub-title {
  color: #f59e0b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.testimonial-header .sub-title::before {
  content: '';
  width: 25px;
  height: 2px;
  background-color: #f59e0b;
  display: inline-block;
}

.testimonial-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.testimonial-header-right p {
  color: #9ca3af;
  font-size: 14px;
  max-width: 350px;
  text-align: right;
}

/* Kontainer Geser Menyamping (Horizontal Scroll) */
.testimonial-scroll-container {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  /* Sembunyikan scrollbar bawaan browser tapi tetap bisa digeser */
  scrollbar-width: thin;
  scrollbar-color: #f59e0b #1f2937;
}

.testimonial-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.testimonial-scroll-container::-webkit-scrollbar-track {
  background: #111827;
  border-radius: 10px;
}

.testimonial-scroll-container::-webkit-scrollbar-thumb {
  background-color: #f59e0b;
  border-radius: 10px;
}

/* Setiap item ulasan di dalam scroll */
.testimonial-item {
  flex: 0 0 340px; /* Lebar tetap per kartu ulasan agar pas di layar */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 10px;
  position: relative;
}

/* Garis aksen tipis emas di atas setiap ulasan */
.testimonial-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #f59e0b;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-line {
  width: 20px;
  height: 1px;
  background-color: #4b5563;
}

.author-info h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1px;
}

.author-info span {
  color: #6b7280;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- RESPONSIF UNTUK HP --- */
@media (max-width: 768px) {
  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
  }

  .testimonial-header-right p {
    text-align: left;
  }

  .testimonial-header h2 {
    font-size: 22px;
  }

  .testimonial-item {
    flex: 0 0 85%; /* Di HP kartu menyesuaikan lebar layar */
  }
}

/* --- SECTION KONTAK & FOOTER (DENGAN GARIS LENGKUNG SVG) --- */
.contact-section {
  padding: 70px 20px 40px 20px;
  background-color: #07090e;
  border-top: 1px solid #1f2937;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header Kontak dengan Garis Lengkung SVG */
.contact-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Posisi di kiri agar pas dengan list kontak */
}

.contact-header .sub-title {
  color: #f59e0b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
}

/* (Gaya CSS untuk .curved-line-container sudah ada dari section sebelumnya, jadi otomatis aktif) */

/* Grid Informasi Kontak & Peta */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-item i {
  color: #f59e0b;
  font-size: 18px;
  margin-top: 4px;
  background-color: rgba(245, 158, 11, 0.1);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.contact-info-details h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-details p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

/* Tombol Pintasan */
.contact-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f59e0b;
  color: #0b0f19;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-contact:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}

.btn-contact-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #374151;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contact-outline:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

/* Peta Embed Frame */
.contact-map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1f2937;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(85%);
}

/* Footer Copyright Bawah */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1f2937;
  padding-top: 25px;
  color: #6b7280;
  font-size: 13px;
}

.footer-bottom span {
  color: #f59e0b;
  font-weight: 600;
}

/* --- RESPONSIF UNTUK HP --- */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map-wrapper {
    min-height: 250px;
  }
}

/* --- TOMBOL AKSI MELAYANG (KIRI & KANAN) --- */

/* Kontainer Tombol Kontak di Kiri Bawah */
.floating-left-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Kontainer Tombol Kembali ke Atas di Kanan Bawah */
.floating-right-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.fab-btn:hover {
  transform: scale(1.1);
}

/* Tombol WhatsApp (Hijau) */
.fab-whatsapp {
  background-color: #25d366;
}
.fab-whatsapp:hover {
  background-color: #22bf5b;
}

/* Tombol Telepon (Emas) */
.fab-phone {
  background-color: #f59e0b;
  color: #0b0f19;
}
.fab-phone:hover {
  background-color: #d97706;
}

/* Tombol Scroll to Top (Panah ke Atas) */
.fab-scroll-top {
  background-color: #111827;
  color: #f59e0b;
  border: 2px solid #1f2937;
}
.fab-scroll-top:hover {
  background-color: #1f2937;
  border-color: #f59e0b;
  color: #ffffff;
}

/* Efek Denyut khusus WhatsApp */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.fab-whatsapp {
  animation: pulse-ring 2s infinite;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .floating-left-container {
    bottom: 20px;
    left: 20px;
    gap: 10px;
  }
  .floating-right-container {
    bottom: 20px;
    right: 20px;
  }
  .fab-btn {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
}
