body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
}

h2 {
    color: #c00;
    text-align: center;
}

/* Slider Stilleri */
.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.swiper {
    width: 100%;
    height: 400px;  /* Varsayılan yükseklik */
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görsellerin tam olarak alanı doldurmasını sağlar */
}

/* Ürünler Bölümü */
.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;  /* Ürünler arasındaki boşluğu eşitler */
}

.product {
    width: 23%;  /* 4 ürün bir satırda olacak şekilde ayarlandı */
    text-align: center;
}

.product img {
    width: 100%;  /* Görselin genişliği %100 olacak şekilde ayarlandı */
    height: 200px; /* Sabit yükseklik */
    object-fit: cover;
    border-radius: 10px;
}

.product p {
    text-align: center;
    font-weight: bold;
}

/* Buton Stili */
.btn {
    display: inline-block;
    background-color: #c00;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.btn:hover {
    background-color: #900;
}

/* Logo stilini ekleyelim */
.logo {
    height: 50px;  /* Logonun yüksekliğini belirliyoruz, genişliği otomatik ayarlanır */
    width: auto;   /* Genişlik otomatik ayarlanacak */
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .swiper {
        height: 250px;  /* Mobilde daha kısa yükseklik */
    }

    .container {
        width: 95%;
    }

    /* Mobilde ürünlerin sıralaması daha büyük olur */
    .product {
        width: 48%; /* 2 ürün bir satırda gösterilecek */
    }
}
