/* ============================================================
   VIBE TRIBE NOTIONS — main.css
   Shared styles: variables, reset, nav, footer, utilities,
   buttons, animations, reveal, cart, toast, mobile drawer
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --pd:   #0e0518;
  --pm:   #2a1250;
  --pa:   #7c3aed;
  --pl:   #a855f7;
  --gold: #f59e0b;
  --gl:   #fbbf24;
  --w:    #ffffff;
  --muted:#c4b5d8;
  --fd:   'Cormorant Garamond', serif;
  --fb:   'Outfit', sans-serif;
  --max-w: 1200px;
  --r:    22px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--pd);
  color: var(--w);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.h2 {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}
.h2 strong { font-weight: 600; }
.h2 em     { font-style: italic; color: var(--pl); }
.body-text {
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.body-text strong { color: var(--w); font-weight: 500; }

/* ── SECTION UTILITY ── */
.section-pad { padding: clamp(80px, 10vw, 140px) 0; }
.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-title {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
}
.section-title strong { font-weight: 600; }
.section-title em     { color: var(--pl); font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fb);
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.btn-sm  { font-size: 0.78rem; padding: 10px 24px; }
.btn-md  { font-size: 0.88rem; padding: 14px 36px; }
.btn-lg  { font-size: 0.95rem; padding: 17px 48px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gl));
  color: var(--pd);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: var(--w);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--w);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-purple {
  background: linear-gradient(135deg, var(--pa), var(--pl));
  color: var(--w);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

/* ── NAVIGATION — scope away from mobile-nav ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(14, 5, 24, 0.96);
  backdrop-filter: blur(24px);
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}
.nav-logo {
  font-family: var(--fd);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-logo em,
.nav-logo span { color: var(--gold); font-style: normal; }

.nav-menu,
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-menu a,
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.nav-menu a:hover,
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Cart button in nav */
.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--w);
}
.nav-cart:hover { background: rgba(124, 58, 237, 0.38); }
.cart-count {
  background: var(--gold);
  color: var(--pd);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Hamburger */
.ham,
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.ham span,
.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 100vw);
  height: 100vh;
  background: #0d0520;
  border-left: 1px solid rgba(124, 58, 237, 0.2);
  z-index: 300;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(124,58,237,0.1);
  display: block;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mn-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO COMMON ── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(14,5,24,0.68) 0%,
    rgba(42,18,80,0.5) 40%,
    rgba(14,5,24,0.9) 100%);
}
.hero-scroll,
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
  z-index: 2;
}

/* ── QUOTE PULL ── */
.quote-pull {
  margin: 24px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 0 14px 14px 0;
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}
.quote-pull cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-family: var(--fb);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.split-img { position: relative; }
.split-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}
.split-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gl));
  color: var(--pd);
  padding: 20px 26px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(245,158,11,0.3);
}
.split-img-badge .big {
  font-family: var(--fd);
  font-size: 2.4rem;
  display: block;
  line-height: 1;
}
.split-text .eyebrow { text-align: left; }
.split-text .h2 { text-align: left; margin-bottom: 20px; }

/* ── FOOTER ── */
footer {
  background: #060110;
  border-top: 1px solid rgba(124, 58, 237, 0.14);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.footer-logo {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-logo em,
.footer-logo span { color: var(--gold); font-style: normal; }
.footer-tagline {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 230px;
  margin-bottom: 24px;
}
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a {
  font-size: 0.82rem;
  color: rgba(196,181,216,0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.86rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--w); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-socials { display: flex; gap: 10px; }
.soc-btn,
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.soc-btn:hover,
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: min(420px, 100vw);
  height: 100vh;
  background: #120630;
  border-left: 1px solid rgba(124,58,237,0.25);
  z-index: 401;
  transition: right 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(124,58,237,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-title {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 600;
}
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-close:hover { background: rgba(255,255,255,0.08); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(124,58,237,0.12);
}
.cart-item-img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 0.82rem; color: var(--gold); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.4);
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: rgba(124,58,237,0.25); }
.qty-num { font-size: 0.85rem; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 0;
  align-self: flex-start;
}
.cart-item-remove:hover { color: #f87171; }
.cart-footer {
  padding: 20px 28px 32px;
  border-top: 1px solid rgba(124,58,237,0.18);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--muted);
}
.cart-total.grand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 20px;
}
.cart-total.grand span:last-child {
  color: var(--gold);
  font-family: var(--fd);
  font-size: 1.4rem;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, var(--pa), var(--pl));
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 500;
  opacity: 0;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── CTA SECTION (shared) ── */
#cta, #final-cta {
  position: relative;
  overflow: hidden;
}
.cta-bg, .final-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
}
.cta-bg::after, .final-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(14,5,24,0.95),
    rgba(42,18,80,0.88),
    rgba(14,5,24,0.95));
}
.cta-inner, .final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(80px,10vw,130px) 0;
}
.cta-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.cta-title {
  font-family: var(--fd);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cta-title .line2 { color: var(--pl); font-weight: 300; }
.cta-title em     { font-weight: 300; font-style: italic; display: block; font-size: 0.75em; color: var(--pl); }
.cta-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 20px 0 44px;
  letter-spacing: 0.1em;
}
.cta-sub strong, .cta-sub span { color: var(--gold); font-weight: 600; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.rd1, .reveal-delay-1 { transition-delay: 0.08s; }
.rd2, .reveal-delay-2 { transition-delay: 0.16s; }
.rd3, .reveal-delay-3 { transition-delay: 0.24s; }
.rd4, .reveal-delay-4 { transition-delay: 0.32s; }
.rd5, .reveal-delay-5 { transition-delay: 0.40s; }
.rd6                   { transition-delay: 0.48s; }

/* ── KEYFRAMES ── */
@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}


/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-menu, .nav-links,
  .nav-actions .btn-ghost,
  .nav-actions .btn-gold { display: none; }   /* hide "The Shop" & "Book Now" text btns */
  .ham, .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-img img { height: 360px; }
  .split-img-badge { bottom: 14px; left: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  /* Tighten navbar on mobile */
  #navbar {
    padding: 16px 20px;
  }
  .nav-logo {
    font-size: 1.15rem;
  }
  /* Hide cart text, keep icon only */
  .nav-cart {
    padding: 8px 12px;
    font-size: 0;        /* hides "Cart" text */
    gap: 0;
  }
  .nav-cart .cart-count {
    font-size: 0.65rem;  /* keep badge visible */
  }
  /* Make ham tappable — large touch target */
  .ham, .hamburger {
    padding: 8px;
    margin: -8px;        /* offset padding so layout stays same */
    z-index: 201;        /* above everything in navbar */
    position: relative;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}


#navbar {
  overflow: visible !important;
  z-index: 9999;
}

.nav-menu {
  overflow: visible;
}

.mobile-nav {
  z-index: 300;
}

.mobile-overlay {
  z-index: 299;
}

/* Dropdown container */
.has-dropdown {
  position: relative;
}
.has-dropdown {
  position: relative;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px); /* adds spacing = no flicker */
  left: 0;

  background: #0d0520;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;

  min-width: 200px;
  padding: 8px 0;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;

  z-index: 9999;
}

/* Hover trigger */
.has-dropdown:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Fix hover gap */
.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

/* Items */
.dropdown li {
  list-style: none;
}

.dropdown a {
  padding: 12px 18px;
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.dropdown a:hover {
  background: rgba(124, 58, 237, 0.2);
  color: var(--gold);
}
.submenu-toggle {
  width: 100%;
  display: block;
}

.submenu-toggle {
  all: unset; /* removes ugly default button style */

  width: 100%;
  display: block;
  cursor: pointer;

  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);

  padding: 12px 0;
  border-bottom: 1px solid rgba(124,58,237,0.1);

  position: relative;
}

/* arrow alignment */
.submenu-toggle::after {
  content: "▾";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

/* rotate arrow when open */
.mobile-submenu.open .submenu-toggle::after {
  transform: rotate(180deg);
}

.mobile-submenu .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-submenu.open .submenu {
  max-height: 500px;
}


/* Desktop active */
.nav-menu a.active {
  color: var(--gold);
}

/* Dropdown active */
.dropdown a.active {
  color: var(--gold);
  background: rgba(124, 58, 237, 0.2);
}

/* Parent active (Reiki when child is active) */
.has-dropdown.active > a {
  color: var(--gold);
}

/* Mobile active */
.mobile-nav a.active {
  color: var(--gold);
}

/* Mobile submenu parent active */
.mobile-submenu.active .submenu-toggle {
  color: var(--gold);
}