/* Template 45 - Vintage Newspaper */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Merriweather:wght@300;400;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #3d3d3d 0%, #1a1a1a 100%);
  --gradient-2: linear-gradient(135deg, #8b7355 0%, #6d5a45 100%);
  --gradient-3: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
  --gradient-4: linear-gradient(135deg, #705840 0%, #564435 100%);
  --gradient-5: linear-gradient(135deg, #9d8b7e 0%, #7a6b5d 100%);

  --bg-primary: #f5ebe0;
  --bg-secondary: #ede0d4;
  --glass-bg: rgba(141, 115, 85, 0.1);
  --glass-border: rgba(61, 61, 61, 0.3);

  --text-primary: #1a1a1a;
  --text-secondary: #3d3d3d;
  --text-muted: #6d6d6d;
}

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

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

body {
  font-family: "Merriweather", 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(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 3px
    ), linear-gradient(90deg, rgba(141, 115, 85, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(141, 115, 85, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Newspaper Masthead Style */
.site-header {
  background: var(--bg-secondary);
  border-top: 4px solid var(--text-primary);
  border-bottom: 4px solid var(--text-primary);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

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

.site-logo a:hover {
  letter-spacing: 5px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  border-top: 1px solid var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

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

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

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

.section.head h1 {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 5px;
  animation: none;
}

.section.head p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 2;
}

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

.section header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-primary);
}

.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;
}

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

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

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

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

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

.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: 1px;
  transition: all 0.3s ease;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

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

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

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

.fade-in {
  opacity: 0;
  animation: floatIn 0.7s 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;
}
