/* ABOUT PAGE CSS - SAME STRUCTURE AS HOME PAGE */

@import url('https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    flex: 1;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #111;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav {
    padding-left: 2%;
    padding-right: 2%;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #f9c846;
}


.lang-toggle button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #f9c846;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang-toggle button:hover {
    background-color: #e0ae20;
}




.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.about-page {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.about-page h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #111;
}

.about-content p {
    max-width: 800px;
    margin: 10px auto;
    text-align: left;
}

footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    /* footer hep en altta kalacak */
}

.footer-content {
    max-width: 1200px;
    margin: auto;
}


#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: #111;
        flex-direction: column;
        padding-top: 60px;
        gap: 30px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 12px 20px;
        color: #f9c846;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .nav-links li a:hover {
        background-color: #f9c846;
        color: #111;
    }

    .burger {
        display: flex;
    }

    /* Dil toggle butonlarının burger üstüne binmesini engellemek için */
    .lang-toggle {
        position: fixed;
        top: 12px;
        /* Burger ile hizalı */
        right: 70px;
        /* Burger’in biraz solunda */
        background-color: #111;
        padding: 5px 12px;
        border-radius: 5px;
        display: flex;
        gap: 10px;
        z-index: 10000;
        /* Burger’den daha önde */
    }

    .lang-toggle button {
        margin-left: 0;
        /* Mobilde arada boşluk kaldırıldı */
        padding: 5px 10px;
        background-color: #f9c846;
        border: none;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .lang-toggle button:hover {
        background-color: #e0ae20;
    }
}