/* HERO */
/* HERO PREMIUM */
.hero {
  position: relative;
  height: 100vh;
  background: url('../assets/images/chocolate\ cake.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(27, 94, 32, 0.85),
    rgba(15, 23, 42, 0.75)
  );
}

/* content */
.hero-content {
  position: relative;
  color: white;
  max-width: 700px;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 600;
}

.hero-subtitle {
  margin: 15px 0 25px;
  font-size: 1.1rem;
  color: #e5e7eb;
}

/* animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtle glow */
.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(67,160,71,0.25);
  filter: blur(150px);
  top: -100px;
  right: -100px;
}


/* ================= ABOUT PREMIUM ================= */

.about {
  padding: 100px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXT */
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: #475569;
  line-height: 1.7;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 16px;
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* STATS */
.about-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}

.stat-box {
  background: #f8fafc;
  padding: 25px;
  border-radius: 14px;
  transition: 0.3s;
}

.stat-box h3 {
  font-size: 2rem;
  color: var(--green-main);
}

.stat-box p {
  font-size: 0.95rem;
  color: #64748b;
}

/* hover */
.stat-box:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* PRODUCTS */

.products {
  background: #f8fafc;
  padding: 100px 0;
}

.products h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  transition: 0.4s ease;
  cursor: pointer;
}

.product-card-content {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.5s ease;
}

.product-card h3 {
  padding: 15px 15px 5px;
  font-size: 1.2rem;
}

.product-card p {
  padding: 0 15px 20px;
  color: #64748b;
  font-size: 0.95rem;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,94,32,0.75),
    transparent 60%
  );
  opacity: 0;
  transition: 0.4s;
  z-index: 1;   /* 👈 important */
}

.product-card:hover::before {
  opacity: 1;
}

.product-card h3,
.product-card p {
  transition: 0.3s;
}

.product-card:hover h3,
.product-card:hover p {
  color: white;
}


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

/* ================= WHY US ================= */

.why-us {
  padding: 80px 0;
  background: #f8fafc;
  text-align: center;
}

.why-us h2 {
  margin-bottom: 50px;
  font-size: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  transition: 0.3s;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: #64748b;
}

/* hover */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* MOBILE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}