/* ===== MODERN CIRCULAR TRANSITION SLIDER ===== */
/* Responsive, yanal tam kaplama, dikey kısmi kaplama */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== TOP INFO BAR - HEADER ÜSTÜ SABİT ===== */
.top-info-bar {
  --topbar-h: 44px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0a1d3b; /* Lacivert navy */
  color: #ffd400; /* Sarı metin */
  padding: 8px 0;
  z-index: 1100; /* Header'dan yüksek */
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(255,212,0,0.15);
}

.info-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd400; /* Sarı yazı */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-item i {
  font-size: 16px;
  color: #ffd400; /* Sarı ikonlar */
}

.info-item:hover {
  background: rgba(255, 212, 0, 0.15);
  color: #fff;
  transform: translateY(-1px);
}

.info-item:hover i {
  color: #fff;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
  .top-info-bar { padding: 8px 0; }
  
  .info-item {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .info-item i {
    font-size: 14px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .top-info-bar { padding: 6px 0; }
  
  .info-bar-container {
    gap: 8px;
    padding: 0 10px;
  }
  
  .info-item {
    font-size: 12px;
    padding: 6px 10px;
    gap: 6px;
  }
  
  .info-item span {
    display: none; /* Mobilde sadece ikonlar */
  }
  
  .info-item i {
    font-size: 18px;
  }
}

/* Ana slider container - Yanal tam kaplama, dikey kısmi (60vh - 70vh arası) */
.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 600px;
  max-height: 850px;
  overflow: hidden;
  background: #ffffff; /* sade beyaz zemin */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  z-index: 1; /* Navbar'ın altında kalması için */
}

/* Slider wrapper */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Container */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG circle animations - tam ekran kaplama */
svg.circle-transition-left,
svg.circle-transition-right {
  position: absolute;
  z-index: 10; /* Navbar'ın altında ama slider içeriğinin üstünde */
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
}

/* Circle animation styles */
.circle-anim {
  stroke: #fff;
  stroke-width: 0;
  fill: none;
  transition: stroke-width 0.3s linear;
}

/* Active circle animation */
.circle-anim.streak {
  stroke-width: 82px;
}

/* Individual slides - TAM GENİŞLİK */
.slider-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain; /* cover yerine contain - fotoğrafın tamamı görünsün */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 1;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 1s ease;
  transform: scale(1);
}

/* Active slide */
.slider-slide.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1);
}

/* Scale effect during transition */
.slider-slide.scaling {
  transform: scale(1.08); /* 1.3'ten 1.08'e düşürdüm */
  z-index: 20;
}

/* Slide content overlay */
.slider-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 15; /* SVG'lerin üstünde */
  max-width: 900px;
  padding: 0 30px;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
  transform: translateX(-50%) translateY(20px);
}

.slider-slide.active .slider-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.slider-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin: 0 0 15px;
  line-height: 1.1;
  color: #ffd400;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  font-family: 'Heebo', 'Arial', sans-serif;
  letter-spacing: 1px;
}

.slider-content p {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* Navigation buttons */
.slider-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* SVG'lerin üstünde ama navbar'ın altında */
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(15px, 3vw, 40px);
}

.slider-btn {
  pointer-events: all;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(10, 29, 59, 0.85); /* Lacivert/Saks mavisi */
  border: 2px solid rgba(10, 29, 59, 0.9);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 60;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: rgba(26, 58, 92, 1); /* Daha açık saks mavisi hover'da */
  border-color: rgba(26, 58, 92, 1);
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(10, 29, 59, 0.4);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-btn:focus {
  outline: none;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.3s ease;
}

.slider-btn:hover svg {
  fill: #fff;
}

.slider-prev {
  margin-left: 0;
}

.slider-next {
  margin-right: 0;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
  .hero-slider {
    height: 70vh;
    min-height: 550px;
    max-height: 750px;
    margin-top: 0; /* Top info bar var */
  }
  
  .slider-content {
    bottom: 60px;
    max-width: 700px;
  }
  
  .slider-btn {
    width: 50px;
    height: 50px;
  }
  
  .slider-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Responsive - Mobil */
@media (max-width: 768px) {
  .hero-slider {
    height: 34vh;
    min-height: 230px;
    max-height: 320px;
    margin-top: 0; /* Top info bar var */
  }
  
  .slider-content {
    bottom: 24px;
    max-width: 90%;
    padding: 0 20px;
  }
  
  .slider-slide {
    background-size: contain; /* tüm içerik görünsün */
    background-position: center center;
    background-color: #f3f5f8; /* letterbox alanları yumuşak tonla doldur */
  }
  
  .slider-content h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  
  .slider-content p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }
  
  .slider-btn { width: 38px; height: 38px; }
  
  .slider-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .slider-controls {
    padding: 0 15px;
  }
  
  /* Circle animations daha küçük */
  .circle-anim.streak {
    stroke-width: 60px;
  }
}

/* Responsive - Küçük mobil */
@media (max-width: 480px) {
  .hero-slider {
    height: 32vh;
    min-height: 220px;
    max-height: 300px;
    margin-top: 0; /* Top info bar var */
  }
  
  .slider-content {
    bottom: 18px;
  }
  
  .slider-slide {
    background-size: contain;
    background-position: center center;
    background-color: #f3f5f8;
  }
  
  .slider-content h2 {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }
  
  .slider-content p {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  
  .slider-btn { width: 34px; height: 34px; }
  
  .slider-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .circle-anim.streak {
    stroke-width: 50px;
  }
}

/* Yüksek ekranlar için max-height ayarı */
@media (min-height: 1000px) {
  .hero-slider {
    max-height: 900px;
  }
}

/* Keyboard navigation focus styles */
.slider-btn:focus-visible {
  outline: 3px solid #ffd400;
  outline-offset: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .slider-slide,
  .slider-content,
  .slider-btn,
  .circle-anim {
    transition-duration: 0.1s !important;
  }
}
