/* =====================
   External CSS - Clean Natural Wildfire Theme
===================== */

/* Base */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  font-family: 'Merriweather', serif;
  margin: 0;
  background: #fafafa;
  color: #333;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

h1, h2, h3 {
  color: #b31b1b;
  font-family: 'Poppins', sans-serif;
  margin: 0.5em 0;
}

p {
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: #b31b1b;
  color: white;
  padding: 1.5em 1em;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 8px;
  transition: background 0.2s ease;
}

nav a:hover {
  background: #fddddd;
  color: #b31b1b;
}

/* Links */
a {
  color: #b31b1b;       
  text-decoration: none; 
  transition: color 0.2s ease;
}

a:hover {
  color: #ff6666;       
  text-decoration: none; 
}

/* Main content */
main {
  padding: 2em;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* Full-width cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1.5em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: none;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin: 1em 0; 
  display: block;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 600px) {
  nav { flex-direction: column; }
  main { padding: 1.5em; }
}
