/*
Hero Section Styles — Centered Header + Recipe Image Grid
*/

.home-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #F9CF3C;
  padding: 24px 0 36px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero-title {
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 64px;
  text-align: center;
  margin: 0 0 24px 0;
}

.hero-title-accent {
  font-weight: 900;
  font-size: 36px;
  line-height: 58px;
  color: #000000;
}

.hero-subtitle {
  color: #ADDAEB;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 48px 0;
}

/* Recipe Image Grid */
.hero-recipe-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.hero-recipe-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 330px;
  text-decoration: none;
  flex-shrink: 0;
}

.hero-recipe-card .hero-recipe-image {
  width: 330px;
  height: 436px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-recipe-title {
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 12px 0 0 0;
  text-align: center;
  width: 100%;
}

.hero-recipe-card:hover .hero-recipe-image {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-recipe-card {
    width: 280px;
  }

  .hero-recipe-card .hero-recipe-image {
    width: 280px;
    height: 370px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 20px 0 32px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-recipe-grid {
    gap: 16px;
  }

  .hero-recipe-card {
    width: 200px;
  }

  .hero-recipe-card .hero-recipe-image {
    width: 200px;
    height: 264px;
  }

  .hero-recipe-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 16px 0 28px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-recipe-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-recipe-card {
    width: 300px;
  }

  .hero-recipe-card .hero-recipe-image {
    width: 300px;
    height: 396px;
  }

  .hero-recipe-title {
    font-size: 15px;
  }
}
