/********** CSS **********/
:root {
    --primary: #3e0d63;
    --secondary: #9c08ff;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/kapak4.jpeg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

.custom-renk{
 color: rgb(255, 255, 255);
}

.custom-renk2{
    color: #3e0d63;
}

.btn-custom {
    color: white;
    background-color:#3e0d63;
    border-color: #3e0d63;
}

.bg-custom{
    background-color: #3e0d63;
}

.border-custom{
    background-color: #3e0d63;
}

.countries-wrapper {
  overflow: hidden;
  background: #f5f5f5;
  padding: 15px 0;
}

.countries-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.countries-group {
  display: flex;
}

.countries-group span {
  margin: 0 30px;
  font-weight: 600;
  white-space: nowrap;
}

/* BURASI KRİTİK */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sponsors {
  padding: 60px 20px;
  background: #f8f9fb;
  text-align: center;
}

.sponsors h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

/* GRID */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* KART */
.sponsor {
  width: 100%;
  aspect-ratio: 4 / 5; /* 🔥 senin görsele daha uygun */
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: 0.3s;
}

/* LOGO */
.sponsor img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 🔥 kesilmez */
}

/* HOVER */
.sponsor:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* 9:16 oran */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-item img {
  width: 310px;
  height: 550px;
}

@media (max-width: 500px) {
.video-item img{
  width: 390px;
  height: 700px;
}


}

.video-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.butonknk {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

.belge-wrapper {
    display: flex;
    justify-content: center; /* ortalar */
    gap: 40px;
    flex-wrap: wrap; /* mobil uyum */
}

.belge-item {
    text-align: center;
    color: #fff;
}

.belge-item img {
    max-width: 250px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.4s ease; /* yumuşak geçiş */
}

.belge-item img:hover {
    transform: scale(1.08); /* hafif büyüme */
}

.belge-item p {
    font-weight: 600;
    margin: 0;
}

.testimonials {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.user-info {
  font-size: 14px;
}

.user-info strong {
  display: block;
  color: #333;
}

.stars {
  color: #f5b50a;
  margin-top: 5px;
}

/* Mobil düzen */
@media (max-width: 500px) {
  .testimonial-text {
    font-size: 14px;
  }
      /* Grid divi */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr) !important; /* 3 sütun yapar */
      gap: 20px; /* kutular arasına boşluk verir */
      grid-auto-rows: 300px;
      width: 100%;
      height: 100%;
    }
}

    /* Grid divi */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3 sütun yapar */
      gap: 20px; /* kutular arasına boşluk verir */
      grid-auto-rows: 300px;
      width: 100%;
      height: 100%;
    }

    /* Her fotoğraf kutusu */
.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease; /* smooth zoom */
}

/* Üstteki opak katman */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  transition: background-color 0.6s ease;
  z-index: 1;
}

/* Ortadaki başlık */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.6s ease; /* hover sırasında yavaşça kaybolacak */
  font-weight: 700;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

/* Alt metin */
.bottom-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.6); /* opak bant */
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  z-index: 2;
  opacity: 0; /* başlangıçta gizli */
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hover efekti */
.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item:hover .overlay {
  background-color: rgba(0,0,0,0); /* fotoğraf açığa çıksın */
}

.photo-item:hover .center-text {
  opacity: 0; /* başlık yavaşça kaybolsun */
}

.photo-item:hover .bottom-text {
  opacity: 1; /* alt metin görünür */
  transform: translateY(0);
}

.animasyon {
  transition: transform 0.4s ease; /* Animasyon geçişi */
}

.animasyon:hover {
  transform: scale(1.05); /* %10 büyütme */
}

.d-inline-flex a:hover {
    color: #3e0d63 !important;
    transition: 0.5s ease-in;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}


/* DIŞ WRAPPER → arka plan */
.services-wrapper {
  padding: 80px 20px; /* sağ-sol boşluk */
}

/* İÇ CONTAINER → ortalama */
.services {
  max-width: 1100px;   /* sayfa genişliği */
  margin: 0 auto;      /* ortalama */
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.2);
  transition: 0.4s;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(76, 29, 149, 0.1), rgba(109, 40, 217, 0.1));
}

.content {
  position: absolute;
  bottom: 0;
  color: white;
  padding: 20px;
  z-index: 2;
  transform: translateY(20px);
  transition: 0.4s;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card:hover .content {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Ok */
.arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.9);
  color: #6d28d9;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;

  transform: translateY(-20px);
  opacity: 0;
  transition: 0.4s ease;
}

/* Hover olunca ok gelsin */
.service-card:hover .arrow {
  transform: translateY(0);
  opacity: 1;
}


/* Ana alan */
.rl-features {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Container */
.rl-features-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 sabit */
  gap: 25px;
}

/* Kart */
.rl-feature-card {
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
  backdrop-filter: blur(12px);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

/* Hover */
.rl-feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Işık efekti */
.rl-feature-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 60%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.5s;
}

.rl-feature-card:hover::before {
  opacity: 1;
}

/* İkon */
.rl-feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3e0d63, #6d28d9);
}

/* Başlık */
.rl-feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Açıklama */
.rl-feature-card p {
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .rl-features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rl-features-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

#scrollTopBtn {
  display: none; /* Başlangıçta gizli */
  position: fixed;
  bottom: 90px;
  right: 23px;
  z-index: 99;
  width: 50px;
  height: 50px;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#scrollTopBtn:hover {
  background-color: #555;
}
