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

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

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

main {
    flex: 1;
}

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

nav {
    padding: 0 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;
    color: #111;
}

/* BURGER İKONU */
.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;
}

/* Ürün Detay Sayfası */
.product-detail-container {
    padding: 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.image-gallery img {
    width: 300px;
    height: auto;
    object-fit: contain;
    border: 3px solid #f9c846;
    border-radius: 8px;
}

#product-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111;
}

#product-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.back-link {
    text-decoration: none;
    font-weight: bold;
    color: #f9c846;
    transition: color 0.3s;
}

.back-link:hover {
    color: #333;
}

/* Footer */
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 button */
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    z-index: 9999;
}

.product-alert {
    font-size: 1rem;
    margin-top: 50px;
}

/* Responsive Navigation */
@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;
    }
}