/*
Theme Name: Pole Dancers Charters
Theme URI: https://poledancerscharters.com
Author: Digital Roofer Marketing
Author URI: https://digitalroofermarketing.com
Description: Custom theme for Pole Dancers Charters LLC. Lake Hartwell fishing charters and sunset cruises.
Version: 1.0.0
License: GPL v2 or later
Text Domain: pole-dancers-charters
*/

/* ============================================================
   1. DESIGN TOKENS
   Palette pulled directly from the logo (brief Section 3).
   Change values here only. Everything else references vars.
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:          #000000; /* page base */
  --bg-elev:     #0A0A0A; /* elevated cards, low */
  --bg-elev-2:   #171717; /* elevated cards, high / dividers */

  /* Brand purple */
  --purple:        #9333EA; /* primary: headlines, CTAs, wordmark */
  --purple-bright: #C084FC; /* neon: glows, hovers, accents */
  --purple-deep:   #6B21A8; /* shadow: letter shadows, gradient base */

  /* Text */
  --text:        #F4F4F5; /* body / main */
  --text-muted:  #A1A1AA; /* captions, secondary, FAQ answers */
  --silver:      #E5E5E5; /* fish-silver: icons, dividers, accents */
  --white:       #FFFFFF; /* highest-contrast text only */

  /* Effects */
  --grad: linear-gradient(135deg, #6B21A8 0%, #9333EA 50%, #C084FC 100%);
  --glow: 0 0 20px rgba(192,132,252,.5), 0 0 40px rgba(147,51,234,.3);
  --shadow-card: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(192,132,252,.08);

  /* Type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif; /* hero + big titles */
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-script:  'Caveat', cursive; /* tagline accents ONLY, used sparingly */

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --gutter: 22px;

  /* Chrome heights (used by sticky nav + scroll offsets) */
  --topbar-h: 38px;
  --nav-h: 70px;
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* extra bottom space so mobile sticky CTA never covers footer content */
  padding-bottom: 0;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--white); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; }

p { margin: 0 0 1em; }

::selection { background: var(--purple); color: var(--white); }

:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   3. TYPOGRAPHY HELPERS
   ============================================================ */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: .98; }
.script  { font-family: var(--font-script); font-weight: 700; }
.glow    { text-shadow: var(--glow); }
.purple  { color: var(--purple-bright); }

/* ============================================================
   4. BUTTONS
   .btn-r  = primary purple gradient (was rust-red for roofers)
   .btn-o  = outline secondary (purple border on dark)
   ============================================================ */
.btn-r, .btn-o {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn-r {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(147,51,234,.35);
}
.btn-r:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(192,132,252,.5);
}
.btn-o {
  background: transparent;
  color: var(--text);
  border-color: rgba(192,132,252,.45);
}
.btn-o:hover {
  color: var(--white);
  border-color: var(--purple-bright);
  background: rgba(147,51,234,.12);
  transform: translateY(-2px);
}
.btn-r.sm, .btn-o.sm { padding: 12px 20px; font-size: .92rem; }
.btn-r svg, .btn-o svg { width: 18px; height: 18px; }

/* ============================================================
   5. TOP BAR
   ============================================================ */
.topbar {
  background: var(--bg-elev);
  border-bottom: 1px solid rgba(192,132,252,.1);
  font-size: .8rem;
  color: var(--text-muted);
  height: var(--topbar-h);
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topbar a { color: var(--silver); font-weight: 600; }
.topbar a:hover { color: var(--purple-bright); }
.topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar-r span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   6. STICKY NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(0,0,0,.92);
  border-bottom-color: rgba(192,132,252,.18);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 120px; width: auto; transform: translateY(28px); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--purple-bright); }
.nav-links svg { width: 14px; height: 14px; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-elev-2);
  border: 1px solid rgba(192,132,252,.16);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: var(--shadow-card);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.nav-dropdown a {
  display: block;
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-dropdown a:hover { background: rgba(147,51,234,.16); color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  font-size: .92rem;
  padding: 11px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(147,51,234,.35);
  transition: transform .2s ease, box-shadow .25s ease;
}
.nav-cta:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(192,132,252,.5); }
.nav-cta svg { width: 16px; height: 16px; }

/* Hamburger */
.mob-tog {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mob-tog span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  transition: background .2s ease;
}
.mob-tog:hover span { background: var(--purple-bright); }

/* ============================================================
   7. MOBILE NAV (slide-in panel)
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 90px 26px 40px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--purple-bright); }
.mobile-nav a.mn-sub {
  font-size: 1.02rem;
  font-weight: 500;
  padding-left: 22px;
  color: var(--text-muted);
}
.mnc {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}
.mnc:hover { color: var(--purple-bright); }

/* ============================================================
   8. SECTION SYSTEM
   Dark theme is the default. .sec-purple adds purple atmosphere.
   (.sec-w / light sections from roofer theme are intentionally unused.)
   ============================================================ */
.sec-d {
  position: relative;
  padding: 96px 0;
  background: var(--bg);
}
.sec-d.alt { background: var(--bg-elev); }
.sec-purple {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(147,51,234,.22) 0%, rgba(147,51,234,0) 55%),
    var(--bg);
}

/* Section header block */
.sh { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sl {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 14px;
}
.st {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .01em;
}
.sd {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 16px 0 0;
  line-height: 1.75;
}

/* ============================================================
   9. FISH DIVIDER (cinematic accent between sections)
   ============================================================ */
.fish-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--purple);
  opacity: .6;
}
.fish-divider::before,
.fish-divider::after {
  content: "";
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--purple));
}
.fish-divider::after { background: linear-gradient(90deg, var(--purple), transparent); }
.fish-divider svg { width: 30px; height: 30px; }

/* ============================================================
   10. FAQ ACCORDION
   Toggle handled in main.js via .faq-q click -> .open on .faq-item
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(192,132,252,.14);
  border-radius: 12px;
  background: var(--bg-elev);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
}
.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--purple-bright);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item.open .faq-q { color: var(--purple-bright); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  opacity: 0;
  padding: 0 22px;
  color: var(--text-muted);
  line-height: 1.75;
  transition: max-height .3s ease, opacity .3s ease, padding .3s ease;
}
.faq-item.open .faq-a {
  max-height: 360px;
  opacity: 1;
  padding: 0 22px 22px;
}

/* ============================================================
   11. CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(147,51,234,.3) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(192,132,252,.14);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--white);
}
.cta-band p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid rgba(192,132,252,.12);
  padding: 70px 0 34px;
  color: var(--text-muted);
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
}
.footer h4 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fb {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.fb span { color: var(--purple-bright); }
.fb-logo img { height: 84px; width: auto; margin-bottom: 14px; }
.fdesc { line-height: 1.7; max-width: 320px; }
.fl { list-style: none; margin: 0; padding: 0; }
.fl li { margin-bottom: 11px; }
.fl a { color: var(--text-muted); }
.fl a:hover { color: var(--purple-bright); }
.fcon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.fcon svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--purple-bright); }
.fcon a { color: var(--silver); font-weight: 600; }
.fcon a:hover { color: var(--purple-bright); }
.fsocial { display: flex; gap: 12px; margin-top: 16px; }
.fsocial a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(192,132,252,.25);
  border-radius: 50%;
  color: var(--silver);
}
.fsocial a:hover { background: rgba(147,51,234,.18); border-color: var(--purple-bright); color: var(--white); }
.fsocial svg { width: 18px; height: 18px; }

.fbot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .82rem;
}
.fbot a { color: var(--text-muted); }
.fbot a:hover { color: var(--purple-bright); }
.flicense { color: var(--text-muted); font-size: .82rem; margin-top: 6px; }

/* ============================================================
   13. MOBILE STICKY CTA (bottom bar)
   ============================================================ */
.mob-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(192,132,252,.2);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.mob-cta-inner { display: flex; gap: 10px; }
.mob-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .98rem;
  padding: 14px;
  border-radius: 100px;
}
.mc-call { background: transparent; color: var(--text); border: 1.5px solid rgba(192,132,252,.45); }
.mc-call:hover { color: var(--white); }
.mc-call svg { width: 18px; height: 18px; }
.mc-book { background: var(--grad); color: var(--white); }
.mc-book:hover { color: var(--white); }

/* ============================================================
   14. SCROLL ANIMATIONS
   .animate sets initial state; main.js adds .visible to reveal.
   Modifiers: .fade-up (default), .scale-in
   ============================================================ */
.animate { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.animate.fade-up  { transform: translateY(34px); }
.animate.scale-in { transform: scale(.94); }
.animate.visible  { opacity: 1; transform: none; }

/* Stagger helpers (optional, add to children) */
.animate.d1 { transition-delay: .08s; }
.animate.d2 { transition-delay: .16s; }
.animate.d3 { transition-delay: .24s; }
.animate.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .mob-tog { display: flex; }
  .nav-logo img { height: 130px; transform: translateY(24px); }
  .topbar-r span:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  .sec-d, .sec-purple { padding: 64px 0; }
  .sh { margin-bottom: 40px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .fbot { justify-content: center; text-align: center; }
  .mob-cta { display: block; }
  /* keep footer / page content clear of the fixed bottom CTA */
  body { padding-bottom: 74px; }
}

@media (max-width: 480px) {
  .topbar { font-size: .72rem; }
  .topbar-r { gap: 12px; }
  .cta-btns .btn-r, .cta-btns .btn-o { width: 100%; justify-content: center; }
}
/* ===== WordPress wp_nav_menu compatibility (additive; mirrors .nav-dropdown) ===== */
.nav-links .sub-menu{position:absolute;top:100%;left:0;min-width:220px;list-style:none;margin:0;background:var(--bg-elev-2);border:1px solid rgba(192,132,252,.16);border-radius:12px;padding:8px;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;box-shadow:var(--shadow-card);}
.nav-links > li:hover .sub-menu{opacity:1;visibility:visible;transform:translateY(4px);}
.nav-links .sub-menu li{position:static;}
.nav-links .sub-menu a{display:block;color:var(--text);font-size:.92rem;font-weight:500;padding:8px 14px;border-radius:8px;}
.nav-links .sub-menu a:hover{background:rgba(147,51,234,.16);color:var(--white);}
.nav-links > li.current-menu-item > a,.nav-links > li.current_page_item > a,.nav-links > li.current-menu-parent > a,.nav-links > li.current-page-ancestor > a{color:var(--purple-bright);}
