/* Template 37 - Autumn Harvest / Warm Rustic */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Lato:wght@400;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #d4694f 0%, #8b4513 100%);
  --gradient-2: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  --gradient-3: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
  --gradient-4: linear-gradient(135deg, #c0392b 0%, #8e44ad 100%);
  --gradient-5: linear-gradient(135deg, #d68910 0%, #ca6f1e 100%);

  --bg-primary: #fdf6e3;
  --bg-secondary: #f4e8d0;
  --glass-bg: rgba(212, 105, 79, 0.1);
  --glass-border: rgba(139, 69, 19, 0.2);

  --text-primary: #3e2723;
  --text-secondary: #5d4037;
  --text-muted: #8d6e63;
}

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

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

body {
  font-family: "Lato", sans-serif;
  line-height: 1.7;
  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(90deg, transparent, transparent 79px, rgba(212, 105, 79, 0.03) 79px, rgba(212, 105, 79, 0.03) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(212, 105, 79, 0.03) 79px, rgba(212, 105, 79, 0.03) 81px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.7; }
}

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

/* Header with Warm Rustic Style */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 3px solid #d4694f;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

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

.site-logo a {
  font-family: "Merriweather", serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #d4694f;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 0 rgba(139, 69, 19, 0.1);
}

.site-logo a:hover {
  color: #8b4513;
  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: 1.05rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.5px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

.site-nav a:hover {
  color: #d4694f;
}

/* Hero Section */
.section.head {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section.head h1 {
  font-family: "Merriweather", serif;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #8b4513;
  text-shadow: 3px 3px 0 rgba(212, 105, 79, 0.2);
  animation: fadeSlideUp 1s ease-out;
}

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

.section.head p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 400;
}

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

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

.section header h2 {
  font-family: "Merriweather", serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #d4694f;
  text-shadow: 2px 2px 0 rgba(139, 69, 19, 0.1);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 3px solid #d4694f;
  padding: 3rem 0 1rem;
  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.8;
  font-size: 1.05rem;
}

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

.footer-links a:hover {
  color: #d4694f;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid rgba(139, 69, 19, 0.2);
}

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

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

.fade-in {
  opacity: 0;
  animation: floatIn 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: #8b4513;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Merriweather", serif;
  font-weight: 700;
}
