/* Card Slider-1 Css */

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  cursor: grab;
}

.slider:active {
  cursor: grabbing;
}

.card {
  min-width: 300px;
  flex: 0 0 calc(33.333% - 20px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 550px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-content {
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
}

.card-organizer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: #03adad;
  opacity: 1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.card-link i {
  margin-left: 5px;
  font-size: 12px;
}

.card-date {
  position: absolute;
  right: 20px;
  bottom: 60px;
}

.date-box {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  width: 60px;
}

.date-day {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
}

.date-month {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
}

.date-info {
  font-size: 12px;
  color: #6c757d;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6c757d;
}

.slider-progress {
  flex-grow: 1;
  max-width: 60%;
}

.progress-bar {
  height: 4px;
  background-color: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #03adad;
  width: 20%;
  transition: width 0.3s ease;
}

/* Mobil Slider Ayarları */
@media (max-width: 768px) {
  .carousel-item {
    height: 100vh !important;
  }

  .carousel-item img {
    height: 100% !important;
    object-fit: cover;
  }

  .carousel-caption {
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 15px !important;
    top: 50% !important;
  }

  .carousel-caption h1 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }

  .carousel-caption p {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
  }

  .btn-slider {
    padding: 0.3rem 1rem !important;
    font-size: 0.9rem !important;
  }
}

/* Tüm ekranlar için hizalama */
.carousel-caption.text-start {
  left: 10% !important;
  right: auto !important;
}

@media (max-width: 768px) {
  .carousel-caption.text-start {
    text-align: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 15px;
  }

  .carousel-caption .row {
    justify-content: center !important;
  }

  .carousel-caption .col-6 {
    width: 100% !important;
    max-width: 100% !important;
  }
}


@media (max-width: 768px) {

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px !important;
    height: 30px !important;
  }
}