/* ═══════════════════════════════════════════════════
   Mozzcat Media Services — Main Stylesheet
   Bootstrap 5.3 dark theme + custom overrides
════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --amber:        #d4930a;
  --amber-light:  #f5b922;
  --amber-dim:    rgba(212, 147, 10, 0.18);
  --dark:         #0d0d18;
  --dark-card:    #161628;
  --dark-elevated:#1e1e38;
  --text-muted:   #8888aa;
  --nav-height:   96px;
}

/* ── Base ── */
html { scroll-behavior: smooth; background: transparent; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: transparent;
  color: #e8e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Dark base sits behind the parallax stage */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: var(--dark);
  z-index: -2;
  pointer-events: none;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ── Utilities ── */
.text-amber       { color: var(--amber-light) !important; }
.bg-dark-card     { background-color: rgba(22, 22, 40, 0.87) !important; }
.bg-dark-elevated { background-color: rgba(30, 30, 56, 0.92) !important; }
.border-amber-dim { border-color: var(--amber-dim) !important; }
.letter-spacing   { letter-spacing: .12em; }
.opacity-85       { opacity: .85; }

/* ── Buttons ── */
.btn-amber {
  background-color: var(--amber);
  border-color: var(--amber);
  color: #0d0d18;
  font-weight: 600;
}
.btn-amber:hover, .btn-amber:focus {
  background-color: var(--amber-light);
  border-color: var(--amber-light);
  color: #0d0d18;
}
.bg-amber { background-color: var(--amber) !important; }
.pkg-dot  { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ── Navbar ── */
#mainNav {
  background: linear-gradient(to bottom, #1a0e04 60%, transparent 100%);
  border-bottom: none;
  height: var(--nav-height);
  z-index: 10;
}
#mainNav.scrolled {
  background: linear-gradient(to bottom, #1a0e04 60%, transparent 100%);
  border-bottom: none;
}
.navbar-brand { line-height: 1; }
.navbar-logo {
  height: 90px;
  width: auto;
  display: block;
}
.nav-link { color: #cccce0 !important; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--amber-light) !important; }

/* ── Hero Parallax ── */
.hero-parallax {
  min-height: 100vh;
  position: relative;
  overflow: visible;
  /*
    Replace the gradient below with your own hero image:
    background-image: linear-gradient(rgba(13,13,24,.6), rgba(13,13,24,.8)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  */
  background: transparent;
  z-index: 2;
}

/* Grain overlay */
.hero-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-parallax { background-attachment: scroll; }
}

.hero-eyebrow { font-size: .8rem; }

.scroll-cue {
  animation: bounce 2s infinite;
  opacity: .5;
  text-decoration: none;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  min-height: 320px;
  padding-top: var(--nav-height);
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(50, 25, 0, 0.5) 0%, transparent 60%),
    linear-gradient(180deg, #1a0e04 0%, #0d0d18 100%);
  background-attachment: fixed;
}
.audio-page-hero {
  background: transparent;
}
.page-hero.page-hero-sm { min-height: 240px; }
@media (max-width: 768px) { .page-hero { background-attachment: scroll; } }

/* ── Section common ── */
.section-pad {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  background-color: transparent;
}
.section-pad.bg-dark-card,
.section-pad.bg-dark-elevated {
  background-color: transparent !important;
}
.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0;
}

/* ── Why cards ── */
.why-card {
  background: var(--dark-elevated);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .25s, transform .25s;
}
.why-card:hover { border-color: var(--amber-dim); transform: translateY(-3px); }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber-dim);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--amber-light);
}
.why-icon-sm {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--amber-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--amber-light);
}

/* ── Package cards ── */
.package-card {
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .25s, box-shadow .25s;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.package-featured {
  background: linear-gradient(145deg, #1e1808, #0d0d18);
  border-color: var(--amber);
  box-shadow: 0 0 24px rgba(212, 147, 10, .25);
}
.pkg-badge {
  display: inline-block; padding: 3px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pkg-badge.bg-amber { background-color: var(--amber) !important; color: #0d0d18; }
.pkg-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700; line-height: 1;
}
.pkg-price sup  { font-size: 1rem; vertical-align: super; }
.pkg-price small{ font-size: .85rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.pkg-features li { padding: 3px 0; font-size: .9rem; }
.pkg-tier { letter-spacing: .08em; }
.pkg-label {
  cursor: pointer;
  background-color: transparent;
  transition: background-color .2s, border-color .2s, border-width .15s;
}
.pkg-label:hover { opacity: .9; }

/* Amber outline variant (Bootstrap has no built-in btn-outline-amber) */
.btn-outline-amber.pkg-label {
  color: var(--amber-light);
  border-color: var(--amber-light);
}

/* Selected: muted tinted bg, white border (2px), heading goes white */
.pkg-radio:checked + .pkg-label.btn-outline-success {
  background-color: rgba(25, 135, 84, 0.14) !important;
  border-color: #fff !important;
  border-width: 2px !important;
}
.pkg-radio:checked + .btn-outline-amber.pkg-label {
  background-color: rgba(245, 185, 34, 0.10) !important;
  border-color: #fff !important;
  border-width: 2px !important;
}
.pkg-radio:checked + .pkg-label.btn-outline-danger {
  background-color: rgba(220, 53, 69, 0.14) !important;
  border-color: #fff !important;
  border-width: 2px !important;
}
/* Heading and description text become white when selected (price text keeps its color via text-* class) */
.pkg-radio:checked + .pkg-label .fw-semibold,
.pkg-radio:checked + .pkg-label .text-muted { color: #fff !important; }

/* ── Tape badge ── */
.tape-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark-elevated); border: 1px solid rgba(255,255,255,.1);
  padding: 8px 18px; border-radius: 30px; font-size: .9rem;
  transition: border-color .2s;
}
.tape-badge:hover { border-color: var(--amber-dim); }

/* ── Process step ── */
.process-step { padding: 1.5rem; }
.step-number {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--amber); color: #0d0d18;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--amber) 0%, #a06800 100%);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 3;
  background-color: #0a1530;
  border-top: 1px solid var(--amber-dim);
  margin-top: auto;
  padding: 1.5rem 0;
  text-align: center;
}
.footer-stack {
  display: grid;
  gap: .8rem;
}
.footer-section {
  width: 100%;
}
.footer-section + .footer-section {
  padding-top: .8rem;
  border-top: 1px solid rgba(212, 147, 10, 0.14);
}
.footer-link-list,
.footer-contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1.35rem;
}
.footer-link-list li,
.footer-contact-list li {
  margin-bottom: 0 !important;
}
.footer-link {
  color: var(--text-muted); text-decoration: none;
  font-size: .875rem; line-height: 2;
  transition: color .2s;
}
.footer-link:hover { color: var(--amber-light); }

/* ── About page ── */
.stat-card    { background: var(--dark); border: 1px solid rgba(255,255,255,.06); }
.about-visual { border: 1px solid rgba(255,255,255,.06); }
.process-detail-card { border: 1px solid rgba(255,255,255,.06); }
.alert-card   { background: var(--dark-elevated); border: 1px solid rgba(255,255,255,.08); }

/* ── Services page ── */
.addon-table { color: #e8e8f0; }
.addon-table th { background: var(--dark-elevated) !important; color: #e8e8f0; border-color: rgba(255,255,255,.1) !important; }
.addon-table td { border-color: rgba(255,255,255,.08) !important; vertical-align: middle; }
.discount-card  { background: var(--dark-elevated); border: 1px solid rgba(255,255,255,.06); }
.payment-item   { background: var(--dark); border: 1px solid rgba(255,255,255,.06); }

/* ── Order form ── */
.form-section {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.07);
}
.form-section-title {
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; gap: .75rem;
}
.step-badge {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--amber); color: #0d0d18;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; flex-shrink: 0;
}
.form-control, .form-select {
  background-color: var(--dark-elevated) !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #e8e8f0 !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber) !important;
  box-shadow: 0 0 0 3px rgba(212,147,10,.2) !important;
}
.form-control::placeholder { color: #555566 !important; }
.form-label { font-size: .875rem; font-weight: 500; color: #b0b0cc; }

/* Add-on checkbox cards */
.addon-check-card {
  background: var(--dark-elevated);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s;
}
.addon-check-card:has(.addon-check:checked) { border-color: var(--amber); }

/* Estimate box */
.estimate-box {
  background: var(--dark-elevated);
  border: 1px solid var(--amber-dim);
}

/* Sidebar */
.sidebar-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.07);
}

/* Order success */
.order-number-badge {
  background: var(--dark-elevated);
  border: 1px solid var(--amber-dim);
}

/* ── Nav dropdown ── */
.nav-dropdown {
  background: var(--dark-elevated);
  border: 1px solid var(--amber-dim) !important;
  min-width: 210px;
  padding: .4rem 0;
}
.nav-dropdown .dropdown-item {
  color: #cccce0;
  font-size: .875rem;
  padding: .55rem 1.1rem;
  transition: background-color .15s, color .15s;
}
.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item.active {
  background-color: var(--amber-dim);
  color: var(--amber-light);
}

/* ── Audio services page ── */
.audio-option-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s;
}
.audio-option-card:hover { border-color: var(--amber-dim); }

/* ── Audio section teaser (home page) ── */
.service-split-card {
  background: var(--dark-elevated);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .25s, transform .25s;
}
.service-split-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-3px);
}
.service-split-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--amber-dim);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--amber-light);
}

/* ── Responsive ── */
@media (max-width: 576px) {
  .section-pad { padding: 3rem 0; }
  .hero-parallax {
    align-items: flex-start !important;
    background-attachment: scroll;
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + 3rem);
  }
  .page-hero {
    background-attachment: scroll;
    min-height: 300px;
    padding-top: calc(var(--nav-height) + 2.25rem);
  }
}

/* ═══════════════════════════════════════════════════
   CINEMATIC LAYER SYSTEM
════════════════════════════════════════════════════ */

/* ── Video hero background ── */
.hero-video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  object-fit: cover;
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-video-bg {
    display: block;
    opacity: 0.2;
  }
}

/* ── Hero entrance animations ── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-animate {
  opacity: 0;
  animation: hero-rise 0.85s ease var(--ad, 0s) forwards;
}

/* ── Waveform decoration ── */
.hero-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 36px;
}
.wv-bar {
  width: 2px;
  min-width: 2px;
  background: linear-gradient(to top, var(--amber), var(--amber-light));
  border-radius: 2px;
  animation: wv-pulse var(--wdur, 1.2s) ease-in-out var(--wdelay, 0s) infinite;
}
@keyframes wv-pulse {
  0%, 100% { height: var(--wmin, 5px); opacity: 0.3; }
  50%       { height: var(--wmax, 28px); opacity: 0.85; }
}

/* ── Floating particles ── */
.hero-particles {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: var(--ps, 2px);
  height: var(--ps, 2px);
  background: var(--amber-light);
  border-radius: 50%;
  opacity: 0;
  animation: particle-drift var(--pdur, 18s) ease-in-out var(--pdelay, 0s) infinite;
}
@keyframes particle-drift {
  0%   { opacity: 0;    transform: translate(0, 0); }
  15%  { opacity: 0.55; }
  85%  { opacity: 0.2;  }
  100% { opacity: 0;    transform: translate(var(--px, 20px), var(--py, -80px)); }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--rd, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Enhanced featured card glow on hover ── */
.package-featured:hover {
  box-shadow: 0 0 44px rgba(212, 147, 10, .45);
}

/* ── Full-page parallax image stage ── */
.parallax-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.p-layer {
  position: absolute;
  max-width: none;
  opacity: 0.2;
  filter: sepia(0.55) saturate(2.2) hue-rotate(8deg) brightness(0.72);
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

/* CTA banner stays solid — covers parallax stage */
.cta-banner { position: relative; z-index: 2; }
