/* ═══════════════════════════════════════════════════════════
   DIGITAL BY DEEANGGA — THEME: CLEAN PEARL & ROYAL NAVY
   Bright Canvas · Deep Royal Navy · Champagne Gold Accents
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & ROOT VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Surfaces & Clean Pearl Canvas */
  --cream: #f8fafc;          /* Bright pearl off-white base */
  --cream2: #f1f5f9;         /* Soft slate surface */
  --cream3: #e2e8f0;         /* Border divider tone */
  --white: #ffffff;          /* Pure crisp white for cards */

  /* Deep Navy & Charcoal Typography */
  --ink: #0a192f;            /* Deep Royal Navy black for headers */
  --ink2: #1e293b;           /* Rich slate text */
  --ink3: #475569;           /* Clean, comfortable body slate */
  --ink4: #94a3b8;           /* Subtle slate for metadata/dates */

  /* Royal Navy Lighting Accents */
  --navy: #0b1e3b;           /* Deep Royal Navy */
  --navy-light: #163663;     /* Elegant Mid-Navy */
  --navy-pale: rgba(11, 30, 59, 0.06);
  --navy-glow: rgba(11, 30, 59, 0.12);

  /* Rich Champagne Gold */
  --gold: #b8860b;           /* Warm Champagne Gold */
  --gold2: #c59b27;          /* Luminous Royal Gold */
  --gold3: #f5e6b8;          /* Soft Gold Tint */
  --gold-pale: rgba(184, 134, 11, 0.1);
  --gold-mid: rgba(184, 134, 11, 0.22);

  /* Auxiliary Accent Colors */
  --red: #ef4444;
  --green: #10b981;
  --purple: #7c3aed;
  --border: rgba(11, 30, 59, 0.08);
  --border2: rgba(11, 30, 59, 0.15);

  /* Soft Floating Shadows */
  --shadow-s: 0 2px 10px rgba(11, 30, 59, 0.04);
  --shadow-m: 0 10px 30px rgba(11, 30, 59, 0.08);
  --shadow-l: 0 24px 60px rgba(11, 30, 59, 0.12);

  /* Radiuses */
  --r: 16px;
  --r2: 24px;
  --r3: 40px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(11, 30, 59, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.2px;
}

.nav-gem {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(11, 30, 59, 0.2);
}

.nav-gem svg {
  width: 14px;
  height: 14px;
  fill: #e2b755;
}

.nav-brand span {
  color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink3);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--r3);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Outfit', sans-serif;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: rgba(11, 30, 59, 0.05);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 600;
}

.btn-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0b1e3b, #183c6e);
  color: #fff;
  border: none;
  border-radius: var(--r3);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.25s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(11, 30, 59, 0.2);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #183c6e, #0b1e3b);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 30, 59, 0.3);
}

/* ── PAGES ── */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ══════════════════════ BERANDA ══════════════════════ */

/* HERO */
.hero {
  padding: 120px 48px 50px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
  background: rgba(184, 134, 11, 0.08);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(184, 134, 11, 0.22);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.3vw, 60px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 15.5px;
  color: var(--ink3);
  line-height: 1.8;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--r3);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(11, 30, 59, 0.25);
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4074, #0b1e3b);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 30, 59, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--border2);
  padding: 12px 24px;
  border-radius: var(--r3);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.25s;
  text-decoration: none;
  box-shadow: var(--shadow-s);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 350px;
}

.hv-bg-circle {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 30, 59, 0.08) 0%, rgba(184, 134, 11, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hv-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  overflow: hidden;
  animation: hcFloat 0.6s ease both;
}

@keyframes hcFloat {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hv-card.c1 { width: 200px; top: 25px; right: 40px; animation-delay: 0.15s; }
.hv-card.c2 { width: 175px; top: 155px; left: 15px; animation-delay: 0.3s; }
.hv-card.c3 { width: 165px; bottom: 75px; right: 75px; animation-delay: 0.45s; }

.hv-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1a30, #173258);
}

.hv-phone {
  width: 54px;
  height: 100px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  background: #0b1424;
}

.hv-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 5px 5px;
  z-index: 2;
}

.hv-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-card-body {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.hv-badge {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.hv-name {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.3;
}

/* ── STUDIO HIGHLIGHTS BAR (DEEP ROYAL NAVY ACCENT) ── */
.studio-highlights {
  max-width: 1200px;
  margin: 10px auto 46px;
  padding: 0 48px;
}

.highlight-bar {
  background: linear-gradient(135deg, #0b1a30, #142847 60%, #1a365d);
  color: #fff;
  border-radius: var(--r2);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid rgba(226, 183, 85, 0.3);
  box-shadow: 0 16px 36px rgba(11, 30, 59, 0.15);
  position: relative;
  overflow: hidden;
}

.highlight-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 88% 12%, rgba(226, 183, 85, 0.22), transparent 55%);
  pointer-events: none;
}

.hl-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.hl-val {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: #f3cc6e;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.3px;
}

.hl-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.45;
}

/* ── SERVICES SECTION ── */
.section-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 48px 60px;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 30px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: var(--shadow-m);
}

.srv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 30, 59, 0.05);
  border: 1px solid rgba(11, 30, 59, 0.1);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.3s;
}

.service-card:hover .srv-icon {
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #f3cc6e;
  border-color: var(--navy);
  transform: scale(1.05);
}

.srv-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.srv-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
  padding: 3px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(184, 134, 11, 0.2);
}

.srv-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.28;
}

.srv-desc {
  font-size: 13.5px;
  color: var(--ink3);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.srv-tag {
  font-size: 11px;
  color: var(--ink3);
  background: var(--cream2);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 400;
  border: 1px solid rgba(11, 30, 59, 0.05);
}

/* ── PORTO SECTION ── */
.section-porto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 48px 120px;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.sec-title em {
  font-style: italic;
  color: var(--gold);
}

.sec-sub {
  font-size: 14px;
  color: var(--ink3);
  margin-top: 5px;
}

/* FILTER BAR */
.filter-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border2);
  color: var(--ink3);
  padding: 7px 18px;
  border-radius: var(--r3);
  font-size: 12.5px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-s);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(11, 30, 59, 0.03);
}

.filter-btn.active {
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(11, 30, 59, 0.2);
  font-weight: 600;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

/* CARD */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-s);
  animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-m);
  border-color: rgba(184, 134, 11, 0.35);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: 0;
}

/* 3 phones mockup */
.phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  gap: 12px;
}

.phone {
  width: 72px;
  height: 136px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #0b1424;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}

.card:hover .phone { transform: translateY(-3px); }
.card:hover .phone:nth-child(2) { transform: translateY(-6px); }

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 5px 5px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-content {
  position: relative;
  z-index: 2;
}

.card-body {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.c-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Category Badges with Elegant Light Pastel Contrast */
.badge-pernikahan       { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-tigang-sasih     { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-metatah          { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-ulang-tahun      { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.badge-undangan         { background: #ffedd5; color: #9a3412; border: 1px solid #fed7aa; }
.badge-app              { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }
.badge-landing          { background: #ccfbf1; color: #115e59; border: 1px solid #99f6e4; }
.badge-lainnya          { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.badge-custom           { background: #f8fafc; color: var(--navy); border: 1px solid var(--border2); }

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-date {
  font-size: 12px;
  color: var(--ink4);
  margin-bottom: 14px;
  font-weight: 300;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: gap 0.2s, color 0.2s;
}

.card-cta:hover {
  gap: 8px;
  color: var(--navy);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--ink3);
}

.empty-state p {
  font-size: 14px;
  line-height: 1.7;
}

/* ══════════════════════ KONTAK ══════════════════════ */
.kontak-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 48px 100px;
}

.kontak-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 90px;
}

.kontak-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.kontak-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.kontak-desc {
  font-size: 15.5px;
  color: var(--ink3);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 440px;
}

.kontak-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  background: rgba(184, 134, 11, 0.05);
  border-radius: 0 12px 12px 0;
  border-top: 1px solid rgba(184, 134, 11, 0.12);
  border-bottom: 1px solid rgba(184, 134, 11, 0.12);
  border-right: 1px solid rgba(184, 134, 11, 0.12);
}

.kontak-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.55;
}

.kontak-quote small {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-top: 8px;
}

.kontak-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 38px;
  box-shadow: var(--shadow-m);
  position: relative;
}

.kontak-card::after {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 6px;
}

.kc-label {
  font-size: 10.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.kc-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.kc-name em {
  font-style: italic;
  color: var(--gold);
}

.kc-sub {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 28px;
}

.kc-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(184, 134, 11, 0.25), var(--border), transparent);
  margin-bottom: 24px;
}

.kc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.kc-row:last-child {
  margin-bottom: 0;
}

.kc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.kc-icon.ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.kc-icon.wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.kc-icon svg {
  width: 19px;
  height: 19px;
}

.kc-ilabel {
  font-size: 11px;
  color: var(--ink4);
}

.kc-ival {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.ch-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}

.ch-title em {
  font-style: italic;
  color: var(--gold);
}

.ch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.ch-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  box-shadow: var(--shadow-s);
  position: relative;
  overflow: hidden;
}

.ch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.ch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.ch-card:hover::before {
  opacity: 1;
}

.ch-card.ig1::before { background: linear-gradient(90deg, #f9ce34, #ee2a7b, #6228d7); }
.ch-card.ig2::before { background: linear-gradient(90deg, #6228d7, #ee2a7b, #f9ce34); }
.ch-card.wa::before  { background: linear-gradient(90deg, #25d366, #128c7e); }

.ch-card:hover.ig1 { border-color: rgba(238, 42, 123, 0.4); }
.ch-card:hover.ig2 { border-color: rgba(98, 40, 215, 0.4); }
.ch-card:hover.wa  { border-color: rgba(37, 211, 102, 0.4); }

.ch-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ch-icon-wrap.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.ch-icon-wrap.wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.ch-icon-wrap svg { width: 22px; height: 22px; }

.ch-type {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 6px;
}

.ch-name {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.ch-handle {
  font-size: 13.5px;
  color: var(--ink3);
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
}

.ch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  padding: 7px 15px;
  border: 1px solid var(--border2);
  border-radius: var(--r3);
  transition: all 0.2s;
  align-self: flex-start;
  background: var(--cream2);
}

.ch-card:hover .ch-btn {
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #fff;
  border-color: var(--navy);
  font-weight: 600;
}

/* CTA BANNER (ROYAL NAVY WITH GOLD AURA) */
.cta-banner {
  background: linear-gradient(135deg, #0b1a30, #132747 60%, #1a365d);
  color: #fff;
  border-radius: 24px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 183, 85, 0.3);
  box-shadow: 0 20px 50px rgba(11, 30, 59, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 183, 85, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cta-title em {
  font-style: italic;
  color: #f3cc6e;
}

.cta-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--r3);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.btn-wa svg {
  width: 18px;
  height: 18px;
}

.cta-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
}

/* ══════════════════════ OVERLAYS & MODALS ══════════════════════ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 48, 0.6);
  backdrop-filter: blur(10px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay.show {
  display: flex;
}

/* LOGIN BOX */
.login-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 44px 40px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow-l);
}

.login-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(11, 30, 59, 0.06);
  border: 1px solid rgba(11, 30, 59, 0.12);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.login-icon svg {
  width: 24px;
  height: 24px;
}

.login-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.login-box p {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 24px;
}

.login-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  margin-bottom: 16px;
  display: none;
}

.btn-gold {
  width: 100%;
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--r3);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(11, 30, 59, 0.2);
  margin-bottom: 10px;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #1d4074, #0b1e3b);
}

.btn-cancel {
  background: none;
  border: none;
  color: var(--ink3);
  font-size: 13px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  padding: 6px 14px;
}

.btn-cancel:hover {
  color: var(--navy);
}

/* ADMIN PANEL */
.admin-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-l);
  display: flex;
  flex-direction: column;
}

.admin-hd {
  padding: 24px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-hd h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.admin-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  font-size: 15px;
  transition: all 0.2s;
}

.admin-close:hover {
  background: var(--cream2);
  color: var(--navy);
}

.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 28px 0;
  border-bottom: 1px solid var(--border);
}

.admin-tab {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ink3);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.admin-tab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
  font-weight: 600;
}

.admin-body {
  padding: 24px 28px;
  flex: 1;
}

.admin-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* FORM ELEMENTS */
.field-g {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 30, 59, 0.1);
}

select.input-field {
  cursor: pointer;
}

/* UPLOAD */
.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  position: relative;
  transition: all 0.2s;
}

.upload-area:hover {
  border-color: var(--navy);
  background: #f1f5f9;
}

.upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-area svg {
  width: 28px;
  height: 28px;
  color: var(--ink4);
  margin-bottom: 6px;
}

.upload-area p {
  font-size: 13px;
  color: var(--ink2);
  font-weight: 500;
}

.upload-area small {
  font-size: 11px;
  color: var(--ink4);
}

.img-preview {
  margin-top: 8px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: none;
  height: 90px;
  border: 1px solid var(--border2);
}

.img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-img {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
  display: none;
}

.upload-bar {
  height: 100%;
  background: var(--navy);
  width: 0;
  transition: width 0.3s;
}

.upload-pct {
  font-size: 11px;
  color: var(--ink3);
  margin-top: 4px;
  text-align: right;
  display: none;
}

.btn-submit {
  background: linear-gradient(135deg, #0b1e3b, #1d4074);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--r3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(11, 30, 59, 0.2);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #1d4074, #0b1e3b);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* KELOLA LIST */
.manage-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 14px 28px 24px;
}

.manage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  background: #f8fafc;
  gap: 12px;
}

.manage-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manage-info {
  flex: 1;
  min-width: 0;
}

.manage-name {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--navy);
}

.manage-meta {
  font-size: 11.5px;
  color: var(--ink3);
}

.manage-del {
  background: none;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #dc2626;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  flex-shrink: 0;
}

.manage-del:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* KATEGORI LIST */
.kat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 6px;
  background: #f8fafc;
}

.kat-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.kat-nm {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
}

.kat-sl {
  font-size: 11px;
  color: var(--ink3);
}

.kat-cnt {
  font-size: 11px;
  color: var(--navy);
  background: rgba(11, 30, 59, 0.08);
  padding: 2px 7px;
  border-radius: 10px;
}

.kat-del-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 11.5px;
  cursor: pointer;
  padding: 3px 6px;
}

.kat-del-btn:hover {
  text-decoration: underline;
}

.kat-builtin-tag {
  font-size: 10.5px;
  color: var(--ink4);
  font-style: italic;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0b1e3b;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r3);
  font-size: 13px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(11, 30, 59, 0.35);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink3);
  background: #ffffff;
}

.ft-brand {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.ft-brand span {
  color: var(--gold);
}

.ft-admin-link {
  color: var(--ink4);
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
}

.ft-admin-link:hover {
  color: var(--navy);
}

/* ── STATUS FIREBASE ── */
.fb-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink4);
}

.fb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  transition: background 0.3s;
}

.fb-dot.ok {
  background: #10b981;
}

.fb-dot.err {
  background: #ef4444;
}

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skel 1.4s infinite;
  border-radius: 8px;
}

@keyframes skel {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skel-card {
  height: 280px;
  border-radius: var(--r2);
}

/* ── LOADING OVERLAY ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.5s;
}

.loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}

.loading-logo span {
  color: var(--gold);
}

.loading-bar {
  width: 140px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.loading-prog {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, #0b1e3b, #c59b27);
  border-radius: 2px;
  animation: loadAnim 1.2s ease-in-out infinite alternate;
}

@keyframes loadAnim {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 40px;
    gap: 36px;
    text-align: center;
  }
  .hero-eyebrow {
    margin: 0 auto 16px;
  }
  .hero-desc {
    margin: 0 auto 28px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    height: 260px;
    display: flex;
    justify-content: center;
  }
  .hv-bg-circle {
    display: none;
  }
  .hv-card.c1 {
    right: 50%;
    transform: translateX(50%);
  }
  .hv-card.c2, .hv-card.c3 {
    display: none;
  }

  .studio-highlights {
    padding: 0 20px;
  }
  .highlight-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 18px;
  }

  .section-services {
    padding: 20px 20px 40px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-porto {
    padding: 20px 20px 80px;
  }
  .kontak-wrap {
    padding: 100px 20px 60px;
  }
  .kontak-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ch-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 16px;
    height: 60px;
  }
  .nav-brand {
    font-size: 17px;
  }
  .hero {
    padding: 85px 16px 30px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .highlight-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .sec-title {
    font-size: 28px;
  }
  .filter-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-wrap::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
  }
  footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px 18px;
  }
  .nav-link:not(.always) {
    display: none;
  }
  .fb-status {
    display: none;
  }
}
