*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #00ABE4;
  --navy-light: #0099CC;
  --navy-mid: #0090BB;
  --gold: #00ABE4;
  --gold-light: #33BBEA;
  --gold-pale: #E9F1FA;
  --white: #FFFFFF;
  --off-white: #E9F1FA;
  --gray: #C8DCF0;
  --text-muted: #5a7a9a;
  --text-dark: #0a2a4a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; }

/* ── NAVBAR ── */
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 9999; 
  background: var(--white); 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--navy); 
  letter-spacing: 0.06em;
  font-weight: 700;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.btn-nav {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-nav:hover { background: #E9F1FA; color: #00ABE4; transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

/* SETTING UNTUK GAMBAR MODEL */
.hero-model-bg {
  position: absolute;
  top: 0; 
  right: 0;
  width: 60%; 
  height: 100%;
  pointer-events: none;
  z-index: 1; 
}

.hero-model-bg img {
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  object-position: center right; 
  display: block;
}

/* Efek transparansi gradasi */
.hero-model-bg::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 20%, rgba(0, 171, 228, 0.4) 60%, rgba(0, 171, 228, 0) 100%);
  z-index: 2;
}

.hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(0,171,228,0.04) 40px, rgba(0,171,228,0.04) 41px);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 540px;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: inline-flex; 
  align-items: center; 
  gap: 0.6rem;
  
  color: #ffffff; 
  
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; 
  height: 2px;
  
  background: #333333;
  
  flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-heading em {
  color: #FFFFFF;
  font-style: normal;
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  max-width: 420px;
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,171,228,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-badges {
  display: flex; gap: 1.8rem; flex-wrap: wrap;
}

.hero-badge {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-visual {
  z-index: 2;
  position: relative;
}

.hero-frame-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 380px;
}

.frame-card-hero {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,171,228,0.3);
  padding: 1.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.frame-card-hero:hover {
  transform: translateY(-5px);
  background: rgba(0,171,228,0.1);
}

.frame-icon {
  margin-bottom: 1rem;
  display: flex; justify-content: center;
}

.frame-card-hero .name {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.frame-card-hero .price {
  color: var(--gold);
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
}


/* ── SECTION SHARED ── */
section { padding: 90px 5%; }

.section-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-heading.light { color: var(--white); }

.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

.divider-gold {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

/* ── KEUNGGULAN ── */
#keunggulan { background: var(--off-white); }

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.keunggulan-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.keunggulan-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.keunggulan-card:hover::after { transform: scaleX(1); }
.keunggulan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,100,180,0.1); }

.keunggulan-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}

.keunggulan-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

.keunggulan-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.keunggulan-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── KOLEKSI ── */
#koleksi { background: var(--white); }

.filter-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}

.filter-tab {
  padding: 0.45rem 1.2rem;
  border: 1px solid var(--gray);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.produk-card {
  border: 1px solid var(--gray);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.produk-card:hover { box-shadow: 0 8px 28px rgba(0,120,200,0.12); transform: translateY(-3px); }

.produk-img {
  background: #E9F1FA;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.produk-img svg { width: 120px; height: 60px; }

/* --- PENGATUR UKURAN FOTO KACAMATA --- */
.foto-kacamata {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  padding: 15px;      
  transition: transform 0.4s ease; 
}

/* Efek zoom foto saat kotak disentuh mouse */
.produk-card:hover .foto-kacamata {
  transform: scale(1.12);
}

.produk-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 1px;
}

.produk-body { padding: 1.1rem 1.2rem 1.4rem; }
.produk-body h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.25rem; }
.produk-body .kategori { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 0.7rem; }
.produk-footer { display: flex; justify-content: space-between; align-items: center; }
.produk-price { font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.btn-detail {
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-detail:hover { background: var(--navy); color: var(--white); }

/* ── TESTIMONI ── */
#testimoni { 
  background: #0A2A4A; 
  position: relative; 
  overflow: hidden; 
}

#testimoni::before {
  content: '"';
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 20rem;
  color: rgba(0, 171, 228, 0.05); 
  top: -2rem;
  left: 3%;
  line-height: 1;
  pointer-events: none;
}

/* Mengatur agar Judul "Pelanggan Kami" otomatis berwarna putih cerah di atas background gelap */
#testimoni .section-heading,
#testimoni .section-label {
  color: #ffffff !important;
}
#testimoni .section-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}

.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimoni-card {
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(0, 171, 228, 0.25);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
}

.testimoni-card:hover { 
  border-color: rgba(0, 171, 228, 0.8);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.stars { 
  color: #FFB800; 
  font-size: 0.9rem; 
  letter-spacing: 2px; 
  margin-bottom: 1rem; 
}

.testimoni-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimoni-author {
  display: flex; 
  align-items: center; 
  gap: 0.8rem;
}

.author-avatar {
  width: 40px; 
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 171, 228, 0.3);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #00ABE4;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-name { 
  color: #ffffff; 
  font-size: 0.9rem; 
  font-weight: 700; 
}

.author-meta { 
  color: rgba(255, 255, 255, 0.5); 
  font-size: 0.78rem; 
}

/* ── TENTANG ── */
#tentang { background: var(--off-white); }

.tentang-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tentang-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-box {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 700;
}

.stat-label { color: var(--text-muted); font-size: 0.82rem; letter-spacing: 0.05em; margin-top: 2px; }

.tentang-visual {
  position: relative;
}

.tentang-img-box {
  background: var(--navy);
  border-radius: 4px;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}

.tentang-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tentang-img-box::after {
  content: 'Bro Optik Store';
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.tentang-img-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,40,70,0.55) 0%, rgba(0,40,70,0.05) 50%);
  z-index: 1;
}

.tentang-tag {
  position: absolute;
  top: 1.5rem; right: -1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,171,228,0.5);
}

/* ── LOKASI ── */
#lokasi-kontak { background: var(--white); }

.lokasi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.info-row {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 38px; height: 38px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.info-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

.info-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.info-value { color: var(--navy); font-size: 0.95rem; font-weight: 700; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366;
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}

.btn-wa:hover { opacity: 0.88; }

.kontak-form h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem;
  border: none;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--navy-mid); }

/* ── FOOTER ── */
footer {
  background: #0A2A4A; 
  color: #ffffff;
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(0, 171, 228, 0.2); 
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.8rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.8rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.socials { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,171,228,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}

.social-btn:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MAP PLACEHOLDER ── */
.map-placeholder {
  background: var(--navy);
  border-radius: 4px;
  height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  gap: 0.8rem;
  border: 1px solid rgba(0,171,228,0.2);
}

.map-placeholder svg { width: 36px; height: 36px; stroke: var(--gold); opacity: 0.5; fill: none; stroke-width: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  #hero { padding-top: 120px; }
  
  /* Supaya gambar hero mengecil/menyesuaikan di HP */
  .hero-model-bg { width: 100%; opacity: 0.3; }
  .hero-model-bg::before { background: linear-gradient(to bottom, var(--navy) 0%, rgba(0,100,180,0.85) 100%); }
  
  .hero-badges { justify-content: center; }
  .hero-visual { margin-top: 3rem; }
  .tentang-inner, .lokasi-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tentang-tag { right: 0; }
}

@media (max-width: 540px) {
  section { padding: 60px 4%; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-frame-showcase { grid-template-columns: 1fr 1fr; max-width: 280px; }
}

/* ── LOGO ── */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: invert(47%) sepia(87%) saturate(1637%) hue-rotate(162deg) brightness(97%) contrast(101%);
}

.footer-logo-img {
  height: 36px;
  filter: brightness(0) invert(1); 
}

.nav-logo-text { display: none; }

/* ── BTN-PRIMARY putih ── */
.btn-primary {
  background: #FFFFFF !important;
  color: #00ABE4 !important;
}
.btn-primary:hover {
  background: #E9F1FA !important;
  color: #0090BB !important;
}

/* ── BTN-NAV DI NAVBAR (Ubah Jadi Biru) ── */
.btn-nav {
  background: var(--navy) !important;
  color: var(--white) !important; 
  border-radius: 4px;
}
.btn-nav:hover {
  background: var(--navy-mid) !important;
  color: var(--white) !important;
}

/* ── BTN-DETAIL ── */
.btn-detail {
  display: inline-block;
  text-decoration: none;
  border-color: #00ABE4 !important;
  color: #00ABE4 !important;
}
.btn-detail:hover {
  background: #00ABE4 !important;
  color: #FFFFFF !important;
}

/* ── SECTION LABEL biru ── */
.section-label { color: #00ABE4; }

/* ── DIVIDER biru ── */
.divider-gold { background: #00ABE4; }

/* ── KEUNGGULAN icon bg ── */
.keunggulan-icon { background: #E9F1FA; }
.keunggulan-icon svg { stroke: #00ABE4; }

/* ── STAT box border ── */
.stat-box { border-left-color: #00ABE4; }

/* ── INFO icon ── */
.info-icon { background: #E9F1FA; }
.info-icon svg { stroke: #00ABE4; }

/* ── FORM FOCUS ── */
.form-group input:focus,
.form-group textarea:focus { border-color: #00ABE4; }

/* ── PRODUK BADGE ── */
.produk-badge { background: #00ABE4; color: #ffffff; }

/* ── FILTER TAB active ── */
.filter-tab.active, .filter-tab:hover {
  background: #00ABE4;
  border-color: #00ABE4;
  color: #ffffff;
}

/* ── TENTANG TAG ── */
.tentang-tag { background: #00ABE4; color: #ffffff; }

/* ── HERO eyebrow line ── */
.hero-eyebrow::before { background: #ffffff; }

/* ── MAP placeholder ── */
.map-placeholder svg { stroke: #00ABE4; }

/* ── KODE PEMBLOKIR JAVASCRIPT ── */
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999999 !important; /* Menjamin posisi berada di lapisan paling depan */
  background-color: #FFFFFF !important; /* Memaksa latar belakang tetap putih */
  
  /* KUNCI UTAMA: Memaksa browser mengabaikan gerakan sembunyi (-100%) dari JavaScript */
  transform: none !important; 
  transition: none !important;
}

/* ── PENYESUAIAN UKURAN LOGO BARU ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Jarak antara gambar logo dan tulisan Bro Optik */
  text-decoration: none;
}

.nav-logo-img {
  height: 65px; /* Mengatur tinggi logo agar pas dengan tinggi navbar 72px */
  width: auto;  /* Lebar otomatis proporsional agar gambar tidak gepeng */
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #00ABE4; /* Menyesuaikan warna teks brand dengan tema biru barumu */
}

/* ── POP-UP MODAL DETAIL PRODUK ── */
.modal {
  display: none; /* Tersembunyi sebelum diklik */
  position: fixed; 
  z-index: 9999; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  background-color: rgba(11, 28, 59, 0.5); /* Latar belakang gelap transparan */
  backdrop-filter: blur(5px); /* Efek blur estetik */
  align-items: center;
  justify-content: center;
}

/* Kotak Putih di Tengah */
.modal-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 750px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: modalMasuk 0.3s ease-out;
}

@keyframes modalMasuk {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Tombol Silang */
.close-modal {
  position: absolute;
  right: 20px; top: 15px;
  font-size: 35px;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover { color: var(--navy); }

/* Tata Letak Info Modal */
.modal-body-layout {
  display: flex; gap: 30px; flex-wrap: wrap; margin-top: 15px;
}

.modal-img-container {
  flex: 1; min-width: 250px; background: #E9F1FA;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; height: 280px;
}
.modal-img-container img {
  max-width: 100%; max-height: 100%; object-fit: contain; padding: 15px;
}

.modal-info { flex: 1.2; min-width: 250px; display: flex; flex-direction: column; }
#modal-title { color: var(--navy); font-size: 1.6rem; margin-bottom: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.modal-kategori-tag { font-size: 0.78rem; background: #E9F1FA; padding: 4px 12px; border-radius: 20px; color: var(--navy); display: inline-block; margin-bottom: 15px; font-weight: 500; width: fit-content; }
.modal-price-text { font-size: 1.5rem; color: var(--navy); font-weight: 700; margin-bottom: 15px; }
.modal-divider { height: 1px; background: #eee; margin-bottom: 15px; }
.modal-info h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
#modal-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: auto; padding-bottom: 20px; }

/* Tombol Masuk Keranjang di Pop-up */
.btn-add-cart {
  background: var(--navy); color: var(--white); border: none;
  width: 100%; padding: 12px; border-radius: 6px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.btn-add-cart:hover { background: #071329; }

/* ── FLOATING CART BUTTON ── */
.cart-floating-btn {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--navy); color: var(--white);
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999;
  box-shadow: 0 4px 15px rgba(11, 28, 59, 0.3);
  transition: transform 0.2s;
}
.cart-floating-btn:hover { transform: scale(1.1); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: #ff4d4d;
  color: #ffffff !important;
  font-size: 0.75rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── SIDEBAR DRAWER ── */
.cart-sidebar {
  position: fixed; top: 0; right: -350px; /* Tersembunyi di kanan layar */
  width: 350px; height: 100%;
  background: var(--white); z-index: 10000;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex; flex-direction: column;
  transition: right 0.3s ease; /* Efek meluncur slide-in */
}
.cart-sidebar.open { right: 0; } /* Muncul ke layar */

.cart-sidebar-header {
  padding: 20px; border-bottom: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
}
.cart-sidebar-header h3 { color: var(--navy); font-size: 1.2rem; }

/* ── TOMBOL X (SILANG) DIPERBAIKI ── */
.close-cart { 
  font-size: 35px !important; 
  font-weight: bold;
  line-height: 1;
  cursor: pointer; 
  color: #ff4d4d !important; 
  display: block !important;
  transition: transform 0.2s;
}

.close-cart:hover { 
  color: #cc0000 !important; 
  transform: scale(1.2); 
}

/* List Produk di Keranjang */
.cart-items-body { flex: 1; padding: 20px; overflow-y: auto; }
.cart-empty-text { text-align: center; color: var(--text-muted); margin-top: 50px; font-size: 0.9rem; }

.cart-item {
  display: flex; gap: 15px; align-items: center; margin-bottom: 20px;
  padding-bottom: 15px; border-bottom: 1px solid #f5f5f5;
}
.cart-item-img { width: 60px; height: 45px; background: #E9F1FA; border-radius: 4px; object-fit: contain; }
.cart-item-detail { flex: 1; }
.cart-item-detail h4 { font-size: 0.88rem; color: var(--navy); margin-bottom: 4px; }
.cart-item-detail p { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.btn-hapus-item { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 0.75rem; }

/* Bagian Bawah Keranjang */
.cart-sidebar-footer { padding: 20px; border-top: 1px solid #eee; background: #fafafa; }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 15px; }
.btn-checkout {
  width: 100%; background: #25D366; color: var(--white); border: none; /* Warna hijau khas WhatsApp */
  padding: 12px; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-checkout:hover { background: #20ba59; }

/* ── LAYOUT 2 TOMBOL DI MODAL DETAIL ── */
.modal-action-buttons {
  display: flex;
  gap: 12px; /* Jarak antar tombol */
  margin-top: auto; /* Memaksa tombol ke bagian bawah modal */
  width: 100%;
}

/* Desain Tombol Keranjang (Kiri) */
.btn-add-cart-icon {
  background-color: var(--off-white, #E9F1FA);
  color: var(--navy, #00ABE4);
  border: 2px solid var(--navy, #00ABE4);
  border-radius: 8px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart-icon:hover {
  background-color: var(--navy, #00ABE4);
  color: #ffffff;
}

/* Desain Tombol Beli Langsung (Kanan) */
.btn-buy-now {
  flex: 1; /* Membuat tombol ini mengisi sisa ruang yang ada */
  background-color: var(--navy, #00ABE4);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-buy-now:hover {
  background-color: var(--navy-mid, #0090BB);
}

/* ── KODE UNTUK IKON NAVBAR BARU ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px; /* Jarak antara ikon cari dan ikon user */
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--text-dark, #0a2a4a);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-icon-btn:hover {
  color: var(--navy, #00ABE4); 
  transform: scale(1.12); 
}

/* ── KOTAK PENCARIAN FULL-SCREEN OVERLAY ── */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 42, 74, 0.95);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.open {
  opacity: 1; pointer-events: auto;
}

.close-search {
  position: absolute; top: 40px; right: 5%;
  font-size: 50px; color: #ffffff;
  cursor: pointer; transition: transform 0.2s, color 0.2s;
}

.close-search:hover { color: #ff4d4d; transform: scale(1.1); }

.search-overlay-content { width: 90%; max-width: 700px; text-align: center; }

.search-overlay-content input[type="text"] {
  width: 100%; background: transparent; border: none;
  border-bottom: 3px solid #ffffff; padding: 15px 0;
  font-size: 2rem; color: #ffffff; font-family: 'Poppins', sans-serif;
  outline: none; text-align: center; transition: border-color 0.3s;
}

.search-overlay-content input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-overlay-content input[type="text"]:focus {
  border-color: #00ABE4;
}

/* ================================================== */
/* PENGATURAN KHUSUS LAYAR HP (Maks. lebar 768px)     */
/* ================================================== */
@media screen and (max-width: 768px) {
  
  /* 1. Mengecilkan teks judul agar tidak raksasa */
  .hero-heading {
    font-size: 2.2rem !important; 
    line-height: 1.2 !important;
    margin-bottom: 15px;
  }
  
  .hero-sub {
    font-size: 1rem !important;
  }

  /* 2. Memusatkan posisi konten agar rapi di tengah */
  .hero-content {
    padding: 20px !important;
    text-align: center;
    width: 100% !important;
    margin-top: 50px; /* Menurunkan sedikit agar tidak menabrak navbar */
  }

  /* 3. Membuat tombol menjadi atas-bawah (tidak berjejal ke samping) */
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    width: 100%;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
  }

  /* 4. Menyembunyikan menu link (Koleksi, Keunggulan, dll) agar layout tidak pecah */
  .nav-links {
    display: none !important; 
  }
  
  /* 5. Menyesuaikan lencana (badges) agar muat */
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

