/* Template 16 - Vintage Steampunk / Victorian */
@import url("https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&family=Cinzel:wght@400;700&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --bg-primary: #1a1410;
  --bg-secondary: #2a1f17;
  --bg-accent: #3d2e21;

  --text-primary: #e8dcc4;
  --text-secondary: #c4ae8f;
  --text-muted: #8b7355;

  --copper: #b87333;
  --bronze: #cd7f32;
  --gold: #d4af37;
  --brass: #b5a642;
}

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

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

body {
  font-family: "IM Fell English", Georgia, 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-image: 
    radial-gradient(circle at 20% 80%, rgba(184, 115, 51, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23000" opacity="0.03" width="100" height="100"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="%23b87333" opacity="0.05" stroke-width="0.5"/></svg>');
  background-size: 100px 100px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Ornate Victorian */
.site-header {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 3px solid var(--copper);
  border-bottom: 3px solid var(--gold);
  box-shadow: inset 0 2px 0 rgba(212, 175, 55, 0.3),
    inset 0 -2px 0 rgba(184, 115, 51, 0.3);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header-inner::before,
.header-inner::after {
  content: "❧";
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
}

.site-logo a {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo a:hover {
  color: var(--copper);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(184, 115, 51, 0.5);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--copper);
  background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.2);
  position: relative;
}

.site-nav a::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
  border-color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Section - Grand Victorian */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--copper);
}

.section.head::before {
  content: "✦ ✧ ✦";
  display: block;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.5;
}

.section.head h1 {
  font-family: "Cinzel", serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gold);
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(212, 175, 55, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section.head p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
  line-height: 2;
}

/* Section Styling - Ornamental */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--copper) 50%, transparent 100%);
}

.section header h2 {
  font-family: "Cinzel", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* Footer - Victorian ornate */
.footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 3px solid var(--gold);
  box-shadow: inset 0 2px 0 rgba(212, 175, 55, 0.3);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

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

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

.footer-tagline {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

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

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

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

.fade-in {
  opacity: 0;
  animation: fadeInVictorian 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.9rem;
  color: var(--gold);
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: left;
  font-family: "Cinzel", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}
