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

/* 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;
    /* Menüden üstte olması için */
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: #fff;
    /* Beyaz, görünür olması için */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Bölümü */
.hero {
    height: 30vh;
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: #111;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/banner.jpg") center/cover no-repeat;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

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

.services h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.service-container {
    min-height: 150px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    color: white;
}

.service-container .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;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: white;
    font-weight: bold;
}

.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;
}

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

/* Hakkımızda */
.about {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: auto;
}

/* Ürünler */
.products {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

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

.product-box {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    cursor: pointer;
    height: 280px;
}

.product-box:hover {
    transform: translateY(-5px);
}

.product-img {
    flex: 1;
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    background-color: #fff;
}

.product-box h3 {
    padding: 10px;
    font-size: 1rem;
    color: #333;
}

/* İletişim */
.contact {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.cta-button {
    background-color: #f9c846;
    color: #111;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Harita */
.map {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

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


/* Yukarı Çık Butonu */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

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