/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
    background-color: #fff;
}
a:focus{
    outline: none;
}

/* Header Section */
header {
    position: relative;
    color: #fff;
    overflow: hidden;
    height: calc(100vh - env(safe-area-inset-bottom));
    padding: 20px 40px;
    box-sizing: border-box;
}

.header-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    height: 15%;
    padding: 5% 5%;    
    overflow: hidden;
}


.logo {
    z-index: 10;
    height: 100%;
}

header nav {
    z-index: 10;

}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.mobile-nav{
    display: none;
}

header nav a{
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.lang{
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
    margin-left: 30px;
}

.lang a{
    margin: 0;
}

header nav a:hover {
    color: #ffcc00;
}




header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
/*     z-index: -1; */
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
    pointer-events: none; 
} 



/* Mobil Uyumluluk */

/*Telefon Ekranı*/
@media (max-width: 768px){
    .menu-icon {/*mobile menu*/
        display: block;
        top: 15%; /* Üstte hizalama */
        right: 10%; /* Sağda hizalama */
        font-size: 1.8rem; /* Buton boyutunu ayarla */
        color: #fff; /* Buton rengi */
        cursor: pointer;
        margin: 0;
        padding: 0;
        z-index: 10;
    }
    nav {/*desktop menu*/
        display: none;
    }

    header {
        height: calc(50vh - env(safe-area-inset-bottom));
    }
    
}


/* Section Styles */
.section {
    padding: 50px 20px;
    background: #f9f9f9;
}

.section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}



/* Contact Section */
.contact {
    background: #eee;
    padding: 50px;
}

.contact form {
    max-width: 500px;
    margin: auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact button {
    padding: 10px 20px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    background: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}



/* Clients Section */
.clients-section {
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.clients-intro {
    text-align: center; /* Metni ortalar */
    max-width: 70%; /* İçeriğin genişliğini sınırlar */
    padding: 20px 0; /* Üst ve alt boşluk ekler */
}

.clients-intro h1{
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.clients-intro h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.clients-intro p {
    font-size: 1rem;
}

.clients-logos {
    display: grid;
    width: 60%;
    grid-template-columns: repeat(8, 1fr); /* 6 sütun */
    gap: 10px;
    padding: 0 60vh; /* Sağ ve sol kenarlardan 10px boşluk */
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}

.clients-logos a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Client Card */
.client-card {
    padding: 20px; /* Kartın iç boşluğu */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover animasyonu */
    width: 100px; /* Kart genişliği */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    border-radius: 10px;
}

.client-card:hover {
    transform: scale(1.05); /* Hover durumunda büyütme */
}

.client-card img {
    max-width: 100%; /* Görsel genişliği kartı aşmasın */
    height: auto;
    display: block;
    margin: 0 auto; /* Görseli ortala */
}


/* Mobil Versiyon */
@media (max-width: 768px) {
    .clients-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 6 sütun */
        gap: 10px;
        padding: 0 60vh; /* Sağ ve sol kenarlardan 10px boşluk */
        justify-content: center;
        align-items: center;
        margin-top: 2%;
    }
    .clients-intro h2 {
        font-size: 1.2rem;
    }

    .clients-intro h1 {
        font-size: 2.2rem;
    }
}

