body {
    background: url(../img/foto-9.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000000;
}

header {
    background: url(../img/foto-9.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

.urunler {
    padding: 50px 20px;
    text-align: center;
}

.urunler h2 {
    font-size: 2.1em;
    margin-bottom: 25px;
    color: #eeecec;
    height: 100px;
}

.urun-listesi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.urun {
    background: hsla(39, 100%, 38%, 0.77);
  
    border-radius: 50px;
    padding: 20px;
    width: 260px;
    height: 320px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 8px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../img/tahta.jpg); /* Arka plan resmi */
   
background-position: 50% 50%; /* Genişlik ve yükseklik yüzdesine göre ayarlar */

}


.urun:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 8px 8px rgba(0, 0, 0, 0.3);
}

.urun img {
    width: 130px;
    height: 120px;
    border-radius: 35%;
    margin-bottom: 10px;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.urun:hover {
    transform: scale(1.05);
}

.urun-adi {
    font-size: 1.5em;
    margin-bottom: 3px;
    color: #00000050;
}

.fiyat {
    position: absolute;
    bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #00000050;
    padding: 1px 20px;
    display: inline-block;
    border-radius: 10px;
}

footer {
    background-color: #050505;
    color: #fffbfb;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.urun-bilgi {
    color: #ffffff;
  font-size: 18px;
}

.urun h3 {
    color: #ffffff; /* Beyaz yazı rengi */
    font-size: 17px; /* Yazı boyutunu değiştir */
    background-color: #00000050; /* Siyah arka plan */
    padding: 5px 10px; /* Kenarlardan boşluk ekleyerek daha iyi görünmesini sağla */
    display: inline-block; /* Arka planın yazıyı tam sarmasını sağlar */
    border-radius: 20px; /* Kenarları yuvarlamak için (isteğe bağlı) */
}




/* Responsive Tasarım Ayarları */

@media (max-width: 750px) {


.box-containerkahve .box {
    width: 50%;
    /* Make the boxes take up the full width on smaller screens */
    box-sizing: border-box;
    /* Ensure padding is included in the box width */
    margin-top: 10px;
   
}

}
@media (max-width: 750px) {
.containerkahvescnk {
    height: 50%;
}
}
@media (max-width: 604px) {
    .urun-listesi {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .urun {
        width: 45%; /* Ürünleri iki sütun halinde hizala */
    }
}
