/* Global */
html, body {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

/* Küçük utility */
.project-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.18);
  border-color: rgba(0, 245, 255, 0.65);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #0f172a;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e293b;
  
}
/* ---- SLIDER ---- */
/* SLIDER WRAPPER */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 260px; /* esnek görünüm için biraz daha yüksek */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SLIDER TRACK */
.image-slider {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: #00000033;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  position: relative;
}
/* ⭐ VOC: contain modu aktif */
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* OK TUŞLARI */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(56,189,248,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s, transform .2s;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.65);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  color: #22d3ee;
}

.slider-btn.left { left: 8px; }
.slider-btn.right { right: 8px; }
