/* Template 17 - Vintage Newspaper */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --bg-primary: #f8f5e6;
  --bg-secondary: #e8e3d0;
  --text-primary: #2c2416;
  --text-secondary: #5a5040;
  --text-muted: #8a7a6a;
  --accent: #8b4513;
  --border-color: #d4c9b0;
}

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

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

body {
  font-family: "Libre Baskerville", 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: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    ), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

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

/* Header with Newspaper Style */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 4px double var(--border-color);
  border-top: 2px solid var(--accent);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.site-logo a {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  border: 3px solid var(--accent);
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.02);
}

.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: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Playfair Display", serif;
}

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

.site-nav a:hover {
  color: var(--accent);
  background: rgba(139, 69, 19, 0.05);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  border-bottom: 3px double var(--border-color);
}

.section.head h1 {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  animation: fadeInDown 1s ease;
}

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

.section.head p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  padding: 1rem 0;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  border-bottom: 1px dashed var(--border-color);
}

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

.section header h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.5rem;
}

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

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

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

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

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a:hover {
  color: var(--accent);
  background: rgba(139, 69, 19, 0.05);
}

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

.copyright a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: "Playfair Display", serif;
}

/* Animations */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  animation: slideInFromLeft 0.8s 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: "Playfair Display", serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
