/* --- Genel --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #0d1b2a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

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

nav ul li a:hover {
    color: #ffd60a;
}

#menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #1b263b, #415a77);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffd60a;
    color: #0d1b2a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ffc107;
}

/* --- ÜRÜN GALERİSİ (GRID) --- */
.product-gallery {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border: 2px solid #0d1b2a;
    border-radius: 8px;
    background-color: #fff;
    padding: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* --- Mobil --- */
@media(max-width: 992px){
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px){
    .gallery {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        display: none;
        background-color: #0d1b2a;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
    }

    nav ul.active {
        display: flex;
    }

    #menu-toggle {
        display: block;
    }
}
