/* ==========================================================================
   Robotics Showcase Split Gallery Styles
   ========================================================================== */

.robotics-showcase-section {
  background-color: #ffffff;
  padding: 5rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  box-sizing: border-box;
}

.robotics-showcase-section .container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Split Layout - Yan Yana Bölünmüş Ekran Terazisi */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 5fr 7fr;
    /* Altın oran dengesi */
  }
}

/* Left Content - Başlık ve Metin Grubu */
.showcase-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-badge {
  display: inline-block;
  align-self: flex-start;
  /* Sadece metin genişliği kadar kaplasın */
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #021856;
  background-color: #f0f9ff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.showcase-title {
  margin-top: 0.5rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.showcase-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #64748b;
  margin: 0;
}

/* Navigation Buttons - Galeri Kontrolleri */
.showcase-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.nav-btn:hover {
  background-color: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.nav-counter {
  font-size: 0.75rem;
  font-family: monospace;
  color: #94a3b8;
  margin-left: 0.5rem;
  user-select: none;
}

/* Right Content - Slider Mekanizması */
.showcase-right {
  width: 100%;
}

.gallery-wrapper {
  position: relative;
  height: 380px;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slayt Geçiş Efektleri (Fading & Scaling) */
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  pointer-events: none;
}

/* Slaytın Üzerindeki Karartma Katmanı */
.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Slaytın Üzerindeki Clean Metin Bloğu */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: #0f172a;
  z-index: 10;
}

.slide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #cfcdcd;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
  text-shadow: 0 2px 4px rgba(216, 216, 216, 0.372);
}

.slide-desc {
  font-size: 0.8rem;
  color: #e2e8f0;
  max-width: 32rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Dots - Çizgisel İndikatörler */
.gallery-dots {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.375rem;
  z-index: 20;
}

.dot {
  height: 0.375rem;
  width: 0.375rem;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.dot.active {
  width: 1.5rem;
  /* Aktif çizgisel genişleme */
  background-color: #ffffff;
}

/* Features Grid Bottom - Simetrik Alt 4'lü Kutu Grubu */
.features-grid {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
}

/* İkon Taşıyıcı Çemberler */
.feature-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: #f0f9ff;
  color: #0ea5e9;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

/* Kartın Üzerine Gelince İkona Hafif Mikro-Etkileşim Tepkisi */
.feature-card:hover .feature-icon {
  background-color: #041c6a;
  color: #ffffff;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #8c8f96;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
}

.feature-desc {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #8c8f96;
  margin: 0;
}