/* Genel sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono';
}


body {
    font-family: Arial, sans-serif;
    max-width: 100%; /* Sayfanın genişliği tarayıcıya göre dinamik */
    height: 1250px; /* Sayfanın sabit yüksekliği */
    margin: 0 auto; /* Ortalamak için otomatik boşluk */
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
    background: #f2f0db;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Navbar ayarları */
/* Navbar ayarları */
.navbar {
    background-color: #e39527; /* Yarı şeffaf sarı */
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px ;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.normal-menu a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    transition: color 0.3s ease;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.normal-menu a:hover {
    color: #f0e68c;
}

/* Hamburger Menü Simgesi */
.hamburger-menu {
    display: none; /* İlk başta gizli */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    width: 30px;
    height: 25px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    display: block;
}



/* Overlay tam ekran menü (Hamburger) */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #e5c47399;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 999;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay-content a {
    padding: 10px;
    text-decoration: none;
    font-size: 36px;
    color: white;
    background-color: #fff;
    display: block;
    transition: 0.3s;
}

.overlay-content a:hover {
    background-color: #a50000;
}

/* Kapatma düğmesi */
.closebtn {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: white;
    text-decoration: none;
}

/* Medya sorgusu: 768px ve daha küçük ekranlar için */
@media (max-width: 1200px) {
    .normal-menu {
        display: none; /* Küçük ekranlarda normal menüyü gizle */
    }

    .hamburger-menu {
        display: flex; /* Hamburger menüyü göster */
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px; /* Küçük ekranlarda daha az padding */
    }

    .logo img {
        height: 60px; /* Logo boyutunu küçült */
    }
}

.navbar div a {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: inherit; /* Varsayılan renk devralınır */
    font-size: 16px; /* Metin boyutu */
    display: inline-block; /* Blok içi düzenleme için */
    padding: 5px 10px; /* İç boşluk */
    transition: color 0.3s ease, background-color 0.3s ease; /* Hover efektine geçiş süresi */
}
.title {
    position: relative;
    line-height: 24px;
}
.component {
    position: absolute;
    top: 50%;
    left: 130px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.component:hover, .component1:hover, .component2:hover, .component3:hover, .component4:hover,.component5:hover,.component6:hover {
    color: white;
    background-color: black; /* Arka plan rengini siyah yap */
    border-radius: 5px; /* Köşeleri yuvarlat */
}
.component2 {
    position: absolute;
    top: 50%;
    left: 320px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.component3 {
    position: absolute;
    top: 50%;
    left: 550px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 40px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.component4 {
    position: absolute;
    top: 50%;
    right: 600px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 12px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}
/* Dropdown menü için temel stil */
.dropdown {
    position: absolute;
    display: inline-block;
}

/* Dropdown içeriği başlangıçta gizli */
.dropdown-content {
    display: none; /* İlk başta gizli olacak */
    position: absolute;
    background-color: black; /* Arka plan rengi */
    min-width: 80px; /* Minimum genişlik */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Gölge efekti */
    z-index: 1; /* Menülerin üstte görünmesi için */
}

/* Dropdown içindeki bağlantıların stili */
.dropdown-content a {
    color: black;
    padding: 2px 3px;
    text-decoration: none;
    display: block; /* Tüm genişliği kaplaması için */
}

/* Fare ile "Projelerimiz" üzerine gelindiğinde dropdown'u göster */
.dropdown:hover .dropdown-content {
    display: block; /* Görünür yap */
}

/* Dropdown içindeki bağlantılara hover efekti */
.dropdown-content a:hover {
    background-color: #252323; /* Üzerine gelindiğinde arka plan rengi */
}

.component5 {
    position: absolute;
    top: 50%;
    right: 320px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.component6 {
    position: absolute;
    top: 50%;
    right: 130px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px 3px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #000;
    font-family: 'Space Mono';
    transform: translateY(-50%);
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Dropdown içeriği başlangıçta gizli */
.dropdown-content2 {
    display: none; /* İlk başta gizli olacak */
    position: absolute;
    background-color: black; /* Arka plan rengi */
    min-width: 178px; /* Minimum genişlik */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Gölge efekti */
    z-index: 1; /* Menülerin üstte görünmesi için */
}

/* Dropdown içindeki bağlantıların stili */
.dropdown-content2 a {
    color: black;
    padding: 2px 3px;
    text-decoration: none;
    display: block; /* Tüm genişliği kaplaması için */
}

/* Fare ile "Projelerimiz" üzerine gelindiğinde dropdown'u göster */
.dropdown:hover .dropdown-content2 {
    display: block; /* Görünür yap */
}

/* Dropdown içindeki bağlantılara hover efekti */
.dropdown-content2 a:hover {
    background-color: #252323; /* Üzerine gelindiğinde arka plan rengi */
}

.logo img {
    height: 80px;
    width: auto;
}


/*Partner Section düzenleme*/
.partners-section h2{
background-color: rgb(68, 68, 68, 0.8);
padding: 5px;
color: #f5f3e6;
font-family: 'Courier New', Courier, monospace;
}
.partners-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 sütun */
    gap: 30px; /* Görseller arası boşluk artırıldı */
    justify-items: center;
    align-items: center;
}

.partner {
    background-color: rgb(68, 68, 68,0.8);
    padding: 15px; /* Görsel etrafındaki boşluğu artırdık */
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 200px; /* Görsel boyutunu büyüttük */
    height: 150px; /* Görsel boyutunu büyüttük */
}

.partner img {
    width:  100%; /* Kutunun genişliğine uyum sağlayacak */
    height: auto; /* Kutunun yüksekliğine uyum sağlayacak */
    object-fit: cover; /* Görselin kutuya tam olarak sığmasını sağlar, taşan kısımları keser */
    transition: transform 0.3s ease; /* Yumuşak geçiş efekti */
    max-width: 100%;
    max-height: 100%; /* Görselleri kutu içine sığdır */
    object-fit: contain; /* Görsellerin doğru orantıda kalmasını sağlar */
}

.partner:hover {
    transform: scale(1.1);
    background-color: #555;
}

/* Footer ayarları */
/* Footer Genel Stil */
.footer {
    background-color: #f5f3e4;
    padding: 20px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column hr {
    width: 50%;
    border: 1px solid #333;
    margin: 10px auto;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
    font-weight: bold;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
}

.footer-bottom p {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}
/* Linklerin altındaki çizgiyi kaldırma */
.footer-column ul li a {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Link rengini mevcut metin rengiyle aynı yapar */
}

/* Link tıklandığında mavi işaretlemeyi kaldırma */
.footer-column ul li a:focus,
.footer-column ul li a:hover {
    outline: none; /* Mavi çerçeveyi kaldırır */
}

/* Linklerin hover (üzerine gelindiğinde) efekti */
.footer-column ul li a:hover {
    color: #ff6600; /* İstediğin renkte hover efekti ekleyebilirsin */
    transition: color 0.3s ease;
}
.footer-column h3 a {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Link rengini mevcut metin rengiyle aynı yapar */
}
.footer-column h3 a:hover {
    color: #ff6600; /* İstediğin renkte hover efekti ekleyebilirsin */
    transition: color 0.3s ease;
}

/* media kismi bu tarafta olucak */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr); /* Orta boyutlu ekranlarda 3 sütun */
        margin-top: 1250px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* Küçük ekranlarda 2 sütun */
        margin-top: 1200px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        margin-top: 3000px;
    }
}
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Küçük ekranlarda genel font boyutunu küçült */
    }

    h2 {
        font-size: 18px; /* Küçük ekranlarda başlıkları küçült */
    }

    .partners-section h2 {
        font-size: 24px; /* Partner başlığını küçült */
    }
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Küçük ekranlarda sütunlar dikey olarak dizilir */
        align-items: center;
    }

    .footer-column {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}