.alttaraf {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-family: INTER; 
}


.alttaraf h2 {
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

.info-container {
    display: flex;
    justify-content: space-between; /* Masaüstü sol-orta-sağ */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    
}

.left, .center, .right {
    flex: 1;
    min-width: 200px;
}

.left p {
    margin: 0;
    font-weight: bold;
}

.right a i {
    color: white;
    margin: 0 10px;
    font-size: 2rem;
    text-decoration: none;
}
.right a i:hover {
    color: #ddd;
}


/* Mobil cihazlar için düzenleme */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column !important;  /* Alt alta */
        align-items: center !important;     /* Ortala */
        text-align: center !important;      /* İçerik ortada */
        gap: 15px;
        
    }

    /* Inline margin'leri sıfırla */
    .info-box {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 30px;
    }

    .left, .center, .right {
        text-align: center !important;
    }
}



/* Genel */
html {
    scroll-behavior: smooth;
}

body {
    padding-top: 80px; /* Masaüstü için navbar boşluğu */
    opacity: 0;
    transform: translateX(150px); /* sayfa yüklenirken sağdan gelir */
    transition: opacity 1s ease, transform 1s ease;
}

/* Mobilde navbar daha yüksek */
/* Tüm sayfalarda mobil navbar yazısı ve logo boyutu */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 14px !important;
    padding-left: 5px !important;
    margin-bottom: -50px;
    margin-left: -25px;
     margin-top: -30px;
    
  }
  .navbar img {
    height: 50px !important;
  }

  /* Hamburger butonunu sağa taşı */
  .navbar-toggler {
    margin-left: auto; /* Sol taraf boş, sağa iter */
  }
}


/* Yukarı çık butonu */
/* Wrapper sadece konumlandırma için */
/* Back to Top Button Wrapper */
.back-to-top-wrapper {
  display: flex;
  justify-content: center;    /* Yatay ortala */
  align-items: flex-end;      /* Dikeyde alta yasla */
  margin-top: 20px;           /* Container alt boşluğu */
  width: 100%;                /* Tam genişlik */
}

/* Back to Top Button */
#back-to-top {
  display: flex;
  justify-content: center;    /* İçeriği ortala */
  align-items: center;        /* İçeriği dikey ortala */
  width: 50px;                /* Sabit genişlik */
  height: 50px;               /* Sabit yükseklik */
  text-decoration: none;      /* Link alt çizgisini kaldır */
  border: 2px solid #ddd;     /* Hafif gri kenarlık */
  border-radius: 50%;         /* Yuvarlak buton */
}

/* Back to Top Icon */
#back-to-top i {
  font-size: 24px;            /* İkon boyutu */
  width: 100%;                /* Tam genişlik */
  height: 100%;               /* Tam yükseklik */
  display: flex;
  justify-content: center;    /* İkon ortala */
  align-items: center;        /* İkon dikey ortala */
  background-color: white;    /* Beyaz arka plan */
  color: black;               /* Siyah ikon rengi */
  border-radius: 50%;         /* Yuvarlak arka plan */
  transition: 0.3s;           /* Geçiş efekti */
}

/* Hover Efekti */
#back-to-top i:hover {
  background-color: black;    /* Siyah arka plan */
  color: white;               /* Beyaz ikon rengi */
}

/* BİZ KİMİZ */
.BİZKİMİZ {
 background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    text-align: center;
    font-weight: bold;
    height: 90px;
    margin: 100px 0;
    font-family: INTER;
  
}
.BİZKİMİZ h1 {
    font-size: 4rem;
    padding-top: 5px;
}
@media (max-width: 768px) {
    .BİZKİMİZ h1 {
        font-size: 2.5rem;
        padding-top: 10px;
    }
}

/* Video */
.video {
  width: 100%;                  /* Tüm sayfa genişliği */
   background: linear-gradient(135deg, #17a2b8, #138496);   /* Arka plan rengi */
  display: flex;
  justify-content: center;       /* Video yatay ortada */
  align-items: center;           /* Dikey ortada */
margin-top: 20px;               /* Üst-alt boşluk */
  box-sizing: border-box;
}

.video iframe {
  width: 100%;                   /* Mobilde ekranı doldursun */
  max-width: 640px;              /* Masaüstünde eski boyutu koru */
  aspect-ratio: 16 / 9;          /* Oranı koru */
  border: none;
  height: 770px;
}
/* Video1 burası sosyal kısım videosu */
.video1 {
  width: 100%;                  /* Tüm sayfa genişliği */
   background: linear-gradient(135deg, #17a2b8, #138496);   /* Arka plan rengi */
  display: flex;
  justify-content: center;       /* Video yatay ortada */
  align-items: center;           /* Dikey ortada */
margin-top: 20px;               /* Üst-alt boşluk */
  box-sizing: border-box;
}

.video1 iframe {
  width: 100%;                   /* Mobilde ekranı doldursun */
  max-width: 640px;              /* Masaüstünde eski boyutu koru */
  aspect-ratio: 16 / 9;          /* Oranı koru */
  border: none;
  height: 700px;
}




.carousel-caption video {
    width: 100%;
    max-width: 800px;
    height: auto;         
    aspect-ratio: 2 / 1;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .carousel-caption video {
        aspect-ratio: 16 / 9;
    }
}

/* bayrak kısım resim */
.featurette img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-left: 0;
}

/* Bayrak şeridi - DÜZELTİLDİ */
.flag-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .flag-strip {
    flex-wrap: wrap;
    justify-content: center; 
    gap: 10px;
  }
  .flag-strip img, 
  .flag-strip video {
    max-width: 100%;
    height: auto;
  }
  .flag-strip-container {
    padding: 10px;
    overflow: hidden;
  }
  .flag-strip video {
    height: 40px;
  }
}

/* Carousel */
/* Carousel genel boyut */
.carousel-item img {
    width: 100%;
    height: 600px;      /* masaüstü için yükseklik */
    object-fit: cover;  /* resmi orantılı büyütüp kırpar */
}

/* Mobil uyum */
@media (max-width: 768px) {
    .carousel-item img {
        height: 250px;  /* mobil için yükseklik */
    }
}

/* Kontrol butonları */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    cursor: pointer;
}
.carousel-control-prev {
    left: 25px;
}
.carousel-control-next {
    right: 25px;
}

/*burası en üst navbar üstü*/
  
 /* Top language bar */
        .top-lang {
            background: #F5FBFC;
            border-bottom: 1px solid #ddd;
            padding: 8px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1030;
            margin-top: -200px;
        }

        .language-selector {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            align-items: center;
        }

        .language-selector span {
            color: #17a2b8;
            font-size: 14px;
            font-weight: 500;
        }

        .language-selector .lang-btn {
            color: #17a2b8;
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 3px;
            transition: all 0.3s ease;
            font-size: 13px;
            cursor: pointer;
            border: 1px solid #17a2b8;
            background: transparent;
        }

        .language-selector .lang-btn:hover,
        .language-selector .lang-btn.active {
            background-color: #17a2b8;
            color: white;
            text-decoration: none;
        }

        /* Main header section */
        .main-header {
            background: #f8f9fa;
            padding: 20px 0;
            position: fixed;
            top: 45px;
            width: 100%;
            z-index: 1020;
            border-bottom: 1px solid #e0e0e0;
            margin-top: -200px;
        }

        .logo-section {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .logo-section img {
            max-width: 500px;
            height: auto;
            width: 100%;
        }

        /*burası tamamen navbar kısımı*/
        .custom-navbar{
             background: linear-gradient(135deg, #17a2b8, #138496);
             margin-top: 50px;
            
            }

            /* Sadece mobil için (768px altı) */
/* Sadece mobil için (768px altı) */
@media (max-width: 768px) {
  .custom-navbar,
  #navbarCollapse {
    z-index: 2000 !important; /* Menü her zaman en üstte */
  }

  #myCarousel {
    z-index: 1 !important; /* Carousel arkada */
    position: relative;
  }
  .mypicture{
     z-index: -1 !important;

  }
}


            
    
    

        /* Social icons in navbar */
        .social-icons-navbar {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .social-icons-navbar a {
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
            padding: 6px;
            border-radius: 50%;
        }

        .social-icons-navbar a:hover {
            background-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }
   
       

        /* Flag strip - DÜZELTİLDİ: Normal konumda */
        .flag-strip-container {
          background: linear-gradient(135deg, #17a2b8, #138496);
            padding: 0;
            margin-top: 50px; /* Navbar altından normal mesafe */
            
        }

        .flag-strip {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .flag-strip img {
            max-height: 600px;
            width: 1200px;
        }

        /* Body padding for fixed headers */
        body {
            padding-top: 0;
            margin: 0;
        }

        /* Content area - DÜZELTİLDİ */
        .content-area {
            margin-top: 220px; /* Fixed header'ların altı */
            padding: 40px 0;
        }

        /* Mobile responsiveness */
        /* Masaüstü için mevcut kodun aynı (değişiklik yok) */

/* Mobil düzenlemeler */




        /* Desktop görünüm için ekstra stiller */
        @media (min-width: 769px) {
            .navbar-nav .nav-link {
                margin: 0 20px;
            }
        }

      
        body {
            top: 0 !important;
        }


        .header-container {
    transform: translateY(-100px); /* yukardan başlasın */
    opacity: 0;                   /* görünmez */
    transition: transform 1s ease, opacity 1s ease; /* animasyon süresi */
}

.header-container.show {
    transform: translateY(0);  /* normale gelsin */
    opacity: 1;
}

.mail-link {
  color: whitesmoke /* istediğin rengi buraya yaz (örn. kırmızı) */
   /* alt çizgiyi kaldırmak için */
}

.mail-link:hover {
  color: wheat; /* üzerine gelince farklı renk olsun */
  text-decoration: underline; /* hover’da altı çizili olsun */
}




/* Dropdown varsayılan kapalı */
/* Dropdown varsayılan kapalı */
.dropdown-menu {
  display: block; /* JavaScript ile açma/kapatma yapılacak, display:none yerine visibility + max-height */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  position: absolute;
  background: linear-gradient(135deg, #17a2b8, #138496);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  min-width: 200px;
  z-index: 1000;
  margin-bottom: -15px;
}
.dropdown-menu li {
  padding: 6px 15px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: whitesmoke;
  display: block;
  text-align: center;
}

.dropdown-menu li a:hover {
  color: black;
  background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Bootstrap caret’i gizle */
.no-caret::after {
  display: none !important;
}

/* İkon transition */
.dropdown-toggle i {
  transition: transform 0.3s ease;
}

/* Masaüstü hover */
@media (min-width: 769px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
     max-height: 500px; /* dropdown yüksekliğine göre ayarla */
  opacity: 1;
  }
  .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

/* Mobil open class */
@media (max-width: 768px) {
  .dropdown.open > .dropdown-menu {
     max-height: 500px; /* dropdown yüksekliğine göre ayarla */
  opacity: 1;
    display: block;
  }
  .dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
  }

  /* Navbar ve header ayarları */
  .top-lang {
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 1080;
    margin-bottom: 80px;
  }

  .main-header {
    position: fixed;
    top: 70px;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 50px;
    z-index: 1070;
  }

  .custom-navbar {
    margin-top: 10px;
    top: 20px;
    z-index: 1090;
  }

  .content-area {
    margin-top: 180px;
  }

 /* Hamburger butonunu solda sabitle */
/* Hamburger butonunu solda sabitle, margin ile responsive */
.hamburger-btn {
    background-color: white; 
    border: none;
    padding: 8px; 
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around; 
    align-items: center;
    width: 47px;   
    height: 36px;  
    cursor: pointer;
    box-sizing: border-box;

    float: left; 
    margin-left: 5vw; /* ekran genişliğine göre ayar */
}

/* Hamburger çizgileri */
.hamburger-btn span {
    display: block;
    height: 4px;  
    width: 27px;  
    background-color: #17a2b8; 
    border-radius: 2px;
    transition: all 0.3s ease;
}


  /* Navbar öğelerini ortala */
  .navbar-collapse {
    text-align: center;
        float: none !important;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

 /* Dropdown başlığı ve menü mobilde ortalı */
.navbar-nav .dropdown {
    display: flex;
    flex-direction: column; /* üst üste diz */
    align-items: center;    /* ortala */
}

/* Dropdown menüyü başlığın altında aç */
.dropdown-menu {
    position: static;       /* zaten mevcut */
    float: none;
    width: auto;
    margin-top: 5px;        /* başlığa biraz mesafe */
    text-align: center;
}

/* Dropdown öğeleri */
.dropdown-menu .dropdown-item {
    display: block;
    text-align: center;
}


  /* Sosyal ikonları ortala */
 .social-icons-navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
}

  .social-icons-navbar a {
    margin: 0 10px;
  }
}





.Etkinliklerkısımı {
 background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    text-align: center;
    font-weight: bold;
    height: 120px;
    margin: 100px 0;
    font-family: INTER;
  
}
.Etkinliklerkısımı h1 {
    font-size: 4rem;
    padding-top: 5px;
}
@media (max-width: 768px) {
    .Etkinliklerkısımı h1 {
        font-size: 2.5rem;
        padding-top: 10px;
    }
}


.wide-text {
  max-width: 1000px;   /* Metin bloğu genişliği */
  width: 100%;         
  margin: 0 auto;      /* Ortada kalsın */
  padding: 0 20px;     /* Kenarlardan biraz boşluk */
  text-align: justify; /* İki yana yasla */
  line-height: 1.8;    
  font-size: 1.1rem;   
}





/* burası carousel yazısı*/
.carousel-caption h5 {
  font-size: 1.5rem; /* masaüstü */
}

@media (max-width: 768px) {
  .carousel-caption h5 {
    font-size: 1rem;  /* mobilde daha küçük */
  }
}


@media (max-width: 768px) {
  body {
    font-family: INTER; /* bu Inter'i geçersiz kılar */
  }
}


/* resim alınmasını engelleme */

/* DÜZELTİLMİŞ CSS */

/* Takım üyesi genel stil */
.team-member {
  margin-bottom: 30px;
}

/* Resim kapsayıcısı */
.img-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

/* Background ile gösterilen korumalı resim */
.protected-image {
  display: block;
  width: 350px;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #eee;
  border-radius: 50%;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.3s ease;
}

.protected-image:hover {
  transform: scale(1.05);
}

/* Artık sadece protected-image kullanıyoruz */

/* Overlay efekti */
.img-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background 0.3s ease;
}

.img-wrapper:hover .overlay {
  background: rgba(0,0,0,0.1);
}

/* İsim ve pozisyon stilleri */
.team-member h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0 5px 0;
  color: #333;
}

.team-member h2 {
  font-size: 24px;
  font-weight: 400;
  color: #555;
  margin: 0;
}

/* Sadece protected-image için sağ tık koruması */
.protected-image {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
}

/* Media controls gizleme */
.protected-image::-webkit-media-controls {
  display: none !important;
}

/* Responsive için */
@media (max-width: 768px) {
  .team-member {
    margin-bottom: 40px;
  }
  
  .protected-image,
  .img-wrapper .overlay {
    width: 280px;
    height: 280px;
  }
  
  .team-member h3 {
    font-size: 24px;
  }
  
  .team-member h2 {
    font-size: 20px;
  }
}



