

@font-face {
  font-family: 'Bahnschrift';
  src: url('Font/bahnschrift.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Azonix-Regular';
  src: url(Font/fonnts.com-Azonix-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}
#loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.logo-container {
  position: relative;
  width: 150px;
  height: 150px;
}

#logo {
  width: 150px;
  height: auto;
  animation: moveToTopLeft 2s ease-in-out forwards; /* Logo hareket animasyonu */
}

#backgroundVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Mobilde özel optimizasyon */
@media (max-width: 768px) {
  #backgroundVideo {
    height: 100vh; /* Mobilde yüksekliği tam ekran yap */
  }
}
/* Genel stiller */
html,body {
  margin: 0;
  padding: 0;
  height: 4000px;
  overflow-x: hidden;
  font-family: 'Bahnschrift';
  background-color: #000;
  background-image: url(Source/bck.avif);
  background-position: 50%;
  background-size: 75%;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Arka planın sabit kalmasını sağlar */
}
/* Header stili */
header {
  display: flex;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  top: 0;
  left: 0;
  z-index: 10;
  position: fixed;
  transition: background-color 0.3s ease-in-out;
  transition: opacity 0.2s;
}



#navbar.hidden {
  opacity: 0; /* Adjust this value according to your navbar's height */
}

/* Sol taraf: Logo */
header .logo {
  flex: 1;
  height: 10vh;
  margin-left: 100px;
  padding-right:75px;
  text-align: center;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
  /* Removed the margin-right to ensure proper centering */
}
/* Orta taraf: Menü yazıları */
header .menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 75px;

  /* Ensures the menu is perfectly centered */
}

header .menu a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

header .menu a:hover {
  color: #ddd;
}

/* Alt çizgi animasyonu */
header .menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: white;
  left: 50%;
  bottom: -5px;
  transition: width 0.5s ease, left 0.5s ease;
}

header .menu a:hover::after {
  width: 100%;
  left: 0;
}

/* Sağ taraf: Language ve Kullanıcı */
header .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-right: 20px;
  /* Removed the margin-left to balance the layout */
}

.language {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 25px;
  color: white;
  background-color: transparent;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s ease;

}
.language:hover{
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8);      
}

.language .world-icon {
  height: 2vh;
  margin-right: 10px;
}.forum {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 25px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-size: 1.5vh;
  font-family: 'Azonix-Regular';
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative; /* Üçgenin konumlandırılması için gerekli */
  text-align: center;
}

/* Hover efekti */
.forum:hover {
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

/* Konuşma balonunun üçgeni */
.forum::after {
  content: "";
  position: absolute;
  bottom: -22px; /* Üçgenin butonun altına eklenmesi */
  left: 8%; /* Üçgenin yatay hizası */
  border-width: 12px;
  border-style: solid;
  border-color: white transparent transparent transparent; /* Üçgenin rengini ayarla */
}

/* Buton içindeki logo */
.forum .forum-ikarus {
  height: 3vh;
  margin-right: 5px;
}


  @media (max-width: 768px) {
    header {
      display: none;
    }
  }

  .hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero .content h1 {
    font-size: 72px;
    margin-bottom: 20px;
    color: whitesmoke;
    font-family: 'Azonix-Regular';
}

.hero .content p {
    font-size: 20px;
    max-width: 450px;
    margin: 0 auto 30px auto;
    color: whitesmoke;
    font-weight: lighter;
}

.hero .content .cta {
    font-size: 16px;
    padding: 15px 35px;
    border-radius: 25px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.hero .content .cta:hover {
  background-color: rgba(255, 255, 255, 0.8);     

}

.scrollme {
  position: absolute;
  left: 50%;
  bottom: 50px;
  width: 30px;
  height: 20px;
  animation: bounce 3s infinite alternate ease-in-out;
  margin: 0 0 0 -15px;
  z-index: 15;
  cursor: pointer;  
  
}

.scrollme svg path {
  fill: none;
  stroke: whitesmoke;

}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(11px);
  }
}

/* Genel Konteyner (sayfanın tamamını kapsayan yapı) */
.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Sol Bölme */
.Section2-left {
  width: 50%;
  padding: 50px;
  background-color: transparent;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transform: translateY(20px);
  transition: transform 2s ease-out, opacity 2s ease-out;
  will-change: transform, opacity;
}

.Section2-left h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.Section2-left p {
  font-size: 1.5em;
  line-height: 1.5;
}

/* Genel Stil */
.degisken-yazi {
  font-family: 'Bahnschrift';
  color: white;
  align-items: center;
  position: relative;
}

/* Sabit yazı */
.sabit {
  margin-right: 10px;
  font-size: 72px;
  margin-bottom: 20px;
  color: whitesmoke;
  font-family: 'Azonix-Regular';
  display: inline-block;
}


.changing {
  font-size: 7vh;
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  height: 1.2em; /* Yazı yüksekliği */
}
@media (max-width: 1024px){
  .changing {
    font-size: 3.4vh;
  }
}
/* Değişim animasyonu */
.changing span {
  margin: 0;
  opacity: 0;
  animation: changeWords 12s infinite;
}


@keyframes changeWords {
  0% { opacity: 1; }
  10% { opacity: 1; }
  20% { opacity: 0; }
  30% { opacity: 0; }
  40% { opacity: 1; }
  50% { opacity: 1; }
  60% { opacity: 0; }
  70% { opacity: 0; }
  80% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}
/* Sağ Bölme */
.Section2-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

/* Konu kutucuklarını dikey hizalama */
.divide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 75%;
}

.divide .item .content h2 {
  font-size: 18px;
}

.divide .item .content p {
  font-size: 16px;
}

/* Her bir konu kutucuğu */
.item {
  background-image: url(Source/66d09b0e75353e6ff54b232c_bg_card_team.avif), linear-gradient(#ffffff0d, #ffffff0d), linear-gradient(#000, #000);
  background-position: 100% 100%, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  background-size: cover, auto, auto;
  color: white;
  display: flex;
  align-items: center;
  padding-left: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-height: 80px;
  transition: transform 0.3s ease-out, background-image 0.8s ease;
  will-change: transform, opacity, background-image;
}

.item:hover {
  transform: scale(1.02);
  background-image: 
    linear-gradient(to bottom left, rgba(141, 180, 194, 0.4), rgba(0, 0, 255, 0.5)),
    linear-gradient(#ffffff0d, #ffffff0d),
    linear-gradient(#000, #000);
}

.item:hover .icon {
  transform: scale(1.2);
}

/* Konu kutucuğunda ikon ve metin düzeni */
.icon {
  width: 7%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
  transition: transform 0.5s;
}

.icon img {
  max-width: 100%;
  height: auto;
}

.text {
  width: 85%;
  font-size: 1.2em;
  padding-left: 15px;
}

/* Responsive ayarlamalar */

/* Tablet ve daha küçük cihazlar için */
@media (max-width: 1024px) {
  .container {
    flex-direction: column; /* Yan yana yerine üst üste */
    height: auto; /* Yüksekliği içeriğe göre ayarla */
  }

  .Section2-left, .Section2-right {
    width: 100%;
  }

  .Section2-left {
    padding: 30px;
  }

  .divide {
    width: 90%;
  }

  .Section2-left h1 {
    font-size: 2.5em;
  }

  .Section2-left p {
    font-size: 1.1em;
  }
/* Sabit yazı */
.sabit {
  font-size: 36px;
}

/* Değişen yazılar */
.degisken {
  font-size: 24px;
  margin-left: 0px;
}

}

/* Mobil cihazlar için */
@media (max-width: 768px) {
  .Section2-left h1 {
    font-size: 2em;
  }

  .Section2-left p {
    font-size: 1em;
  }

  .item {
    padding: 20px;
  }

  .divide .item .content h2 {
    font-size: 16px;
  }

  .divide .item .content p {
    font-size: 14px;
  }
/* Sabit yazı */
.sabit {
  font-size: 36px;
}

/* Değişen yazılar */
.degisken {
  font-size: 24px;
  margin-left: 0px;
}



}

/* Küçük mobil cihazlar için */
@media (max-width: 480px) {
  .Section2-left {
    padding: 20px;
  }

  .Section2-left h1 {
    font-size: 1.8em;
  }

  .Section2-left p {
    font-size: 0.9em;
    width: fit-content;
    padding-right:  50px;
    height: fit-content;
  }

  .item {
    min-height: 60px;
    padding: 15px;
  }

  .icon {
    width: 10%;
    padding-right: 10px;
  }

  .text {
    font-size: 1em;
  }

/* Sabit yazı */
.sabit {
  font-size: 36px;
}

/* Değişen yazılar */
.degisken {
  font-size: 24px;
  margin-left: 0px;
  padding-top: 8px;
}

}

@media (max-width: 768px) { /* 768px ve altı ekranlarda geçerli */
  #hangar {
    display: none;
  }
}
#section4 {
  position: relative;
  height: fit-content; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* İçeriği üstten başlatır */
  background-image: linear-gradient(to bottom ,rgb(17, 17, 17), rgb(0, 0, 0));
  margin: 0;
  padding: 20px 0;
  overflow: hidden;
}

.banner {
  background-image: url(Source/66d09b0e75353e6ff54b232c_bg_card_team.avif), linear-gradient(#ffffff0d, #ffffff0d), linear-gradient(#001, #001);
  background-position: 100% 100%, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  background-size: cover, auto, auto;
  border-radius: 85px;
  padding: 15px 35px;
  width: 65%;
  height: 35vh;
  display: grid;
  justify-content: center;
  align-items: center;
  margin: 50px 15px; /* Referans başlığı ile arasına boşluk ekler */
  text-align: center;
}
.banner:hover{
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8); 
}

.banner h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 48px; /* Daha uygun bir font boyutu */
  margin-bottom: 10px;
  color: rgba(143, 188, 240, 0.918);
}

.banner-ikarus{
  font-size: 72px;
  margin-bottom: 20px;
  color: whitesmoke;
  font-family: 'Azonix-Regular';
}

.banner p {
  font-weight: lighter;
  font-size: 36px; /* Daha uygun bir font boyutu */
  position: relative; /* Butonun konumunu ayarlamak için */
  margin: 0 auto; /* Yatayda ortalamak için */
  text-align: center;
  width: fit-content;
  color: white;
}

.banner button {
  font-size: 16px;
  padding: 15px 35px;
  background-color: black;
  width: 180px;  
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 45px;
  font-weight: bold;
  position: relative; /* Butonun konumunu ayarlamak için */
  margin: 0 auto; /* Yatayda ortalamak için */
}

.banner button:hover {
  background-color: #333;
}

.references-title {
  text-align: center;
  padding: 10px;
  background-color: transparent;
  color: white;
  font-size: 4vw;
  font-weight: 500;
  margin: 0;
  margin-bottom: 20px;
}

.reference-category {
  margin-bottom: 40px;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
  font-size: 2vw;
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: 500;
}

.category-icon {
  width: 128px;
  height: auto;
}

.references-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 45px;
  white-space: nowrap;
  margin-top: 20px;
}


.reference-logo {
  height: 70px;
  cursor: pointer;
}
@media (max-width: 1024px) { /* 768px ve altı ekranlarda geçerli */

    .banner{
      height: fit-content;
      padding: 25px, 0px;
      }

    .banner h1 p  {
      font-size: 1vw; /* Ekran boyutuna göre dinamik font büyüklüğü */
      padding: 10px; /* Yazıyı ortalamak için gerekli ayar */
      max-width: 50vw;
    }
    .banner-ikarus{
      font-size: 58px;
    }
    .references-title {
      font-size: 6vw;
    }
  
    .category-title {
      font-size: 4.5vw;
    }
  
    .category-icon {
      width: 100px;
    }
    .references-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      margin-top: 20px;
    }
  
    .reference-logo {
      margin: 20px 0;
      padding-top: 0;
    }
    
}

#haberler {
  width: 100%;
  height: auto; /* Yüksekliği içeriğe göre ayarla */
  padding: 20px;
  box-sizing: border-box;
  background-color: #000;
}

.baslik {
  text-align: center;
  margin-bottom: 20px;
  color: white;
  font-size: 36px;
}

/* Flex container ayarları */
.haber-icerik {
  display: flex;
  flex-direction: row;
  height: auto;
  gap: 20px; /* Sağ ve sol kısımlar arasında boşluk */
}

/* Sol kısım */
.haber-left {
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

/* Sağ kısım */
.haber-right {
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 45px;
}

.haber {
  background-color: black;
  color: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-top: 3px solid white;
  height: 150px;
}

.haber h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
}

.haber p {
  font-size: 1rem;
}

/* Arka plan resmi, fare üzerine gelmeden önce görünmeyecek */
.haber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Her habere özel resim */
.haber-1::before {
  background-image: url('Source/haberler/ikarus-yeni-uyeler.jpeg');
}

.haber-2::before {
  background-image: url('Source/haberler/ikarus-adana-teknofest.jpeg');
}

.haber-3::before {
  background-image: url('Source/haberler/portekiz.jpeg');
}

.haber-4::before {
  background-image: url('Source/haberler/cubesat.jpeg');
}

/* Fare üzerine gelince arka plandaki resmin görünmesi */
.haber:hover::before {
  opacity: 0.7;
}

/* Fare üzerine gelince metnin rengi değişir */
.haber:hover {
  color: gray;
}

/* Buton stili */
.haber-bas button {
  font-size: 16px;
  padding: 15px 35px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  border-radius: 45px;
  font-weight: bold;
  position: relative;
  margin: 45px auto; /* Butonu yatayda ortala */
}

/* Buton hover efekti */
.haber-bas button:hover {
  background-color: #333;
}

/* Responsive ayarlamalar */

/* Tablet ve daha küçük cihazlar için */
@media (max-width: 1024px) {
  .haber-icerik {
    flex-direction: column; /* Yan yana yerine üst üste */
  }

  .haber-left,
  .haber-right {
    width: 100%;
  }

  .baslik {
    font-size: 30px;
  }

  .haber {
    height: auto;
  }
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
  .baslik {
    font-size: 24px;
  }

  .haber h3 {
    font-size: 1.2rem;
  }

  .haber p {
    font-size: 0.9rem;
  }

  .haber-bas button {
    font-size: 14px;
    padding: 10px 20px;
    width: auto;
  }
}

/* Küçük mobil cihazlar için */
@media (max-width: 480px) {
  .haber-icerik {
    padding: 0;
  }

  .haber {
    padding: 15px;
    height: auto;
  }

  .haber h3 {
    font-size: 1rem;
  }

  .haber p {
    font-size: 0.8rem;
  }

  .haber-bas button {
    font-size: 12px;
    padding: 8px 15px;
  }
}

.instagram-embed {
  width: 100%;
  max-width: 600px; /* Maksimum genişlik */
  margin: 0 auto; /* Ortalamak için */
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  display: flex;
  flex-direction: column; /* Dikey hizalama için */
  justify-content: space-between;
  padding: 20px;
  background-color: transparent;
  color: #fff;
}

/* Sol ve Sağ Kolonlar */
.footer-left, .footer-right {
  width: 50%; /* Sağ ve sol kolonların genişliğini yarıya indir */
  margin: 0; /* Boşlukları sıfırladık */
  text-align: center; /* Her iki kolon da ortalanacak */
}

/* Sol Kolon (Logo) */
.footer-left {
  text-align: right; /* Sol tarafta logo */

}

/* Sağ Kolon (Bilgiler) */
.footer-right {
  text-align: left; /* Sağdaki içerikler sola hizalanacak */
  display: flex;
  flex-direction: column; /* Yazıları dikey yerleştir */
  justify-content: end; /* Yatayda ortalamak için */
  align-items: flex-start; /* Sol tarafla hizala */
  gap: 15px; /* Aralarına boşluk ekle */
}

/* Logo */
.footer-logo {
  max-width: 400px;
  margin-right: 10px;
  padding-bottom: 25px;
}

/* Sol Bilgiler */
.left-alt {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start; /* Sol kolon bilgileri sola yaslanacak */
}

/* İletişim Elemanları */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Her iletişim elemanını sola hizala */
  gap: 10px;
}

.contact-item i {
  font-size: 20px;
  color: #033f80;
}

.contact-item a {
  text-decoration: none;
  color: #ffffff; /* Varsayılan yazı rengi */
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #033f80; /* Üzerine gelince bağlantı rengi */
}

/* Responsive Düzenlemeler */
@media(min-width: 768px) {
  footer {
    flex-direction: row; /* Yatay düzen */
    height: auto;
    justify-content: space-between; /* Sol ve sağdaki içerikleri ayır */
    align-items: flex-start; /* Üstten hizalamayı sağla */
    
  }
  
  .footer-left, .footer-right {
    width: 45%; /* Sol ve sağ kolon genişliği */
    
  }

  .footer-left h3 {
    font-size: 48px;
  }

  .footer-left-alt {
    font-size: 24px;
  }
}

/* Alt çizgi ve yazı için */
.footer-bottom {
  text-align: center; /* Alt kısım ortalanacak */
  margin-top: 20px;
  margin-bottom: 15px;
}

.footer-line {
  height: 2px;
  background: linear-gradient(to right, transparent, #fff, transparent);
  margin: 10px 0;
}

.footer-bottom p {
  font-size: 16px;
  color: #bbb;
}
