/* Template 27 - Burgundy Academic / Classic Library */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500;600;700&family=Lato:wght@400;700&display=swap");

:root {
  --burgundy-dark: #4a1c1c;
  --burgundy-medium: #7d2828;
  --burgundy-light: #a33c3c;
  --cream: #f5f1e8;
  --cream-dark: #e8dcc9;
  --gold-accent: #d4af37;
  --text-dark: #2c1810;
  --text-medium: #5c4839;
}

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

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

body {
  font-family: "Crimson Pro", serif;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--cream);
  font-weight: 400;
  overflow-x: hidden;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74, 28, 28, 0.03) 2px, rgba(74, 28, 28, 0.03) 4px);
}

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

/* Header - Classic Top Bar */
.site-header {
  background: var(--burgundy-dark);
  border-bottom: 3px solid var(--gold-accent);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.site-logo a {
  font-family: "Lato", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  border: 2px solid var(--gold-accent);
  padding: 0.4rem 1.2rem;
  display: inline-block;
}

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

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

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-right: 1px solid rgba(244, 175, 55, 0.3);
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.site-nav a:hover {
  background: var(--burgundy-light);
  color: var(--gold-accent);
}

/* Hero Section - Centered Academic */
.section.head {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--cream-dark), var(--cream));
  border-bottom: 3px double var(--burgundy-medium);
}

.section.head h1 {
  font-family: "Crimson Pro", serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--burgundy-dark);
  text-shadow: 2px 2px 0 rgba(212, 175, 55, 0.2);
  animation: fadeInDown 1s ease;
}

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

.section.head p {
  font-size: 1.3rem;
  color: var(--text-medium);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

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

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

.section header::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gold-accent);
  margin: 1.5rem auto 0;
}

.section header h2 {
  font-family: "Crimson Pro", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--burgundy-dark);
}

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

/* Footer - Dark Academic */
.footer {
  background: var(--burgundy-dark);
  color: var(--cream);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--gold-accent);
  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(--cream-dark);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--cream-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 175, 55, 0.3);
}

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

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  animation: slideInLeft 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.9rem;
  color: var(--burgundy-medium);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 600;
}
