/* Kutu (Bağış Yapın, Üye Olun, Bize Ulaşın) Stilleri */
.kutuMain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.kutu {
  width: 250px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border-bottom: 4px solid #b21818;
  text-decoration: none;
  /* Altı çizgiyi kaldırır */
  color: #333;
  /* Yazı rengi */
  transition: all 0.3s ease;
}

.kutu:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  /* Hover durumunda da çizgiyi kaldır */
  color: #333;
  /* Yazı rengi değişmesin */
}

.kutu i {
  font-size: 50px;
  color: #c00e0e;
}

.kutu span {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}

/* Haberler Bölümü Stilleri */
.mainNewsTitle {
  height: 50px;
}

.mainNewsDesc {
  height: 70px;
}

/* Devamını Oku linkleri - kırmızı */
.text-end a,
.text-end a i {
  color: #c00e0e;
  text-decoration: none;
}

.text-end a:hover,
.text-end a:hover i {
  color: #a00c0c;
  text-decoration: none;
}

.haber {
  position: relative;
}

/* Galeri/Video Bölümü Stilleri */
.gallery-section {
  background-color: #353535;
  padding: 40px 60px;
  overflow: hidden;
}

.gallery-title {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.gallery-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #666 #353535;
  padding-bottom: 10px;
}

.gallery-row::-webkit-scrollbar {
  height: 8px;
}

.gallery-row::-webkit-scrollbar-track {
  background: #353535;
}

.gallery-row::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 4px;
}

.gallery-row::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.gallery-item {
  flex: 0 0 300px;
  width: 300px;
  min-width: 300px;
}

.video-thumb-wrapper {
  position: relative;
  width: 300px;
  height: 190px;
  background-color: #353535;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-thumb-wrapper:hover .play-button {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-thumb-wrapper:hover .gallery-image.loaded {
  opacity: 0.8;
}

.loading-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ccc;
  z-index: 1;
}

/* Modal Stilleri */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #000;
  border: none;
}

.modal-header {
  border: none;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 1051;
}

.modal-body {
  padding: 0;
}

.modal-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 oran */
  height: 0;
  overflow: hidden;
}

.modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.close {
  color: #fff;
  opacity: 1;
  text-shadow: none;
}

.close:hover {
  color: #fff;
  opacity: 0.8;
}

/* Bağış Formu Stilleri */
.badge {
  cursor: pointer;
  /* El işareti için */
}

.input-group {
  display: flex;
  align-items: center;
}

.input-group-text {
  margin-right: 5px;
  /* TL işareti ile alan arasındaki boşluk */
}

/* Etkinlikler Kart Stilleri */
.etkinlik-card {
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.etkinlik-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.etkinlik-link {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.etkinlik-image-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: #353535;
}

.etkinlik-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etkinlik-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.etkinlik-date {
  color: #ccc;
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.etkinlik-date i {
  color: #c00e0e;
}

.etkinlik-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 50px;
}

.etkinlik-desc {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
  min-height: 70px;
}

.etkinlik-read-more {
  color: #c00e0e;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.etkinlik-card:hover .etkinlik-read-more {
  color: #ff1a1a;
}

@media (max-width: 1400px) {
  .gallery-section {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .gallery-section {
    padding: 40px 20px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 15px);
    width: calc(50% - 15px);
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .video-thumb-wrapper {
    width: 100%;
  }

  .gallery-image {
    width: 100%;
  }

  .etkinlik-image-wrapper {
    height: 180px;
  }
}

