/* General styles */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
}
p {
    font-size: 16px;
    line-height: 1.6;
}

#ne-istiyoruz-1 {
    padding-top: 140px; /* navbar yüksekliği kadar */
    margin-top: -100px; /* navbar yüksekliği kadar negatif marjin */
}

a:-webkit-any-link {
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-decoration-line:none ;
    text-decoration-thickness: ;
    text-decoration-style: ;
    text-decoration-color: ;
}
a:-webkit-any-link:hover {
    color: #a4d65e; /* Linklerin üzerine gelince rengi #a4d65e yap */
}

.grid-button {
    width: 100px; /* Genişliği 100px yap */
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    color: #222222;
    border: 1px solid #B8E986;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.grid-button:hover {
    background-color: #B8E986; /* Üzerine gelince arka plan rengini #B8E986 yap */
    color: #000000 !important; /* Üzerine gelince yazı rengini beyaz yap */
}


/* Navigation bar styles */
.navbar {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    width: 400px;
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    padding-top: 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    padding-top: 40px;
}

.nav-link:hover {
    color: #a4d65e;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    position: absolute;
    right: 20px;
}

/* Slider section styles */
.slider-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay opaklığını 0.6 yap */
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
}

.slider-content h1 {
    font-size: 60px;
    line-height: 72px;
    font-weight: 900;
    margin-bottom: 20px;
}

.slider-content p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 2s ease-in-out; /* Geçiş efekti */
    opacity: 0;
}

.slider-image.active {
    opacity: 1;
}

/* Content section styles */
.content-section {
    max-width: 800px;
    margin: 50px auto;
    margin-bottom: 0px;
    padding-top: 120px;
    padding-bottom: 120px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
    position: relative;
    width: 50%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* Arka plan siyah ve %60 opak */
    z-index: 2;
    overflow-y: hidden; /* Kaydırma çubuğunu gizlemek için */
}

.content-container {
    display: flex;
    flex-direction: column; /* Tek sütun için */
    max-width: 1200px;
    margin: 0 auto;
    overflow-y: scroll; /* Metnin kaymasını sağlamak için */
    height: calc(100vh - 140px); /* Yüksekliği ayarlamak için */
}

.content-image {
    width: 100%;
    border-radius: 0;
    padding-top: 22px; /* Görsele padding-top: 22px ekle */
}
.content-container::-webkit-scrollbar {
    width: 0px; /* Scrollbar genişliğini sıfırlamak için */
    background: transparent; /* Arka planı şeffaf yapmak için */
}

.content-text {
    color: #fff;
    padding-right: 0px;
    padding-bottom: 120px;
}

.content-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative; /* Çizgi için gerekli */
}

.content-text h2::after {
    content: '';
    display: block;
    width: 100%; /* Çizginin genişliği */
    height: 2px; /* Çizginin kalınlığı */
    background-color: #B8E986; /* Çizginin rengi */
    position: absolute;
    left: 0;
    bottom: -10px; /* Başlıktan ne kadar aşağıda olacağını belirler */
    
}

/* Mobil versiyon için düzenlemeler */
@media (max-width: 768px) {
    .grid-item {
        width: 100%; /* Mobilde her grid-item tüm genişliği kaplar */
        height: 300px; /* Yükseklik otomatik ayarlanır */
    }

    .grid-content {
        width: 330px; /* Genişlik sabit kalır */
        left: 0; /* Sol konum sıfırlanır */
        margin-top: 0px;
    }

    .grid-section {
        padding: 0%;
}
/* Content section styles */
.content-section {
    width: 100%;
    margin: 0px auto;
    padding: 20px;
    box-sizing: border-box;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.content-text {
    width: 100%; /* 2/3 genişlik */
    padding-right: 20px;
    padding-left: 0px;
    padding-top: 120px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
} 
/* Responsive styles */
@media (max-width: 1200px) { /* 1200px altına düşüldüğünde hamburger menü */
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        width: 300px; /* Hamburger menüye geçildiğinde logo genişliği 300px */
    }

    .menu-container {
        width: 100%;
        justify-content: flex-end; /* Menü öğelerini sağa yasla */
        align-items: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: center; /* Menü öğelerini ortala */
    }

    .nav-menu.active {
        display: flex;
        position: relative;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav-link {
        text-align: center; /* Yazıları ortala */
    }

    .hamburger-menu {
        display: block;
        z-index: 1001; /* Üstte kalmasını sağla */
        position: absolute;
        top: 10px; /* Sağ üste taşı */
        right: 20px; /* Sağ üste taşı */
    }

    .nav-menu.active .hamburger-menu {
        display: none; /* Menü açıkken hamburger menü gizle */
    }
}