/* Template 4 - Warm Earthy / Organic */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --gradient-1: linear-gradient(135deg, #d4a574 0%, #a47449 100%);
  --gradient-2: linear-gradient(135deg, #8b6f47 0%, #6b5434 100%);
  --gradient-3: linear-gradient(135deg, #e8c4a0 0%, #d4a574 100%);
  --gradient-4: linear-gradient(135deg, #5a4a3a 0%, #3d2f24 100%);
  --gradient-5: linear-gradient(135deg, #c49b6b 0%, #9f7a54 100%);

  --bg-primary: #faf8f5;
  --bg-secondary: #f2ede6;
  --glass-bg: rgba(250, 248, 245, 0.9);
  --glass-border: rgba(139, 111, 71, 0.15);

  --text-primary: #3d2f24;
  --text-secondary: #6b5434;
  --text-muted: #a89580;
  
  --accent-gold: #d4a574;
  --accent-brown: #8b6f47;
}

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

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

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.9;
  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(90deg, rgba(212, 165, 116, 0.03) 0px, transparent 1px, transparent 60px, rgba(212, 165, 116, 0.03) 61px),
    repeating-linear-gradient(0deg, rgba(212, 165, 116, 0.03) 0px, transparent 1px, transparent 60px, rgba(212, 165, 116, 0.03) 61px);
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Warm Earthy */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border-bottom: 3px solid var(--accent-gold);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(139, 111, 71, 0.1);
}

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

.site-logo a {
  font-family: 'Merriweather', serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent-brown);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.site-logo a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.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: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-gold);
  transition: width 0.4s ease;
}

.site-nav a:hover {
  color: var(--accent-brown);
}

.site-nav a:hover::before {
  width: 100%;
}

/* Hero Section - Centered Serif */
.section.head {
  padding: 9rem 0 7rem;
  text-align: center;
  position: relative;
}

.section.head h1 {
  font-family: 'Merriweather', serif;
  font-size: 4.25rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: var(--accent-brown);
  line-height: 1.2;
  animation: fadeInScale 1s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

.section header h2 {
  font-family: 'Merriweather', serif;
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--accent-brown);
}

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

/* Footer - Earthy Tone */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--accent-gold);
  margin-top: 6rem;
}

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

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

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

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

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

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

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

.fade-in {
  opacity: 0;
  animation: floatIn 0.9s ease forwards;
}

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

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: 2.5rem;
  color: var(--accent-brown);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  text-align: left;
  font-weight: 700;
  font-family: 'Merriweather', serif;
}
