/* ============================================================
   THE LA BALLOONIST — THEME.CSS
   Centralized dark theme, navbar, & premium footer styles
   Shared across every page (replaces inline <style> blocks)
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --purple: #560079;
  --accent: #560079;
  --primary: #560079;
  --dark-bg: #0b0b0b;
  --dark-soft: #111111;
  --light-text: #f5f0f7;
}

/* ── Dark-Only Background ─────────────────────────────────── */
html,
html.dark,
html.light,
body,
body.dark,
body.light,
:root:not(.dark) {
  background:
    radial-gradient(circle at 12% 0%, rgba(86, 0, 121, 0.55), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(183, 119, 212, 0.20), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(86, 0, 121, 0.35), transparent 35%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%) !important;
  background-attachment: fixed !important;
  color: #f5f0f7 !important;
  color-scheme: dark !important;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0 !important;
  position: relative;
  isolation: isolate;
}

/* Subtle grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 85%);
}

/* Purple glow orb top-right */
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -140px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(86, 0, 121, 0.42), transparent 68%);
  filter: blur(8px);
}

/* Force transparency on content sections */
.section,
.coverage-section,
.studio-section,
.services-wrap,
.services-inner,
.studio-wrap,
.studio-hero,
.studio-method,
.studio-cta,
.contact-page,
.cf-section,
.cf-form-outer,
.cf-hero,
.cf-success,
.gallery-wrap {
  background: transparent !important;
  color: #f5f0f7 !important;
}

/* ── Gold → Purple Gradient Overrides ─────────────────────── */
.gold-gradient {
  background: linear-gradient(135deg, #560079, #9b32c8) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ── NAVBAR — Glassmorphism Pill ──────────────────────────── */
.navbar,
.header,
.site-header {
  width: min(calc(100% - 32px), 1180px) !important;
  margin: 18px auto 0 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  padding: 10px 18px !important;
  background: rgba(11, 11, 11, 0.72) !important;
  border: 1px solid rgba(183, 119, 212, 0.28) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
}

nav {
  border-radius: 999px !important;
}

.navbar nav,
.header nav,
.site-header nav {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar::before,
.header::before,
.site-header::before {
  border-radius: inherit !important;
}

/* Nav link colors */
.navbar a,
.header a,
.site-header a,
nav a {
  color: rgba(245, 240, 247, 0.75) !important;
}

.navbar a:hover,
.header a:hover,
.site-header a:hover,
nav a:hover,
.navbar a.active,
.header a.active,
.site-header a.active,
nav a.active {
  color: #b777d4 !important;
}

/* Book Now button — gradient purple */
.nav-book-btn,
.book-btn,
.nav-book,
a[href*="booking"],
a[href*="contact"].nav-book-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, #b414d4 0%, #8700b8 100%) !important;
  border: 1px solid rgba(216, 94, 255, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 36px rgba(135, 0, 184, 0.36) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.nav-book-btn:hover,
.book-btn:hover,
.nav-book:hover {
  color: #ffffff !important;
  background: linear-gradient(180deg, #c624ee 0%, #9600cc 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 22px 50px rgba(135, 0, 184, 0.48) !important;
}

/* Contact nav link — keep as regular link, not button */
.navbar a[href*="contact"]:not(.nav-book-btn):not(.book-btn):not(.nav-book),
.header a[href*="contact"]:not(.nav-book-btn):not(.book-btn):not(.nav-book),
.site-header a[href*="contact"]:not(.nav-book-btn):not(.book-btn):not(.nav-book),
nav a[href*="contact"]:not(.nav-book-btn):not(.book-btn):not(.nav-book) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(245, 240, 247, 0.75) !important;
  transform: none !important;
}

.navbar a[href*="contact"]:not(.nav-book-btn):hover,
nav a[href*="contact"]:not(.nav-book-btn):hover,
nav a[href*="contact"].active:not(.nav-book-btn) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #b777d4 !important;
  transform: none !important;
}

/* ── THEME TOGGLE — Hide (dark-only site) ────────────────── */
#theme-toggle,
#dark-mode-toggle,
#light-mode-toggle,
.theme-toggle,
.theme-switch,
.theme-btn,
.dark-toggle,
.light-toggle,
.mode-toggle,
.color-mode-toggle,
.nav-theme-toggle,
.nav-theme-btn,
[data-theme-toggle],
[data-toggle-theme],
[data-action="toggle-theme"],
[aria-label*="theme" i],
[aria-label*="dark" i],
[aria-label*="light" i],
[title*="theme" i],
[title*="dark" i],
[title*="light" i] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* ── OLD FOOTER — Hide (replaced by premium footer) ─────── */
.old-footer,
.global-footer,
.layout-footer,
#footer,
#site-footer {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ── PREMIUM FOOTER ──────────────────────────────────────── */
.premium-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 110px 7% 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(86, 0, 121, 0.55), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(183, 119, 212, 0.20), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(86, 0, 121, 0.35), transparent 35%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%) !important;
  border-top: 1px solid rgba(183, 119, 212, 0.35);
}

.premium-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 85%);
}

.premium-footer::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -140px;
  left: auto !important;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(86, 0, 121, 0.42), transparent 68%) !important;
  filter: blur(8px);
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Footer CTA Card (home, gallery) */
.footer-cta-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  margin-bottom: 58px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035)),
    rgba(86, 0, 121, 0.12) !important;
  border: 1px solid rgba(183, 119, 212, 0.32) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 30px;
  align-items: center;
}

.footer-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(183, 119, 212, 0.24), transparent 34%);
  pointer-events: none;
}

.footer-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(86, 0, 121, 0.55));
}

.footer-logo-wrap h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
  font-style: italic;
  font-weight: 300;
  margin: 0;
  background: linear-gradient(135deg, #ffffff, #ddb5ef, #9b32c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-cta-card p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.footer-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Footer Brand Row (services, studio, contact) */
.footer-brand-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 52px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.premium-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.premium-footer .footer-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.premium-footer .footer-brand h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.9;
  font-style: italic;
  font-weight: 300;
  color: #ffffff;
}

.footer-intro {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.footer-cta-group {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer Buttons (both variants) */
.footer-main-btn,
.footer-secondary-btn,
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.35s ease;
  white-space: nowrap;
}

.footer-main-btn,
.footer-btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #560079, #9b32c8);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 45px rgba(86, 0, 121, 0.45);
}

.footer-main-btn:hover,
.footer-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(86, 0, 121, 0.62);
}

.footer-secondary-btn,
.footer-btn.secondary {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
}

.footer-secondary-btn:hover,
.footer-btn.secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 119, 212, 0.7);
  background: rgba(86, 0, 121, 0.24);
}

/* Footer Grid & Panels */
.premium-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 34px;
  padding-bottom: 52px;
  margin-top: 0 !important;
}

.premium-footer .footer-panel {
  min-height: auto !important;
  padding: 30px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.095) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
  backdrop-filter: none !important;
}

.premium-footer .footer-panel h4 {
  margin: 0 0 22px !important;
  color: #c88be0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  font-family: "Inter", sans-serif !important;
}

.premium-footer .footer-links,
.premium-footer .footer-contact,
.premium-footer .footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-footer .footer-links a,
.premium-footer .footer-contact a,
.premium-footer .footer-social a {
  width: fit-content;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
  transition: 0.3s ease;
}

.premium-footer .footer-links a:hover,
.premium-footer .footer-contact a:hover,
.premium-footer .footer-social a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.premium-footer .footer-contact a,
.premium-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #c88be0;
  transition: 0.3s ease;
}

.premium-footer .footer-contact a:hover .footer-icon,
.premium-footer .footer-social a:hover .footer-icon {
  color: #ffffff;
  transform: scale(1.08);
}

.premium-footer .footer-social a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.premium-footer .footer-social a:hover {
  background: rgba(86, 0, 121, 0.35);
  border-color: rgba(183, 119, 212, 0.45);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  font-weight: 300;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ── Section Text Colors ─────────────────────────────────── */
.top-text,
.coverage-top,
.studio-top,
.services-eyebrow {
  color: #b777d4 !important;
  letter-spacing: 0.22em;
}

.main-title,
.coverage-title,
.studio-title {
  color: #f7f0fa !important;
}

.coverage-desc,
.studio-desc {
  color: rgba(245, 240, 247, 0.72) !important;
}

.hero-cta-link,
.hero-btn,
.view-all,
.studio-link {
  color: #b777d4 !important;
}

.hero-cta-link:hover,
.hero-btn:hover,
.view-all:hover,
.studio-link:hover {
  color: #ffffff !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-cta-card {
    grid-template-columns: 1fr;
  }

  .footer-actions,
  .footer-cta-group {
    justify-content: flex-start;
  }

  .premium-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .navbar,
  .header,
  .site-header,
  nav {
    border-radius: 24px !important;
  }

  .navbar,
  .header,
  .site-header {
    width: calc(100% - 24px) !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 600px) {
  .premium-footer {
    padding: 78px 6% 24px;
  }

  .footer-cta-card {
    padding: 28px;
    border-radius: 26px;
  }

  .footer-logo-wrap {
    align-items: flex-start;
  }

  .footer-logo-wrap img {
    width: 58px;
    height: 58px;
  }

  .footer-actions,
  .footer-cta-group {
    flex-direction: column;
  }

  .footer-main-btn,
  .footer-secondary-btn,
  .footer-btn {
    width: 100%;
  }

  .premium-footer .footer-panel {
    padding: 24px !important;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .premium-footer .footer-brand {
    align-items: flex-start;
  }

  .premium-footer .footer-brand img {
    width: 58px;
    height: 58px;
  }
}
