/* Breadcrumb Scabs - Literary Poetry Magazine
   Earthy, serif-based design honoring confessional poetry tradition */

:root {
  /* Earthy Brown Palette */
  --primary: #8B4513;
  --primary-dark: #654321;
  --secondary: #D2691E;
  --cream: #F5F5DC;
  --text-dark: #2C2416;
  --text-medium: #6B5D4F;
  --text-light: #9B8B7E;
  --border: #D4C4B0;
  --background: #FFFEF9;
  --accent: #A0522D;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Crimson Text', 'Georgia', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--background);
}

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

/* Header */
header {
  border-bottom: 3px solid var(--primary);
  background: var(--cream);
  padding: 2rem 0 1rem;
}

.site-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-tagline {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 2rem;
}

nav {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary);
}

/* Main Content */
main {
  padding: 3rem 0;
  min-height: 60vh;
}

/* Typography */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  line-height: 1.4;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: 1.375rem;
  font-style: italic;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 2rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  font-weight: 700;
  color: var(--text-dark);
}

em {
  font-style: italic;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-image {
  margin-top: 0;
  margin-bottom: 3rem;
  border-radius: 0;
  box-shadow: none;
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}

/* Footer */
footer {
  border-top: 3px solid var(--primary);
  background: var(--cream);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

footer nav {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

footer nav ul {
  gap: 1.5rem;
}

footer nav a {
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  font-style: italic;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 4rem 2rem;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.error-page p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.error-page a {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.error-page a:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .site-title {
    font-size: 2.25rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.875rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}