/* Arka Plan Görseli */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333;
  padding-top: 0; /* Header'a uygun padding */
}
.navbar {
  position: fixed; /* Üstte sabit kalması için */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2); /* Yarı şeffaf arka plan */
  backdrop-filter: blur(10px); /* BLUR efekti */
  -webkit-backdrop-filter: blur(10px); /* Safari için */
  z-index: 999; /* Diğer içeriklerin üstünde olsun */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Hafif alt çizgi */
}

/* Türkçe metinlere beyaz renk uygulamak */
[data-lang="tr"] {
  color: white;
}
.header-container {
  display: flex;
  justify-content: flex-end; /* Öğeleri sağa yaslar */
  align-items: center;  /* Öğeleri dikeyde ortalar */
  gap: 30px;
  width: 100%;  /* Genişliği %100 yaparak tüm alanı kullanmasını sağlıyoruz */
  margin: 0;
  padding: 0 50px; /* Padding ekleyerek kenarlardan boşluk bırakıyoruz */
  box-sizing: border-box;  /* Box modelini düzgün çalıştırmak için */
}
/* Genel Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


a {
  text-decoration: none; /* Link altını çizmesini engeller */
  color: inherit; /* Linkin rengini üst öğeden alır */
}
.spacer {
  width: 200px; /* Logonun genişliğine göre ayarla */
}
/* İletişim Butonu */
.contact-button {
  display: inline-flex;
  align-items: none;
  padding: 9px 10px;
  background-color: #9c1a1a;
  color: white;
  margin-top: -5px;
  margin-right: 0;
  text-decoration: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 180px ;
}

.contact-button i {
  margin-right: 10px;
}

.contact-button:hover {
  background-color: #434344;
  transform: scale(1.05);
}
/* Header */
/* Header */
header {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: flex-end; /* Menü öğelerini sağa hizalar */
  align-items: center;
  padding: 15px 200px;
  box-sizing: border-box;
  color: white;
  margin: 0px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background-color: #08a715;
  color: white;
  border: none;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.6s ease;
}

.contact-form button:hover {
  background-color: #08a045;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  color: rgb(17, 20, 17);
  text-align: center;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  background-color: #888888;
  color: white;
  margin-top: -5px;
  margin-right: 0;
  text-decoration: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 180px;
}

.contact-button i {
  margin-right: 10px;
  /* İkon rengini etkilemezsek sorun olmaz */
}

.contact-button .phone-number {
  color: white;
  transition: color 0.6s ease; /* Renk değişiminde yumuşak geçiş */
}

/* Hover durumunda arka plan ve numara rengi değişsin */
.contact-button:hover {
  background-color: #444343;
  transform: scale(1.05);
}

.contact-button:hover .phone-number {
  color: orange; /* Turuncu renk */
}
  
/* Modal pencere stil */
.modal {
  display: none; 
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Arka planı karart */
  justify-content: center;
  align-items: center;
}

/* Modal içeriği */
.modal-content {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('img/worker1.PNG') center/cover no-repeat;
  padding: 30px 40px;
  border-radius: 10px;
  color: white;
  font-size: 16px; /* Yazı büyüklüğü artırıldı */
  font-family: 'Segoe UI', sans-serif;
}

/* Kapatma (X) butonu */
.close-button {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #000;
}

/* Butonlar */
.modal-button {
  display: block;
  margin: 15px auto;
  padding: 12px 20px;
  background-color: #7c7a78;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.modal-button:hover {
  background-color: #343336;
}

/* Logo Wrapper */
.logo-wrapper {
  position: relative; /* TM'nin konumlandırılabilmesi için gerekli */
  display: inline-block;
}

/* TM Görseli */
.tm-image {
  position: fixed;
  top: 30px;
  left: 250px; /* Masaüstü için hizalama */
  width: 14px;
  height: auto;
  z-index: 1001;
}

/* Logo İkonu */
.logo-icon {
  position: fixed;
  width: 200px;
  height: auto;
  display: block;
  top: -30px;
  left: 70px;
  width: 200px;
  height: auto;
  border-radius: 0%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

.logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.6);
  opacity: 0.4;
}

/* Mobil uyum için medya sorgusu */
@media (max-width: 768px) {
  .tm-image {
    left: 110px;  /* Mobilde logoya göre hizalanmış olur */
    top: 22px;    /* Yukarıda çok durmasın diye */
    width: 12px;  /* Mobilde biraz küçültüyoruz */
  }
}
/* Navigasyon Menüsü */
nav {
  flex: 1;
  display: flex;
  justify-content: center; /* Ya da space-between */
}

/* Navigasyon Menüsü */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* Menü öğelerini ortalar */
  align-items: center;
  gap: 50px;
  padding: 0;
  margin: 0;
}

/* Alt çizgi efekti */
nav ul li a.underline-effect::before,
nav ul li a.underline-effect::after {
  content: '';
  position: absolute;
  height: 0.9px; /* Çizgi kalınlığı */
  background-color: orange; /* Turuncu renk */
  transition: all 0.6s ease;
  width: 0%;
  z-index: 9999;
  box-shadow: 0 1px 1px orange;
}

/* Alt çizgiyi aşağıya yerleştiriyoruz */
nav ul li a.underline-effect::before {
  bottom: 0; /* Çizgi alt kısımda olacak */
  left: 0;
}

nav ul li a.underline-effect::after {
  display: none; /* İkinci çizgi istemiyorsan bunu devre dışı bırak */
}

/* Hover ile alt çizgi genişlemesi */
nav ul li a.underline-effect:hover::before {
  width: 100%; /* Hover ile çizgi genişler */
}

/* Menü öğeleri */
nav ul li {
  position: relative; /* Dropdown menü için gerekli */
}

/* Menü öğeleri linkleri */
nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

/* Üçgen (Ok) için stil */
nav ul li a .triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white; /* Üçgenin rengi */
  margin-left: 10px; /* Üçgen ile metin arasına boşluk ekliyoruz */
  vertical-align: middle; /* Üçgeni metin ile hizalıyoruz */
}

/* Dropdown Menü */
nav ul li .dropdown-menu {
  display: block;
  background-color: #333;
  padding: 8px 12px;
  position: absolute;
  top:100%;
  left: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  width: max-content;
  white-space: normal;
  word-wrap: break-word;
  border-radius: 12px;  /* Kenar yumuşatma ekledik */
}
nav ul li.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menü açıldığında */
nav ul li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  header {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }
}


/* Dropdown Menü */
/* Dropdown Menü */
nav ul li .dropdown-menu {
  display: block;
  background-color: #333;
  padding: 10px 15px;
  position: absolute;
  top: 160%; /* Menü biraz daha aşağıya kaydırıldı */
  left: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  width: 210px; /* Sabit bir genişlik verildi */
  white-space: normal;
  word-wrap: break-word;
  border-radius: 7px;
}

/* Menü açıldığında */
nav ul li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Menü öğeleri */
nav ul li .dropdown-menu li {
  padding: 4px 0px;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  width: 100%;
  position: relative;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif; /* Daha ince bir font ailesi */
  font-weight: 100 !important;  /* Daha ince yapmak için 200 veya 100 gibi daha düşük bir değer */
  font-size: 12px; /* Yazı boyutunu biraz küçültme */
  transition: background-color 0.3s ease; /* Arka planın yumuşak bir şekilde geçiş yapmasını sağlarız */
    margin-bottom: 1px; /* Öğeler arasına mesafe ekleyelim */
}

/* Hover efekti - Gri gölge sağdan genişlesin */
nav ul li .dropdown-menu li:hover {
  background-color: #555; /* Hover ile arka plan rengi değişir */
  left: 0.px;
  border-radius: 1px; /* Kenar yuvarlama */
  box-shadow: 6px 0 15px rgba(0, 0, 0, 0.3); /* Sağdan genişleyen gölge */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)); /* Sağdan yayılacak bir geçiş */
  padding-left: 5px; 
}

/* Menü öğelerinin üzerine gelindiğinde yazıya ekstra gölge eklemiyoruz */
nav ul li .dropdown-menu li a:hover {
  color: orange;
  left: 0.5px;
  box-shadow: none; /* Yazıya gölge eklemiyoruz */
  border-radius: 0px;
}
nav ul li .dropdown-menu li a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 150;
  font-size: 13.5px;
  color: rgb(255, 255, 255);
  display: block;
   line-height: 0.5;
}
/* Menü öğelerinin üstüne gelindiğinde gölge efektinin zamanlaması */
nav ul li.dropdown:hover .dropdown-menu li:nth-child(1) { animation-delay: 0.05s; }
nav ul li.dropdown:hover .dropdown-menu li:nth-child(2) { animation-delay: 0.1s; }
nav ul li.dropdown:hover .dropdown-menu li:nth-child(3) { animation-delay: 0.15s; }


/* Hover efekti */
nav ul li .dropdown-menu li:hover {
  background-color: #555; /* Hover ile arka plan rengi değişir */
  left: 0.5px;
  border-radius: 4px; /* Kenar yuvarlama */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Gölge eklendi */
}


/* Menü öğelerinin üstüne gelindiğinde gölge efektinin zamanlaması */
nav ul li.dropdown:hover .dropdown-menu li:nth-child(1) { animation-delay: 0.05s; }
nav ul li.dropdown:hover .dropdown-menu li:nth-child(2) { animation-delay: 0.1s; }
nav ul li.dropdown:hover .dropdown-menu li:nth-child(3) { animation-delay: 0.15s; }

/* Sosyal Medya Butonları */
.social-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Sosyal medya butonları */
.whatsapp-button,
.instagram-button,
.telegram-button,
.linkedin-button {
  position: fixed;
  right: 20px;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

.whatsapp-button { bottom: 20px; background-color: #25D366; }
.instagram-button { bottom: 80px; background-color: #E4405F; }
.telegram-button { bottom: 140px; background-color: #0088cc; }
.linkedin-button { bottom: 200px; background-color: #0077b5; }

.whatsapp-button:hover { background-color: #1ebe5d; }
.instagram-button:hover { background-color: #d13552; }
.telegram-button:hover { background-color: #0077aa; }
.linkedin-button:hover { background-color: #005582; }

.whatsapp-button i,
.telegram-button i,
.linkedin-button i,
.instagram-button img.social-icon {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover i,
.telegram-button:hover i,
.linkedin-button:hover i,
.instagram-button:hover img.social-icon {
  transform: scale(1.2);
}

.whatsapp-button span,
.instagram-button span,
.telegram-button span,
.linkedin-button span {
  display: none;
  opacity: 0;
  transform: translateX(10px);
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.whatsapp-button:hover span,
.instagram-button:hover span,
telegram-button:hover span,
linkedin-button:hover span {
  display: inline-block;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

/* İletişim Butonu */
.contact-button {
  display: inline-flex;
  align-items: none;
  padding: 9px 10px;
  background-color: #888888;
  color: white;
  margin-top: -5px;
  margin-right: 0;
  text-decoration: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 180px ;
}

.contact-button i {
  margin-right: 10px;
}

.contact-button:hover {
  background-color: #c97a05;
  transform: scale(1.05);
}

/* Hero Bölümü */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 302px 10px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Buton */
.btn {
  padding: 12px 30px;
  background-color: #000000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #c0c0c0;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(99, 97, 97, 0.2);
}

/* Header İçeriği */
.header-container {
  display: flex;
  gap: 30px;
  width: 100%;  /* Genişliği %100 yaparak tüm alanı kullanmasını sağlıyoruz */
  margin: 0;
  padding: 0 50px; /* Padding ekleyerek kenarlardan boşluk bırakıyoruz */
  box-sizing: border-box;  /* Box modelini düzgün çalıştırmak için */
}

/* 🌐 Dil Seçici */
.custom-language-selector {
  margin-left: 50px;
  display: inline-block;
  position: fixed;  /* Sabit konumda olması için fixed */
  top: 18px;  /* Bu değeri artırarak dili daha aşağıya alabilirsiniz */
  right: 85px;  /* Sağda yer alır */
  z-index: 9999;  /* Üstte görünmesini sağlamak için z-index kullanıyoruz */
}

/* Dil Seçici Butonu */
.custom-language-selector .selected-language {
  background-color: transparent;
  border: 1px solid #fff;
  top: 10px; /* Burayı düzelttik: px birimi ekledik */
  left: 50px;  /* Sola kaydırmak için left değerini ekliyoruz */
  padding: 4px 11px;
  color: white;
  font-size: 14px;

  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-language-selector button .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  margin-top: 0;
  transform: rotate(0deg);
}

.selected-language {
  color: white;
}

.custom-language-selector button:hover {
  background-color: #007bff;
  color: white;
  border: 1px solid #b0b7be;
}

/* Dil Seçenekleri */
.language-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: transparent;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  list-style: none;
  padding: 0;
  z-index: 1000;
}

.language-options li {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.language-options li:hover {
  background-color: #141213;
}

.custom-language-selector:hover .language-options {
  display: block;
}

.language-options li img {
  margin-right: 10px;
  width: 20px; /* Bayrakların boyutlarını belirliyoruz */
  height: auto; /* Orantılı bir boyutlandırma */
}
