/* Template 42 - Gothic Cathedral */
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cardo:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --gradient-1: linear-gradient(180deg, #2d0a31 0%, #1a0520 100%);
  --gradient-2: linear-gradient(135deg, #8b0000 0%, #4a0404 100%);
  --gradient-3: linear-gradient(135deg, #3d2963 0%, #1a0a2e 100%);
  --gradient-4: linear-gradient(135deg, #6a0572 0%, #2d0a31 100%);
  --gradient-5: linear-gradient(135deg, #8b4789 0%, #3d1f3c 100%);

  --bg-primary: #0d0610;
  --bg-secondary: #1a0f1e;
  --glass-bg: rgba(106, 5, 114, 0.15);
  --glass-border: rgba(139, 71, 137, 0.3);

  --text-primary: #e8d5f2;
  --text-secondary: #b89fc9;
  --text-muted: #7a6584;
}

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

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

body {
  font-family: "Cardo", serif;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(106, 5, 114, 0.05) 2px,
      rgba(106, 5, 114, 0.05) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(106, 5, 114, 0.05) 2px,
      rgba(106, 5, 114, 0.05) 4px
    ), radial-gradient(circle at 50% 0%, rgba(139, 0, 0, 0.2) 0%, transparent 60%);
  animation: stainedGlass 15s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes stainedGlass {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

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

/* Header - Cathedral Arch Style */
.site-header {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
  border-bottom: 3px double var(--glass-border);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(106, 5, 114, 0.4);
}

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

.site-logo a {
  font-family: "Cinzel Decorative", serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.8), 0 0 40px rgba(106, 5, 114, 0.6);
  transition: all 0.4s ease;
}

.site-logo a:hover {
  text-shadow: 0 0 30px rgba(139, 0, 0, 1), 0 0 50px rgba(106, 5, 114, 0.9);
  letter-spacing: 6px;
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  position: relative;
}

.site-nav a::before {
  content: "✦";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: #8b0000;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
}

.site-nav a:hover::before {
  opacity: 1;
  top: -5px;
}

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

.section.head h1 {
  font-family: "Cinzel Decorative", serif;
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.8), 0 0 40px rgba(106, 5, 114, 0.6);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.8), 0 0 40px rgba(106, 5, 114, 0.6);
  }
  50% {
    text-shadow: 0 0 40px rgba(139, 0, 0, 1), 0 0 60px rgba(106, 5, 114, 0.9), 0 0 80px rgba(139, 71, 137, 0.6);
  }
}

.section.head p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 1px;
}

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

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

.section header::after {
  content: "✦ ✦ ✦";
  display: block;
  text-align: center;
  color: #8b0000;
  font-size: 1.5rem;
  margin-top: 1rem;
  letter-spacing: 1rem;
}

.section header h2 {
  font-family: "Cinzel Decorative", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 15px rgba(139, 0, 0, 0.6);
}

.section header p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
  border-top: 3px double var(--glass-border);
  padding: 4rem 0 1.5rem;
  margin-top: 6rem;
}

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

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

.footer-tagline {
  color: var(--text-secondary);
  line-height: 2;
  font-style: italic;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(139, 0, 0, 0.8);
}

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

.copyright a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 1s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

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-size: 1.8rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Cinzel Decorative", serif;
  letter-spacing: 2px;
}
