/* Genel ayarlar */
body {
    background-color: #F2FAFF;
    font-family: "Montserrat", sans-serif;
  }
 /* Ana yükleme ekranı katmanı */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F2FAFF; /* Beyaz arka plan */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Sayfadaki diğer her şeyin üstünde kalır */
  transition: opacity 0.5s ease-out;
}

/* Spinner'ın etrafındaki kapsayıcı */
.spinner-container {
  position: relative;
  width: 50px;
  height: 50px;
}

/* Dönen animasyonun kendisi */
.spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #8ECFFF; /* Yarı şeffaf mavi halka */
  border-top-color: #6bb2e5; /* Üst kısım tam mavi olacak */
  animation: spin 2s linear infinite; /* Animasyon döngüsü */
}

/* Animasyonun anahtar kareleri */
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
  .ust-bilgi{
    background-color: #8ECFFF;
    font-size: 0.7rem;
    font-weight: bold;
    
  }
  nav{
    background-color: #F2FAFF;
  }
  .navbar .navbar-brand img{
    height: 12vh;
    position: absolute;
 transform: translateY(-50%);
  }
  .navbar .nav-item .nav-link {
    color: black;
    position: relative;
    font-weight:500;
    padding: 13px;
  }
  .navbar .nav-item .btn{
    background-color: #F2FAFF;
    border-color: #8ECFFF;
    border-width: 0.11rem;
    border-radius: 25px;
    padding: 13px;
    padding-left: 19px;
    padding-right: 19px;
  }

  .hero {
    min-height: 87.5vh; 
    width: 100%;
     /* ekranı tamamen kapla */
    background: url("img/hero.png") no-repeat center/cover;
    position: relative;
    color: white;
    background-color: #fff;
    background-attachment: fixed;
  }
  .hero .p {
    color: #c5c5c5;
  }
  /* Koyu katman 
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
  }
  */
  .hero .container {
    position: relative;
    z-index: 2;
  }
  
  /* Yazılar */
  .hero-text p {
    font-size: 1.4rem;
  }
  
  .hero-text h1 {
    font-size: 2.9rem;
    line-height: 1.2;
  }
  
  .hero-text .btn {
    border-radius: 0px;
    font-size: 1.4rem;
    background-color: #8ECFFF;
    color: white;
    padding: 9px;
    padding-right: 9px;
    padding-left: 9px;
  }
  .btn {
    transition: all 0.4s ease-in-out;
  }
  .navbar .btn:hover{
    color: #fff;
    background-color: #8ECFFF;     
    border-color: #8ECFFF;          
  }
  .hero .btn:hover{
    background-color: #fff;     
    color: #8ECFFF;    
    border-color: #8ECFFF;          
  }
  .navbar nav-link span:hover {
    color:black; /* Example hover color */
}

/* Animated Underline */
.navbar .nav-item .nav-link span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #8ECFFF;
    transition: width 0.3s ease-out;
}

.navbar .nav-item .nav-link span:hover::after {
    width: 100%; /* Expands to full width on hover */
}

/* Hizmetler bölümü genel stil */
.services-section {
  background-color: #F2FAFF; /* Görseldeki açık mavi arka plan */
}

/* Bölüm başlığı */
.services-heading {
  color: #8ECFFF; /* Mavi renk */
  font-size: 2.5rem;
  font-weight: bold;
}

/* Hizmet kutucukları */
.service-box {
  background-color: #ffffff; /* Beyaz kutu arka planı */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölgelendirme */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 95px;
}

/* Kutucuklara hover efekti */
.service-box:hover {
  transform: translateY(-15px); /* Hafif yukarı kalkma efekti */
  box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.15);
}

/* İkonlar */
.service-icon {
  width: 80px; /* İkon boyutu */
  height: 80px;
  /* İkonun yuvarlak arka planı varsa burada stilini yapabilirsiniz.
  Örneğin: background-color: #007bff; border-radius: 50%; padding: 10px; */
}

/* Başlık ve metin renkleri */
.service-title {
  color: #2e3034;
  font-size: 1.5rem;
  font-weight: bold;
}

.service-text {
  color: #555;

}

.about {
  position: relative;
  height: 70vh;
  background: url("img/home-about.png") center center / cover no-repeat;
  padding: 120px 0; /* üst-alt boşluk */
  color: #fff;
  background-attachment: fixed;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* yazılar okunaklı olsun diye koyu overlay */
}

.about .container {
  position: relative;
  z-index: 2;
}

.about-content {
  max-width: 650px; /* yazılar sola toplanır */
}

.about h2 {
  color: #8ECFFF;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about .btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #8ECFFF;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.about .btn:hover {
  background: #8ECFFF;
  color: #fff;
}

/* Harita Bölümü */
.map-section {
  position: relative;
  padding-top: 0;
  margin-top: 25vh;
}

.map-container {
  position: relative;
  width: 100%;
  height: 450px; /* Haritanın yüksekliğini ayarlayın */
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  z-index: 1;  
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Yarı şeffaf siyah arka plan */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2; /* İframe'in üstünde görünmesi için */
}

.map-link {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: 2px solid #8ECFFF;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.map-link:hover {
  background-color: #8ECFFF;
  color: #fff;
}

/* Footer bölümü genel stilleri */
.footer-section {
  background: url("img/footer.png");
  position: relative;
  color: #fff;
  height: 48vh;
}

/* Tüm bölüm başlıkları */
.section-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Hakkımızda metin bloğu */
.footer-about {
  text-align: left;
}

.footer-about p {
  color: #f2f9ff;
}

.about-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: width 0.3s ease-out;
}

/* Hizmetler listesi */
.footer-service{
  text-align: start;
  padding-left: 120px;
}
.services-list li {
  list-style: none;
  margin-bottom: 8px;
  color: #fff;
  text-align: centers;
  display:flexbox; /* Bu satır en önemli değişikliktir */
  align-items:center; /* İçeriği en üste hizalar */
}

.services-list .list-arrow {
  font-size: 0.8rem;
  margin-right: 10px;
  color: #fff;
  margin-top: 5px; /* Ok simgesini metnin başına hizalar */
}

/* İletişim listesi */
.contact-list li {
  list-style: none;
  margin-bottom: 8px;
  color: #fff;
  display: flex;
  align-items: flex-start; /* İçeriği en üste hizalar */
}

.contact-list i {
  font-size: 1rem;
  color: #fff;
  margin-top: 5px;
  padding-right: 1.5rem; /* İkonu metnin başına hizalar */
}
.fa-map-marker-alt{
  padding-left: 0.12rem;
}
  /* Mobil uyum */
  @media (max-width: 768px) {
    .hero {
      text-align: center;
      height: 80vh;
    }
  
    .hero-text h1 {
      font-size: 2.2rem;
    }
    .about{
      height: 100vh;
    }
    .footer-section{
      height: 95vh;
    }
    .footer-service{
      text-align: left;
      padding-left: 1vh;
    }

    .ust-bilgi{
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    }
  }
  /* Varsayılan olarak tüm animasyonlu nesneler gizli ve yukarıda */
.animated-element {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

/* Görünür hale geldiğindeki durum */
.animated-element.visible {
  opacity: 1;
  transform: translateY(0);
}
  