/* BOVGARDE Home */

/* —— Hero —— */
.hero {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 400;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots button {
  width: 36px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.hero-dots button.is-active,
.hero-dots button:hover {
  background: #fff;
}

/* —— Features —— */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: flex;
  gap: 20px;
}

.feature-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px 32px;
  min-height: 120px;
}

.feature-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.feature-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Products —— */
.products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-bottom: 24px;
}

.product-tabs button {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.product-tabs button:hover {
  color: var(--accent);
}

.product-tabs button.is-active {
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-product);
  border-radius: 14px;
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card .thumb {
  width: 100%;
  margin-bottom: 14px;
  line-height: 0;
  background: var(--bg-product);
}

.product-card .thumb img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.product-card h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 18px 12px;
  line-height: 1.3;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  margin: 0 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-detail:hover {
  background: var(--accent-hover);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .features {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-track {
    aspect-ratio: 16 / 7;
  }

  .hero-dots {
    bottom: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px 24px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }
}
