/* CSS FILE: styles.css */
body {
    margin: 40px;
    overflow-x: hidden; /* Yatay kaydırmayı devre dışı bırakır */

    color: #2f426a;
    background-color: #ffffff;
    font-family:initial;

}
@media (max-width: 1024px) {
    html, body {
        overflow-x: hidden; /* Mobilde yatay kaymayı engeller */
    }
}
/* 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;
}

.nav-links li {
    margin: 0;
}

.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 {
        flex-direction: column;
        text-align: center;
        margin-left: -5%;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 1em;
    }

    /* Genel Header */
    header {
        flex-direction: column;
        padding: 10px;
    }
}


/* başlangıç */
nav button {
    margin: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

/* Genel ayarlar */
.about,
.urban-transformation {
    display: flex;
    padding: 50px;
    align-items: center;
    flex-wrap: wrap;
}

/* Görsel stiller */
.about-image,
.urban-image {
    flex: 1;
    padding-right: 20px;
}

.about-image img,
.urban-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Metin stilleri */
.about-text,
.urban-text {
    flex: 2;
}

.about-text h2,
.about-text p,
.urban-text p {
    color: #2f426a;
    font-family: "Quicksand", serif;
    text-align: left;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 480;
}

.about-text p,
.urban-text p {
    font-size: 29px;
}

/* RESPONSIVE AYARLAR */
@media (max-width: 1024px) {
    .about,
    .urban-transformation {
        flex-direction: column; /* Öğeleri dikey hizalar */
        padding: 20px; /* Daha küçük bir padding */
    }

    .about-image,
    .urban-image {
        padding-right: 0; /* Sağ padding'i kaldır */
        margin-bottom: 20px; /* Görseller arasına boşluk bırak */
    }

    .about-text h2 {
        font-size: 32px; /* Küçük ekranlarda başlık boyutu */
    }

    .about-text p,
    .urban-text p {
        font-size: 20px; /* Küçük ekranlarda metin boyutu */
    }
}








/* Genel Stiller */
/* Genel Stiller */
.new-urban-section {
    padding: 30px;
    margin-bottom: 20px;
}

.new-urban-text {
    text-align: center;
    margin-bottom: 20px;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.new-urban-text h2 {
    color: #2f426a;
    font-family: "Quicksand", sans-serif;
    font-size: 45px;
    font-weight: 480;
}

.new-urban-text p {
    color: #2f426a;
    font-family: "Quicksand", serif;
    font-size: 24px;
    line-height: 1.5;
}

/* Masaüstü Galeri */
.desktop-gallery {
    display: flex;
    gap: 20px;
    justify-content: center; /* Resimleri yatay olarak ortalar */
    align-items: center; /* Resimleri dikey olarak ortalar */
    flex-wrap: wrap; /* Gerekirse satırları kır */
}

.left-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center; /* Sol alandaki resimleri dikey ortalar */
    align-items: center; /* Sol alandaki resimleri yatay ortalar */
}

.top-row,
.bottom-row {
    display: flex;
    gap: 20px;
    justify-content: center; /* Resimleri satır içinde ortalar */
}

.desktop-gallery img {
    width: calc(50% - 10px);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.desktop-gallery img:hover {
    transform: scale(1.05);
}

/* Sağdaki Büyük Resim */
.right-image {
    display: flex;
    justify-content: center; /* Büyük resmi yatay ortalar */
    align-items: center; /* Büyük resmi dikey ortalar */
}
.right-image img {
    height: calc(100% - 20px);
    width: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.right-image img:hover {
    transform: scale(1.05);
}

/* Mobil ve Tablet Slayt */
.mobile-carousel {
    display: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: auto;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-images img {
    width: 100%; /* Resmi container'a tam sığdır */
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Tablet ve Mobil Ayarları */
@media (max-width: 1024px) {
    .new-urban-text {
        text-align: left; /* Yazıları sola hizalar */
        max-width: 100%;
        
    }
    .desktop-gallery {
        display: none;
    }

    .mobile-carousel {
        display: block;
    }

    .new-urban-text h2 {
        font-size: 35px; /* Tablet ve mobil için başlık boyutunu küçült */
    }

    .new-urban-text p {
        font-size: 18px; /* Tablet ve mobil için metin boyutunu küçült */
    }
}

@media (max-width: 767px) {
    .new-urban-text {
        text-align: left; /* Yazıları sola hizalar */
        max-width: 1500px;
        margin-left: -5%;
        
        
    }
    .new-urban-text h2 {
        font-size: 30px; /* Mobilde daha küçük başlık */
    }

    .new-urban-text p {
        font-size: 20px; /* Mobilde daha küçük metin */
    }
}


@media (min-width: 1025px) {
    .mobile-carousel {
        display: none; /* Masaüstünde gizle */
    }
}
@media (max-width: 1024px) {
    .mobile-carousel {
        display: block; /* Mobil ve tablet görünümünde göster */
    }
}






/* Projeler Kartları Stilleri */
.projects-section {
    display: flex;
    gap: 20px;
    margin-top: 7%;
    justify-content: center; /* Kartların yatayda ortalanması */
    flex-wrap: wrap; /* Alt alta dizilme için sarma */
}

.project-card {
    display: block;
    width: 45%; /* Varsayılan genişlik */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff; /* Arka plan beyaz olacak */
    position: relative; /* Ok işareti için */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Karttaki Görseller için Stil */
.card-image img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

/* Kartın İçeriği için Stil */
.card-content {
    padding: 20px;
    color: #2f426a;
}

.card-content h3 {
    font-family: "Quicksand", sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #2f426a;
}

.card-content p {
    font-family: "Quicksand", serif;
    font-size: 18px;
    color: #555555;
}

/* Sağ Alt Köşede Ok İşareti */
.arrow-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
    color: #2f426a;
    transition: color 0.3s ease;
}

.project-card:hover .arrow-icon {
    color: #f0c040;
}

/* Tablet ve Mobil için Stil */
@media (max-width: 1024px) {
    .projects-section {
        flex-direction: column; /* Kartları alt alta diz */
        align-items: center; /* Kartları ortalar */
    }

    .project-card {
        width: 90%; /* Tablet ve mobilde daha dar genişlik */
        margin-bottom: 20px; /* Alt alta boşluk bırakır */
    }

    .card-content h3 {
        font-size: 20px; /* Daha küçük başlık */
    }

    .card-content p {
        font-size: 16px; /* Daha küçük metin */
    }
}

@media (max-width: 767px) {
    .projects-section {
        padding: 10px; /* Mobilde daha dar kenar boşluğu */
    }

    .project-card {
        width: 95%; /* Mobilde tam genişliğe yakın */
    }

    .card-content h3 {
        font-size: 18px; /* Daha küçük başlık */
    }

    .card-content p {
        font-size: 14px; /* Daha küçük metin */
    }
}




/* Gelecek Hedefleri Bölümü Stili */
.future-goals-section {
    padding: 50px 85px;
    margin-top: 50px;
}

.goals-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center; /* Elemanları yatayda ortala */
    flex-wrap: wrap; /* Dar ekranlarda taşmayı önler */
}

.goals-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.goals-text {
    max-width: 1150px;
    text-align: left;
}

.goals-text h2 {
    color: #2f426a;
        font-family:initial;

    margin-left: 10%;
    font-family: "Quicksand", sans-serif;
    font-size: 40px;
    font-weight: 480;
}

.goals-text p {
    color: #2f426a;
   margin-left: 10%;
    font-family: "Quicksand", serif;
    font-size: 30px;
    text-indent: 30px;
}

/* Misyon ve Vizyon Tek Kart Stili */
.goals-card {
    
    padding: 30px;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 70%;
    margin: 0 auto; /* Ortalamak için */
    margin-top: 2%;
}

.mission-vision {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap; /* Ekran daraldığında misyon ve vizyon alt alta gelsin */
}

.mission, .vision {
    flex: 1;
    min-width: 300px; /* Küçük ekranlarda üst üste gelmesi için minimum genişlik */
}

.mission h3, .vision h3 {
    color: #2f426a;
    font-family: "Quicksand", sans-serif;
    margin-bottom: 15px;
    font-size: 24px;
    text-align: left;
}

.mission p, .vision p {
    color: #555555;
    font-family: "Quicksand", serif;
    font-size: 16px;
    line-height: 1.6;
}

.goals-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Tablet ve Mobil için Stil */
@media (max-width: 1024px) {
    .future-goals-section {
        padding: 30px 20px; /* Kenar boşluklarını daralt */
    }

    .goals-content {
        flex-direction: column; /* Görsel ve metin alt alta gelsin */
        align-items: center; /* Merkeze hizala */
        gap: 20px;
    }

    .goals-text {
        text-align: center; /* Mobil ve tablette metni ortala */
        max-width: 100%; /* Tam genişlik */
    }

    .goals-text h2 {
        font-size: 32px; /* Başlık boyutunu küçült */
        margin-left: 0%;
    }

    .goals-text p {
        font-size: 18px; /* Metin boyutunu küçült */
        text-indent: 0; /* Girintiyi kaldır */
        text-align: left;
        margin-left: 0%;
    }

    .goals-image img {
        max-width: 100%; /* Görsel genişliğini tam yap */
        width: auto; /* Görselin orijinal genişliğini korur */
        height: auto; /* Görselin orijinal oranını korur */
        border-radius: 15px;
    }

    .goals-card {
        max-width: 100%; /* Kartın genişliğini tam yap */
        padding: 20px; /* Daha küçük iç boşluk */
        margin-top: -320px; /* Üstten boşluk bırak */
    }

    .mission-vision {
        flex-direction: column; /* Misyon ve vizyon alt alta gelsin */
        gap: 20px; /* Kartlar arasında boşluk */
    }

    .mission, .vision {
        text-align: center; /* Mobilde metni ortala */
    }

    .mission h3, .vision h3 {
        font-size: 20px; /* Başlık boyutunu küçült */
        padding: 2%;

    }

    .mission p, .vision p {
        text-align: left;
        font-size: 12px; /* Metin boyutunu küçült */
        padding: 2%;
       
    }
}

@media (max-width: 767px) {
    .future-goals-section {
        padding: 20px 10px; /* Daha dar kenar boşlukları */
    }

    .goals-text h2 {
        font-size: 28px; /* Daha küçük başlık boyutu */
    }

    .goals-text p {
        font-size: 16px; /* Daha küçük metin boyutu */
    }

    .mission h3, .vision h3 {
        font-size: 18px; /* Daha küçük başlık boyutu */
        margin-left: -5%;

    }

    .mission p, .vision p {
        font-size: 12px; /* Daha küçük metin boyutu */
        margin-left: -5%;
        width: 88%;
    }
}

/* Laptop ve Büyük Ekranlar (Varsayılan Ayar) */
@media (min-width: 1025px) {
    .goals-image {
        flex: 1; /* Görsel alanını esnek yap */
        max-width: 500px; /* Maksimum genişlik */
        display: flex;
        justify-content: center; /* Görseli yatayda ortalar */
    }

    .goals-image img {
        width: 500px; /* Sabit genişlik */
        height: auto; /* Yükseklik oranlı */
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        object-fit: cover; /* Görselin taşmasını önler */
    }

    .goals-text {
        flex: 2; /* Yazılar için daha fazla alan */
        text-align: left;
    }
}




.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;
}
