/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: #fdf6f0;
  color: #5a4c42;
  line-height: 1.6;
}

a {
  color: #7b9b6f;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #a3c08b;
}

/* --- Header --- */
header {
  background-color: #e6ded1;
  padding: 2rem;
  text-align: center;
  border-bottom: 2px solid #d4cbb7;
}

header h1 {
  font-family: 'Parisienne', cursive;
  font-size: 3rem;
  color: #7b9b6f;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #8b7c6a;
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  background-color: #f1ece2;
  border-bottom: 1px solid #d4cbb7;
}

nav a {
  font-weight: 600;
  font-size: 1rem;
}

nav a:hover {
  color: #a3c08b;
}

/* --- Main Content --- */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* --- Sections --- */
.intro, .community, .about {
  text-align: center;
  margin-bottom: 3rem;
}

.intro h2, .community h2, .about h2 {
  font-size: 2rem;
  color: #7b9b6f;
  margin-bottom: 0.5rem;
}

.intro p, .community p, .about p {
  font-size: 1.1rem;
  color: #5a4c42;
}

/* --- Recipes Grid --- */
.recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.recipe-card {
  background-color: #f7f2eb;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s;
}

.recipe-card:hover {
  transform: translateY(-5px);
}

.recipe-card h3 {
  font-family: 'Parisienne', cursive;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #7b9b6f;
}

.recipe-card a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background-color: #d6c8b4;
  border-radius: 8px;
  font-weight: 500;
  color: #5a4c42;
}

.recipe-card a:hover {
  background-color: #c2b299;
}

/* --- Community Button --- */
.community a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background-color: #7b9b6f;
  color: #fdf6f0;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.community a:hover {
  background-color: #a3c08b;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #8b7c6a;
  border-top: 1px solid #d4cbb7;
  margin-top: 3rem;
}
