/* --- ANA KAPSAYICI (DIŽ KUTU) --- */
.urun-listesi {
    display: grid; 
    grid-template-columns: repeat(6, 1fr);  
    gap: 20px;  
    padding: 20px;  
    margin: 0 auto; 
}

/* --- KARTIN KENDISI --- */
.kart {
    width: 100%;  
    height: 400px;  
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* --- RESIM --- */
.kart-resim {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;  
}

/* --- YAZI VE KARARTMA --- */
.kart-icerik {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
}

.kart-icerik h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 30px 0px;
    z-index: 1;
    text-align: center;
}

/* --- HOVER (UZERINE GELINCE) --- */
.kart:hover .kart-resim {
    transform: scale(1.1);  
}

 
@media (max-width: 1024px) {
    .urun-listesi {
        grid-template-columns: repeat(2, 1fr);  
    }
}

@media (max-width: 600px) {
    .urun-listesi {
        grid-template-columns: 1fr; 
    }
    .kart {
        height: 300px;
    }
}