/* Template 5 - Warm Sunset Theme with Centered Layout */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Raleway:wght@400;500;600;700;800&display=swap");

:root {
  --bg-primary: #fff5f0;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ffe8dc;
  --accent-primary: #ff6347;
  --accent-secondary: #ff8c42;
  --accent-tertiary: #ffa07a;
  --text-primary: #2c1810;
  --text-secondary: #6b4423;
  --text-muted: #a67c52;
  --border-color: #f4d4c4;
  --shadow: 0 3px 18px rgba(255, 99, 71, 0.12);
}

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

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

body {
  font-family: "Lato", sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Centered Header */
.site-header {
  background: var(--bg-secondary);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent-primary);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.site-logo a {
  font-family: "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.site-logo a:hover {
  color: var(--accent-secondary);
  transform: scale(1.08);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  border: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

main {
  flex: 1;
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border-radius: 25px;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.section.head h1 {
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: warmFadeIn 1s ease;
}

.section.head h1 span {
  color: var(--accent-primary);
}

@keyframes warmFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section.head p {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  animation: warmFadeIn 1s ease 0.2s backwards;
}

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

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

.section header h2 {
  font-family: "Raleway", sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section header h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  width: 50px;
  height: 3px;
  background: var(--accent-primary);
  transform: translateY(-50%);
}

.section header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 50px;
  height: 3px;
  background: var(--accent-primary);
  transform: translateY(-50%);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--accent-primary);
  margin-top: 5rem;
  box-shadow: 0 -3px 18px rgba(255, 99, 71, 0.08);
}

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

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

.footer-links a:hover {
  color: var(--accent-primary);
  transform: scale(1.05);
}

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

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

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

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

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.625rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 700;
}
