/* ==========================================================================
   Hero Banners & Products – Novadecor
   Gebaseerd op akupanel-outlet.nl hero sectie
   ========================================================================== */

.home-banners-products {
  background-color: #fff;
  padding: 0.25rem 0 1.25rem;
}

.home-banners-products .container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .home-banners-products .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-banners-products {
    padding: 0.75rem 0 1.5rem;
  }

  .home-banners-products .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   Top Promo Banner
   ========================================================================== */

.hero-promo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

@media (min-width: 768px) {
  .hero-promo-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.25rem 2rem;
  }
}

.hero-promo-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .hero-promo-banner-content {
    flex-direction: row;
    gap: 2rem;
  }
}

.hero-promo-banner-title {
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-align: center;
}

.hero-promo-banner-title strong {
  font-weight: 800;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .hero-promo-banner-title {
    font-size: 1.375rem;
  }

  .hero-promo-banner-title strong {
    font-size: 1.5rem;
  }
}

.hero-promo-banner-usps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 480px) {
  .hero-promo-banner-usps {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero-promo-usp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.hero-promo-check {
  flex-shrink: 0;
}

.hero-promo-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #dc2626;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-promo-banner:hover .hero-promo-banner-btn {
  background-color: #fef2f2;
  transform: scale(1.02);
}

/* ==========================================================================
   Hero Grid Layout
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: 500px;
  }
}

/* ==========================================================================
   Left Feature
   ========================================================================== */

.hero-feature-left {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background-color: #262626;
}

@media (min-width: 1024px) {
  .hero-feature-left {
    height: 100%;
  }
}

.hero-feature-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: #fff;
  outline: none;
}

@media (min-width: 768px) {
  .hero-feature-link {
    min-height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-feature-link {
    min-height: 500px;
    aspect-ratio: auto;
  }
}

.hero-feature-link picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-feature-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    transparent 70%
  );
}

.hero-feature-link:hover .hero-feature-img {
  transform: scale(1.03);
}

.hero-feature-link:focus-visible {
  outline: 2px solid #a87b4b;
  outline-offset: 2px;
}

.hero-feature-badge {
  display: none;
}

/* ==========================================================================
   Right Column
   ========================================================================== */

.hero-feature-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .hero-feature-right {
    height: 100%;
  }

  .hero-feature-right > .hero-secondary-banner {
    flex: 1 1 0;
    min-height: 0;
  }
}

/* ==========================================================================
   Hero Secondary Banner
   ========================================================================== */

.hero-secondary-banner {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border-radius: 0;
  min-height: 200px;
  background-color: #262626;
  outline: none;
}

@media (min-width: 768px) {
  .hero-secondary-banner {
    min-height: 220px;
  }
}

@media (min-width: 1024px) {
  .hero-secondary-banner {
    min-height: 0;
  }
}

.hero-secondary-banner__media,
.hero-secondary-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-secondary-banner__img {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.25s ease-out, transform 0.45s ease;
}

.hero-secondary-banner__img.is-loaded {
  opacity: 1;
}

.hero-secondary-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-secondary-banner:hover .hero-secondary-banner__img {
  transform: scale(1.03);
}

.hero-secondary-banner:focus-visible {
  outline: 2px solid #a87b4b;
  outline-offset: 2px;
}

.hero-secondary-banner-content,
.hero-secondary-banner-title,
.hero-secondary-banner-badge,
.hero-secondary-banner-arrow {
  display: none;
}

/* ==========================================================================
   Title overlay
   ========================================================================== */

.hero-feature-title,
.hero-feature-link .hero-feature-title-left {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: left;
  background: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: none;
  max-width: 18rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-feature-title,
  .hero-feature-link .hero-feature-title-left {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

.hero-feature-title-main {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-feature-title-main {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-feature-link .hero-feature-title-main {
    font-size: 2rem;
  }

  .hero-secondary-banner .hero-feature-title-main {
    font-size: 1.5rem;
  }
}

.hero-feature-title-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
}

.hero-feature-title-cta::after {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

.hero-feature-link:hover .hero-feature-title-cta::after,
.hero-secondary-banner:hover .hero-feature-title-cta::after {
  width: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-img,
  .hero-secondary-banner__img,
  .hero-feature-title-cta::after {
    transition: none;
  }

  .hero-feature-link:hover .hero-feature-img,
  .hero-secondary-banner:hover .hero-secondary-banner__img {
    transform: none;
  }
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.hero-category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero-category-cards {
    gap: 1rem;
  }
}

.hero-category-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-category-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-category-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-category-card:hover .hero-category-img {
  transform: scale(1.05);
}

.hero-category-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #e5e5e5;
  color: #737373;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.hero-category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
  .hero-category-footer {
    padding: 1rem 1.25rem;
  }
}

.hero-category-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #262626;
}

@media (min-width: 768px) {
  .hero-category-name {
    font-size: 0.875rem;
  }
}

.hero-category-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #f5f5f5;
  border-radius: 50%;
  color: #525252;
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 768px) {
  .hero-category-arrow {
    width: 32px;
    height: 32px;
  }
}

.hero-category-card:hover .hero-category-arrow {
  background-color: #dc2626;
  color: #fff;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 479px) {
  .hero-promo-banner-title {
    font-size: 1rem;
  }

  .hero-promo-banner-title strong {
    font-size: 1.125rem;
  }

  .hero-promo-usp {
    font-size: 0.75rem;
  }

  .hero-feature-title,
  .hero-feature-link .hero-feature-title-left {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .hero-feature-title-main {
    font-size: 1.375rem;
  }

  .hero-feature-title-cta {
    font-size: 0.6875rem;
  }

  .hero-category-name {
    font-size: 0.6875rem;
  }

  .hero-category-footer {
    padding: 0.5rem 0.75rem;
  }
}
