* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', 'Segoe UI', Tahoma, sans-serif;
  color: #2d2d2d;
  line-height: 1.7;
  background-color: #f5f0eb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #b91c1c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e5ddd6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #991b1b;
  letter-spacing: -0.3px;
}

.nav-logo:hover {
  text-decoration: none;
  color: #7f1d1d;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.4rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: #fef2f2;
  color: #991b1b;
  text-decoration: none;
}

.nav-links a.active {
  background: #991b1b;
  color: #fff;
}

.nav-links a.active:hover {
  background: #7f1d1d;
}

.hero {
  position: relative;
  margin-bottom: 2rem;
}

.hero-images {
  display: flex;
  height: 340px;
  overflow: hidden;
}

.hero-images img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: #fff;
}

.hero-overlay h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.15rem;
}

.hero-overlay p {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.9;
}

.recipe-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.recipe-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  color: #fff;
}

.recipe-banner-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.recipe-banner-text p {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  opacity: 0.92;
}

.recipe-banner-text a {
  color: #fca5a5;
}

.recipe-banner-text a:hover {
  color: #fff;
}

.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e8e0d8;
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.card h2 {
  font-size: 1.3rem;
  color: #991b1b;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #f3e0d3;
}

.card p {
  color: #444;
  margin-bottom: 0.5rem;
}

.welcome-card {
  border-left: 4px solid #991b1b;
}

.history-card {
  border-left: 4px solid #c2410c;
}

.section-heading {
  font-size: 1.35rem;
  color: #991b1b;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e8e0d8;
}

.ingredients-section {
  margin-bottom: 2rem;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ingredients-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ingredient-card {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  transition: box-shadow 0.25s;
}

.ingredient-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.ingredient-card h3 {
  color: #991b1b;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #f3e0d3;
}

.ingredient-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ingredient-card li {
  padding: 0.35rem 0;
  padding-left: 1.3rem;
  position: relative;
  color: #444;
  font-size: 0.95rem;
}

.ingredient-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  background: #c2410c;
  border-radius: 50%;
}

.steps-section {
  margin-bottom: 2rem;
}

.step-card {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.step-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  border-color: #d4c8be;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  background: #991b1b;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.step-head h3 {
  color: #2d2d2d;
  font-size: 1rem;
  font-weight: 600;
}

.tools-label {
  color: #999;
  font-size: 0.82rem;
}

.step-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.step-images {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.step-images img {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border: 1px solid #e8e0d8;
}

.storage-card {
  background: #fefbf8;
  border-left: 4px solid #d97706;
}

.storage-card h3 {
  color: #92400e;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.video-section {
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #999;
  font-size: 0.85rem;
  border-top: 1px solid #e5ddd6;
}

@media (min-width: 760px) {
  .hero-images {
    height: 400px;
  }

  .recipe-banner {
    height: 340px;
  }

  .ingredients-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 759px) {
  .navbar {
    padding: 0.8rem 1.2rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .hero-images {
    height: 220px;
  }

  .hero-images img {
    width: 50%;
  }

  .hero-overlay {
    padding: 1.2rem 1.5rem;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;
  }

  .recipe-banner {
    height: 220px;
  }

  .recipe-banner-text {
    padding: 1.2rem 1.5rem;
  }

  .recipe-banner-text h1 {
    font-size: 1.4rem;
  }

  .content {
    padding: 0 1rem 2rem;
  }

  .card {
    padding: 1.2rem 1.3rem;
  }

  .step-head {
    flex-direction: column;
    gap: 0.2rem;
  }

  .navbar {
    position: sticky;
    top: 0;
  }
}