/*
Theme Name: CrunchMeal
Theme URI: https://crunchmeal.com
Author: CrunchMeal
Description: Minimalist recipe and food blogging WordPress theme.
Version: 1.0
*/

:root {
  --bg: #FFF8F2;
  --card: #F6EFE8;
  --text: #1F1F1F;
  --muted: #707070;
  --accent: #FF7A30;
  --green: #7FA36B;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(255,248,242,0.92);
  backdrop-filter: blur(12px);
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.hero {
  padding: 100px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.hero-image img {
  width: 100%;
  border-radius: 28px;
}

.section-title {
  margin-bottom: 40px;
  font-size: 42px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 90px;
}

.recipe-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-6px);
}

.recipe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.recipe-content {
  padding: 24px;
}

.site-footer {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

@media(max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .nav-menu {
    display: none;
  }
}
