:root {
  --primary-color: #e95b2c;
  --primary-color-rgb: 233, 91, 44;
  --secondary-color: #fbbc34;
  --secondary-color-rgb: 251, 188, 52;
  --tertiary-color: #ffffff;
  --tertiary-color-rgb: 255, 255, 255;
  --kuas-scroll-track-height: 170px;
}

/* FAQ section override: use Kuas orange background instead of beige */
.bg-kuas-orange-section {
  background: var(--primary-color) !important;
}

.bg-kuas-orange-section h2,
.bg-kuas-orange-section .accordion-section-title,
.bg-kuas-orange-section .accordion-section-content p {
  color: #ffffff !important;
}

.bg-kuas-orange-section .accordion.s2 .accordion-section-title,
.bg-kuas-orange-section .accordion.s2 .accordion-section-content {
  border-bottom-color: rgba(255, 255, 255, 0.35) !important;
}

.bg-kuas-orange-section .accordion.s2 .accordion-section-title:after {
  color: #ffffff !important;
}

/* FAQ heading badge: larger but responsive */
#section-faq .subtitle {
  font-size: clamp(24px, 2.2vw, 34px) !important;
  font-weight: 700;
  padding: 12px 28px !important;
  line-height: 1.2;
}

/* Why Kuas feature icons */
.kuas-feature-icon {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kuas-feature-icon i {
  font-size: 36px;
  color: #ffffff;
  line-height: 1;
}

/* Usage area icons in reference/testimonial cards */
.usage-area-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  background: #ffffff;
}

.usage-area-icon i {
  font-size: 34px;
  line-height: 1;
  color: var(--primary-color);
}

/* Home slider: no crop + proportional overlay scale without overflow */
/* Home slider: 3:1 Panorama Ratio - No Crop - Proportional */
#home-slider {
  width: 100%;
  aspect-ratio: 3 / 1;
  position: relative;
  overflow: hidden;
  background: #fff;
}

#home-slider .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#home-slider .swiper-slide-bg {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  /* Force image to fill the 3:1 container */
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Layer System for Proportional Content */
.slider-layer-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  /* Allow clicks to pass through empty areas */
}

.slider-layer-item {
  position: absolute;
  pointer-events: auto;
}

/* Responsive Typography */
.slider-title-responsive {
  font-size: clamp(1rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-text-responsive {
  font-size: clamp(0.7rem, 1.5vw, 1.2rem);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-btn-responsive {
  font-size: clamp(0.6rem, 1.2vw, 1rem);
  padding: 0.5em 1.5em;
  border-radius: 4px;
}

.slider-light .swiper-slide {
  background: #ffffff !important;
  overflow: hidden;
}

.slider-light .swiper-inner,
.slider-light .swiper-inner.bgcustom {
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-color: #ffffff !important;
}

/* CRITICAL: Enforce 3:1 Aspect Ratio and Full Height Chain */
#home-slider,
#home-slider .swiper-container,
#home-slider .swiper-wrapper,
#home-slider .swiper-slide {
  width: 100% !important;
  height: 100% !important;
}

#home-slider {
  aspect-ratio: 3 / 1 !important;
  max-height: 100vh;
  /* Base rule for mobile/tablet */
}

/* Desktop: Fit to Viewport Logic */
@media (min-width: 992px) {

  /* Header ve Slider'ı dikeyde eşitleyen özel konteyner */
  .header-align-to-slider {
    /* --- Slider ve header genişlik ayarı buradadır (aşağıdaki 78 rakamlarını değiştirin) --- */
    max-width: calc(78vh * 3) !important;
    /* 3:1 Oranına göre genişlik */
    min-width: 1100px !important;
    /* Menünün logo üzerine binmesini önleyen alt limit */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px;
    /* Logonun yapışmaması için küçük nefes payı */
    padding-right: 15px;
  }

  #home-slider {
    margin-top: 90px !important;
    /* Tam genişlik (edge-to-edge) + 3:1 oran korunuyor */
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 1 !important;
    max-width: none !important;
    min-height: unset;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block;
    /* 3D kabartma gölge efekti - slider altında */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 8px 16px rgba(0, 0, 0, 0.4);
  }

}


/* Header'in scroll-up yapinca 'yukaridan dusme' animasyonunu iptal etme (Stabil Sticky) */
header.header-light.scroll-light.smaller,
header.header-light.scroll-light,
header.smaller {
  transition: none !important;
  animation: none !important;
  -webkit-animation: none !important;
  top: 0 !important;
  /* Her zaman en ustte kalsin */
  position: fixed !important;
}

/* Scroll sirasinda Topbar'in gizlenmesini engelle */
header.smaller #topbar {
  margin-top: 0 !important;
  /* style.css'deki -42px'i sifirla */
  display: block !important;
}

/* Scroll sirasinda header'in ziplamasini onle */
.scroll-down,
.scroll-up {
  margin-top: 0 !important;
}

/* Header ve Topbar Yukseklik Artislar (%30 Yaklasik) */
.topbar-widget {
  padding: 6px 40px 10px 0 !important;
  /* 3px/7px -> 6px/10px */
}

#mainmenu>li>a {
  padding-top: 33px !important;
  /* 25px -> 33px (%30 Artis) */
  padding-bottom: 33px !important;
}

/* Scroll sirasinda yuksekligin degismesini (daralmasini) engelle */
header.smaller #mainmenu>li>a {
  padding-top: 33px !important;
  /* Normal halle ayni yaparak daralmayi onledik */
  padding-bottom: 33px !important;
}

/* Logo buyumesini/daralmasini ve animasyonu tamamen kapat */
#logo,
#logo a,
#logo img {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

/* Sitenin genel kaydirma mesafesi - Menunun content uzerine binmesini engeller */
html {
  scroll-padding-top: 90px;
  /* Sticky header yuksekligi + buffer offset */
  scroll-behavior: smooth;
}

/* Bolum linklerine tiklandiginda basligin menunun altinda kalmamasi icin */
.scroll-margin-top {
  scroll-margin-top: 90px !important;
}

/* Hem normal hem sticky durumda logo yuksekligini sabitle (Buyumeyi onler) */
#logo img,
header.smaller #logo img {
  max-height: 40px !important;
  /* Eski boyuta (40px) geri donduk */
  width: auto !important;
}

/* Sitenin en temel arka planini (Body/Wrapper) saf beyaz yap */
body,
#wrapper {
  background-color: #ffffff !important;
  background-image: url("/images/background/bg-color.png") !important;
  background-repeat: repeat !important;
}

/* bg-color-3 (tertiary) sinifini saf beyaz yap */
.bg-color-3 {
  background: #ffffff !important;
}

/* Header ve Topbar'i her durumda saf beyaz yap, ayraci (border) ve golgeyi kaldir */
header,
header.smaller,
#topbar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Header buyudugu icin slider'i asagi kaydir */
@media (min-width: 992px) {
  #home-slider {
    margin-top: 120px !important;
    /* 170px -> 120px */
  }
}

/* KUAS tablet/desktop bridge: prevent header crop between 999-1199px */
@media (min-width: 999px) and (max-width: 1200px) {
  .header-align-to-slider {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #topbar,
  header {
    overflow: visible !important;
  }

  #topbar .social-icons {
    flex-shrink: 0;
  }
}


/* Ensure background image is visible and covers the slide */
/* Ensure background image is visible and covers the slide */
#home-slider .swiper-slide-bg {
  width: 100%;
  height: 100%;
  background-size: 100% 100% !important;
  /* Force stretch */
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
}

/* Safe Zone Container - Enforces 1920x1080 Template Margins via Percentages */
.slider-safe-zone {
  position: absolute;
  top: 5%;
  /* Matches ~50px on 1080p */
  bottom: 10%;
  /* Matches ~100px on 1080p */
  left: 10%;
  /* Matches ~200px on 1920p */
  right: 10%;
  /* Matches ~200px on 1920p */
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Default vertical center */
  align-items: flex-start;
  /* Default left align text */
  pointer-events: none;
  /* Let clicks pass through empty areas */
}

.slider-safe-zone>* {
  pointer-events: auto;
  /* Re-enable clicks for buttons/text */
  max-width: 100%;
}


/* Navigation Arrows - Repositioned inward to avoid scrollbar conflict */
#home-slider .swiper-button-next,
#home-slider .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  /* Ensure high z-index */
  color: #fff;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.3);
  /* Add background for visibility */
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

#home-slider .swiper-button-next:hover,
#home-slider .swiper-button-prev:hover {
  opacity: 1;
}

#home-slider .swiper-button-next {
  right: 70px;
  /* Moved away from right scrollbar */
}

#home-slider .swiper-button-prev {
  left: 70px;
}

#home-slider .swiper-button-next::after,
#home-slider .swiper-button-prev::after {
  font-size: 24px;
  font-weight: bold;
}

#home-slider .swiper-pagination {
  bottom: 25px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  /* Centered */
  width: auto;
  z-index: 20;
  display: flex !important;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2);
  /* Subtle background for better contrast */
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

#home-slider .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: transparent;
  border: 2px solid #ffffff;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#home-slider .swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
  /* Yellow */
  border-color: var(--secondary-color) !important;
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(251, 188, 52, 0.6);
  /* Yellow glow */
}

/* Custom Red Button for Slider 1 */
.btn-custom-red {
  background-color: #ff5252;
  /* Vivid Red/Pink */
  color: #fff !important;
  font-weight: bold;
  padding: 10px 40px;
  border-radius: 50px;
  /* Pill shape */
  text-decoration: none;
  display: inline-block;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
  transition: all 0.3s ease;
}

.btn-custom-red:hover {
  background-color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

/* Slider mobil ayarları (Buton ve Yazı Boyutu) */
/* Mobile-Specific Adjustments for 3:1 Slider */
@media (max-width: 768px) {

  /* Prevent Header Overlap/Cropping */
  /* Mobile-Specific Adjustments for 3:1 Slider */
  /* Prevent Header Overlap/Cropping */
  #home-slider {
    margin-top: 90px !important;
    /* Push slider below the mobile header */
  }

  /* Hızlı çözüm: slider içeriğini küçült ve aşağı kaydır */
  #home-slider .slider-layer-container {
    transform: translateY(6%) scale(0.78);
    transform-origin: left top;
  }

  /* İKLİM YASASI - Yazılar mobil konumu */
  .iklim-text-container {
    margin-top: 80px !important;
  }

  .iklim-text-container .slider-title-responsive {
    font-size: 1.2rem !important;
  }

  .iklim-text-container .slider-text-responsive {
    font-size: 0.7rem !important;
  }

  /* Compact Button */
  .slider-btn-responsive,
  .btn-custom-red {
    padding: 6px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap;
    /* Prevent line break on very small screens */
  }

  .btn-custom-red {
    padding: 6px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap;
    /* Prevent line break on very small screens */
  }

  /* Yazı boyutu ayarları (Mobil) - Buradaki değerleri değiştirerek büyütebilirsiniz */
  .slider-title-responsive {
    font-size: 1.45rem !important;
    /* Başlık boyutu (CONVECO) */
    margin-bottom: 2px !important;
  }

  .slider-subtitle-responsive {
    font-size: 1.1rem !important;
    /* Alt başlık boyutu (YENİ NESİL...) */
    margin-bottom: 5px !important;
  }

  .slider-text-responsive {
    font-size: 0.8rem !important;
    /* Açıklama yazısı boyutu (ısınmayı...) */
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
    /* Butonu yukarı çektik */
  }

  /* Website linki (Mobil) */
  .slider-website-info {
    margin-top: 2px !important;
    /* Daha da yaklaştırdık (ama bindirmedik) */
  }

  .slider-website-info i {
    font-size: 0.75rem !important;
    /* İkon %50 küçültüldü */
    margin-right: 5px !important;
  }

  .slider-website-info span {
    font-size: 0.55rem !important;
    /* Yazı %50 küçültüldü */
  }

  /* Specific adjustment for custom red button to align with others */
  .btn-custom-red:hover {
    transform: none !important;
    /* Disable hover lift on touch devices */
  }

  /* Smaller, Unobtrusive Arrows */
  #home-slider .swiper-button-next,
  #home-slider .swiper-button-prev {
    width: 20px !important;
    height: 20px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    opacity: 0.4 !important;
    /* More transparent than desktop */
    border-radius: 50%;
  }

  #home-slider .swiper-button-next::after,
  #home-slider .swiper-button-prev::after {
    font-size: 10px !important;
    font-weight: bold;
  }

  #home-slider .swiper-button-next {
    right: 10px !important;
  }

  #home-slider .swiper-button-prev {
    left: 10px !important;
  }

  /* Compact Pagination */
  #home-slider .swiper-pagination {
    bottom: 10px !important;
    padding: 4px 12px !important;
    gap: 8px !important;
  }

  #home-slider .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
  }

  /* Slide 1 mobile realignment: text+button bar-centered, icon straddles bar top like desktop */
  #home-slider .swiper-slide:first-child .slider-black-bar {
    padding: 10px 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  /* Left text column */
  #home-slider .swiper-slide:first-child .slider-black-bar>div:nth-child(1) {
    margin-top: 0 !important;
    gap: 4px;
    justify-content: center !important;
    flex: 1 1 52% !important;
  }

  #home-slider .swiper-slide:first-child .slider-black-bar h2.slider-title-responsive {
    font-size: clamp(1rem, 3vw, 1.25rem) !important;
    line-height: 1.1 !important;
  }

  #home-slider .swiper-slide:first-child .slider-black-bar .slider-text-responsive {
    font-size: clamp(0.72rem, 2.4vw, 0.95rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }

  /* Center icon column: center of icon aligns to bar top */
  #home-slider .swiper-slide:first-child .slider-black-bar>div:nth-child(2) {
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    position: relative;
    top: 0;
  }

  #home-slider .swiper-slide:first-child .slider-black-bar>div:nth-child(2) img {
    width: clamp(90px, 22vw, 122px) !important;
    height: auto !important;
    transform: translateY(-50%) !important;
  }

  /* Right button column */
  #home-slider .swiper-slide:first-child .slider-black-bar>div:nth-child(3) {
    margin-top: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }

  #home-slider .swiper-slide:first-child .slider-black-bar .btn-custom-red {
    padding: 8px 18px !important;
    font-size: clamp(0.8rem, 2.8vw, 0.95rem) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Center Logo Animation */
.slide-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  will-change: opacity, transform;
}

.slide-center-logo img {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .slide-center-logo img {
    max-width: 250px;
  }
}

.slide-center-logo.anim-enter {
  animation: logoPopIn 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1.5s;
  /* Start after badges */
}

@keyframes logoPopIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 767px) {
  #home-slider .slide-cert-overlay {
    left: 12px;
    bottom: 14px;
    gap: 8px;
  }

  #home-slider .slide-cert-badge {
    border-radius: 10px;
    padding: 4px 8px;
  }

  #home-slider .slide-cert-badge img {
    width: 80px;
    height: 28px;
  }
}

/* Right-side "back to top" helper + draggable scroll indicator */
.scrollbar-v {
  background: var(--primary-color) !important;
  position: fixed;
  top: calc(50% - (var(--kuas-scroll-track-height) / 2)) !important;
  right: 18px !important;
  left: auto !important;
  width: 10px !important;
  min-height: 0 !important;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(var(--primary-color-rgb), 0.35);
  cursor: grab;
}

.scrollbar-v::before {
  left: 0 !important;
  width: 10px !important;
  height: var(--kuas-scroll-track-height) !important;
  min-height: var(--kuas-scroll-track-height) !important;
  border-radius: 999px;
  background: rgba(var(--primary-color-rgb), 0.28) !important;
}

.scrollbar-v.dark::before {
  background: rgba(var(--primary-color-rgb), 0.4) !important;
}

body.is-dragging-scrollbar-v .scrollbar-v {
  cursor: grabbing;
}

body.is-dragging-scrollbar-v {
  user-select: none;
}

.float-text {
  width: auto !important;
  position: fixed;
  z-index: 1002;
  margin-left: 0 !important;
  text-align: center;
  font-size: 15px !important;
  top: calc(50% - (var(--kuas-scroll-track-height) / 2) - 58px) !important;
  right: 44px !important;
  left: auto !important;
  transform: none !important;
  font-weight: 700 !important;
}

.float-text a,
.float-text.dark a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color) !important;
  border: 2px solid rgba(var(--primary-color-rgb), 0.85);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  padding: 9px 6px;
  line-height: 1;
}

.float-text span {
  margin: 0 !important;
  writing-mode: vertical-rl;
  letter-spacing: 1.1px;
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  color: var(--primary-color) !important;
}

.float-text span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 14px auto 0;
  background: rgba(var(--primary-color-rgb), 0.8);
  border-radius: 999px;
}

@media (max-width: 1199px) {
  .scrollbar-v {
    right: 14px !important;
    width: 8px !important;
  }

  .scrollbar-v::before {
    width: 8px !important;
  }

  .float-text {
    right: 36px !important;
  }
}

/* Kuas-like brand override */
header.transparent,
header.transparent.smaller {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

#topbar {
  background: var(--primary-color) !important;
}

#topbar .topbar-widget a,
#topbar .social-icons a {
  color: #ffffff !important;
}

#topbar .topbar-widget a:hover,
#topbar .social-icons a:hover {
  color: var(--secondary-color) !important;
}

header.transparent #mainmenu>li>a.menu-item,
header.smaller #mainmenu>li>a.menu-item {
  color: #23344d !important;
}

header #mainmenu>li>a.menu-item:hover,
header #mainmenu>li>a.menu-item.active {
  color: var(--primary-color) !important;
}

.btn-main,
a.btn-main {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-main:hover,
a.btn-main:hover {
  background: #cf471f !important;
  border-color: #cf471f !important;
}

a.btn-main.bg-color-2 {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #1f2e45 !important;
}

#logo img.logo-main,
#logo img.logo-scroll,
#logo img.logo-mobile,
header.smaller #logo img.logo-main,
header.smaller #logo img.logo-scroll,
header.smaller #logo img.logo-mobile {
  width: auto !important;
  max-height: 32px !important;
}

/* Desktop header layout tune: prevent menu wrap */
@media (min-width: 1200px) {
  header .container {
    max-width: 1320px;
  }

  header .de-flex {
    gap: 20px;
    align-items: center;
  }

  header .header-col-mid {
    flex: 1 1 auto;
    min-width: 0;
  }

  #mainmenu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  #mainmenu>li {
    float: none;
    display: block;
    margin-right: 16px;
    white-space: nowrap;
  }

  #mainmenu>li:last-child {
    margin-right: 0;
  }

  #mainmenu>li>a.menu-item {
    font-size: 15px;
    padding-top: 22px;
    padding-bottom: 22px;
    white-space: nowrap;
  }

  .menu_side_area .btn-main {
    padding: 10px 22px;
    font-size: 18px;
  }
}

@media (max-width: 1399px) {
  #mainmenu>li {
    margin-right: 12px;
  }

  #mainmenu>li>a.menu-item {
    font-size: 14px;
  }
}

/* Card symmetry rules: same-height card blocks on all pages */
.equal-height-grid>[class*="col-"] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.equal-height-grid>[class*="col-"]>* {
  width: 100%;
}

.bloglist {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bloglist .post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bloglist .post-image {
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
}

.bloglist .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloglist .post-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.bloglist .post-text a.btn-main {
  margin-top: auto !important;
}

#section-products .bg-light.relative.hover.overflow-hidden.rounded-1,
#section-products .bg-color-3.relative.hover.overflow-hidden.rounded-20px {
  height: 100%;
}

/* Footer fix: logo scale + readable contrast */
footer.site-footer {
  background: #f4f7fb !important;
  color: #2c415d !important;
  padding-top: 72px;
}

footer.site-footer h5,
footer.site-footer .de_light footer h5,
footer.site-footer .text-white,
footer.site-footer .fw-bold.text-white {
  color: #10243d !important;
}

footer.site-footer h2,
footer.site-footer h2.jarallax,
footer.site-footer h2.phone {
  color: #10243d !important;
}

footer.site-footer a,
footer.site-footer p,
footer.site-footer ul li a {
  color: #2c415d !important;
}

footer.site-footer a:hover {
  color: var(--primary-color) !important;
}

footer.site-footer .footer-logo,
footer.site-footer>.container .col-lg-4:first-child>img {
  display: block;
  width: 100%;
  max-width: 154px;
  height: auto;
}

footer.site-footer .social-icons a {
  color: #10243d !important;
}

footer.site-footer .social-icons a:hover {
  color: var(--primary-color) !important;
}

footer.site-footer .subfooter {
  border-top: 1px solid rgba(16, 36, 61, 0.15);
  background: #ffffff;
}

footer.site-footer .id-color-2 {
  color: var(--primary-color) !important;
}

/* Placeholder resolution note: keep label readable over cover backgrounds */
.placeholder-resolution-note {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #111111 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.subtitle-resolution-float {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #111111 !important;
  white-space: nowrap;
}

/* Full-width footer-top image guide block on homepage */
.kuas-full-banner-placeholder {
  width: 100%;
  aspect-ratio: 20 / 7;
}

.kuas-full-banner-placeholder>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .subtitle-resolution-float {
    display: none;
  }

  .placeholder-resolution-note {
    font-size: 26px;
  }

  .kuas-full-banner-placeholder {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 1024px) {

  #logo img.logo-main,
  #logo img.logo-scroll,
  #logo img.logo-mobile,
  header.smaller #logo img.logo-main,
  header.smaller #logo img.logo-scroll,
  header.smaller #logo img.logo-mobile {
    max-height: 30px !important;
  }

  footer.site-footer .footer-logo,
  footer.site-footer>.container .col-lg-4:first-child>img {
    max-width: 126px;
  }
}

/* TEMP: Slider altındaki lacivert bant (welcome band) gizle */
.section-dark.bg-color.text-light[data-bgimage*="16.webp"] {
  display: none !important;
}

/* === SLIDER MANAGER ELEMENT STYLES START === */

/* Slider yöneticisi tarafından oluşturulan öğeler */
.slider-managed-el {
  position: absolute !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.slider-managed-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Masaüstü konumları */
@media (min-width: 769px) {
  #slide-1-el-1 {
    top: 76.48317373461012% !important;
    left: 5.454400364797082% !important;
    width: 35% !important;
    font-size: 2.7rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: left !important;
    text-shadow: 0px 0px 10px #ffffff !important;
  }

  #slide-1-el-2 {
    top: 84.8% !important;
    left: 5.491199270405837% !important;
    width: 40% !important;
    font-size: 1.4rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  #slide-1-el-3 {
    top: 89.07277701778378% !important;
    left: 5.616005471956224% !important;
    width: 46% !important;
    font-size: 1.2rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  #slide-1-el-4 {
    top: 66.84486899266929% !important;
    left: 61.73557088669977% !important;
    width: 12% !important;
  }

  #slide-1-el-5 {
    top: 84.02699260648212% !important;
    left: 86.30226929943363% !important;
    width: 14% !important;
    font-size: 1rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    background-color: #ff5252 !important;
    padding: 10px 30px !important;
    border-radius: 30px !important;
  }

  #slide-mm1runpw-el-mm1zbi9l {
    top: 35.882352941176464% !important;
    left: 39.092567259461916% !important;
    width: 30% !important;
    font-size: 2.8rem !important;
    color: #ff0000 !important;
    font-weight: 800 !important;
    text-align: left !important;
    line-height: 1.1 !important;
    text-shadow: 5px 7px 3px #fbff00 !important;
    -webkit-text-stroke: 0.2px #000000 !important;
  }
}

/* Mobil konumları */
@media (min-width: 0px) and (max-width: 768px) {
  #slide-1-el-1 {
    top: 78.81914893617021% !important;
    left: 7.754846335697399% !important;
    width: 55% !important;
    font-size: 0.7rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: left !important;
  }

  #slide-1-el-2 {
    top: 79.34539007092198% !important;
    left: 7.6396369086371525% !important;
    width: 65% !important;
    font-size: 0.5rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  #slide-1-el-3 {
    top: 86.85390070921977% !important;
    left: 7.801387433161501% !important;
    width: 80% !important;
    font-size: 0.5rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  #slide-1-el-4 {
    top: 45.74839854274195% !important;
    left: 60.14157086559363% !important;
    width: 17% !important;
  }

  #slide-1-el-5 {
    top: 87.30141843971631% !important;
    left: 94.52718676122932% !important;
    width: 12% !important;
    font-size: 0.7rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: center !important;
    background-color: #ff5252 !important;
    padding: 0px 30px !important;
    border-radius: 30px !important;
  }

  #slide-mm1runpw-el-mm1zbi9l {
    top: 30% !important;
    left: 5% !important;
    width: 50% !important;
    font-size: 1.4rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-align: left !important;
    line-height: 1.1 !important;
  }
}

/* === SLIDER MANAGER ELEMENT STYLES END === */

/* Intro Section - Üçlü Kolon Yapısı (Metin + Metin + Görsel) */
#section-intro {
  background: #ffffff;
}

#section-intro h2 {
  font-size: clamp(16px, 1.625vw, 21px);
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.intro-text-panel {
  height: 100%;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(16, 35, 60, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.intro-text-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  border-color: #e95b2c;
}

.intro-text-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.intro-text-box p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  text-align: justify;
  word-break: normal;
  overflow-wrap: break-word;
}

.intro-text-columns {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

@media (min-width: 992px) {
  .intro-text-columns .intro-text-box:last-child {
    padding-left: 18px;
    border-left: 1px solid rgba(16, 35, 60, 0.08);
  }
}

.intro-text-columns > .intro-text-box:not(.intro-text-box-single) {
  display: none;
}

.intro-text-box-single {
  padding-left: 0 !important;
  border-left: none !important;
}

.intro-text-box-single p {
  margin-bottom: 24px;
  text-align: left;
}

.intro-text-box-single ul {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #666;
}

.intro-text-box-single li {
  margin-bottom: 8px;
}

.intro-image-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.intro-image-box img {
  width: 100%;
  max-width: 400px;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

@media (min-width: 992px) {
  #section-intro .intro-image-box {
    justify-content: stretch;
    align-items: stretch;
    gap: 12px;
  }

  #section-intro .intro-image-box .intro-coord-container {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  #section-intro .intro-image-box .intro-coord-container img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  #section-intro .intro-image-box h4 {
    flex: 0 0 auto;
    margin-top: 0 !important;
  }
}

/* Equal Height Grid for Intro */
.intro-row.equal-height-grid {
  display: flex;
  flex-wrap: wrap;
}

/* Flexbox Overflow Fix: İçerik taşmasını önlemek için */
.intro-row.equal-height-grid>[class*="col-"] {
  min-width: 0;
}

@media (min-width: 992px) {
  .intro-row.equal-height-grid>[class*="col-"] {
    display: flex;
  }

  .intro-row.equal-height-grid>[class*="col-"]>div {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .intro-row.equal-height-grid>[class*="col-"] {
    display: block;
    margin-bottom: 20px;
  }

  .intro-text-panel {
    padding: 22px 20px;
  }

  .intro-text-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .intro-text-columns .intro-text-box:last-child {
    padding-left: 0;
    border-left: none;
  }
}

/* Feature Box Stilleri */
#section-features .feature-box {
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #eee;
}

#section-features .feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: #e95b2c;
}

#section-features .feature-box i {
  display: block;
}

#section-features .feature-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

#section-features .feature-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #777;
  margin-bottom: 0;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Partnerler ve CTA Bölümü */
#section-partners .max-w-250 {
  max-width: 250px;
}

#section-partners .fs-16 {
  font-size: 16px;
}

#section-partners .fs-14 {
  font-size: 14px;
}

#section-partners .fs-18 {
  font-size: 18px;
}

#section-partners .fs-22 {
  font-size: 22px;
}

#section-partners .fw-600 {
  font-weight: 600;
}

#section-partners .fw-700 {
  font-weight: 700;
}

.partner-badge-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-badge-card {
  min-height: 240px;
  padding: 28px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border: 1px solid rgba(16, 35, 60, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.partner-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  border-color: #e95b2c;
}

.partner-badge-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1e9 0%, #ffe3d1 100%);
  color: #f16529;
  font-size: 38px;
}

.partner-badge-card h4 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.25;
  color: #10233c;
  font-weight: 700;
  word-break: normal;
}

.partner-badge-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #626f7d;
  word-break: normal;
}

.partner-cta-box {
  min-height: 240px;
  padding: 28px 24px;
  border-radius: 26px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  border-color: #e95b2c;
}

.partner-cta-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #616161;
  word-break: normal;
}

.btn-dark-red {
  background-color: #8b0000 !important;
  color: #fff !important;
  padding: 12px 30px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
  display: inline-block;
}

.btn-dark-red:hover {
  background-color: #a00000 !important;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
  color: #fff !important;
}

/* Mobil Breakpoint – Feature-box Responsive Kuralı */
@media (max-width: 767px) {
  #section-features .feature-box {
    padding: 12px !important;
  }

  #section-features .feature-box.padding20 {
    padding: 12px !important;
  }

  #section-features .feature-box h4 {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  #section-features .feature-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  #section-features .feature-box i {
    font-size: 36px;
  }

  #section-partners [class*="col-"] {
    margin-bottom: 30px;
  }

  .partner-badge-card,
  .partner-cta-box {
    min-height: auto;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .partner-badge-icon {
    width: 76px;
    height: 76px;
    font-size: 32px;
    border-radius: 20px;
  }

  .partner-badge-card h4 {
    font-size: 22px;
  }

  .partner-badge-card p,
  .partner-cta-box p {
    font-size: 15px;
  }

  #section-partners .fs-22 {
    font-size: 20px;
  }
}

/* --- NEWS & WHATSAPP SECTION --- */
#section-news-whatsapp {
  overflow: visible !important;
  /* Prevent shadow clipping */
  z-index: 5;
}

#section-news-whatsapp .news-text-box h4 {
  font-weight: 700;
  color: #333;
  word-wrap: break-word;
  /* Prevent overflow */
}

#section-news-whatsapp .news-text-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  word-wrap: break-word;
  /* Prevent overflow */
}

#section-news-whatsapp .news-text-box {
  height: 100%;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(16, 35, 60, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#section-news-whatsapp .news-text-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  border-color: #e95b2c;
}

.whatsapp-box {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin: 15px;
  /* Added margin for shadows */
  max-width: 100%;
  /* Prevent box overflow */
  overflow: visible !important;
  /* DO NOT CLIP TEXT - site.md Rule 16 */
  min-height: min-content;
  /* Allow growth */
}

.whatsapp-box p,
.whatsapp-box h5,
.whatsapp-box h6 {
  line-height: 1.4 !important;
  white-space: normal !important;
  /* Force wrap */
  word-break: normal !important;
  /* DO NOT SPLIT WORDS - site.md Rule 16 */
  overflow-wrap: break-word;
  /* Wrap long words only if necessary but keep whole if possible */
}

.whatsapp-box .btn-whatsapp {
  white-space: nowrap;
}

.whatsapp-box:hover {
  transform: translateY(-5px);
}

.color-whatsapp {
  color: #25d366;
}

.btn-whatsapp {
  background-color: #25d366;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: #fff !important;
}

.shadow-soft {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  /* Daha belirgin varsayılan gölge */
  transition: box-shadow 0.4s ease, transform 0.4s ease !important;
}

.shadow-soft:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
  /* Hover edildiğinde güçlenen gölge */
}

.bg-light-gray {
  background-color: #f1f1f1 !important;
}

/* Rounding rule compatibility */
.rounded-20px {
  border-radius: 20px !important;
}

/* Ensure image stays aligned in grid */
.news-image-container img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.health-badge-card {
  width: 100%;
  max-width: 250px;
  min-height: 250px;
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(16, 35, 60, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.health-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
  border-color: #e95b2c;
}

.health-badge-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6f7ec 0%, #d7f2df 100%);
  color: #27ae60;
  font-size: 38px;
}

.health-badge-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #10233c;
  word-break: normal;
}

.health-badge-subtitle {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #6b7785;
  word-break: normal;
}

@media (max-width: 991px) {
  .whatsapp-box {
    margin: 15px auto;
    height: auto !important;
  }

  .health-badge-card {
    max-width: 220px;
    min-height: 220px;
    padding: 24px 18px;
  }

  .health-badge-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .health-badge-card {
    max-width: 100%;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .health-badge-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .health-badge-title {
    font-size: 22px;
  }

  .health-badge-subtitle {
    font-size: 13px;
  }
}

/* Logo Carousel - Sağa Akış Animasyonu */
.logo-slider {
  overflow: hidden;
  padding: 10px 0;
  background: white;
  position: relative;
  width: 100%;
}

.logo-track-right {
  display: flex;
  width: calc(250px * 48);
  /* 12 logo + 12 tekrar */
  animation: scroll-right 50s linear infinite;
}

.logo-slide {
  width: 250px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}

.logo-slide a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  max-width: 100%;
  max-height: 50px;
  /* Logo standart boyutu */
  object-fit: contain;
  filter: grayscale(100%);
  /* İsteğe bağlı sade görünüm */
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-right {
  0% {
    transform: translateX(calc(-250px * 24));
    /* Yarıdan başla (12 logo) */
  }

  100% {
    transform: translateX(0);
  }
}

/* Mobil Ayarlari */
@media (max-width: 768px) {
  .logo-slide {
    width: 150px;
    padding: 0 15px;
  }

  .logo-track-right {
    width: calc(150px * 48);
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(calc(-150px * 24));
    }

    100% {
      transform: translateX(0);
    }
  }
}

/* YouTube Intro Section Styles */
.youtube-image-wrap {
  min-height: 400px;
  background: #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#section-youtube-intro .youtube-image-wrap {
  min-height: 0;
  height: auto !important;
  background: transparent;
}

#section-youtube-intro .youtube-image-wrap > a {
  display: block;
  height: auto !important;
}

#section-youtube-intro .youtube-image-wrap img {
  width: 100%;
  height: auto !important;
  display: block;
}

#section-banner {
  padding: 0;
  line-height: 0;
  background: #ffffff;
}

#section-banner .container {
  line-height: 0;
}

#section-banner .banner-section-card {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(11, 45, 82, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#section-banner .banner-section-card img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.45s ease;
}

#section-banner .banner-section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(11, 45, 82, 0.24);
}

#section-banner .banner-section-card:hover img {
  transform: scale(1.02);
}

#section-video-edge-banner {
  padding: 0;
  line-height: 0;
  background: #ffffff;
}

#section-video-edge-banner .container {
  line-height: 0;
}

#section-video-edge-banner .video-edge-banner-card {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(11, 45, 82, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#section-video-edge-banner img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.45s ease;
}

#section-video-edge-banner .video-edge-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(11, 45, 82, 0.24);
}

#section-video-edge-banner .video-edge-banner-card:hover img {
  transform: scale(1.02);
}

.youtube-image-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.youtube-content-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 0;
  min-width: 0;
}

.youtube-content-box .btn-main {
  margin-top: auto;
  align-self: flex-start;
}

.partner-promo-overlay {
  position: absolute;
  top: auto;
  left: 5%;
  bottom: 19%;
  z-index: 2;
  width: 52%;
  display: flex;
  flex-direction: column;
  gap: 0.7vw;
  padding: 1vw 1.1vw 1.1vw;
  border-radius: 1.2vw;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.88) 100%);
  backdrop-filter: blur(4px);
}

#section-partner-intro .partner-promo-overlay {
  display: none;
}

.partner-promo-badge {
  align-self: flex-start;
  padding: 0.55vw 0.95vw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 35, 60, 0.08);
  color: #10233c;
  font-size: 0.9vw;
  font-weight: 700;
  line-height: 1.2;
  word-break: normal;
}

.partner-promo-overlay h4 {
  margin: 0;
  color: #10233c;
  font-size: 2vw;
  font-weight: 700;
  line-height: 1.15;
  word-break: normal;
}

.partner-promo-overlay p {
  margin: 0;
  color: #425366;
  font-size: 1.05vw;
  font-weight: 500;
  line-height: 1.5;
  word-break: normal;
}

.partner-promo-benefits {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: calc(1.8% - 11px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55vw;
  padding: 0.55vw 0.8vw;
  border-radius: 0.95vw;
  background: rgba(16, 35, 60, 0.72);
  backdrop-filter: blur(6px);
}

.partner-promo-benefits span {
  display: flex;
  align-items: center;
  gap: 0.32vw;
  color: #ffffff;
  font-size: 0.78vw;
  font-weight: 600;
  line-height: 1.25;
  word-break: normal;
}

.partner-promo-benefits i {
  color: #f7b234;
  font-size: 0.86vw;
}

/* YouTube intro headings: prevent overflow on mobile and long single words */
#section-youtube-intro .youtube-content-box h3,
#section-partner-intro .youtube-content-box h3 {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-youtube-intro .youtube-content-box h3 span,
#section-partner-intro .youtube-content-box h3 span {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.play-icon-overlay {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.play-icon-glass {
  width: 110px;
  height: 78px;
  background: rgba(255, 0, 0, 0.85); /* Tam YouTube Kırmızısı */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(255, 255, 255, 0.8); /* Kontrast için beyaz ince çerçeve */
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4), 
              inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

/* Glass shine effect */
.play-icon-glass::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.3) 50%, transparent 52%);
  transition: all 0.7s ease;
  pointer-events: none;
}

.youtube-image-wrap:hover .play-icon-glass {
  transform: scale(1.05);
  border-color: #ffffff;
}

.youtube-image-wrap:hover .play-icon-glass::after {
  transform: translate(30%, 30%);
}

.play-triangle-svg {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.youtube-image-wrap:hover .play-triangle-svg {
  transform: scale(1.08) translateX(2px);
}

.list-icon-custom li {
  font-size: 16px;
  color: #444;
  overflow-wrap: break-word;
  /* Madde 16: Uzun kelimelerde taşmayı önler */
  word-break: break-word;
  white-space: normal !important;
  /* Forces text to wrap */
  width: 100% !important;
  /* Kapsayıcıyı tam doldurur */
  display: flex !important;
  align-items: flex-start;
}

.list-icon-custom .flex-grow-1 {
  flex: 1 !important;
  /* Metnin ikonu sıkıştırmasını önler */
  min-width: 0 !important;
  /* Flexbox taşma sorununu çözer */
  max-width: 100% !important;
  /* Container dışına taşmayı engeller */
  white-space: normal !important;
}

.btn-dark-red {
  background: #8b0000 !important;
  color: #fff !important;
  border: none !important;
  transition: background 0.3s ease !important;
}

.btn-dark-red:hover {
  background: #a50000 !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .youtube-image-wrap {
    min-height: auto;
    margin-bottom: 30px;
  }

  .youtube-content-box {
    padding: 0 !important;
  }

  #section-youtube-intro .youtube-content-box,
  #section-partner-intro .youtube-content-box {
    padding-right: 16px !important;
  }

  .play-icon-glass {
    width: 80px;
    height: 58px;
    border-radius: 16px;
  }

  .play-triangle-svg {
    width: 24px;
    height: 24px;
  }

  .partner-promo-overlay {
    width: 54%;
    bottom: 18%;
  }

  .partner-promo-overlay h4 {
    font-size: 2.6vw;
  }

  .partner-promo-overlay p {
    font-size: 1.35vw;
  }

  .partner-promo-benefits {
    bottom: calc(1.6% - 11px);
    gap: 0.65vw;
    padding: 0.65vw 0.9vw;
    border-radius: 1vw;
  }

  .partner-promo-benefits span {
    font-size: 0.98vw;
    gap: 0.42vw;
  }

  .partner-promo-badge {
    font-size: 1.1vw;
    padding: 0.75vw 1.15vw;
  }

  .partner-promo-benefits i {
    font-size: 1.05vw;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .partner-promo-overlay {
    left: 5%;
    bottom: 17%;
    width: 58%;
    gap: 0.9vw;
    padding: 1.6vw 1.8vw 1.8vw;
    border-radius: 1.8vw;
  }

  .partner-promo-badge {
    padding: 0.9vw 1.4vw;
    font-size: 1.3vw;
  }

  .partner-promo-overlay h4 {
    font-size: 3.2vw;
    line-height: 1.12;
  }

  .partner-promo-overlay p {
    font-size: 1.65vw;
    line-height: 1.45;
  }

  .partner-promo-benefits {
    left: 5%;
    right: 5%;
    bottom: calc(1.8% - 11px);
    gap: 0.7vw;
    padding: 0.9vw 1.1vw;
    border-radius: 1.4vw;
  }

  .partner-promo-benefits span {
    font-size: 1.1vw;
    gap: 0.55vw;
  }

  .partner-promo-benefits i {
    font-size: 1.25vw;
  }
}

@media (max-width: 767px) {
  .partner-promo-overlay {
    top: auto;
    left: 4%;
    bottom: 20%;
    width: 56%;
    gap: 1.2vw;
    padding: 2vw 2.2vw 2.3vw;
    border-radius: 2.4vw;
  }

  .partner-promo-badge {
    padding: 1vw 1.8vw;
    font-size: 2.1vw;
  }

  .partner-promo-overlay h4 {
    font-size: 4.6vw;
    max-width: 100%;
  }

  .partner-promo-overlay p {
    font-size: 2.5vw;
    max-width: 100%;
  }

  .partner-promo-benefits {
    left: 4%;
    right: 4%;
    bottom: calc(1.8% - 6px);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.9vw;
    padding: 1.35vw 1.4vw;
    border-radius: 2.3vw;
  }

  .partner-promo-benefits > span {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    align-items: center;
    font-size: clamp(10px, 2.4vw, 12px);
    font-weight: 700;
    gap: 0.65vw;
    white-space: normal;
  }

  .partner-promo-benefits > span > span {
    display: block;
    max-width: 9ch;
    font-size: clamp(10px, 2.4vw, 12px);
    line-height: 1.05;
    font-weight: 700;
    text-align: left;
    white-space: normal;
  }

  .partner-promo-benefits i {
    font-size: clamp(12px, 2.8vw, 14px);
    flex-shrink: 0;
  }
}

/* Ürün Grupları Öncesi Tanıtım Bandı */
#section-product-groups-intro {
  --intro-radius: 24px;
  --intro-padding: 36px;
  --intro-panel-padding: 24px;
  --intro-panel-bg: rgba(255, 255, 255, 0.92);
  --intro-panel-border: rgba(0, 0, 0, 0.08);
  --intro-panel-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --intro-title-color: #1f3246;
  --intro-text-color: #425366;
  --intro-muted-color: #5d6b79;
}

#section-product-groups-intro .product-groups-intro {
  position: relative;
  border-radius: var(--intro-radius);
  padding: var(--intro-padding);
  aspect-ratio: 16 / 9;
  min-height: 420px;
  overflow: hidden;
  /* Taşmayı engeller */
}

/* YENİ: Başka hiçbir elemanı büyütmeden SADECE arkaplanı büyüten özel div */
#section-product-groups-intro .product-groups-intro-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../images/background/18.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#section-product-groups-intro .product-groups-intro:hover .product-groups-intro-bg {
  transform: scale(1.05);
  /* Hover ile %5 Zoom */
}

#section-product-groups-intro .product-groups-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
  /* Transparan efekt arka planın (0) üzerinde olmalı */
}

#section-product-groups-intro .product-groups-intro-content {
  position: relative;
  z-index: 1;
}

#section-product-groups-intro .product-groups-intro .row>[class*="col-"] {
  min-width: 0;
}

#section-product-groups-intro .product-groups-intro-text h2 {
  color: var(--intro-title-color);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 10px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-product-groups-intro .product-groups-intro-text h3 {
  color: var(--intro-text-color);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-product-groups-intro .product-groups-intro-panel {
  background: var(--intro-panel-bg);
  border: 1px solid var(--intro-panel-border);
  border-radius: 18px;
  padding: var(--intro-panel-padding);
  box-shadow: var(--intro-panel-shadow);
}

#section-product-groups-intro .product-groups-intro-panel p,
#section-product-groups-intro .product-groups-intro-panel li {
  color: var(--intro-muted-color);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-product-groups-intro .product-groups-intro-panel h5 {
  color: var(--intro-title-color);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

#section-product-groups-intro .intro-list {
  padding-left: 18px;
  margin-bottom: 0;
  list-style: disc;
}

#section-product-groups-intro .intro-list li {
  margin-bottom: 6px;
}

@media (max-width: 991px) {
  #section-product-groups-intro {
    --intro-padding: 24px;
    --intro-panel-padding: 20px;
  }

  #section-product-groups-intro .product-groups-intro {
    aspect-ratio: auto;
    min-height: 0;
  }

  #section-product-groups-intro .product-groups-intro::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.4) 100%);
  }
}

@media (max-width: 575px) {
  #section-product-groups-intro {
    --intro-padding: 18px;
    --intro-panel-padding: 16px;
  }

  #section-product-groups-intro .product-groups-intro-text h2 {
    font-size: 20px;
  }

  #section-product-groups-intro .product-groups-intro-text h3 {
    font-size: 17px;
  }
}

/* Maliyet Karşılaştırma Bandı */
#section-cost-compare .cost-compare-image-wrap {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

#section-cost-compare .cost-compare-image-wrap img {
  object-fit: cover;
}

#section-cost-compare .cost-compare-content h3 {
  color: #1f3246;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-cost-compare .cost-compare-content p {
  color: #5d6b79;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-cost-compare .cost-compare-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.85);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
}

#section-cost-compare .cost-compare-badge span {
  font-size: 20px;
  line-height: 1.1;
}

#section-cost-compare .cost-compare-badge small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

@media (max-width: 991px) {
  #section-cost-compare .cost-compare-content {
    padding: 0 !important;
  }

  #section-cost-compare .cost-compare-content {
    padding-right: 16px !important;
  }

  #section-cost-compare .cost-compare-image-wrap {
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  #section-cost-compare .cost-compare-content h3 {
    font-size: 20px;
  }

  #section-cost-compare .cost-compare-badge {
    width: 96px;
    height: 96px;
    left: 14px;
    bottom: 14px;
  }

  #section-cost-compare .cost-compare-badge span {
    font-size: 16px;
  }

  #section-cost-compare .cost-compare-badge small {
    font-size: 11px;
  }
}

/* Enerji Tasarrufu Calismasi Bandi */
#section-energy-study .energy-study-left h3 {
  color: #1f3246;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-energy-study .energy-study-left p {
  color: #5d6b79;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-energy-study .energy-study-image-wrap {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

#section-energy-study .energy-study-image-wrap img {
  object-fit: cover;
}

#section-energy-study .energy-study-card {
  background: #f8f9fb;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e7edf2;
}

#section-energy-study .energy-study-card h4 {
  font-size: 18px;
  color: #1f3246;
  font-weight: 700;
  margin-bottom: 16px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-energy-study .energy-study-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#section-energy-study .energy-study-list li {
  margin-bottom: 14px;
  color: #5d6b79;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-energy-study .energy-study-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #section-energy-study .energy-study-image-wrap {
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  #section-energy-study .energy-study-left h3 {
    font-size: 20px;
  }

  #section-energy-study .energy-study-card {
    padding: 20px;
  }
}

/* Seri Tanitim Bandi (Hybridboard) */
#section-series-showcase .series-showcase-block {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e7edf2;
}

#section-series-showcase .series-showcase-block+.series-showcase-block {
  margin-top: 32px;
}

#section-series-showcase .series-showcase-content h3 {
  color: #1f3246;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-content p {
  color: #5d6b79;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5d6b79;
}

#section-series-showcase .series-showcase-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f59a23;
  font-weight: 700;
}

#section-series-showcase .series-showcase-image {
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: 20px;
}

#section-series-showcase .series-showcase-image img {
  object-fit: cover;
}

@media (max-width: 991px) {
  #section-series-showcase .series-showcase-block {
    padding: 24px;
  }

  #section-series-showcase .series-showcase-image {
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  #section-series-showcase .series-showcase-block {
    padding: 20px;
  }

  #section-series-showcase .series-showcase-content h3 {
    font-size: 20px;
  }
}

/* Innovative Projects Section Styles */
.projects-intro-box h2 {
  font-size: 32px;
  line-height: 1.2;
}

.project-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-img-wrap {
  aspect-ratio: 16 / 9;
  background: #0f172a;
  position: relative;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: none;
}

.project-title {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standart özellik eklendi */
  -webkit-box-orient: vertical;
  overflow: visible !important;
  min-height: 55px;
}

.lead-sm {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .projects-intro-box {
    margin-bottom: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .project-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* Partner Intro Section Styles (Fachpartner) */

/* Badge Stilleri (Korundu) */
.partner-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 130px;
  height: 130px;
  background: rgba(139, 141, 145, 0.95);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(15deg);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.partner-badge:hover {
  transform: rotate(0deg) scale(1.1);
  background: #e95b2c;
  /* Kuas Orange */
}

.partner-image-wrap:hover .partner-badge {
  transform: rotate(0deg) scale(1.1);
  background: #8b0000;
}

.list-partner-benefits li {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.list-partner-benefits i {
  min-width: 25px;
  margin-right: 10px;
  color: #8b0000;
  /* Koyu kırmızı ikonlar */
}

.project-title {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standart özellik eklendi */
  -webkit-box-orient: vertical;
  overflow: visible !important;
  min-height: 55px;
}

/* Seri Tanitim Bandi (Hybridboard) */
#section-series-showcase .series-showcase-block {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e7edf2;
}

#section-series-showcase .series-showcase-block+.series-showcase-block {
  margin-top: 32px;
}

#section-series-showcase .series-showcase-content h3 {
  color: #1f3246;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-content p {
  color: #5d6b79;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5d6b79;
}

#section-series-showcase .series-showcase-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

#section-series-showcase .series-showcase-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f59a23;
  font-weight: 700;
}

#section-series-showcase .series-showcase-image {
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: 20px;
}

#section-series-showcase .series-showcase-image img {
  object-fit: cover;
}

@media (max-width: 991px) {
  #section-series-showcase .series-showcase-block {
    padding: 24px;
  }

  #section-series-showcase .series-showcase-image {
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  #section-series-showcase .series-showcase-block {
    padding: 20px;
  }

  #section-series-showcase .series-showcase-content h3 {
    font-size: 20px;
  }
}

/* Innovative Projects Section Styles */
.projects-intro-box h2 {
  font-size: 32px;
  line-height: 1.2;
}

.project-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-img-wrap {
  aspect-ratio: 16 / 9;
  background: #0f172a;
  position: relative;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: none;
}

.project-title {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: visible !important;
  min-height: 55px;
}

.lead-sm {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .projects-intro-box {
    margin-bottom: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .project-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* Partner Intro Section Styles (Fachpartner) */

/* Badge Stilleri (Korundu) */
.partner-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 130px;
  height: 130px;
  background: rgba(139, 141, 145, 0.95);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(15deg);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.partner-badge:hover {
  transform: rotate(0deg) scale(1.1);
  background: #e95b2c;
  /* Kuas Orange */
}

.partner-image-wrap:hover .partner-badge {
  transform: rotate(0deg) scale(1.1);
  background: #8b0000;
}

.list-partner-benefits li {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.list-partner-benefits i {
  min-width: 25px;
  margin-right: 10px;
  color: #8b0000;
  /* Koyu kırmızı ikonlar */
}

@media (max-width: 991px) {
  .partner-image-wrap {
    min-height: 300px;
    margin-bottom: 20px;
  }

  .partner-badge {
    width: 100px;
    height: 100px;
    font-size: 13px;
    top: 15px;
    right: 15px;
  }
}

/* --- PRODUCT GALLERY ENHANCEMENTS (ZOOM, LIGHTBOX, ACTIVE STATE) --- */

/* 1. Ana ürün görsel sarmalayıcısı */
.zoom-container {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  /* Tatli bir kavis */
  position: relative;
  background: transparent;
  /* Transparan resimler icin altlik */
  transition: box-shadow 0.3s ease;
}

.zoom-container:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Masaustunde resmin yumusak buyumesi */
@media (min-width: 992px) {
  .zoom-container {
    cursor: zoom-in;
  }

  .zoom-container img {
    transition: transform 0.1s ease;
    /* Hizli ve puruzsuz mouse takibi */
  }

  .zoom-container:hover img {
    transform: scale(2);
    /* Iki katina cikar */
  }
}

/* Yöntem 3: Bagimsiz Lightbox Butonu (Tam Ekran İkonu) */
.lightbox-trigger {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 5px 15px rgba(233, 91, 44, 0.4);
  text-decoration: none !important;
}

.lightbox-trigger:hover {
  background: #333;
  /* Siyah Hover */
  color: #fff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sadece mobilde FancyBox Büyüteç Düğmelerini (Zoom in/out) Gizle (Çark hatasız) */
@media (max-width: 991px) {
  [data-fancybox-zoom] {
    display: none !important;
  }
}

/* 2. Aktif Thumbnail (Küçük Resim) Vurgusu */
.thumb-opt {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 2px solid transparent;
  padding: 2px;
  /* Kucuk bir nefes payi */
}

.thumb-opt:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.active-thumbnail {
  border-color: var(--primary-color) !important;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(233, 91, 44, 0.15);
  /* Hafif turuncu glow */
}

/* 3. Javascript Tetiklemeli Akici Gecis (Fade Animation) */
.fade-in-image {
  animation: KuasGalleryFade 0.4s ease-in-out forwards;
}

@keyframes KuasGalleryFade {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- NAVBAR PRODUCT PREVIEW (GLASSMORPHISM) --- */
.nav-preview-box {
  display: none !important;
}

@media (min-width: 992px) {
  #mainmenu ul li {
    position: relative;
  }

  .nav-preview-box {
    display: block !important;
    position: absolute;
    left: 100%;
    top: 0;
    width: 260px;
    margin-left: 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    /* Glow: Standart gölge + Kuas Turuncu yansıması */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(233, 91, 44, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(10px);
    z-index: 1100;
    overflow: hidden;
    pointer-events: auto;
    /* Hover stabilitesi için auto yapıldı */
  }

  /* Hover Köprüsü: Menü ve kutu arasındaki 20px boşluğu kapatır */
  .nav-preview-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: transparent;
  }

  /* Dropdown hover olunca preview kutusunu gösteren tetikleyici */
  #mainmenu ul li:hover>.nav-preview-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-preview-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.9s ease;
    /* %50 yavaşlatıldı (0.6s -> 0.9s) */
    display: block;
  }

  /* Zoom Efekti */
  #mainmenu ul li:hover>.nav-preview-box .nav-preview-img {
    transform: scale(1.1);
  }

  .nav-preview-content {
    padding: 16px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
  }

  .nav-preview-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    font-weight: 500;
    /* Metin kesilme yasağı - site.md Kural 16 */
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word !important;
    hyphens: none;
    /* Slide-in animasyonu başlangıç durumu */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.2s;
    /* Gecikmeli başlangıç */
  }

  /* Aktif animasyon durumu */
  #mainmenu ul li:hover>.nav-preview-box .nav-preview-content p {
    opacity: 1;
    transform: translateY(0);
  }



  /* Sağ tarafa taşma durumunda (Mirror Effect) */
  .nav-preview-box.preview-left {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 20px;
    transform: translateX(-10px);
  }

  /* Sola açılan kutu için köprü düzeltmesi */
  .nav-preview-box.preview-left::before {
    left: auto;
    right: -20px;
  }

  #mainmenu ul li:hover>.nav-preview-box.preview-left {
    transform: translateX(0);
  }
}

/* --------------------------------------------------
   PRODUCT EXPLORER (KURUMSAL TASARIM UYARLAMASI)
   -------------------------------------------------- */

.product-explorer {
  background: transparent;
  padding: 20px 0;
  color: #222;
  border-radius: 4px;
  margin-bottom: 50px;
  border: none;
  box-shadow: none;
}

.explorer-visual {
  text-align: center;
  padding: 30px;
  background: transparent;
  /* Hafif kontrast */
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  min-height: 480px;
  /* Minimum yukseklik eklendi */
  padding: 20px;
  /* Icerden bosluk birakildi */
}

.explorer-visual img {
  max-width: 100%;
  width: auto;
  max-height: 400px;
  /* Gorsel daha da guvenli alana cekildi */
  object-fit: contain;
  transition: all 0.4s ease;
}

#hb-main-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  padding: 15px;
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.thumb-opt {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.thumb-opt.active {
  border-color: #d11d1d;
  transform: scale(1.05);
}

.config-panel {
  padding: 10px 30px;
}

.config-group {
  margin-bottom: 25px;
}

.config-group h5 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: #444;
  margin-bottom: 12px;
  border-left: 3px solid #d11d1d;
  padding-left: 10px;
}

.btn-group-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-config {
  background: #ffffff;
  border: 1px solid #ddd;
  color: #555;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 110px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.btn-config:hover {
  background: #fdfdfd;
  border-color: #bbb;
  color: #fa6a2e;
}

.btn-config.active {
  background: #fa6a2e;
  color: #fff;
  border-color: #fa6a2e;
}

/* Renk Noktası (Color Indicator) */
.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.btn-config.active .color-dot.border {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-config {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Genel Ozellikler Tablosu (Specs Grid) */
.specs-container {
  margin-bottom: 20px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px 25px 10px 25px;
}

.specs-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.specs-title i {
  color: #d11d1d;
  margin-right: 10px;
  font-size: 20px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dotted #ddd;
  padding-bottom: 8px;
  font-size: 14px;
}

.spec-label {
  font-weight: 700;
  color: #555;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 10px;
}

.spec-label i {
  width: 36px;
  /* 20px -> 36px (%80 artis) */
  color: #d11d1d;
  margin-right: 10px;
  font-size: 25px;
  /* 14px -> 25px (~%80 artis) */
}

.spec-value {
  color: #222;
  text-align: right;
  padding-left: 10px;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  font-size: 13px;
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .specs-container {
    padding: 15px;
  }

  .spec-value {
    font-size: 11px;
    letter-spacing: -0.3px;
  }

  .spec-label {
    font-size: 12px;
  }

  .spec-label i {
    width: 20px;
    font-size: 14px;
    margin-right: 5px;
  }
}

@media (max-width: 480px) {
  .spec-value {
    font-size: 10px;
    letter-spacing: -0.5px;
  }
}

.specs-image {
  width: 100%;
}

.specs-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Aksesuar Bolumu Yeni Düzen */
.accessory-section {
  margin-top: 25px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #d11d1d;
}

.accessory-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.accessory-title i {
  color: #d11d1d;
  margin-right: 10px;
  font-size: 18px;
}

.accessory-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accessory-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.accessory-card:hover {
  border-color: #d11d1d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.acc-img-wrapper {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfcfc;
  border-radius: 6px;
  overflow: hidden;
}

.acc-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.acc-content {
  flex: 1;
}

.acc-content h6 {
  margin: 0 0 5px 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.acc-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

@media (max-width: 767px) {
  .accessory-card {
    padding: 12px;
  }

  .acc-img-wrapper {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
}

/* Teknik Tablo (Kurumsal Stil) */
.tech-data-hub {
  margin-top: 40px;
  border-top: 2px solid #f0f0f0;
  padding-top: 30px;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tech-table th {
  background: #f8f8f8;
  color: #333;
  font-weight: 700;
  padding: 12px 15px;
  border-bottom: 2px solid #eee;
  text-align: left;
}

.tech-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.tech-table tr:hover td {
  background: #fffdfd;
}

/* Accessory Badge */
.accessory-info {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.accessory-info.visible {
  opacity: 1;
  height: auto;
  margin-bottom: 20px;
}

.acc-item {
  background: #fff5f5;
  border: 1px solid #ffdada;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: #d11d1d;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* RESPONSIVE: MOBILDE TABLO KARTLARI */
@media (max-width: 768px) {
  .product-explorer {
    padding: 10px;
  }

  .tech-table,
  .tech-table thead,
  .tech-table tbody,
  .tech-table th,
  .tech-table td,
  .tech-table tr {
    display: block;
  }

  .tech-table thead {
    display: none;
  }

  .tech-table tr {
    margin-bottom: 20px;
    border: 1px solid #eee;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  }

  .tech-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
  }

  .tech-table td:last-child {
    border-bottom: none;
  }

  .tech-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #777;
    font-size: 12px;
  }

  .btn-config {
    flex: 1 1 calc(50% - 10px);
    font-size: 11px;
  }
}

/* --- Tech Table Premium (aksesuar) --- */
.tech-table-premium {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.tech-table-premium thead th {
  background: linear-gradient(135deg, var(--primary-color), #d04a1f);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  border-bottom: none;
  transition: all 0.3s ease;
}

.tech-table-premium thead th:hover {
  filter: brightness(1.15);
}

.tech-table-premium thead th:first-child { width: 40%; }
.tech-table-premium thead th:last-child { width: 60%; }

.tech-table-premium td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.tech-table-premium td:first-child {
  font-weight: 600;
  color: #333;
}

.tech-table-premium td:last-child {
  color: #555;
}

.tech-table-premium tr:nth-child(even) td {
  background: #fafafa;
}

.tech-table-premium tr:hover td {
  background: rgba(var(--primary-color-rgb), 0.05);
}

.tech-table-premium.tech-table-compare thead th:first-child { width: 34%; }
.tech-table-premium.tech-table-compare thead th:nth-child(2),
.tech-table-premium.tech-table-compare thead th:nth-child(3) { width: 33%; }

@media (max-width: 768px) {
  .tech-table-premium tr {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .tech-table-premium td::before {
    color: var(--primary-color);
  }

  .tech-table-premium.tech-table-compare thead th:nth-child(2),
  .tech-table-premium.tech-table-compare thead th:nth-child(3) {
    min-width: 80px;
  }

  .tech-table-premium.tech-table-compare td {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* --- Modern Tasarim Destek Siniflari --- */
.shadow-soft {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  transition: box-shadow 0.4s ease, transform 0.4s ease !important;
}

.shadow-soft:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
}

.shadow-lifted {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  transition: box-shadow 0.4s ease !important;
}

.shadow-lifted:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35) !important;
}

.rounded-20px {
  border-radius: 20px !important;
}

.hover-scale-1 {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.hover-scale-1:hover {
  transform: scale(1.05);
  /* %5 Zoom */
}

/* --- Dokumantasyon ve Sertifika Bolumu --- */
.doc-box {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.doc-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.doc-title i {
  color: #d11d1d;
  margin-right: 12px;
  font-size: 22px;
}

/* Sertifika Kartlari */
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 15px;
  background: #fdfdfd;
  border-radius: 15px;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid #f0f0f0;
}

.cert-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 24px;
  transition: all 0.4s ease;
  background: #f5f5f5;
  color: #888;
}

/* Renk Kodlari */
.ce-color {
  color: #004494;
  background: #eef4ff;
}

.rohs-color {
  color: #2d8a39;
  background: #edffef;
}

.reach-color {
  color: #e67e22;
  background: #fff4e5;
}

.emc-color {
  color: #8e44ad;
  background: #f4e8ff;
}

.lvd-color {
  color: #f1c40f;
  background: #fffce5;
}

.cert-card span {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-card:hover {
  background: #fff;
  transform: translateY(-8px);
  border-color: #eee;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.cert-card:hover .cert-icon-wrap {
  transform: scale(1.1);
}

/* Kilavuz Indirme */
.manual-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.manual-download {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: #f8f8f8;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lang-icon {
  width: 40px;
  height: 40px;
  background: #d11d1d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin-right: 15px;
}

.manual-info {
  flex: 1;
}

.manual-info h6 {
  margin: 0;
  font-size: 14px;
  color: #222;
}

.manual-info span {
  font-size: 11px;
  color: #888;
}

.manual-download i {
  font-size: 20px;
  color: #bbb;
  transition: all 0.3s ease;
}

.manual-download:hover {
  background: #fff;
  border-color: #d11d1d;
  transform: translateX(5px);
}

.manual-download:hover i {
  color: #d11d1d;
}

@media (max-width: 768px) {
  .doc-box {
    padding: 20px;
    margin-bottom: 15px;
  }
}

/* ================================================== */
/* Referans Projeler Bölümü                           */
/* ================================================== */
.project-ref-section {
  margin-top: 40px;
}

.project-ref-card {
  display: block;
  text-decoration: none !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.project-ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  border-color: #d11d1d;
}

.project-ref-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-ref-img img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.project-ref-card:hover .project-ref-img img {
  transform: scale(1.06);
}

.project-ref-footer {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-ref-meta {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-ref-meta i {
  color: #aaa;
  font-size: 13px;
  flex-shrink: 0;
}

.project-ref-model {
  font-size: 13px;
  font-weight: 700;
  color: #d11d1d;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.project-ref-model i {
  color: #d11d1d;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .project-ref-section {
    margin-top: 25px;
  }
}


/* ============================================================
   PREMIUM INTERACTIVE SHOWCASE (Ürün Vitrin Alanı)
   Kapsam: .showcase-* sınıfları — Mevcut layout'a müdahale etmez.
   Kullanım: hybridboard.html, isp.html vb. seri sayfaları
   ============================================================ */

/* --- Ana Kapsayıcı --- */
.showcase-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto 30px;
  border-radius: 20px;
  overflow: hidden;
  /* Glassmorphism çerçeve */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

/* --- Ana Görsel Alanı --- */
.showcase-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  border-radius: 20px 20px 0 0;
  cursor: pointer;
}

/* Ana görsel — crossfade + zoom animasyonu */
.showcase-active-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.6s ease, transform 0.5s ease;
  opacity: 1;
}

/* Fade-out durumu (JS ile toggle edilir) */
.showcase-active-img.showcase-fade-out {
  opacity: 0;
  transform: scale(0.97);
}

/* Fade-in durumu */
.showcase-active-img.showcase-fade-in {
  opacity: 1;
  transform: scale(1);
}

/* --- Floating Model Badge (Sol Alt Köşe) --- */
.showcase-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  /* Glassmorphism arka plan */
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 16px;
  z-index: 3;
  /* Slide-up animasyonu */
  animation: showcase-badge-slide-up 0.4s ease forwards;
}

.showcase-badge span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@keyframes showcase-badge-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge güncelleme animasyonu (JS ile tetiklenir) */
.showcase-badge.showcase-badge-refresh {
  animation: showcase-badge-slide-up 0.4s ease forwards;
}

/* --- Lightbox / Expand Butonu (Sağ Üst Köşe) --- */
.showcase-expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

/* Hover'da görünür olur */
.showcase-main:hover .showcase-expand {
  opacity: 1;
}

.showcase-expand:hover {
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  text-decoration: none;
}

/* --- Film Şeridi Thumbnail'lar (Masaüstü) --- */
.showcase-filmstrip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  /* Yatay taşmayı scrollbar ile çöz */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.filmstrip-item {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover efekti */
.filmstrip-item:hover {
  transform: scale(1.05);
  border-color: rgba(233, 91, 44, 0.5);
  box-shadow: 0 4px 12px rgba(233, 91, 44, 0.15);
}

/* Aktif thumbnail */
.filmstrip-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(233, 91, 44, 0.25);
}

/* Progress bar (otomatik geçiş göstergesi) */
.filmstrip-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--primary-color);
  border-radius: 0 0 6px 6px;
  transition: width 0.1s linear;
}

/* Aktif thumbnail'daki progress animasyonu */
.filmstrip-item.active .filmstrip-progress {
  animation: showcase-progress-fill 5s linear forwards;
}

@keyframes showcase-progress-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Progress animasyonu durdurma (hover'da) */
.showcase-wrapper:hover .filmstrip-item.active .filmstrip-progress {
  animation-play-state: paused;
}

/* --- Mobil Pagination Noktaları --- */
.showcase-dots {
  display: none;
  /* Masaüstünde gizli, mobilde görünür */
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0 16px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  padding: 0;
}

.showcase-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(233, 91, 44, 0.4);
}


/* ============================================================
   SHOWCASE — MOBİL RESPONSIVE (@media max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .showcase-wrapper {
    border-radius: 14px;
    margin-bottom: 20px;
  }

  .showcase-main {
    border-radius: 14px 14px 0 0;
    /* Mobilde 4:3 oranı daha iyi görünür */
    aspect-ratio: 4 / 3;
  }

  /* Film şeridi mobilde gizle, pagination dots göster */
  .showcase-filmstrip {
    display: none;
  }

  .showcase-dots {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Badge küçültme */
  .showcase-badge {
    bottom: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 8px;
  }

  .showcase-badge span {
    font-size: 11px;
  }

  /* Expand butonu mobilde her zaman görünür */
  .showcase-expand {
    opacity: 0.7;
    width: 34px;
    height: 34px;
    font-size: 14px;
    top: 10px;
    right: 10px;
  }
}

/* ============================================================
   PROJECTS PAGE - MODERN CARDS
   ============================================================ */
.modern-project-card {
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex !important;
  flex-direction: column;
}

.modern-project-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.modern-project-card .project-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.modern-project-card .project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.modern-project-card:hover .project-img-wrapper img {
  transform: none;
}

.modern-project-card .project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-project-card:hover .project-overlay {
  opacity: 1;
}

.modern-project-card .project-overlay .btn-main {
  transform: translateY(20px);
  transition: all 0.4s ease;
  margin-top: 0;
}

.modern-project-card:hover .project-overlay .btn-main {
  transform: translateY(0);
}

.modern-project-card .project-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.modern-project-card .project-info h4 {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
}

.modern-project-card .project-location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modern-project-card .project-location i {
  color: var(--primary-color);
}

.modern-project-card .project-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-project-card:hover .project-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}
