/* Template 94 - Lunar Eclipse / Cosmic Mystery */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&family=Cormorant:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --lunar-void: #0a0a0f;
  --lunar-deep: #12121a;
  --lunar-dark: #1a1a2e;
  --lunar-purple: #2d1b4e;
  --lunar-glow: #6b4c9a;
  --lunar-bright: #9b7cc9;
  --lunar-silver: #c9c9d9;
  --lunar-white: #eeeef5;
  --lunar-blood: #8b2942;
  --lunar-corona: #ffd700;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.7;
  color: var(--lunar-silver);
  background: var(--lunar-void);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(107, 76, 154, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139, 41, 66, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Eclipse Horizon */
.site-header {
  background: linear-gradient(180deg, var(--lunar-deep) 0%, transparent 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--lunar-white);
  text-decoration: none;
  letter-spacing: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.site-logo a::before {
  content: '◐';
  margin-right: 12px;
  color: var(--lunar-corona);
  animation: eclipsePulse 4s ease-in-out infinite;
}

@keyframes eclipsePulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--lunar-corona); }
  50% { opacity: 0.5; text-shadow: 0 0 30px var(--lunar-corona); }
}

.site-logo a:hover {
  color: var(--lunar-bright);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--lunar-silver);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lunar-blood), var(--lunar-corona));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-nav a:hover {
  color: var(--lunar-white);
}

.site-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.section.head {
  padding: 10rem 0 8rem;
  text-align: center;
  position: relative;
}

.section.head::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lunar-blood) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  animation: moonGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes moonGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.section.head h1 {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 400;
  color: var(--lunar-white);
  margin-bottom: 2rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.section.head p {
  font-family: 'Cormorant', serif;
  font-size: 1.35rem;
  color: var(--lunar-bright);
  max-width: 750px;
  margin: 0 auto;
  font-style: italic;
  position: relative;
  z-index: 1;
  padding: 2rem;
  border: 1px solid var(--lunar-purple);
  border-radius: 4px;
}

.section.head p::before,
.section.head p::after {
  content: '✧';
  color: var(--lunar-corona);
  margin: 0 15px;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--lunar-white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section header h2::before,
.section header h2::after {
  content: '☽';
  margin: 0 20px;
  color: var(--lunar-glow);
}

.section header p {
  font-size: 1.1rem;
  color: var(--lunar-bright);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: linear-gradient(0deg, var(--lunar-deep) 0%, transparent 100%);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lunar-glow), transparent);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: var(--lunar-bright);
  font-style: italic;
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--lunar-silver);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--lunar-corona);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--lunar-purple);
}

.footer-bottom::before {
  content: '◉';
  display: block;
  font-size: 1.5rem;
  color: var(--lunar-blood);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--lunar-blood);
}

.copyright a {
  color: var(--lunar-glow);
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: cosmicFade 0.8s ease forwards;
}

@keyframes cosmicFade {
  to {
    opacity: 1;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--lunar-white);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 2px;
}
