/*etkinlik resmi ve konumlaması*/
#services .box.first {
    background: url("../img/event_images/halloween2025.jpeg");
    background-position: 50% 65%;
    /*en sol kose 0% 0% en sag alt kose 100% 100% */
    background-repeat: no-repeat;
    background-size: cover;
}

#services .box.second {
    background: url("../img/event_images/1.jpg");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

#services .box.third {
    background: url("../img/event_images/ekip.png");
    background-repeat: no-repeat;
    background-size: cover;
}

/*etkinlik ismi rengi*/
#services .box.first h4 a {
    color: #ffcd88;
    
}
#services .box.first p{
    color: #ffffff;
}

#services .box.second h4 a {
    color: #77bfc9;
}
#services .box.second p {
    color: #ffffff;
}

#services .box.third h4 a {
    color: #01437c;
}
#services .box.third p {
    color: #ffffff;
}
#services .box h4 a:hover,
a:active,
a:focus {
    color: #ffffff;
    outline: none;
    text-decoration: none;
}

/* ======================================
   GEÇMİŞ ETKİNLİKLER SAYFASI (past-events)
   ====================================== */
   #past-events {
    background: linear-gradient(180deg, #120028 0%, #070010 100%);
    padding: 7vh 0;
    color: #fff;
    font-family: "IntegralCF";
  }
  
  #past-events .section-header h2 {
    color: #B896DD;
    text-align: center;
    font-size: 2.2vw;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 8vh;
  }
  
  #past-events .past-event {
    display: flex;
    align-items: center;
    gap: 3vw;
    background: linear-gradient(180deg, #2B124A 0%, #120028 100%);
    border-radius: 50px 0px 50px 0px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 10vh;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  #past-events .past-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(184,150,221,0.45);
  }
  
  #past-events .past-img img {
    width: 100%;
    max-width: 500px;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 50px;
  }
  
  #past-events .past-info {
    flex: 1;
    padding: 4vh 4vw;
  }
  
  #past-events .past-info h3 {
    color: #fff;
    font-weight: 600;
    font-size: 5vh;
    margin-bottom: 2vh;
  }
  
  #past-events .past-info .desc {
    color: #d6ccee;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 2.5vh;
  }
  
  #past-events .past-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
  }
  
  #past-events .past-gallery img {
    width: 100%;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.3s;
    cursor: pointer;
  }
  
  #past-events .past-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(184,150,221,0.6);
  }
  
  /* ---- Responsive ---- */
  @media (max-width: 992px) {
    #past-events .past-event {
      flex-direction: column;
      border-radius: 30px;
      text-align: center;
    }
    #past-events .past-img img {
      width: 100%;
      border-radius: 30px 30px 0 0;
    }
    #past-events .past-info h3 {
      font-size: 4vh;
    }
  }
  /* ==============================
   GEÇMİŞ ETKİNLİKLER (GÜNCELLEME)
   ============================== */

/* Görsel ve açıklama hizalama */
#past-events .past-event {
    display: flex;
    align-items: center;
    gap: 3vw;
    background: linear-gradient(180deg, #2B124A 0%, #120028 100%);
    border-radius: 40px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 8vh;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 3vh 3vw;
  }
  
  /* Görselin üst-alt boşluğunu kaldır ve ortala */
  #past-events .past-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #past-events .past-img img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    display: block;
  }
  
  /* Açıklama kısmı */
  #past-events .past-info {
    flex: 1.2;
    padding: 3vh 3vw;
  }
  
  #past-events .past-info h3 {
    font-family: "IntegralCF";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 4.6vh;
    letter-spacing: 1px;
    margin-bottom: 2vh;
  }
  
  #past-events .past-info .desc {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    color: #ddd8ef;
    font-size: 1.7vh;
    line-height: 1.7;
    letter-spacing: 0.8px;
    margin-bottom: 2.5vh;
  }
  
  /* Başlık boyutu (masaüstü + mobil uyum) */
  #past-events .section-header h2 {
    color: #B896DD;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 6vh;
    font-size: 2.5vw;
    line-height: 1.3;
  }
  
  @media (max-width: 992px) {
    #past-events .past-event {
      flex-direction: column;
      text-align: center;
    }
    #past-events .past-info {
      padding: 3vh 5vw;
    }
    #past-events .past-info h3 {
      font-size: 3vh;
    }
    #past-events .section-header h2 {
      font-size: 6vw;
      letter-spacing: 2px;
    }
    #past-events .past-info .desc {
      font-size: 1.9vh;
      line-height: 1.6;
    }
  }
/* ==============================
   GEÇMİŞ ETKİNLİKLER (GÜNCELLEME v2)
   ============================== */

/* Ana düzen */
#past-events .past-event {
    display: flex;
    align-items: center;
    gap: 3vw;
    background: linear-gradient(180deg, #2B124A 0%, #120028 100%);
    border-radius: 40px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 8vh;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 3vh 3vw;
  }
  
  #past-events .past-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(184,150,221,0.45);
  }
  
  /* Görsel hizalama */
  #past-events .past-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #past-events .past-img img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
  }
  
  /* Bilgi bölümü */
  #past-events .past-info {
    flex: 1.2;
    padding: 3vh 3vw;
  }
  
  #past-events .past-info h3 {
    font-family: "IntegralCF";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 4.6vh;
    letter-spacing: 1px;
    margin-bottom: 2vh;
  }
  
  /* AÇIKLAMA — cümle biçiminde */
  #past-events .past-info .desc {
    font-family: "Raleway", sans-serif;
    text-transform: none;          /* artık hepsi büyük değil */
    font-weight: 400;
    color: #ddd8ef;
    font-size: 1.8vh;
    line-height: 1.7;
    letter-spacing: 0.4px;
    margin-bottom: 2.5vh;
    text-align: justify;
  }
  
  /* Başlık */
  #past-events .section-header h2 {
    color: #B896DD;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 6vh;
    font-size: 2.5vw;
    line-height: 1.3;
  }
  
  /* Responsive görünüm */
  @media (max-width: 992px) {
    #past-events .past-event {
      flex-direction: column;
      text-align: center;
    }
    #past-events .past-info {
      padding: 3vh 5vw;
    }
    #past-events .past-info h3 {
      font-size: 3vh;
    }
    #past-events .section-header h2 {
      font-size: 6vw;
      letter-spacing: 2px;
    }
    #past-events .past-info .desc {
      font-size: 1.9vh;
      line-height: 1.6;
      text-align: left;
    }
  }
    
/* =============================
   GEÇMİŞ ETKİNLİKLER CAROUSEL
   ============================= */
   #past-events .past-gallery {
    margin-top: 3vh;
  }
  
  #past-events .past-gallery .item {
    text-align: center;
  }
  
  #past-events .past-gallery img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
  }
  
  #past-events .past-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(184,150,221,0.6);
  }
  
  /* Dot ve ok stilleri */
  .owl-dots {
    text-align: center;
    margin-top: 15px;
  }
  .owl-dot span {
    width: 10px;
    height: 10px;
    background: #b896dd94;
    display: inline-block;
    margin: 4px;
    border-radius: 50%;
    transition: all 0.3s;
  }
  .owl-dot.active span {
    background: #B896DD;
  }
  
  .owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    transition: 0.3s;
  }
  .owl-nav button:hover {
    background: rgba(184,150,221,0.3);
  }
  .owl-nav .owl-prev {
    left: -40px;
  }
  .owl-nav .owl-next {
    right: -40px;
  }
  
  /* Mobilde ortalı */
  @media (max-width: 768px) {
    #past-events .past-gallery img {
      width: 180px;
      height: 120px;
    }
    .owl-nav .owl-prev, .owl-nav .owl-next {
      display: none;
    }
  }
/* ==========================
   GALERİ CAROUSEL DÜZELTME
   ========================== */

   #past-events .past-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-top: 3vh;
    text-align: center;
    overflow: visible !important;
  }
  
  #past-events .past-gallery {
    margin: 0 auto;
    width: 90%;
  }
  
  #past-events .past-gallery .item {
    text-align: center;
  }
  
  #past-events .past-gallery img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
  }
  
  #past-events .past-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(184,150,221,0.6);
  }
  
  /* Noktaları ortala */
  #past-events .owl-dots {
    position: relative;
    bottom: 0;
    margin-top: 10px;
    text-align: center;
  }
  #past-events .owl-dot span {
    width: 9px;
    height: 9px;
    background: #b896dd85;
    display: inline-block;
    border-radius: 50%;
    margin: 3px;
    transition: all 0.3s ease;
  }
  #past-events .owl-dot.active span {
    background: #B896DD;
  }
  
  /* Okları ortala ve görünür yap */
  #past-events .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
    z-index: 5;
  }
  #past-events .owl-nav button:hover {
    background: rgba(184,150,221,0.3);
  }
  #past-events .owl-nav .owl-prev {
    left: -35px;
  }
  #past-events .owl-nav .owl-next {
    right: -35px;
  }
  
  /* Mobilde butonları kaldır, sadece dots kalsın */
  @media (max-width: 768px) {
    #past-events .owl-nav button {
      display: none;
    }
    #past-events .past-gallery img {
      width: 180px;
      height: 120px;
    }
  }
/* ===== Past Events: Carousel Fix ===== */
#past-events .past-gallery-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2.2vh;
  text-align: center;
  overflow: visible;
}

#past-events .past-info .past-gallery {
  max-width: 560px;         /* sağ sütunda ortalı ve geniş */
  margin: 0 auto;
}

#past-events .past-info .past-gallery .item { padding: 0; }

#past-events .past-info .past-gallery img {
  display: block;
  width: 100%;              /* küçük 220px kuralını ezer */
  height: auto;
  aspect-ratio: 16 / 10;    /* sabit oran, taşma yok */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0,0,0,.35);
  transition: transform .3s ease;
}
#past-events .past-info .past-gallery img:hover {
  transform: scale(1.03);
}

/* dots (pagination) merkezde */
#past-events .past-info .owl-dots {
  position: static;
  margin-top: 10px;
  text-align: center;
  align-self: center;
  align-items: center;
}
#past-events .past-info .owl-dot span {
  width: 9px; height: 9px; margin: 3px;
  background: #b896dd85; border-radius: 50%; transition: .2s;
}
#past-events .past-info .owl-dot.active span { background: #B896DD; }

/* oklar */
#past-events .past-info .owl-nav button {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 0; padding: 8px 12px; border-radius: 50%;
  color: #fff; font-size: 18px; z-index: 5; transition: .3s;
}
#past-events .past-info .owl-nav .owl-prev { left: -36px; }
#past-events .past-info .owl-nav .owl-next { right: -36px; }
#past-events .past-info .owl-nav button:hover { background: rgba(184,150,221,.3); }

/* mobil */
@media (max-width: 768px) {
  #past-events .past-info .past-gallery { max-width: 85%; }
  #past-events .past-info .owl-nav button { display: none; }
}
/* varsayılan (desktop) davranış korunuyor */
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0,0,0);
}

/* mobilde overflow görünür */
@media (max-width: 768px) {
  .owl-carousel .owl-stage-outer {
    overflow: visible !important;
  }
}

/* =======================================
   #past-events: Owl dots alignment fix
   ======================================= */

   #past-events .past-gallery-wrapper {
    position: relative;
  }
  
  #past-events .past-gallery .owl-dots {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    position: relative;
    left: 0;
    transform: none;
  }
  
  /* mobilde overflow visible olduğunda da ortala */
  @media (max-width: 768px) {
    #past-events .past-gallery .owl-dots {
      width: 100vw;              /* ekran genişliğini alır */
      position: relative;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      margin-top: 12px;
    }
  }
/* ==============================
   Carousel Görsel + Pagination Hizalama
   ============================== */

   #past-events .past-gallery-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2.5vh;
  }
  
  #past-events .past-gallery {
    width: 100%;
    max-width: 480px; /* carousel genişliği */
    position: relative;
  }
  
  #past-events .past-gallery .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
  }
  
  /* pagination (dots) doğrudan carousel altında */
  #past-events .past-gallery .owl-dots {
    position: relative;
    bottom: 0;
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }
  
  #past-events .past-gallery .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 3px;
    background: #b896dd85;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
  }
  #past-events .past-gallery .owl-dot.active span {
    background: #B896DD;
  }
  
  /* oklar carousel alanında kalır */
  #past-events .past-gallery .owl-nav button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
  }
  #past-events .past-gallery .owl-nav .owl-prev { left: -35px; }
  #past-events .past-gallery .owl-nav .owl-next { right: -35px; }
  #past-events .past-gallery .owl-nav button:hover {
    background: rgba(184,150,221,0.3);
  }
  
  /* mobil görünüm */
  @media (max-width: 768px) {
    #past-events .past-gallery {
      max-width: 85%;
    }
    #past-events .past-gallery .owl-nav button {
      display: none;
    }
  }
/* ===============================
   #past-events mobil dots fix
   =============================== */
   @media (max-width: 768px) {
    #past-events .past-gallery .owl-dots {
      position: absolute !important;
      bottom: -28px; /* görselin hemen altı */
      left: 50% !important;
      transform: translateX(-50%) !important;
      width: auto !important;
      display: flex;
      justify-content: center;
      gap: 6px;
      visibility: hidden;
    }
  
    #past-events .past-gallery .owl-dot span {
      width: 8px;
      height: 8px;
      background: #b896dd8f;
    }
  
    #past-events .past-gallery .owl-dot.active span {
      background: #B896DD;
    }
  }
  #past-events .past-gallery {
    position: relative !important;
  }
  
/* 
first en soldaki
second ortadaki
third en sağdaki event için
default
#services .box.second h4 a {
    color: #77bfc9;
}

#services .box.second p {
    color: #ffffff;
}

#services .box.third h4 a {
    color: #01437c;
}

#services .box.third p {
    color: #ffffff;
}
*/ 