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

/* Flex yapı buraya */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ana içerik tüm boşluğu kaplasın */
main {
    flex-grow: 1;
}

/* Header ve Navigation */
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;
}

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

/* Sayfa İçerikleri */
.services-page,
.about-page,
.contact-page {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

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

/* Hizmetler Box */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-box-laser-cut,
.service-box-plasma-cut,
.service-box-sheet-cutting,
.service-box-sheet-bending,
.service-box-static-coating {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-left: 5px solid #f9c846;
    transition: transform 0.3s;
    min-height: 200px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-box-laser-cut {
    background-image: url('assets/laser_cut.jpg');
    background-size: cover;
    background-position: center;
}

.service-box-plasma-cut {
    background-image: url('assets/plasma_cut.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-box-sheet-cutting {
    background-image: url('assets/sheet_cut.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-box-sheet-bending {
    background-image: url('assets/sheet_bending.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-box-static-coating {
    background-image: url('assets/powder_coating.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.service-container div:hover {
    transform: translateY(-5px);
}

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

/* Contact Info */
.contact-info {
    max-width: 600px;
    margin: 20px auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Map */
.map {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

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

s

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    z-index: 9999;
}

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