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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 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;
    transition: background-color 0.3s;
}

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

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

/* Hizmetler Sayfası */
.services-page {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

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

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-container>div {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 30px 20px;
    border-left: 5px solid #f9c846;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: default;
}

.service-container>div:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transform: translateY(-8px);
}

.service-container h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-container p {
    font-size: 1rem;
    line-height: 1.4;
}

.service-box-laser-cut {
    background-image: url('assets/laser_cut.JPG');
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}

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

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

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

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

/* 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 Butonu */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
    background-color: #f9c846;
    color: #111;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#back-to-top:hover {
    background-color: #e0ae20;
}

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