/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  background: 
    url('https://www.transparenttextures.com/patterns/dark-wood.png') repeat,
    #2b2b2b;
  font-family: 'Inter', sans-serif;
  color: #b68b59;
  line-height: 1.6;
  padding: 2rem;
}

/* Header */
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 1rem;
}

.logo {
  width: 480px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-title {
  flex: 1;
  padding: 0 1rem;
  text-align: left;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.site-nav a {
  color: #b68b59;
  font-weight: bold;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.search-form input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.search-form button {
  padding: 6px 10px;
  background: #b68b59;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.site-nav a:hover {
  color: #fff;
}

.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.search-form input {
  border: none;
  padding: 6px;
  font-size: 0.9rem;
  outline: none;
  width: 120px;
}

.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 8px;
  color: #333;
}

header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 3px solid #b68b59;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
}

.header-photo {
  width: 480px;
  max-width: none;
  margin: 0;
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #b68b59;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Intro Section with Photo */
.chef-intro {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.chef-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.chef-photo img {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.chef-bio {
  flex: 1;
  max-width: 320px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #b68b59;
}

@media (max-width: 768px) {
  .chef-container {
    flex-direction: column;
    text-align: center;
  }

  .chef-bio {
    max-width: 100%;
  }
}

/* Recipe List */
.recipe-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Recipe Cards */
.recipe-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #ffffff11;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.recipe-card img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.recipe-card .text,
.recipe-card .recipe-text {
  padding: 1rem;
}

.recipe-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: #b68b59;
}

.recipe-card p {
  font-size: 0.95rem;
  color: #b68b59;
  line-height: 1.5;
}

.recipe-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #b68b59;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
  color: #2b2b2b;
}

.modal-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
}

.modal-content input[type="text"],
.modal-content input[type="email"] {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.modal-content button {
  background: #b68b59;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer
}