/* ==========================================================================
   Hero Banners & Products – Novadecor
   Gebaseerd op akupanel-outlet.nl hero sectie
   ========================================================================== */

.home-banners-products {
  background-color: #f5f5f5;
  padding: 1rem 0 1.5rem;
}

.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 .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: 1rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   Left Feature (Akupanelen)
   ========================================================================== */

.hero-feature-left {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #262626;
}

.hero-feature-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3; /* Reserve space voor LCP image, voorkomt CLS */
}

@media (min-width: 768px) {
  .hero-feature-link {
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-feature-link {
    min-height: 500px;
  }
}

.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.4s ease;
}

.hero-feature-link:hover .hero-feature-img {
  transform: scale(1.03);
}

/* Tekstoverlay op linker hero (PVC panelen) */
.hero-feature-link .hero-feature-title-left {
  position: absolute;
  bottom: 1.25rem;
  left: auto;
  right: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: right;
}

@media (min-width: 768px) {
  .hero-feature-link .hero-feature-title-left {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    padding: 0.625rem 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-feature-link .hero-feature-title-left {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem;
  }
}

.hero-feature-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  top: auto;
  left: auto;
  transform: none;
  background-color: #fff;
  color: #262626;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero-feature-badge {
    top: 1.5rem;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translateX(-50%);
    font-size: 1rem;
    padding: 0.625rem 1.5rem;
  }
}

/* ==========================================================================
   Right Column
   ========================================================================== */

.hero-feature-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Hero Secondary Banner
   ========================================================================== */

.hero-secondary-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-decoration: none;
  overflow: hidden;
  min-height: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Donkere overlay zodat tekst leesbaar blijft op achtergrondafbeelding */
.hero-secondary-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-secondary-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .hero-secondary-banner {
    min-height: 240px;
    padding: 2.5rem;
  }
}

.hero-secondary-banner-content {
  position: relative;
  z-index: 2;
}

.hero-secondary-banner-title {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-secondary-banner-title {
    font-size: 2.5rem;
  }
}

.hero-secondary-banner-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
}

.hero-secondary-banner-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.hero-secondary-banner:hover .hero-secondary-banner-arrow {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateX(4px);
}

/* hero-feature-title binnen hero-secondary-banner: aangepast voor kleinere banner */
.hero-secondary-banner .hero-feature-title {
  /* Behoud ALLE originele eigenschappen */
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 0.375rem;
  
  /* Aangepaste positie en grootte (mobiel) */
  bottom: 1.25rem;
  left: auto;
  right: 1rem;
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  line-height: 1.4;
  text-align: right;
  max-width: calc(100% - 5rem);
}

@media (min-width: 768px) {
  .hero-secondary-banner .hero-feature-title {
    bottom: 1.5rem;
    left: auto;
    right: 1.5rem;
    font-size: 1rem;
    padding: 0.625rem 1rem;
    text-align: right;
    max-width: calc(100% - 5rem);
  }
}

@media (min-width: 1024px) {
  .hero-secondary-banner .hero-feature-title {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem;
  }
}

/* Child spans: zorg dat ze als blok-elementen onder elkaar staan */
.hero-feature-title-main {
  display: block;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.hero-feature-title-cta {
  display: block;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.95;
}

/* ==========================================================================
   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 {
    font-size: 1.25rem;
  }
  
  .hero-secondary-banner-title {
    font-size: 1.5rem;
  }
  
  .hero-category-name {
    font-size: 0.6875rem;
  }
  
  .hero-category-footer {
    padding: 0.5rem 0.75rem;
  }
}
