:root {
  --bg: #fdf6f0;
  --primary: #5a3e36;
  --accent: #c97b63;
  --card-bg: #fff;
  --text: #333;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

header {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

header h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--primary);
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

nav a:hover,nav a.active {
  color: var(--accent);
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(85%);
}

.hero-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
}

.hero-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-text p {
  font-size: 14px;
  font-weight: 300;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 15px;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card a {
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content {
  padding: 10px;
}

.card-content h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.card-content p {
  color: #666;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.about {
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.about a {
  color: #555;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.about a:hover {
  text-decoration: underline;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 20px;
}

.about p {
  color: #555;
  font-size: 14px;
  margin-top: 10px;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  margin-top: 30px;
  font-size: 13px;
}

footer a {
  color: #f5d6cc;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


@media(max-width:600px) {
  .hero img {
    height: 200px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  .hero-text p {
    font-size: 12px;
  }
}