/* Modern, sıfırdan yazılmış, responsive slider CSS'i */
.modern-slider-container {
  width: 100%;
  max-width: 100%;
  min-height: 520px;
  height: 60vh;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}
.modern-slider-slide, .modern-slider-slide.active {
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
  width: 100%;
  min-height: 520px;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 100vw;
  opacity: 0;
  transition: all 0.7s cubic-bezier(.77,0,.18,1);
  text-align: left;
}
.modern-slider-slide.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}
.modern-slider-content {
  background: rgba(255,255,255,0.65);
  padding: 5.25rem 5.25rem 3.75rem 5.25rem;
  border-radius: 2.5rem;
  box-shadow: 0 12px 60px rgba(0,0,0,0.13);
  text-align: center;
  width: 720px;
  min-width: 480px;
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
}
.modern-slider-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #b30000;
  margin-bottom: 1rem;
}
.modern-slider-desc {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  word-break: break-word;
  overflow: visible;
  text-overflow: unset;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  max-height: unset;
}
.modern-slider-btn {
  display: inline-block;
  background: #b30000;
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.modern-slider-btn:hover {
  background: #7a0000;
}
.modern-slider-arrows {
  display: none !important;
}
.modern-slider-arrow {
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 2rem;
  color: #b30000;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  pointer-events: all;
  transition: background 0.2s;
}
.modern-slider-arrow:hover {
  background: #fff;
}
.modern-slider-dots {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  bottom: 24px !important;
  transform: none !important;
  display: flex;
  gap: 16px;
  z-index: 10;
  justify-content: center;
  align-items: center;
  width: fit-content !important;
  min-width: 0;
  max-width: 100vw;
  pointer-events: auto;
}
.modern-slider-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #b30000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: background 0.2s, border 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modern-slider-dot.active {
  background: #b30000;
  border-color: #b30000;
  box-shadow: 0 4px 16px rgba(179,0,0,0.18);
}
.modern-slider-title, .modern-slider-desc, .modern-slider-btn {
  text-align: center;
}
@media (max-width: 991px) {
  .modern-slider-container, .modern-slider-slide, .modern-slider-slide.active {
    min-height: 340px;
    height: 38vh;
  }
  .modern-slider-content {
    padding: 1.8rem 0.8rem;
    width: 98vw;
    min-width: unset;
    max-width: 99vw;
    border-radius: 1.2rem;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    height: auto;
  }
  .modern-slider-title {
    font-size: 1.1rem;
  }
  .modern-slider-desc {
    font-size: 0.85rem;
    text-align: center;
    -webkit-line-clamp: 3;
    max-height: 3.9em;
  }
  .modern-slider-btn {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }
  .modern-slider-arrow {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 600px) {
  .modern-slider-container, .modern-slider-slide, .modern-slider-slide.active {
    min-height: 220px;
    height: 28vh;
  }
  .modern-slider-content {
    padding: 0.9rem 0.2rem;
    width: 98vw;
    min-width: unset;
    max-width: 99vw;
    border-radius: 0.7rem;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    height: auto;
  }
  .modern-slider-title {
    font-size: 0.95rem;
  }
  .modern-slider-desc {
    font-size: 0.75rem;
    text-align: center;
    -webkit-line-clamp: 2;
    max-height: 2.6em;
  }
  .modern-slider-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
} 