/* Template 22 - Victorian Gothic */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Crimson+Text:wght@400;600;700&display=swap");

:root {
  --burgundy: #5c0a0a;
  --dark-red: #8b1a1a;
  --cream: #f5e6d3;
  --gold: #d4af37;
  --charcoal: #2b2b2b;
  --off-white: #faf8f5;
}

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

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

body {
  font-family: "Crimson Text", serif;
  line-height: 1.8;
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 400;
  overflow-x: hidden;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(91, 10, 10, 0.03) 2px,
      rgba(91, 10, 10, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(91, 10, 10, 0.03) 2px,
      rgba(91, 10, 10, 0.03) 4px
    );
}

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

/* Header with Victorian Frame */
.site-header {
  background: var(--burgundy);
  border-bottom: 4px double var(--gold);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(92, 10, 10, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--gold);
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-red) 100%);
}

.site-logo a {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  color: var(--cream);
  text-shadow: 0 0 15px var(--gold);
}

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

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-right: 1px solid var(--gold);
  position: relative;
}

.site-nav li:last-child a {
  border-right: none;
}

.site-nav a:hover {
  background: var(--gold);
  color: var(--burgundy);
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
  border-bottom: 3px double var(--burgundy);
}

.section.head h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--burgundy);
  text-shadow: 3px 3px 0 var(--gold);
  letter-spacing: 3px;
  animation: fadeSlide 1.2s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.head p {
  font-size: 1.4rem;
  color: var(--dark-red);
  max-width: 1000px;
  margin: 0 auto;
  font-style: italic;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(92, 10, 10, 0.2);
}

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

.section header::after {
  content: "❦";
  display: block;
  font-size: 2rem;
  color: var(--gold);
  margin-top: 1rem;
}

.section header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

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

/* Footer */
.footer {
  background: var(--burgundy);
  padding: 4rem 0 1.5rem;
  border-top: 4px double var(--gold);
  margin-top: 5rem;
  color: var(--cream);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold);
}

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

.footer-tagline {
  color: var(--cream);
  line-height: 1.9;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid var(--gold);
}

.footer-links li:last-child a {
  border-right: none;
}

.footer-links a:hover {
  background: var(--gold);
  color: var(--burgundy);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.copyright a {
  color: var(--gold);
  font-size: 0.95rem;
}

/* Animations */
@keyframes ornamentFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

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.9rem;
  color: var(--burgundy);
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: left;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}
