:root {
    --primary-color: #F9D71C; /* Hafif sarı */
    --secondary-color: #000000; /* Siyah */
    --light-color: #ffffff; /* Beyaz */
    --dark-color: #333333; /* Koyu gri */
    --font-family: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--light-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: flex-start; /* Bu satırı değiştirdik */
    align-items: center;
}

.logo-link {
    margin-right: 20px; /* Logodan sonraki boşluk */
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 60px; /* Logonun yüksekliğini 40 piksel olarak belirler */
    margin-right: 20px; /* Logo ile "Anasayfa" yazısı arasına boşluk ekler */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px; /* Menü öğeleri arasındaki boşluk */
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid transparent;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

nav ul li a.active-page {
    background-color: var(--secondary-color); /* Aktif sayfanın arka planını siyah yapar */
    color: var(--primary-color); /* Yazı rengini sarı yapar */
    border: 4px solid var(--primary-color); /* Kenarlık rengini sarı yapar */
}

.language-switcher {
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.world-icon {
    height: 30px; /* İkonun yüksekliğini ayarlar */
    width: auto;
    margin-right: 5px; /* İkon ile ilk dil seçeneği arasına boşluk ekler */
}

.language-switcher a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: var(--primary-color); /* Sarı kutu için */
    color: var(--secondary-color); /* Yazı rengini siyah yaptı */
    padding: 5px 10px; /* Kutunun iç boşluğunu belirler */
    border-radius: 5px; /* Köşeleri yuvarlar */
}

/* Hero Section */
.hero-section {
    background-color: var(--light-color);
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-section::after {
    content: '';
    background-image: url(arkaplan.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.summary-box {
    background-color: rgba(220, 220, 220, 0.5);
    color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.3s ease;
    margin-top: 0px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Butonlar arasına 20 piksel boşluk ekler */
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background-image: url(hizmet.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	opacity: 0.8;
    position: relative;
    padding: 30px 0;
    text-align: center;
    color: var(--light-color);
}

.services-section::before {
    content: '';
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: rgba(51, 51, 51, 0.9);
    padding: 0px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 0px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
	text-decoration: underline;
    color: var(--secondary-color);
}

.contact-info {
    margin-top: 30px;
    line-height: 1.8;
}

.contact-info p {
    margin: 5px 0;
}

.contact-section form {
    max-width: 600px;
    margin: auto;
    display: grid;
    gap: 10px;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--dark-color);
	margin-bottom: 0px; /* Her bir öğenin altına 10px boşluk ekledim */
}

.submit-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: var(--dark-color);
    color: var(--light-color);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    /* Logo, menü ve dil seçiciyi yatayda hizala */
    header .container {
        flex-direction: row;
        flex-wrap: wrap; /* Gerekirse öğelerin alt satıra geçmesine izin verir */
        justify-content: center;
        align-items: center;
    }
    .logo-link {
        flex-basis: 100%; /* Logonun kendi satırında kalmasını sağlar */
        text-align: center;
    }
    nav {
        margin-top: 5px; /* Logodan sonraki boşluk */
    }
    nav ul {
        flex-direction: row; /* Menü öğelerini yan yana tutar */
        flex-wrap: wrap; /* Menü başlıkları sığmazsa alt satıra geçmesini sağlar */
        justify-content: center;
        align-items: center;
    }
    nav ul li {
        margin: 10px 5px; /* Menü öğeleri arasında boşluk bırakır */
    }
    .language-switcher {
        margin-top: 5px; /* Dil seçici ve menü arasında boşluk bırakır */
        margin-left: 20px;
    }
}

.contact-note-box {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-note-box p {
    margin: 0;
}
.contact-form label {
    font-weight: bold;
    color: var(--secondary-color); /* Yazı rengini siyah olarak belirleyerek daha belirgin olmasını sağlar */
}
#iletisim {
    background-image: url(analogo.png); /* Logonuzun yolunu buraya yazın */
    background-repeat: no-repeat;
    background-position: center center; /* Logoyu merkeze hizalar */
    background-size: contain; /* Logonun tüm bölüm içinde görünmesini sağlar */
	min-height: 500px; /* Bu satırı ekleyerek minimum yüksekliği artırdım. İstediğiniz gibi ayarlayabilirsiniz. */
    opacity: 1; /* %50 saydamlık */
}

/* İletişim formunun ve metinlerinin logonun üzerinde görünmesi için */
#iletisim .container {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px; /* Formun maksimum genişliğini sınırlayalım */
    margin: auto; /* Formu merkeze hizalayalım */
}

.about-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Arka plan görselini tam sayfa ve sabit yapmak için kullanılan sanal katman */
.about-section::before {
    content: "";
    position: fixed; /* Görselin sayfa kaydırma ile hareket etmesini engeller */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(hakkimda.png); /* Görselin doğru yolu */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Görselin arkada sabit kalmasını sağlar */
    background-position: center center;
    background-size: cover; /* Görselin tüm alanı kaplamasını sağlar */
    opacity: 0.3; /* Şeffaflığı sadece görsel için uygular */
    z-index: 1;
}

/* Metinlerin okunurluğunu korumak için */
.about-section h2, .about-section .about-content, .about-section hr, .about-section h3, .about-section .experience-list {
    position: relative;
    z-index: 2;
}