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

header {
    background-color: #4caf50;
    padding: 10px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; /* Allows the items to wrap on smaller screens */
}

.logo-img {
    height: 50px;
}

.menu-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.menu-item {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.menu-item:hover {
    color: #ddd;
}

/* Ürünler Listesi */
.urun-listesi {
    padding: 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.urunler-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center items on smaller screens */
}

.urun-grubu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows products to wrap on smaller screens */
    gap: 20px;
    width: 100%;
}

.kategori {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: calc(33.333% - 20px); /* Three items per row with spacing */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.kategori:hover {
    transform: scale(1.05);
}

.kategori-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.kesfet-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.kesfet-btn:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content p {
    margin: 0;
}

/* Medya Sorguları - Mobil Uyumluluk */
@media (max-width: 1024px) {
    .kategori {
        width: calc(50% - 20px); /* Two items per row on tablets */
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .menu-list {
        flex-direction: column;
        gap: 10px;
    }

    .kategori {
        width: 100%; /* Full width on mobile */
    }
}

@media (max-width: 600px) {
    .urun-listesi {
        padding: 20px 10px;
    }

    .kesfet-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
