/* Bob Hamm Literary Archive - Clean, elegant typography */

/* CSS Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  color: #2c1810;
  background: #fdfcfa;
  max-width: 100%;
  overflow-x: hidden;
}

/* Typography Scale */
h1 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a0f08;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #1a0f08;
  margin: 2rem 0 1rem 0;
}

h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #2c1810;
  margin: 1.5rem 0 0.75rem 0;
}

/* Historical context section styling */
.achievements h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.achievements ul {
  margin-left: 0;
  padding-left: 0;
}

.achievements li {
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
  max-width: 70ch;
}

/* Louisiana-inspired warm color palette */
:root {
  --primary-brown: #8b4513;
  --warm-gold: #d4a574;
  --deep-red: #a0522d;
  --cream: #fdfcfa;
  --text-dark: #2c1810;
  --text-darker: #1a0f08;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

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

/* Header */
header {
  text-align: center;
  border-bottom: 1px solid #e6d7c8;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.site-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--text-darker);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--primary-brown);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Navigation */
nav {
  margin-top: 2rem;
}

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

nav a {
  color: var(--primary-brown);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

nav a:hover {
  background: var(--warm-gold);
  color: var(--text-darker);
}

/* Main Content */
main {
  margin-bottom: 4rem;
}

/* Poem Styling - Special treatment for "What Is a Cajun" */
.poem-container {
  background: white;
  border: 1px solid #e6d7c8;
  border-radius: 8px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poem-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-darker);
  font-weight: 400;
}

.poem-text {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: none;
  text-align: left;
  margin-bottom: 2rem;
}

.poem-attribution {
  text-align: right;
  font-style: italic;
  color: var(--primary-brown);
  margin-top: 2rem;
  font-size: 1rem;
}

.poem-context {
  background: #f9f6f2;
  padding: 1.5rem;
  border-left: 4px solid var(--warm-gold);
  margin: 2rem 0;
  font-style: italic;
  color: #5a4a3a;
}

/* Achievements/Highlights */
.achievements {
  background: white;
  border: 1px solid #e6d7c8;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.achievements ul {
  list-style: none;
  margin-top: 1rem;
}

.achievements li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.achievements li::before {
  content: "•";
  color: var(--primary-brown);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

/* Works/Discography Lists */
.works-list, .discography {
  background: white;
  border: 1px solid #e6d7c8;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.work-item, .album-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0eae2;
}

.work-item:last-child, .album-item:last-child {
  border-bottom: none;
}

.work-title, .album-title {
  font-weight: 600;
  color: var(--text-darker);
  margin-bottom: 0.5rem;
}

.work-details, .album-details {
  color: var(--primary-brown);
  font-style: italic;
}

/* Quotes */
.quote {
  background: #f9f6f2;
  border-left: 4px solid var(--deep-red);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
}

.quote-source {
  margin-top: 0.5rem;
  font-style: normal;
  color: var(--primary-brown);
  font-weight: 500;
}

/* Footer */
footer {
  border-top: 1px solid #e6d7c8;
  padding-top: 2rem;
  text-align: center;
  color: var(--primary-brown);
  margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-title {
    font-size: 2.2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .container, .wide-container {
    padding: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .poem-container {
    padding: 2rem 1.5rem;
  }
  
  .poem-title {
    font-size: 1.8rem;
  }
  
  .poem-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.8rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .poem-container {
    padding: 1.5rem 1rem;
  }
  
  .achievements, .works-list, .discography {
    padding: 1.5rem;
  }
}

/* Story Text */
.story-text {
  background: white;
  border: 1px solid #e6d7c8;
  border-radius: 8px;
  padding: 2rem;
  margin: 1rem 0 2rem 0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.story-text p {
  text-indent: 2em;
  margin-bottom: 0.8rem;
  max-width: none;
}

.story-text p:first-child {
  text-indent: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }