/* Template 17 - Desert Dusk / Warm Terracotta */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --sand-light: #faf6f0;
  --sand: #f5ebe0;
  --terracotta: #c2703e;
  --terracotta-dark: #a85a2a;
  --clay: #8b5a3c;
  --burnt-sienna: #9c4a1a;
  --desert-night: #2d2926;
  --cactus-green: #5c7c5e;
  --sunset-orange: #e07b4c;
  --dusk-purple: #6b5b6e;
}

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

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

body {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.7;
  color: var(--desert-night);
  background: var(--sand-light);
  font-weight: 400;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--sunset-orange), var(--dusk-purple), var(--cactus-green));
  z-index: 9999;
}

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

/* Header - Horizontal Bar with Centered Logo */
.site-header {
  background: var(--sand);
  padding: 0;
  position: sticky;
  top: 4px;
  z-index: 1000;
  border-bottom: 2px solid var(--clay);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 0;
}

.site-logo {
  margin-bottom: 1rem;
}

.site-logo a {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--terracotta-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.site-logo a:hover {
  color: var(--burnt-sienna);
}

.site-nav {
  width: 100%;
  background: var(--desert-night);
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

.site-nav li {
  border-right: 1px solid rgba(255,255,255,0.1);
}

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

.site-nav a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--terracotta);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-nav a:hover {
  background: rgba(255,255,255,0.05);
}

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

/* Hero Section - Left aligned with decorative element */
.section.head {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
}

.section.head::before {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border: 3px solid var(--terracotta);
  border-radius: 50%;
  opacity: 0.2;
}

.section.head h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  font-weight: 400;
  color: var(--desert-night);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  max-width: 700px;
}

.section.head h1::first-letter {
  font-size: 5rem;
  color: var(--terracotta);
  float: left;
  margin-right: 0.5rem;
  line-height: 0.8;
}

.section.head p {
  font-size: 1.2rem;
  color: var(--clay);
  max-width: 600px;
  border-left: 3px solid var(--terracotta);
  padding-left: 1.5rem;
}

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

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

.section header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--desert-night);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--terracotta);
}

.section header p {
  font-size: 1.1rem;
  color: var(--clay);
  margin-top: 1rem;
}

/* Footer - Three column with warm tones */
.footer {
  background: var(--desert-night);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--terracotta) 0px,
    var(--terracotta) 20px,
    var(--sunset-orange) 20px,
    var(--sunset-orange) 40px,
    var(--cactus-green) 40px,
    var(--cactus-green) 60px
  );
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  padding-right: 2rem;
}

.footer-tagline {
  color: var(--sand);
  line-height: 1.8;
  opacity: 0.8;
}

.footer-links h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--terracotta);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '~';
  color: var(--terracotta);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--terracotta);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright,
.copyright a {
  color: var(--sand);
  font-size: 0.9rem;
  opacity: 0.5;
}

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

.fade-in {
  opacity: 0;
  animation: fadeUp 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-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--desert-night);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
