/* CSS FILE: styles.css */
body {
    margin: 40px;
   
    color: #2f426a;
    background-color: #ffffff;
    font-family:initial;

}
/* Animasyon için başlangıç durumu */
/* Sağdan sola kayan animasyon başlangıç durumu */
.animate-right {
    opacity: 0;
    transform: translateX(100px); /* Sağdan sola gelir */
    transition: all 1s ease-out;
}

/* Soldan sağa kayan animasyon başlangıç durumu */
.animate-left {
    opacity: 0;
    transform: translateX(-100px); /* Soldan sağa gelir */
    transition: all 1s ease-out;
}

/* Görünür olduğunda animasyon aktif olur */
.animate-active {
    opacity: 1;
    transform: translateX(0); /* Normal pozisyona gelir */
}


/* Animasyon tetiklendiğinde görünen durum */
.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
}

.logo img {
    height: 60px;
}

.social-menu-container {
    display: flex;
    align-items: center;
}

.social-media-icons {
    margin-right: 20px;
}

.social-media-icons a {
    margin-right: 15px;
    display: inline-block;
}

.social-media-icons img {
    height: 25px;
    width: 25px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.social-media-icons a:hover img {
    filter: grayscale(0%);
}

.menu {
    color: #000000;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.menu-icon {
    font-size: 1.5em;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2f426a;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    list-style: none;
    padding: 10px;
    margin: 0;
    z-index: 10;
}

.dropdown-menu li {
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5; /* İnce çizgi ekleme */

}
.dropdown-menu li:last-child {
    border-bottom: none; /* Son öğede çizgi olmasın */
}

.dropdown-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #f0c040;
}

.menu:hover .dropdown-menu {
    display: block;
}
.submenu {
    display: none;
    position: absolute;
    right: 100%; /* Sol tarafta açılmasını sağlamak için kullanıldı */
    top: 0;
    background-color: #2f426a;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    list-style: none;
    padding: 10px;
    margin: 0;
    z-index: 10;
    width: 200px; /* Alt menünün genişliğini artırdık */
}

.dropdown-item:hover .submenu {
    display: block;
}
.submenu li {
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5; /* Alt menü öğelerine ince çizgi ekleme */
}
.submenu li:last-child {
    border-bottom: none; /* Alt menünün son öğesinde çizgi olmasın */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #2f426a;
    border-radius: 15px;
    color: #ffffff;
}

.single-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 10px; /* Boşluk azaltıldı */
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f0c040;
}

.scroll-down {
    display: flex;
    align-items: center;
}

.scroll-link {
    margin-right: 10px;
    font-size: 1.1em;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.scroll-link:hover {
    color: #f0c040;
}

.mouse-icon {
    margin-right: 40px;
    height: 60px;
    width: 60px;
}
/* Mobil ve Tablet cihazlar için medya sorguları */
@media screen and (max-width: 768px) {
    /* Header ve Top Container */
    .top-container {
        display: flex;
        justify-content: space-between; /* Logo sola, ikonlar sağa */
        align-items: center;
        flex-direction: row; /* Yatay düzen */
    }
    .logo {
        margin-right: 0; /* Ekstra boşluk bırakmasın */
    }

    .logo img {
        height: 50px;
    }

    .social-menu-container {
        margin-top: 2%;
        display: flex;
        align-items: center;
        margin-left: auto; /* Sağ tarafa yaslar */
    }

    .social-media-icons {
        margin-bottom: 10px;
    }

    .social-media-icons a {
        margin: 5px;
    }

    /* Menü için */
    .menu {
        margin-top: -20px;
    }

    .dropdown-menu {
        width: 100%; /* Mobilde genişliği tam ekran yap */
        font-size: 0.85em;
        padding: 10px;
        text-align: left;
    }

    .menu:hover .dropdown-menu {
        display: block;
    }

    .submenu {
        width: 100%; /* Alt menü genişliği */
        padding: 5px;
    }

    .dropdown-item:hover .submenu {
        display: block;
    }

    .scroll-down {
        display: none; /* "Kaydır" yazısı ve ikonunu gizle */
    }

    /* Nav Links */
    .nav-links {
        display: flex; /* Menü elemanlarını yatay sırala */
        justify-content: center; /* Yatayda ortala */
        align-items: center; /* Dikeyde hizala */
        gap: 10px; /* Öğeler arası boşluk */
        padding: 0; /* Varsayılan padding'i sıfırla */
        list-style: none; /* Liste simgelerini kaldır */
    }


    .nav-links li {
        display: inline-block; /* Öğeler yan yana sıralansın */
        margin: 0;
    }
    .nav-links span {
        color: #ffffff; /* '>' sembolünün rengi */
        font-size: 0.9em;
    }

    .nav-links a {
        text-decoration: none; /* Alt çizgiyi kaldır */
        color: #ffffff; /* Menü bağlantı rengi */
        font-size: 0.9em; /* Yazı boyutunu küçült */
    }

    /* Genel Header */
    header {
        flex-direction: column;
        padding: 10px;
    }
    .single-nav {
        flex-direction: column; /* Menü mobilde dikeyden yataya geçmesin */
        align-items: center; /* Ortalar */
        text-align: center;
    }
}


.about-section {
    display: flex;
    flex-wrap: wrap; /* Mobil ve tablet uyumu için elemanları sar */
    gap: 20px;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Ortalamak için */
}

.left-content {
    flex: 1;
    max-width: 400px; /* Resim genişliğini kontrol eder */
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Yuvarlak köşeler */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.right-content {
    flex: 2;
    font-family: "Quicksand", sans-serif;
    color: #2f426a;
    line-height: 1.6;
}

.right-content h1 {
    font-size: 36px;
    margin-bottom: 5px;
}

.right-content h3 {
    font-size: 27px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.right-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.signature {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

/* Mobil ve Tablet İçin Uyumluluk */
@media (max-width: 1024px) {
    .about-section {
        flex-direction: column; /* Elemanları alt alta getir */
        align-items: center; /* Ortala */
        text-align: center; /* Metni ortaya hizala */
    }

    .left-content {
        max-width: 300px; /* Mobilde resim genişliğini küçült */
        margin-bottom: 20px; /* Altına boşluk bırak */
    }

    .right-content {
        text-align: left; /* Metni sola hizala (isteğe bağlı) */
        width: 90%; /* Yazının genişliğini daralt */
    }

    .right-content h1 {
        font-size: 28px;
    }

    .right-content h3 {
        font-size: 20px;
    }

    .right-content p {
        font-size: 16px;
    }

    .signature {
        font-size: 16px;
        text-align: center; /* İmza mobilde ortaya gelsin */
    }
}






/* Ana Başlangıç Bölümü Başlık */
.main-title {
    text-align: center;
    padding: 20px;
    margin-top: 5%;
    font-size: 1.6em;
    font-weight: bold;
    color: #2f426a;
}

/* İçerik Kapsayıcı */
.content-container {
    display: flex;
    padding: 40px;
    align-items: flex-start;
    gap: 20px; /* Elemanlar arasındaki boşluk */
}

/* Dikey Başlık */
.side-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 3em;
    color: #2f426a;
    padding-right: 20px;
    letter-spacing: 5px;
}

/* Ana İçerik Bölmesi */
.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Metin Bölmesi */
.text-section {
    flex: 1;
    padding-right: 20px;
    margin-top: 10%;
}

.text-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.text-section p {
    color: #2f426a;
    width: 85%;
    font-family: "Quicksand", serif;
    font-size: 29px;
}

/* Görsel Bölmesi */
.image-section {
    flex: 1;
}

.image-section img {
    max-width: 100%;
    height: auto;
}

/* Alt Görsel Kapsayıcı */
.bottom-image-container {
    text-align: center;
    margin-top: -150px;
    padding: 20px;
}

.bottom-image-container img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20;
}

/* Tablet ve Mobil Düzen */
@media (max-width: 1024px) {
    .side-title {
        display: none; /* Mobil ve tablette gizle */
    }
    .content-container {
        flex-direction: column; /* İçerikleri alt alta hizala */
        align-items: center; /* İçerikleri ortala */
        padding: 20px;
    }

    .side-title {
        writing-mode: horizontal-tb; /* Dikey yazıyı yatay hale getir */
        text-align: center; /* Metni ortala */
        font-size: 2em; /* Yazı boyutunu küçült */
        margin-bottom: 20px;
    }

    .main-content {
        flex-direction: column; /* Görsel ve metni alt alta hizala */
        align-items: center; /* İçerikleri ortala */
    }

    .text-section {
        margin-top: 0; /* Üstten boşluğu kaldır */
        text-align: center; /* Mobil ve tablette metni ortala */
        width: 100%; /* Tam genişlik */
    }

    .text-section h2 {
        font-size: 1.8em; /* Başlık boyutunu küçült */
    }

    .text-section p {
        font-size: 26px; /* Metin boyutunu küçült */
        width: 95%; /* Metni daha dar yap */
        text-align: left;
     
    }

    .image-section {
        margin-top: 20px; /* Görsel ile metin arasına boşluk */
        width: 100%; /* Tam genişlik */
        text-align: center;
    }

    .image-section img {
        max-width: 90%; /* Görsel genişliğini küçült */
        height: auto;
    }
}

/* Mobil Cihazlar (767px ve altı) */
@media (max-width: 767px) {
    .side-title {
        display: none; /* Mobil ve tablette gizle */
    }
    .main-title {
        font-size: 0.8em; /* Başlık boyutunu küçült */
    }

    .side-title {
        font-size: 1.5em; /* Yan başlık boyutunu küçült */
    }

    .text-section p {
        margin-left: 2%;
        font-size: 22px; /* Daha küçük metin boyutu */
    }

    .image-section img {
        max-width: 100%; /* Mobilde görsel tam genişlikte */
    }
}












/* Ana İçerik Düzeni Stil */
.content-layout {
   
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10%; /* Genel olarak daha fazla kenar boşluğu bırakmak */
   
    padding: 20px; /* İçeriklerin çevresine boşluk ekleme */
}

/* Soldaki Büyük Görsel */
.left-image {
    width: 100%;
    padding: 10px; /* Sol büyük görselin çevresine boşluk ekleme */
}

.left-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Ortada Sağ Yana Uzanan Metin Kutusu */
.middle-text-box {
    background-color: #e0ebeb; /* Açık renk arka plan */
    padding: 20px;
    height: 70%;
    width: 70%; /* Kutunun genişliği */
    margin-top: -34%; /* Görselin ortasına gelecek şekilde yukarı kaydırma (daha hassas ayarlandı) */
    margin-left: 28.9%; /* Kutunun sağa doğru başlaması için sola boşluk ekler */
    position: relative;
    border-radius: 15px; /* Kenarları daha fazla yuvarlatma */
}

.middle-text-box p {
    margin-left: 2%;
    font-family: "Quicksand", serif;
    width: 96%;
    font-size: 26px;
}

/* Alt Kısım: Uzun İnce Kutu ve Yanında Küçük Görsel */
.bottom-section {
    display: flex;
    width: 100%;
    justify-content: flex-end; /* Sağ tarafa hizalama */
   
    padding-right: 20px; /* Sağ kenardan boşluk bırakma */
}

/* Uzun ve İnce Dikey Kutu */
.long-thin-bar {
    background-color: #9aafbe; /* Arka plan rengi */
    width: 80px; /* Kutu genişliği (ince olacak şekilde biraz daraltıldı) */
    height: 750px; /* Kutu yüksekliği (biraz daha uygun hale getirildi) */
    border-radius: 5px;
    margin-right: -1.5%; /* Sağdaki görsel ile kutu arasında boşluk bırakma */
    margin-top: -10%; /* Konumlandırmayı üstteki kutu ile hizalama */
    border: 1.9px solid rgb(0, 0, 0);
    padding: 5px; /* Kutunun içinde küçük bir boşluk bırakma */
}

/* Sağdaki Küçük Görsel */
.right-image {
    flex-basis: 30%; /* Sağdaki küçük görselin genişliği */
    margin-top: 0%;
}

.right-image img {
    max-width: 100%;
    height: auto;
    margin-top: 20%;
    border-radius: 10px; /* Görsel kenarlarının yuvarlatılması */
}
/* Tablet ve Mobil için Stil */
@media (max-width: 1024px) {
    .content-layout {
        display: flex;
        flex-direction: column; /* Tüm içerikleri alt alta sıralar */
        align-items: center; /* İçerikleri merkeze hizalar */
        margin: 20px; /* Kenar boşluklarını küçültür */
        padding: 10px;
    }

    .left-image {
        width: 100%; /* Görsel tam genişlikte olur */
        padding: 10px;
    }

    .middle-text-box {
        width: 90%; /* Metin kutusu tam genişliğe yakın olur */
        margin: 20px 0; /* Kutunun üst ve alt boşluğunu artırır */
        margin-left: 0; /* Sol boşluğu sıfırlar */
        position: static; /* Sabit konumlandırmayı kaldırır */
        height: auto; /* Yüksekliği otomatik yapar */
    }

    .middle-text-box p {
        font-size: 20px; /* Daha küçük yazı boyutu */
    }

    .bottom-section {
        flex-direction: column; /* Alt kısmı alt alta sıralar */
        justify-content: center; /* Elemanları ortalar */
        align-items: center; /* Elemanları ortalar */
        width: 100%;
        padding-right: 0; /* Sağ kenar boşluğunu kaldırır */
    }

    .long-thin-bar {
        display: none;

    }

    .right-image {
        flex-basis: 100%; /* Görsel tam genişlikte olur */
        margin-top: 20px;
        text-align: center; /* Ortalar */
    }

    .right-image img {
        max-width: 90%; /* Görsel genişliğini daralt */
        height: auto;
    }
}

@media (max-width: 767px) {
    .middle-text-box p {
        font-size: 18px; /* Mobilde daha küçük yazı */
    }

    .long-thin-bar {
        display: none;
    }

    .right-image img {
        max-width: 100%; /* Mobilde tam genişlikte görsel */
    }
}

/* Bitiş */








/* Tünel Bölümü Genel Düzeni */
.tunnel-section {
    margin: 60px;
    padding: 20px;
}
.tunnel-section h2 {
    color: #1c0a67;
    margin-bottom: 7%;
    font-size: 40px;
    font-family: "Quicksand", serif;
    text-align: left;
    margin-left: 19%;
    margin-top: -5%;
}

/* Üst Kısım: Görseller ve Metin Yan Yana */
.tunnel-upper-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

/* Sol Kısım: Alt Alta Görseller */
.tunnel-images-column {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 45%; /* Sol kısım genişliği (görsellerin yer aldığı kısım) */
}

/* Yatay Uzun Kutu (Üstteki İlk Görselin Arkasında) */
.tunnel-horizontal-box {
    position: absolute;
    top: -10%; /* Görselin üst kısmına hizalanır */
    left: 113%; /* Soldan %50 uzaklık */
    transform: translateX(-50%); /* Kendi genişliğinin yarısı kadar sola kaydırarak ortalar */
    width: 1400px; /* Genişlik */
    height: 350px; /* Yükseklik */
    background-color: rgba(224, 235, 235, 0.9); /* Hafif saydam arka plan */
    text-align: center;
    border-radius: 10px; /* Kenarları yuvarlatmak için */
    z-index: -1; /* Bu kutuyu diğer tüm elemanların arkasına gönderir */
}

/* Alt Alta Görseller */
.tunnel-image-top img,
.tunnel-image-bottom img {
    width: 60%; /* Görsellerin, kendi kapsayıcısının tamamını kaplaması */
    height: auto;
    
    margin-left: 42.4%;
}

/* Sağ Kısım: Metin Kutusu */
.tunnel-side-text {
    color: black;
    margin-left: 3%;
    margin-top: -2.8%;
    width: 30%;
    font-size: 35px;
    font-family: "Quicksand", serif;
    line-height: 1.2;
    margin-bottom: -21%;
}
/* Laptop ve Büyük Ekranlar */
@media (min-width: 1025px) {
    .tunnel-section {
        margin: 60px;
        padding: 20px;
    }

    .tunnel-upper-content {
        display: flex;
        flex-direction: row; /* Yan yana düzen */
        gap: 20px; /* Görsel ve metin arasındaki boşluk */
        align-items: flex-start; /* Elemanları üst hizala */
        justify-content: space-between; /* İçerik arasındaki boşluğu eşit dağıt */
    }

    .tunnel-images-column {
        width: 45%; /* Görsellerin alanı */
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .tunnel-image-top img,
    .tunnel-image-bottom img {
        width: 100%; /* Görseller tam genişlikte */
        height: auto;
        margin-left: 0; /* Ortalamayı kaldır */
    }

    .tunnel-horizontal-box {
        position: absolute;
        top: 10%; /* Daha yukarı hizala */
        left: 0; /* Sol hizadan başlat */
        transform: none; /* Taşmayı kaldır */
        width: 100%; /* Kutu genişliğini tam yap */
        height: 300px; /* Yüksekliği düzenle */
    }

    .tunnel-side-text {
        color: black;
       margin-right: 16%;
        margin-top: -1%;
        width: 30%;
        font-size: 38px;
        font-family: "Quicksand", serif;
        line-height: 1.2;
        margin-bottom: 5%;
      
    }
}

/* Tablet ve Mobil Düzen */
@media (max-width: 1024px) {
    .tunnel-section {
        margin: 20px;
        padding: 10px;
    }

    .tunnel-upper-content {
        flex-direction: column; /* İçerikleri alt alta hizala */
        align-items: center;
        gap: 20px;
    }

    .tunnel-images-column {
        width: 100%; /* Görseller tam genişlikte */
    }

    .tunnel-image-top img,
    .tunnel-image-bottom img {
        width: 90%; /* Görseller genişliği %90 yap */
        height: auto;
        margin-left: 0%;
    }

    .tunnel-horizontal-box {
        display: none; /* Yatay kutuyu gizle */
    }

    .tunnel-side-text {
        width: 100%; /* Metin kutusu tam genişlikte */
        font-size: 20px; /* Yazı boyutunu küçült */
        text-align: center; /* Yazıyı ortala */
        margin-bottom: 5%;
    }
}

/* Mobil Cihazlar */
@media (max-width: 767px) {
    .tunnel-section h2 {
        font-size: 25px; /* Daha küçük başlık */
    }

    .tunnel-side-text {
        font-size: 18px; /* Daha küçük metin boyutu */
    }

    .tunnel-image-top img,
    .tunnel-image-bottom img {
        width: 100%; /* Mobilde tam genişlikte */
    }
}

/* Bitiş*/





/* Ortada Görsel Konteyneri */
.center-image-container {
    display: flex;
    margin-top: 10%;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Konteynerin yüksekliğini ekranın tamamı kadar yapar */
    margin-bottom: 10%;
}

/* Ortadaki Görsel */
.center-image-container img {
    max-width: 100%; /* Görsel genişliğini %80 ile sınırla */
    height: auto;
    border-radius: 10px; /* Köşeleri biraz yuvarlatmak için */
}












/* Sağdan veya Soldan Gelen Animasyonlar İçin Başlangıç Durumu */
.scroll-effect {
    opacity: 0; /* Başlangıçta görünmez */
    transition: all 1s ease-out; /* Geçiş süresi ve tipi */
}

.scroll-left {
    transform: translateX(-100px); /* Soldan sağa gelir */
}

.scroll-right {
    transform: translateX(100px); /* Sağdan sola gelir */
}

/* Görünür Olacak Durum */
.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}



.fade-in-effect {
    opacity: 0; /* Başlangıçta tamamen saydam */
    transition: opacity 1.5s ease-in-out; /* Opaklığa geçiş süresi ve tipi */
}

/* Görünür Olacak Durum */
.fade-in-visible {
    opacity: 1; /* Net (opak) görünür */
}








footer {
    background-color: #2f426a;
    color: #ffffff;
    padding: 40px 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-section h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 1em;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin-right: 10px;
    display: inline-block;
}

.social-icons img {
    height: 30px;
    width: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.footer-section input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.footer-section button {
    padding: 10px;
    background-color: #f0c040;
    color: #2f426a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.footer-section button:hover {
    background-color: #e5b732;
}
