/* =========================================================
   MUHAMMAD RAFKA A.P PHOTOGRAPHY - StyleSheet Utama
   Tema: Fotografer Profesional (gelap elegan)
   ========================================================= */
:root {
  --bg: #0d0d0f;
  --bg-soft: #141417;
  --surface: #1b1b1f;
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --text: #f4f4f2;
  --muted: #a0a0a8;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 15px 40px rgba(0,0,0,0.5);
  --radius: 14px;
  --transition: all 0.35s ease;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* =========================================================
   HEADER / NAVBAR (transparan -> solid saat scroll)
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 30px rgba(0,0,0,0.4);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; transition: var(--transition); }
.header.scrolled .navbar { padding: 14px 0; }

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.logo span:last-child { color: var(--gold); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 18px; border-radius: 50px;
  font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text); opacity: 0.85;
  transition: var(--transition);
}
.nav-link:hover { opacity: 1; color: var(--gold); }
.nav-link.active { color: var(--gold); background: rgba(212,175,55,0.12); }

.btn {
  display: inline-block; padding: 13px 30px;
  border-radius: 2px; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,175,55,0.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-cta { background: var(--gold); color: var(--bg); margin-left: 14px; padding: 12px 24px; }
.btn-cta:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.hamburger span { width: 28px; height: 2px; background: var(--text); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO (fullscreen foto)
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?w=1800&q=80') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,0.82) 0%, rgba(13,13,15,0.6) 50%, rgba(13,13,15,0.85) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 64px;
  max-width: 1140px; margin-inline: auto;
  padding: 200px 0 150px;
}
.hero-text {
  flex: 1 1 auto; max-width: 640px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 7px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 46px; height: 1.5px; background: var(--gold); }
.hero-eyebrow::before { background: linear-gradient(90deg, transparent, rgba(212,175,55,0.9)); }
.hero-eyebrow::after { background: linear-gradient(270deg, transparent, rgba(212,175,55,0.9)); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic; color: var(--gold-soft);
  position: relative; white-space: nowrap;
}
.hero-title em::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: 8px; height: 12px;
  background: rgba(212,175,55,0.22); z-index: -1;
  border-radius: 2px;
}
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 34px; }
.hero-divider::before, .hero-divider::after { content: ''; width: 76px; height: 1px; }
.hero-divider::before { background: linear-gradient(90deg, transparent, rgba(212,175,55,0.85)); }
.hero-divider::after { background: linear-gradient(270deg, transparent, rgba(212,175,55,0.85)); }
.hero-divider i {
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); box-shadow: 0 0 12px rgba(212,175,55,0.6);
}
.hero-subtitle {
  font-size: 1.05rem; font-weight: 300; letter-spacing: 0.3px;
  color: #cfcfd6; max-width: 580px; margin-inline: auto; margin-bottom: 42px;
}
.hero-subtitle strong { font-weight: 500; color: var(--text); }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--muted); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after { content: ''; width: 1.5px; height: 44px; background: linear-gradient(var(--gold), transparent); }

/* =========================================================
   SECTION UMUM
   ========================================================= */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--gold); opacity: 0.6; }
.section-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; margin-bottom: 16px; }
.section-desc { color: var(--muted); }

/* =========================================================
   ABOUT PREVIEW / BIO
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-photo:hover img { transform: scale(1.05); }
.about-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  transform: translate(16px, 16px); z-index: -1;
}
.about-text .section-eyebrow::before { display: none; }
.about-text .section-eyebrow { margin-bottom: 12px; }
.about-text h2 { font-family: var(--serif); font-size: 2.1rem; margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-top: 24px; }
.about-stats { display: flex; gap: 44px; margin-top: 34px; flex-wrap: wrap; }
.stat-item h3 { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); }
.stat-item p { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   GALLERY (grid + filter)
   ========================================================= */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter-btn {
  padding: 10px 24px; border-radius: 50px;
  border: 1.5px solid var(--line); background: transparent;
  color: var(--muted); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer; background: var(--surface);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(13,13,15,0.9), transparent 55%);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.gallery-overlay p { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.gallery-item.hide { display: none; }

/* =========================================================
   SERVICES / PAKET
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 30px;
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.4rem; margin-bottom: 18px; }
.service-photo {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; margin-bottom: 20px; display: block;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.service-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; max-width: 300px; }
.service-price { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); margin-top: auto; }
.service-price small { font-size: 0.8rem; color: var(--muted); font-family: var(--sans); }

/* =========================================================
   TESTIMONI
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testi-card p { color: var(--muted); font-style: italic; font-size: 0.95rem; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--bg); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author span { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; padding-bottom: 46px; }
.footer h4 { font-family: var(--serif); color: var(--text); margin-bottom: 18px; font-size: 1.05rem; }
.footer p { color: var(--muted); font-size: 0.9rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 20px 0;
  text-align: center; font-size: 0.82rem; color: var(--muted);
}
.footer-bottom strong { color: var(--gold); font-weight: 600; }

/* =========================================================
   PAGE HERO (halaman dalam)
   ========================================================= */
.page-hero {
  position: relative; padding: 200px 0 90px; text-align: center;
  background: linear-gradient(135deg, #101014 0%, #1a1a20 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.4rem); position: relative; }
.page-hero p { color: var(--muted); margin-top: 12px; position: relative; }

/* =========================================================
   HALAMAN ABOUT
   ========================================================= */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.equip-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: var(--transition);
}
.equip-item:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-4px); }
.equip-item .feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.equip-item h3 { font-family: var(--serif); margin-bottom: 6px; font-size: 1.05rem; }
.equip-item p { color: var(--muted); font-size: 0.85rem; }

.timeline { max-width: 640px; margin: 0 auto; }
.timeline-item { position: relative; padding-left: 34px; padding-bottom: 36px; border-left: 1.5px solid rgba(212,175,55,0.35); }
.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.18);
}
.timeline-item h3 { font-family: var(--serif); font-size: 1.15rem; }
.timeline-item .year { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.timeline-item p { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   HALAMAN KONTAK
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.contact-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 0.92rem; }
.contact-form { background: var(--surface); border: 1px solid var(--line); padding: 40px; border-radius: var(--radius); }
.contact-form h3 { font-family: var(--serif); margin-bottom: 8px; font-size: 1.4rem; }
.contact-form > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--text); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  text-align: center; padding: 90px 0;
  background: linear-gradient(135deg, #101014, #1a1a20);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-banner h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); margin-bottom: 34px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 140px 0 100px; }
}
@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px;
    height: 100vh; background: var(--bg-soft);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px 32px; gap: 8px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
    transition: right 0.4s ease; border-left: 1px solid var(--line);
  }
  .nav-menu.open { right: 0; }
  .nav-link { width: 100%; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .btn-cta { margin-left: 0; margin-top: 18px; width: 100%; text-align: center; }
  .hero-title { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,5,7,0.94);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 900px); max-height: 78vh;
  border-radius: 10px; box-shadow: var(--shadow);
  transform: scale(0.95); transition: transform 0.35s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox h3 { font-family: var(--serif); letter-spacing: 1px; }
.lightbox-close {
  position: absolute; top: 26px; right: 34px;
  background: none; border: none; color: var(--text);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }

/* =========================================================
   SECTION KONTAK CEPAT (WA & IG)
   ========================================================= */
.contact-cta { padding: 0 0 110px; }
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 720px; margin: 0 auto;
}
.social-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 42px 30px;
  text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.social-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease;
}
.social-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.social-card:hover::before { transform: scaleX(1); }
.social-card .social-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; background: var(--bg); border: 1px solid var(--line);
  transition: var(--transition);
}
.social-card:hover .social-icon { border-color: var(--gold); color: var(--gold); }
.social-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; }
.social-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; word-break: break-all; }
.social-card .btn { width: 100%; }

/* =========================================================
   ICON 3D (img dari CDN)
   ========================================================= */
.icon3d { display: inline-block; object-fit: contain; vertical-align: middle; }
.icon3d-sm { width: 19px; height: 19px; vertical-align: -4px; margin-right: 5px; }
.icon3d-md { width: 30px; height: 30px; }
.icon3d-lg { width: 52px; height: 52px; }
.filter-btn .icon3d-sm { margin-right: 6px; }
.social-icon .icon3d-md, .contact-icon .icon3d-md { width: 34px; height: 34px; }
.equip-item .icon3d-lg, .service-icon .icon3d-lg { width: 52px; height: 52px; }
.page-hero h1 .icon3d-md { width: 40px; height: 40px; vertical-align: -6px; margin-right: 8px; }
.footer-links .icon3d-sm { margin-right: 7px; }

/* =========================================================
   FOTO UNGGULAN (depan section portofolio)
   ========================================================= */
.featured-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 50px; aspect-ratio: 21/9; min-height: 280px;
  box-shadow: var(--shadow);
}
.featured-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured-photo:hover img { transform: scale(1.04); }
.featured-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.88), transparent 60%);
}
.featured-caption { position: absolute; left: 32px; bottom: 26px; z-index: 2; }
.featured-caption h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 6px; }
.featured-caption p { color: var(--gold); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; }

/* Preview portofolio: 4 kartu bersampingan */
.gallery-grid.preview { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .gallery-grid.preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid.preview { grid-template-columns: 1fr; } }

/* =========================================================
   FOTO BULAT DI HERO (ukuran h1, posisi kanan)
   ========================================================= */
.hero-photo {
  flex: 0 0 auto;
  width: 175px; height: 175px;
  object-fit: cover; z-index: 3;
  border: 2px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.35s ease;
}
.hero-photo:hover { transform: scale(1.05); }
.featured-photo { cursor: pointer; }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 34px; }
  .hero-photo { width: 150px; height: 150px; }
}
@media (max-width: 720px) { .hero-photo { width: 130px; height: 130px; } }

/* =========================================================
   POLISH MOBILE-FRIENDLY
   ========================================================= */
html, body { overflow-x: hidden; }

@media (max-width: 720px) {
  /* Hero: lebih ringkas di HP */
  .hero-inner { padding: 130px 0 90px; }
  .hero-eyebrow { letter-spacing: 3px; gap: 10px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 26px; }
  .hero-title { font-size: 2.3rem; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Page hero halaman dalam */
  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: 1.9rem; }

  /* Bagian umum */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  /* Banner foto unggulan */
  .featured-photo { min-height: 200px; aspect-ratio: 4/3; }
  .featured-caption { left: 20px; bottom: 18px; }
  .featured-caption h3 { font-size: 1.15rem; }

  /* Tombol filter galeri */
  .filter-btn { padding: 9px 16px; font-size: 0.78rem; }
  .filter-btn .icon3d-sm { width: 16px; height: 16px; }

  /* Kartu galeri */
  .gallery-grid { gap: 14px; }
  .gallery-item { aspect-ratio: 4/5; }

  /* Form kontak */
  .contact-form { padding: 26px 20px; }
  .contact-icon { width: 46px; height: 46px; }

  /* Statistik */
  .about-stats { gap: 24px; }
  .stat-item h3 { font-size: 1.7rem; }

  /* Kartu layanan & developer */
  .service-card, .equip-item { padding: 26px 20px; }
  .service-photo { width: 76px; height: 76px; }
}

/* =========================================================
   MODAL PILIH PAKET (halaman layanan)
   ========================================================= */
body.modal-open { overflow: hidden; }
.btn-pilih-paket { margin-top: 18px; width: 100%; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--muted);
  font-size: 2.1rem; line-height: 1; cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover { color: var(--gold); }
.modal-box h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.modal-box .modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
