/* DELSA homepage final requested adjustments */
:root { --d-orange: #f47721; }
/* Replace the navy strip behind the main navigation with DELSA orange. */
.delsa-home .page-header .nav-shell,
.delsa-home .page-header .main-nav,
.delsa-home .page-header .main-nav.is-open {
  background: #f47721 !important;
}
.delsa-home .page-header .nav-shell { gap: clamp(18px, 2.5vw, 42px) !important; }
/* Center the menu as a group and make the labels more prominent. */
.delsa-home .page-header .main-nav {
  flex: 1 1 auto !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: 0 !important;
  gap: clamp(15px, 1.7vw, 27px) !important;
}
.delsa-home .page-header .main-nav > a,
.delsa-home .page-header .nav-dropdown > a {
  color: #fff !important;
  font-size: clamp(14px, 1.05vw, 17px) !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  padding: 16px 0 !important;
}
.delsa-home .page-header .main-nav > a:hover,
.delsa-home .page-header .main-nav > a.active,
.delsa-home .page-header .nav-dropdown > a:hover { color: #fff !important; }
.delsa-home .page-header .main-nav > a:after,
.delsa-home .page-header .nav-dropdown > a:after { background: #fff !important; }
.delsa-home .page-header .nav-cta {
  background: #fff !important; color: #f47721 !important;
  white-space: nowrap;
}
.delsa-home .page-header .nav-cta:hover { background: #fff4ec !important; color: #d95d0d !important; }
.delsa-home .page-header .dropdown-panel { background: #fff !important; }
.delsa-home .page-header .dropdown-panel a { color: #26384b !important; }
.delsa-home .page-header .dropdown-panel a:hover { color: #f47721 !important; }
/* Exactly five product families on row one and four on row two on desktop. */
.delsa-home #productGrid.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 18px !important; }
.delsa-home #productGrid .product-image { height: clamp(150px, 17vw, 230px); }
.delsa-home #productGrid .product-meta { padding: 18px 17px 20px; }
.delsa-home #productGrid .product-meta h3 { font-size: clamp(16px, 1.35vw, 20px); }
.delsa-home #productGrid .product-meta p { font-size: 12px; }
@media (max-width: 1100px) {
  .delsa-home #productGrid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .delsa-home .page-header .main-nav { background: #f47721 !important; }
  .delsa-home .page-header .main-nav > a,
  .delsa-home .page-header .nav-dropdown > a { color: #fff !important; }
  .delsa-home #productGrid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 420px) {
  .delsa-home #productGrid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .delsa-home #productGrid .product-image { height: 145px; }
  .delsa-home #productGrid .product-meta { padding: 13px 11px 15px; }
  .delsa-home #productGrid .product-meta h3 { font-size: 15px; }
}

/* Ana sayfa video başladığında hero üzerindeki metin ve butonları gizle. */
.hero-section .hero-content,
.hero-section .hero-side-label,
.hero-section .scroll-cue {
  transition: opacity .45s ease, visibility .45s ease, transform .45s ease;
}
.hero-section.video-playing .hero-content,
.hero-section.video-playing .hero-side-label,
.hero-section.video-playing .scroll-cue {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px);
}

/* Keşif alanı: kartları dengeli doldur, boş hücre bırakma. */
.delsa-home .capabilities-section { width:100%; max-width:none; padding-left:clamp(22px,5.5vw,96px); padding-right:clamp(22px,5.5vw,96px); }
.delsa-home .capabilities-section .section-heading-row { max-width:1500px; margin-left:auto; margin-right:auto; }
.delsa-home .capability-grid { width:100%; max-width:1500px; margin:0 auto; grid-template-columns:1.25fr 1fr 1fr; grid-template-rows: minmax(250px, 18vw) minmax(250px, 18vw); gap:14px; }
.delsa-home .capability-card:first-child { grid-row:1 / span 2; grid-column:1; }
.delsa-home .capability-card:nth-child(2) { grid-row:1; grid-column:2; }
.delsa-home .capability-card:nth-child(3) { grid-row:1; grid-column:3; }
.delsa-home .capability-card:nth-child(4) { grid-row:2; grid-column:2; }
.delsa-home .capability-card:nth-child(5) { grid-row:2; grid-column:3; }
.delsa-home .capability-card { min-height:0; border-radius:9px; }
.delsa-home .capability-card img { object-fit:cover; }
@media(max-width:900px) { .delsa-home .capabilities-section { padding-left:5%; padding-right:5%; } .delsa-home .capability-grid { grid-template-columns:1fr 1fr; grid-template-rows:300px 220px 220px; } .delsa-home .capability-card:first-child { grid-column:1 / -1; grid-row:1; } .delsa-home .capability-card:nth-child(2) { grid-column:1; grid-row:2; } .delsa-home .capability-card:nth-child(3) { grid-column:2; grid-row:2; } .delsa-home .capability-card:nth-child(4) { grid-column:1; grid-row:3; } .delsa-home .capability-card:nth-child(5) { grid-column:2; grid-row:3; } }
@media(max-width:600px) { .delsa-home .capability-grid { grid-template-rows:260px 180px 180px; gap:10px; } }

/* Üretim altyapımız kartı: yeni, tam banner görseli */
.delsa-home .capability-card:nth-child(2) { background:#fff; }
.delsa-home .capability-card:nth-child(2) img { object-fit:contain; background:#fff; }
.delsa-home .capability-card:nth-child(2) .capability-shade,
.delsa-home .capability-card:nth-child(2) .capability-number,
.delsa-home .capability-card:nth-child(2) .capability-title { display:none; }
