/* ===================================================
   ShuaBuilds Portfolio — Shared Styles
   Broadway Marquee Theme
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #080808;
  --gold: #f5c518;
  --gold-dim: rgba(245, 197, 24, 0.15);
  --gold-glow: rgba(245, 197, 24, 0.08);
  --warm-white: #e8e0d0;
  --dim: rgba(232, 224, 208, 0.55);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
}

/* ---- SHARED HERO (all pages) ---- */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
  text-align: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 24px 168px;
}

/* Marquee frame (shared across all heroes) */
.marquee-frame {
  position: relative;
  display: inline-block;
  padding: 32px 48px;
  max-width: calc(100vw - 48px);
  margin-bottom: 20px;
}

/* Bulbs (injected by hero-fx.js) */
.bulb {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5px var(--gold), 0 0 10px rgba(245, 197, 24, 0.4);
}

@keyframes bulbPulse {
  0%   { opacity: 0.2; transform: scale(0.85); }
  50%  { opacity: 1;   transform: scale(1.2); }
  100% { opacity: 0.3; transform: scale(0.9); }
}

/* Page hero title sizing */
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1.2px var(--gold);
  text-shadow:
    0 0 20px rgba(245, 197, 24, 0.5),
    0 0 60px rgba(245, 197, 24, 0.2);
}

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.75rem, 2.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 20px;
}

.page-hero p.hero-desc,
.page-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--dim);
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
.hero-take-look {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--warm-white);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.45;
}

/* Playfair Display for display/hero titles; Syne for section headings & UI */
h1 { font-family: 'Playfair Display', serif; }
h2, h3, h4, .syne { font-family: 'Syne', sans-serif; }
.section-title { font-family: 'Playfair Display', serif; }
.btn { font-family: 'Playfair Display', serif; }
.nav-logo { font-family: 'Syne', sans-serif; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dim);
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active { color: var(--warm-white); }
.nav-links .nav-ext {
  color: var(--gold);
  opacity: 0.8;
}
.nav-links .nav-ext:hover { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--warm-white);
  transition: all 0.3s;
}

/* ---- SECTION LAYOUT ---- */
section {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad { padding: 100px 0; }

/* Stage light divider */
.stage-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.2), transparent);
  margin: 0;
}

/* Section label */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* Section headings */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-white);
  margin-bottom: 20px;
}
.section-title span { color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--dim);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- CARDS ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(245, 197, 24, 0.25);
  box-shadow: 0 8px 40px rgba(245, 197, 24, 0.06);
  transform: translateY(-2px);
}

/* Gold border glow card */
.card-gold {
  background: rgba(245, 197, 24, 0.03);
  border: 1px solid rgba(245, 197, 24, 0.15);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card-gold:hover {
  border-color: rgba(245, 197, 24, 0.35);
  box-shadow: 0 8px 40px rgba(245, 197, 24, 0.08);
  transform: translateY(-2px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #080808;
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.25);
}
.btn-primary:hover {
  background: #ffd340;
  box-shadow: 0 0 36px rgba(245, 197, 24, 0.4);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid rgba(232, 224, 208, 0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---- STATUS BADGES ---- */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-live {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.badge-soon {
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.2);
}
.badge-meta {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ---- FOOTER ---- */
footer {
  position: relative;
  z-index: 1;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--warm-white); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(232, 224, 208, 0.3);
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

/* ---- SCROLL REVEAL (initial state, GSAP animates in) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .page-hero h1 { white-space: normal !important; font-size: clamp(1.8rem, 8vw, 3rem) !important; text-align: center !important; width: 100% !important; }
  .marquee-frame { width: calc(100vw - 48px) !important; text-align: center !important; }
  .section-title, .btn, .nav-logo, .footer-logo, .footer-logo-text {
    -webkit-text-stroke: 0.4px currentColor;
    letter-spacing: 0.06em;
  }
  nav { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.97);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .nav-toggle { display: flex; }
  .container { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
