/* ==========================================================================
   Bali Media Visual — editorial theme layered on Bootstrap 5.3.8
   ========================================================================== */

:root {
  --bs-body-bg: #0A0A0A;
  --bs-body-color: #F7F6EF;
  --bs-link-color: #F5E400;
  --bs-link-hover-color: #FBF176;
  --bs-border-color: #2A2A21;

  --black: #0A0A0A;
  --surface: #141410;
  --border: #2A2A21;
  --yellow: #F5E400;
  --yellow-soft: #FBF176;
  --yellow-deep: #C9BE00;
  --text: #F7F6EF;
  --text-dim: #ADAA9C;
  --text-faint: #6B6858;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 76px;
}
.display, h1, h2 { font-family: 'Baloo 2', sans-serif; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-soft); }
section { padding: 90px 0; }

/* ---------- NAVBAR ---------- */
.navbar {
  background: rgba(10,10,10,0.75); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: background 0.3s ease;
  padding-top: 16px; padding-bottom: 16px;
}
.navbar.navbar-scrolled { background: rgba(10,10,10,0.97); }
.brand-pill { display: flex; align-items: center; gap: 8px; background: var(--yellow); border-radius: 30px; padding: 6px 16px 6px 6px; }
.brand-pill img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.brand-pill span { font-weight: 700; font-size: 0.78rem; color: #14130A; }
.navbar-dark .nav-link { color: var(--text-dim); font-weight: 500; font-size: 0.86rem; }
.navbar-dark .nav-link:hover { color: var(--yellow); }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(245,228,0,0.25); }

/* ---------- BUTTONS ---------- */
.btn-brand { background: var(--yellow); color: #14130A; border: 1px solid var(--yellow); font-weight: 600; border-radius: 30px; padding: 0.65rem 1.6rem; }
.btn-brand:hover { background: var(--yellow-soft); color: #14130A; transform: translateY(-1px); }
.btn-outline-brand { background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 30px; padding: 0.65rem 1.6rem; }
.btn-outline-brand:hover { border-color: var(--text-dim); background: var(--surface); color: var(--text); }

/* ---------- HERO (editorial, oversized type) ---------- */
.hero { padding: 100px 0 70px; }
.hero-eyebrow { font-size: 0.82rem; font-weight: 600; color: var(--yellow); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 980px; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero .sub { margin-top: 30px; font-size: 1.1rem; color: var(--text-dim); max-width: 640px; }
.hero-strip { margin-top: 90px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-faint); }
.hero-strip strong { color: var(--text); font-weight: 600; }

/* ---------- SECTION HEADER ---------- */
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-eyebrow { font-size: 0.8rem; font-weight: 600; color: var(--yellow); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.sec-title { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; max-width: 620px; }

/* ---------- WORK GRID ---------- */
.tab-btn { font-weight: 600; font-size: 0.85rem; padding: 10px 20px; border-radius: 30px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); cursor: pointer; transition: all 0.2s ease; }
.tab-btn.active { background: var(--yellow); color: #14130A; border-color: var(--yellow); }
.tab-btn:hover:not(.active) { border-color: var(--yellow-deep); color: var(--text); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 44px; }
.work-item { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; background: var(--surface); }
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; opacity: 0; transition: opacity 0.3s ease;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.work-tag { font-size: 0.64rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; background: rgba(245,228,0,0.15); color: var(--yellow); border: 1px solid rgba(245,228,0,0.4); padding: 3px 10px; border-radius: 20px; }
.work-client { font-family: 'Baloo 2', sans-serif; font-size: 1.1rem; font-weight: 700; }
.work-desc { font-size: 0.74rem; color: var(--text-dim); margin-top: 2px; }

/* ---------- PRICING (editorial columns) ---------- */
.plan-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.plan-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.plan-col { padding: 40px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.plan-col:last-child { border-right: none; }
.plan-pop { position: absolute; top: 40px; right: 32px; font-size: 0.64rem; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid var(--yellow-deep); padding: 4px 10px; border-radius: 20px; }
.plan-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 2.2rem; letter-spacing: -0.02em; }
.plan-visit { font-size: 0.78rem; color: var(--text-faint); margin-top: 6px; }
.plan-price { font-family: 'Baloo 2', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--yellow); margin-top: 22px; }
.plan-price .strike { font-family: 'Poppins', sans-serif; font-size: 0.85rem; color: var(--text-faint); text-decoration: line-through; font-weight: 400; margin-right: 8px; }
.plan-price .period { font-family: 'Poppins', sans-serif; font-size: 0.75rem; color: var(--text-faint); font-weight: 400; }
.plan-feats { list-style: none; margin-top: 26px; padding: 0; display: flex; flex-direction: column; }
.plan-feats li { font-size: 0.85rem; color: var(--text-dim); padding: 10px 0; border-top: 1px solid var(--border); }
.plan-feats li:first-child { border-top: none; }
.plan-feats .feat-label { font-size: 0.66rem; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 16px; }
.plan-col .btn { width: 100%; justify-content: center; margin-top: 26px; }

/* ---------- BIG CTA ---------- */
.cta-bleed { position: relative; padding: 0; overflow: hidden; height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35) saturate(0.9); }
.cta-bleed .content { position: relative; z-index: 2; padding: 0 24px; }
.cta-bleed h2 { font-weight: 800; font-size: clamp(2.2rem, 6.6vw, 4.4rem); letter-spacing: -0.02em; color: var(--yellow); }
.cta-bleed p { margin-top: 16px; color: var(--text-dim); font-size: 1rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-bleed .btn { margin-top: 28px; }

/* ---------- FOOTER ---------- */
footer { padding: 80px 0 30px; border-top: 1px solid var(--border); }
.foot-col h4 { font-family: 'Baloo 2', sans-serif; font-size: 0.83rem; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.foot-col p, .foot-col a { display: block; font-size: 0.84rem; color: var(--text-dim); margin-bottom: 8px; }
.foot-col a:hover { color: var(--yellow); }
.foot-faq-q { font-size: 0.82rem; color: var(--text); font-weight: 600; margin-top: 12px; }
.foot-faq-q:first-child { margin-top: 0; }
.foot-faq-a { font-size: 0.77rem; color: var(--text-faint); margin-top: 3px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 6px; }
.newsletter-form input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 0.82rem; font-family: 'Poppins', sans-serif; outline: none; }
.newsletter-form input:focus { border-color: var(--yellow); }
.newsletter-form button { background: var(--yellow); border: none; border-radius: 8px; padding: 10px 16px; font-weight: 700; color: #14130A; cursor: pointer; font-size: 0.82rem; }
.newsletter-note { font-size: 0.73rem; color: var(--yellow); margin-top: 8px; min-height: 14px; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--text-faint); }
.foot-bottom .footer-brand { display: flex; align-items: center; gap: 10px; }
.foot-bottom .footer-brand img { width: 22px; height: 22px; border-radius: 50%; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { border-color: var(--yellow); }
.social-row svg { width: 15px; height: 15px; color: var(--text-dim); }
.social-row a:hover svg { color: var(--yellow); }

/* ---------- LIGHTBOX (Bootstrap modal, Vue-controlled) ---------- */
.modal-content.brand-modal { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.modal-backdrop.brand-backdrop { background: #060604; opacity: 0.94 !important; }
.lightbox-img { width: 100%; display: block; max-height: 74vh; object-fit: contain; background: #000; }
.lightbox-meta { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.lightbox-meta .p-client { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.05rem; }
.lightbox-meta .p-desc { font-size: 0.8rem; color: var(--text-dim); }
.lightbox-nav-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--black); color: var(--text); }
.lightbox-nav-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.lightbox-close-btn { position: absolute; top: -16px; right: -16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--black); color: var(--text); z-index: 5; }

.fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-width: 991.98px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-cols, .plan-cols.cols-2 { grid-template-columns: 1fr; }
  .plan-col { border-right: none; }
}
@media (max-width: 575.98px) {
  .work-grid { grid-template-columns: 1fr; }
}
