@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playwrite+TZ+Guides&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playwrite+TZ+Guides&display=swap');



html{
    scroll-behavior: smooth;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body{
    margin: 0;
    padding: 0;
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

img{
    width: 100%;
}

section{
    padding: 100px 0;
    background: #122e44;
}

.section_title{
    margin-bottom: 30px;
}

.section_title h2{
    position: relative;
    text-align: center;
    color: white;
    font-size: 30px;
    transition: all .5s ease-in-out;
}

.section_title h2:hover{
    background-color: #57c9b4;
}

/* HEADER */

header {
  background: rgba(44, 37, 37, 0.6);
  border-bottom: 1px solid rgba(238, 238, 238, 0.801);
  position: fixed;
  width: 100%;
  z-index: 5;
}

.navbar {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 80%;
  padding: 10px 0;
}

.logo {
  flex: 1; /* Logoyu sola yaslar */
}

.nav_links {
  display: flex;
  justify-content: center; /* Menü ortalanır */
  gap: 20px; /* Menü öğeleri arasındaki boşluk */
}

.nav_links li a {
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}

.nav_links li a:hover {
  color: #57c9b4;
}

.social-icons {
  display: flex;
  align-items: center;
  border-left: 1px solid white;
  margin-left: auto; /* İkon grubunu sağa yaslar */
  padding-left: 15px; /* Border ile ikonlar arasındaki boşluğu ayarlar */
  gap: 10px; /* İkonlar arası boşluk */
}

.social-icon {
  padding-left: 8px;
  color: white;
  font-size: 13px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #57c9b4;
}



.logo h2 a{
    color: white;
    text-transform: uppercase;
}
#video {
    margin: 0;
    padding: 0;
    position: relative; /* Konumlandırmayı netleştirir */
}
#video video{
    height: 100vh;
    width: 100%;
    background-position: absolute;
    z-index: 10;
    object-fit: cover;
    display: block; /* Varsayılan boşlukları engeller */
    margin: 0; /* Varsayılan margin sıfırlanır */
    padding: 0;
}

#video .overlay-text h2 {
  color: rgb(233, 131, 48);
  position: absolute;
  top: 70%; /* Yükseklik hizalama */
  left: 5%; /* Soldan uzaklık */
  transform: translateY(-50%); /* Yatay hizalama olmadan dikey hizala */
  font-size: 32px; /* Yazı boyutu */
  font-family: 'Montserrat', sans-serif;
  background-color: rgba(0, 0, 0, 0.5); /* Arka plan */
  padding: 10px;
  border-radius: 5px;
  text-align: left; /* Metni sola hizala */
  width: 60%; /* Metnin genişliğini sınırla */
}

#video .overlay-text p {
  position: absolute;
  top: 80%; /* H2'nin altına hizala */
  left: 5%; /* Soldan uzaklık */
  transform: translateY(-50%); /* Yatay hizalama olmadan dikey hizala */
  color: white; /* Yazı rengi */
  font-size: 18px; /* Yazı boyutu */
  font-family: 'Montserrat', sans-serif;
  background-color: rgba(0, 0, 0, 0.5); /* Arka plan */
  padding: 10px;
  border-radius: 5px;
  text-align: left; /* Metni sola hizala */
  width: 60%; /* Metnin genişliğini sınırla */
  line-height: 1.5; /* Satır yüksekliği */
  word-wrap: break-word; /* Uzun kelimeleri alt satıra geçir */
}




.video-container,
.content-container {
    margin: 0; /* Dış boşluğu sıfırla */
    padding: 0; /* İç boşluğu sıfırla */
}

.logo img {
    height: 60px; /* Logonun yüksekliğini ayarlayın */
    width: auto; /* Oranını koruyarak genişliği ayarlayın */
    object-fit: contain; /* Logonun taşmasını önler */
}


/* ANASAYFA2 */

#haypark-konutlari {
  background-color: #122e44;
  color: white;
  padding: 0;
  margin: 0;
  position: relative;
  height: 600px; /* Yüksekliği sabit bir değere ayarla */
  overflow: hidden;
}

#haypark-konutlari .container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Konteynerin yüksekliğini tam yap */
  display: flex;
  align-items: center;
  justify-content: center;
}

#haypark-konutlari .slider {
  width: 100%;
  height: 100%; /* Slider yüksekliği sabit */
  position: relative;
}

#haypark-konutlari .slider img {
  width: 100%;
  height: 100%; /* Görseli slider alanına sığdır */
  object-fit: cover; /* Görselin kesilmesini sağla, alanı doldur */
}

#haypark-konutlari .buton {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 10;
}

#haypark-konutlari .dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

#haypark-konutlari .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}

#haypark-konutlari .dot.active {
  background: rgba(255, 255, 255, 1);
}



#doguyla-ic-ice {
    background-color:#0c2538;
    color: white;
    padding: 40px 0;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }
  
  #doguyla-ic-ice .container {
    max-width: 1200px; /* Konteyner genişliği */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütun düzeni */
    grid-gap: 30px; /* Sütunlar arası boşluk */
}

#doguyla-ic-ice .box {
    padding: 20px;
    border-radius: 8px; /* Köşeleri yuvarlama */
    text-align: center; /* Metni ortalama */
    max-width: 300px; /* Kutuların genişliği */
    margin: 0 auto; /* Kutuları ortalama */
}

#doguyla-ic-ice h3 {
    font-size: 16px; /* Başlık boyutu */
    margin-bottom: 12px;
    color: #57c9b4;
}

#doguyla-ic-ice p {
    font-size: 14px; /* Paragraf boyutu */
    line-height: 1.4; /* Satır aralığı */
    margin: 0;
}

#doguyla-ic-ice h2 {
  text-align: center; /* Başlığı ortalar */
  font-size: 48px; /* Başlık boyutunu ayarlar */
  margin-bottom: 15px; /* Alt boşluk ekler */
  grid-column: 1 / -1; /* Grid'in tüm genişliğini kaplar */
  font-family: "Kanit", serif;
  font-weight: 250;
  font-style: normal;
}

#doguyla-ic-ice .icon {
  width: 50px; /* Resim genişliği */
  height: 50px; /* Resim yüksekliği */
  margin-bottom: 15px; /* Metinle arasındaki boşluk */
}

.doguyla-ic-ice-yasam,
.ozel-mimarisi,
.yasam-alanlari,
.kaliteli-yasam {
    background-color: #0c2538;
    padding: 32px;
    border-radius: 8px;
  }

  #contact {
    background-color: #0c2538; /* Arka plan rengi */
    color: white; /* Yazı rengi */
    padding: 40px 0; /* Üst ve alt boşluk */
    display: flex; /* Esnek düzen */
    justify-content: center; /* İçeriği ortala */
    align-items: center; /* Dikey hizalama */
}

#contact .navbar {
    max-width: 1200px; /* İçeriğin genişliği */
    margin: 0 auto; /* Ortaya hizalama */
    display: flex; /* Esnek düzen */
    justify-content: space-between; /* Sağ ve sol elemanların ayrılması */
    align-items: center; /* Dikey hizalama */
    gap: 20px; /* Elemanlar arası boşluk */
}

#contact .logo img {
    width: auto; /* Genişlik otomatik ayarlanır */
    height: 120px; /* Yükseklik artırıldı */
}

#contact .contact-info {
    text-align: left; /* Sol hizalama */
    display: flex; /* Esnek düzen */
    flex-direction: column; /* Elemanları dikey hizala */
    gap: 10px; /* Elemanlar arasına boşluk */
}

#contact .contact-info a, #contact .contact-info p {
    color: white; /* Yazı rengi */
    text-decoration: none; /* Alt çizgiyi kaldır */
    font-size: 16px; /* Yazı boyutu */
    display: flex; /* İkon ve metni yan yana hizala */
    align-items: center; /* Dikey hizalama */
    gap: 10px; /* İkon ile metin arasına boşluk */
}

#contact .contact-info i {
    font-size: 18px; /* İkon boyutu */
    margin-right: 8px; /* İkon ve metin arası boşluk */
}

  

footer {
    background-color: #122e44;
    color: white;
    padding: 20px 0;
  }
  
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
.footer-left p,
.footer-right p {
    font-size: 14px;
  }

  /* kurumsal */
  #kurumsal {
    margin: 0;
    padding: 0;
    position: relative; /* Konumlandırmayı netleştirir */
}
#kurumsal img{
    width: 100%;
    z-index: 10;
    object-fit: cover;
    display: block; /* Varsayılan boşlukları engeller */
    margin: 0; /* Varsayılan margin sıfırlanır */
    padding: 0;
}

.video-container,
.content-container {
    margin: 0; /* Dış boşluğu sıfırla */
    padding: 0; /* İç boşluğu sıfırla */
}

/* projelerimiz */

#projelerimiz {
    margin: 0;
    padding: 0;
    position: relative; /* Konumlandırmayı netleştirir */
}
#projelerimiz img{
    width: 100%;
    z-index: 10;
    object-fit: cover;
    display: block; /* Varsayılan boşlukları engeller */
    margin: 0; /* Varsayılan margin sıfırlanır */
    padding: 0;
}

/* iletisim */

#iletisim {
    margin: 0;
    padding: 0;
    position: relative; /* Konumlandırmayı netleştirir */
}
#iletisim img{
    width: 100%;
    z-index: 10;
    object-fit: cover;
    display: block; /* Varsayılan boşlukları engeller */
    margin: 0; /* Varsayılan margin sıfırlanır */
    padding: 0;
}

#bizeulas {
    background-color: #122e44;
    color: white;
    padding: 80px 0;
  }
  
#bizeulas .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
  }
  
#bizeulas h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
  }
  
#bizeulas h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #57c9b4;
  }
  
#bizeulas p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
  }

/*kurumsal */

#hakkimizda {
    background-color: #122e44; /* Arka plan rengi */
    color: white; /* Yazı rengi */
    padding: 30px 10px; /* Yukarı ve aşağı boşluk, sağ-sol için boşluk azaltıldı */
}

#hakkimizda .container {
    max-width: 1000px; /* Konteyner genişliği azaltıldı */
    margin: 0 auto; /* Ortalamak için */
    display: flex; /* Eleman düzeni için flex kullanıldı */
    flex-direction: column; /* Elemanları dikey hizala */
    align-items: center; /* İçeriği ortala */
}

#hakkimizda h2 {
    text-align: center; /* Başlığı ortala */
    font-size: 32px; /* Yazı boyutu */
    margin-bottom: 30px; /* Alt boşluk */
}

#hakkimizda h3 {
    font-size: 24px; /* Başlık boyutu */
    margin-bottom: 16px; /* Alt boşluk */
    color: #57c9b4; /* Farklı bir vurgu rengi */
}

#hakkimizda p {
    font-size: 18px; /* Yazı boyutu */
    line-height: 1.8; /* Satır yüksekliği */
    text-align: justify; /* Yazıyı her iki tarafa yasla */
    max-width: 900px; /* Yazının genişliği biraz azaltıldı */
    margin: 0 auto; /* Ortala */
}

.kutu {
  background-color: #183d5a; /* Kutu arka planı */
  border-radius: 12px; /* Köşeleri yumuşat */
  padding: 30px;
  margin: 20px 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Hafif gölge */
}

.kutu:hover {
  background-color: #255b80; /* Üzerine gelince renk değişimi */
  transform: scale(1.02); /* Hafif büyüme efekti */
}



#projeler .container {
    max-width: 1000px; /* Konteyner genişliği azaltıldı */
    margin: 0 auto; /* Ortalamak için */
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    align-items: center;
  }
  
  #projeler  .card {
    flex: 1 1 calc(25% - 20px); /* Eni %25 olarak ayarlanır (4 tane yan yana) */
    max-width: calc(25% - 20px); /* Maksimum genişlik aynı tutulur */
    box-sizing: border-box; /* Padding ve border genişliğe dahil edilir */
    text-align: center; /* İçerik ortalanır */
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  #projeler .card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  }
  
  #projeler  .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  #projeler  .card-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
  }

#projeler .projelertext h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: white;
}

#haypark-konutlari .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
  width: 800px;
  height: 500px;
  position: relative;
  margin: auto;
}

.slider img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
}

.buton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.buton i {
  display: flex; /* İçeriği esnek bir düzenle hizala */
  align-items: center; /* Dikeyde ortala */
  justify-content: center; /* Yatayda ortala */
  width: 50px; /* Butonun genişliği */
  height: 50px; /* Butonun yüksekliği */
  background-color: rgba(0, 0, 0, 0.5); /* Arka plan rengi */
  color: white; /* İkon rengi */
  border-radius: 5px; /* Köşeleri yuvarlak yapmak için */
  cursor: pointer; /* El işareti göstermek için */
}

.buton i:hover {
  color: gray; /* Hover durumunda ikon rengi */
  background-color: rgba(0, 0, 0, 0.5) /* Hover durumunda arka plan rengi */
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.dots .dot {
  width: 25px !important;
  height: 25px !important;
  margin: 0 10px !important;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dots .dot.active {
  background-color: #57c9b4;
}
#bizeulas .message-form {
  width: 75%;
  margin-left: 75px;
}

#bizeulas .message-form .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}

.input-box input,
.input-box textarea{
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: white;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}

.message-box{
  min-height: 110px;

}

.input-box textarea{
  padding-top: 6px;

}

.message-form .button {
  display: inline-block;
  margin-top: 12px;
}

.button input{
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button input:hover{
  background: #57c9b4;

}

/* PROJELER */

#omerli .container {
  max-width: 1000px; /* Konteyner genişliği azaltıldı */
  margin: 0 auto; /* Ortalamak için */
  flex-wrap: wrap;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  align-items: center;
}

#omerli  .card {
  flex: 1 1 calc(25% - 20px); /* Eni %25 olarak ayarlanır (4 tane yan yana) */
  max-width: calc(25% - 20px); /* Maksimum genişlik aynı tutulur */
  box-sizing: border-box; /* Padding ve border genişliğe dahil edilir */
  text-align: center; /* İçerik ortalanır */
  width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#omerli .card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

#omerli  .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#omerli  .card-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 18px;
}

#omerli .projelertext h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  color: white;
}

#omerli .modal {
  
  align-items: center; /* Dikey olarak ortalar */
  justify-content: center; /* Yatay olarak ortalar */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Arka plan siyah ve yarı saydam */
  text-align: center;
  padding-top: 40px; /* Yukarıdan hafif bir boşluk */
}

#omerli .modal-content {
  margin: auto;
  display: block;
  max-width: 80%; /* Resmin genişliği ekranın %80'ini geçmesin */
  max-height: 80%; /* Resmin yüksekliği ekranın %80'ini geçmesin */
  width: auto; /* Genişliği içerikle uyumlu olacak şekilde otomatik ayarla */
  height: auto; /* Yüksekliği içerikle uyumlu olacak şekilde otomatik ayarla */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Hafif gölge */
  transition: transform 1s; /* Büyüme animasyonu */
}

#omerli .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#omerli .prev,
#omerli .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  user-select: none;
  z-index: 1001;
}

#omerli .prev {
  left: 10px; /* Sol ok */
}

#omerli .next {
  right: 10px; /* Sağ ok */
}

#omerli .prev:hover,
#omerli .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#imageModal {
  display: none ; /* Modal başlangıçta gizli */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Arka plan siyah ve yarı saydam */
  text-align: center;
}









@media (max-width: 768px) {
  #doguyla-ic-ice .container {
      grid-template-columns: repeat(2, 1fr); /* Mobilde 2 sütun */
  }
}

@media (max-width: 480px) {
  #doguyla-ic-ice .container {
      grid-template-columns: 1fr; /* Küçük ekranlarda 1 sütun */
  }
}