@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --warm-neutral: #A47864;
  --soft-cream: #F5E8D6;
  --refined-teal: #4E7D7C;
  --sage: #B2C1A3;
  --text: #333;
  --background: #FFFFFF;
  --max-width: 900px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--warm-neutral);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
}

nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

main {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1rem;
}

#articles-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

#articles-list li {
  background: var(--soft-cream);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#articles-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#articles-list a {
  text-decoration: none;
  color: var(--refined-teal);
  font-weight: 600;
}

#article-content {
  background: var(--soft-cream);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

#article-content h1,
#article-content h2,
#article-content h3 {
  color: var(--warm-neutral);
  margin: 1.2rem 0 0.6rem;
}

#article-content p {
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  background: var(--sage);
  color: #555;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  /* Water background */
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80")
    no-repeat center center/cover;
}
