body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  background: #fffbe6; /* vàng nhạt */
  color: #2e2e2e;
}

header {
  background: linear-gradient(
    90deg,
    #6a994e,
    #a7c957
  ); /* xanh lá nhạt -> đậm */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 97%;
  height: 100px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-self: center;
}
.logo-img {
  height: 150px;
  margin-left: 10px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-top: 45px;
  margin-left: 0px;
  transform: translateX(-15px);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #fdf6bd;
}

#center {
  padding-top: 120px;
  text-align: center;
  background-image: url("/Assets/Images/Products/Mung-beans-farm.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#center .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

#center.main-title,
.product-grid {
  position: relative;
  z-index: 1;
}
.main-title {
  color: green;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.product-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 150px;
  padding: 1rem;
  color: #fffef4;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: scale(1.1);
}

.product-card.redbean {
  background-image: url("/Assets/Images/Products/redbean.jpg");
}

.product-card.mungbean {
  background-image: url("/Assets/Images/Products/mungbean.jpg");
}

.product-card.blackbean {
  background-image: url("/Assets/Images/Products/blackbean.jpg");
}

.product-card.kidneybean {
  background-image: url("/Assets/Images/Products/kidneybean.jpg");
}

.product-card.sesame {
  background-image: url("/Assets/Images/Products/sesame.jpg");
}

.product-card.organicFert {
  background-image: url("/Assets/Images/Products/organic.jpg.jpg");
}

.product-card.animalfeed {
  background-image: url("/Assets/Images/Products/200225\ Animal-Feed.jpg");
}

.product-card.npk {
  background-image: url("/Assets/Images/Products/npk.jpg");
}

.product-card.blackeyepea {
  background-image: url("/Assets/Images/Products/blackeyepea.jpg");
}

.product-card.soyabean {
  background-image: url("/Assets/Images/Products/soyabean.jpg");
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #a7c957;
}

.product-card p {
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.contact-info {
  text-align: left;
  margin-left: 2rem;
  line-height: 1.6;
}
footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(90deg, #6a994e, #a7c957);
  color: white;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
/* Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Nút Products */
.dropbtn {
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;

  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* Menu ẩn ban đầu */
.dropdown-content {
  display: none; /* Ẩn */
  position: absolute;
  background-color: #a7c957;
  border-radius: 7px;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* Mục trong menu */
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #6a994e;
}

/* Áp dụng hiệu ứng phát sáng động */
.halo-effect {
  animation: haloPulse 2.5s infinite ease-in-out;
  transition: filter 0.3s ease;
}

@keyframes haloPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) /* trắng */
      drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)) /* vàng */
      drop-shadow(0 0 14px rgba(255, 0, 0, 0.4)); /* đỏ */
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9)) /* trắng */
      drop-shadow(0 0 35px rgba(255, 215, 0, 0.85)) /* vàng */
      drop-shadow(0 0 50px rgba(255, 0, 0, 0.75)); /* đỏ */
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6))
      drop-shadow(0 0 10px rgba(255, 215, 0, 0.5))
      drop-shadow(0 0 14px rgba(255, 0, 0, 0.4));
  }
}
