/* ============================================================
   LUMINA SKY ASTROLOGY — LumiSkyAstrology.com
   Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --void:       #00000f;
  --deep:       #04041a;
  --midnight:   #080824;
  --nebula:     #0d0d35;
  --gold:       #c9a84c;
  --gold-light: #e8d08a;
  --gold-glow:  #c9a84c44;
  --lavender:   #9b8ec4;
  --violet:     #5533aa;
  --rose:       #cc7799;
  --cyan:       #44ccdd;
  --white:      #f0eef8;
  --muted:      #7a78a0;
  --border:     #1e1e4a;

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Outfit', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Star Canvas ── */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Site Wrapper ── */
.site-wrap {
  position: relative;
  z-index: 1;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, #00000f 0%, transparent 100%);
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(4, 4, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--white); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--void);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }

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

/* ── Page Hero ── */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 80px 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}
.page-hero p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--muted);
  font-size: 20px;
  margin-top: 12px;
}

/* ── Section ── */
.section {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0 40px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--void);
  background: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 15px 40px;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold-glow); }

/* ── Gold text ── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-italic { font-style: italic; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  font-family: var(--font-ui);
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-ui);
  line-height: 1.6;
}
.footer-links h4, .footer-contact h4 {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--deep); padding: 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .page-hero, .section { padding: 100px 24px 60px; }
  footer { grid-template-columns: 1fr; padding: 48px 24px; }
  .footer-bottom { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
  0%, 100% { text-shadow: 0 0 20px var(--gold-glow); }
  50%       { text-shadow: 0 0 40px var(--gold), 0 0 80px var(--gold-glow); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.fade-up { animation: fadeUp 0.8s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation-delay: 0.55s; opacity: 0; }
