@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d2818;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero/banner.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13, 40, 24, 0.94) 0%, rgba(27, 94, 32, 0.82) 42%, rgba(46, 125, 50, 0.55) 68%, rgba(211, 47, 47, 0.45) 100%);
}

.hero-glow-green {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(56, 163, 68, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-red {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-product-card {
  position: absolute;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

.hero-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-card--main {
  width: 14rem;
  height: 14rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-product-card--main:hover {
  transform: translate(-50%, -58%) scale(1.03);
}

.hero-product-card--tl {
  width: 7.5rem;
  height: 7.5rem;
  top: 8%;
  left: 5%;
  z-index: 2;
  animation: float-card 5s ease-in-out infinite;
}

.hero-product-card--tr {
  width: 8rem;
  height: 8rem;
  top: 5%;
  right: 8%;
  z-index: 2;
  animation: float-card 5.5s ease-in-out infinite 0.5s;
}

.hero-product-card--bl {
  width: 7rem;
  height: 7rem;
  bottom: 12%;
  left: 12%;
  z-index: 2;
  animation: float-card 6s ease-in-out infinite 1s;
}

.hero-product-card--br {
  width: 8.5rem;
  height: 8.5rem;
  bottom: 8%;
  right: 5%;
  z-index: 2;
  animation: float-card 5.2s ease-in-out infinite 1.5s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-product-card--main {
  animation: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
}

.hero-title-accent {
  background: linear-gradient(90deg, #ff8a80, #ef5350, #ffcdd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #1b5e20;
  padding: 0.9rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  background: #f5f5f5;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d32f2f;
  color: #fff;
  padding: 0.9rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  background: #e53935;
  box-shadow: 0 8px 28px rgba(211, 47, 47, 0.5);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.hero-visual-wrap {
  position: relative;
  height: 26rem;
  min-height: 320px;
}

@media (min-width: 1024px) {
  .hero-visual-wrap {
    height: 32rem;
  }

  .hero-product-card--main {
    width: 16rem;
    height: 16rem;
  }
}

@media (max-width: 1023px) {
  .hero-visual-wrap {
    height: 22rem;
    margin-top: 2rem;
  }

  .hero-product-card--main {
    width: 11rem;
    height: 11rem;
  }

  .hero-product-card--tl { width: 5.5rem; height: 5.5rem; }
  .hero-product-card--tr { width: 5.5rem; height: 5.5rem; }
  .hero-product-card--bl { width: 5rem; height: 5rem; }
  .hero-product-card--br { width: 5.5rem; height: 5.5rem; }
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-img {
  transition: transform 0.4s ease;
}

.nav-logo {
  height: 5.5rem;
  width: auto;
  min-width: 13rem;
  max-width: 18rem;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (min-width: 768px) {
  .nav-logo {
    height: 6.5rem;
    min-width: 15rem;
    max-width: 22rem;
  }
}

.nav-active {
  color: #2E7D32;
  font-weight: 600;
}
