/* Template 48 - Cream Vintage / Sepia Nostalgia */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap");

:root {
  --bg-primary: #f5f1e8;
  --bg-secondary: #e8dfc8;
  --bg-tertiary: #d4c5a0;

  --text-primary: #3d3425;
  --text-secondary: #6b5d47;
  --text-muted: #9b8b6f;

  --accent-sepia: #a67b5b;
  --accent-warm: #c9a882;
  --accent-vintage: #8b6f47;
}

* {
  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(--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: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

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

/* Header - Vintage Ornate */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 3px double var(--accent-vintage);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(61, 52, 37, 0.08);
}

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

.site-logo a {
  font-family: "Crimson Text", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-vintage);
  text-decoration: none;
  transition: all 0.4s ease;
  font-style: italic;
  letter-spacing: 1px;
}

.site-logo a:hover {
  color: var(--accent-sepia);
  transform: scale(1.03);
  text-shadow: 2px 2px 4px rgba(61, 52, 37, 0.1);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--accent-sepia);
  border-bottom: 2px solid var(--accent-warm);
}

/* Hero Section - Vintage Postcard */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--accent-warm);
  border-bottom: 1px solid var(--accent-warm);
}

.section.head h1 {
  font-family: "Crimson Text", serif;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-vintage);
  font-style: italic;
  line-height: 1.2;
  text-shadow: 2px 2px 0 rgba(166, 123, 91, 0.1);
}

.section.head p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
}

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

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

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

.section header h2 {
  font-family: "Crimson Text", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-vintage);
  font-style: italic;
}

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

/* Footer - Vintage Certificate */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1rem;
  border-top: 3px double var(--accent-vintage);
  margin-top: 5rem;
}

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

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

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

.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;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--accent-sepia);
  border-bottom: 1px solid var(--accent-sepia);
}

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

.copyright a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.9s 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(--accent-vintage);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-style: italic;
}
