/* --- GENEL TEMA VE SIFIRLAMALAR --- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 40px 20px;
    background-color: #0a1005; 
    color: #f0e6d2;
    min-height: 100vh;
}

/* --- ARKA PLAN VİDEOSU AYARLARI --- */
#sepet-arka-plan-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1; 
    filter: brightness(0.35); 
}

/* --- SEPET KUTUSU --- */
.sepet-kapsayici {
    max-width: 800px;
    margin: 0 auto;
    position: relative; 
    z-index: 1; 
    background: rgba(20, 20, 20, 0.75); 
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    backdrop-filter: blur(8px); 
    animation: iceriGiris 0.6s ease-out;
}

h1 {
    font-family: 'Oswald', sans-serif;
    color: #d4af37;
    text-align: center;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 15px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.geri-don-linki {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}

.geri-don-linki:hover {
    background: #d4af37;
    color: #1a3a0a;
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

/* --- ÜRÜN LİSTESİ --- */
ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

li {
    background: rgba(30, 30, 30, 0.85);
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #d4af37;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    
    /* Kademeli geliş animasyonu */
    opacity: 0;
    transform: translateY(20px);
    animation: asagidanGelis 0.5s forwards;
}

li:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.2);
    background: rgba(45, 45, 45, 0.95);
}

/* Silinirken çalışacak CSS sınıfı */
li.siliniyor {
    animation: sagaKayarakSilinme 0.4s forwards !important;
}

li img {
    border-radius: 6px;
    border: 1px solid #d4af37;
    background: #fff; 
}

.urun-detaylari {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.urun-adi {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #d4af37;
    font-weight: 700;
}

.urun-fiyati {
    font-size: 16px;
    color: #e8dcc8;
}

/* --- ADET (MİKTAR) KONTROLLERİ --- */
.aksiyon-kapsayici {
    display: flex;
    align-items: center;
    gap: 20px;
}

.miktar-kontrolleri {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 15, 0.8);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.miktar-butonu {
    background: #d4af37;
    color: #1a3a0a;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
    padding: 0;
    font-family: 'Oswald', sans-serif;
}

.miktar-butonu:hover {
    background: #f0c94a;
}

.miktar-gostergesi {
    font-family: 'Oswald', sans-serif;
    color: #d4af37;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

/* --- BUTONLAR --- */
.kaldir-butonu {
    font-family: 'Oswald', sans-serif;
    background-color: transparent;
    color: #ff4757;
    border: 1px solid #ff4757;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.kaldir-butonu:hover {
    background-color: #ff4757;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
}

.sepet-alt-bilgi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed rgba(212, 175, 55, 0.3);
}

.toplam-fiyat {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #d4af37;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.temizle-butonu {
    font-family: 'Oswald', sans-serif;
    background-color: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 10px 20px;
    font-size: 15px;
    backdrop-filter: blur(3px);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.temizle-butonu:hover {
    background-color: #d4af37;
    color: #1a3a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.bos-sepet-mesaji {
    text-align: center;
    font-size: 18px;
    color: #e8dcc8;
    padding: 40px 0;
    animation: nabizGibiCarpma 2s infinite;
}

/* --- ANİMASYONLAR (KEYFRAMES) --- */
@keyframes iceriGiris {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes asagidanGelis {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes sagaKayarakSilinme {
    to { opacity: 0; transform: translateX(50px) scale(0.9); }
}

@keyframes nabizGibiCarpma {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Kriter 1 (İleri Düzey CSS ve Duyarlı Tasarım): Mobil/Tablet cihazlar için Media Queries kullanılmıştır */
@media (max-width: 600px) {
    /* Kriter 1: Flex yönü dikey yapılarak mobil cihazlarda liste elemanları sütun düzenine geçirilir */
    li { flex-direction: column; text-align: center; }
    .aksiyon-kapsayici { flex-direction: column; width: 100%; gap: 15px; }
    .sepet-alt-bilgi { flex-direction: column; gap: 20px; }
    .temizle-butonu { width: 100%; }
    
    /* Kriter 1: Alt bilgi (footer) mobilde dikey düzene geçer */
    .site-alt-bilgi {
        flex-direction: column;
        gap: 8px;
        padding: 15px 0;
        position: relative !important;
    }
}

/* --- İMZA BÖLÜMÜ / FOOTER CSS (Kriter 7: Semantik HTML Yapısı & Vize Standartları) --- */
.site-alt-bilgi {
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid #d4af37;
    color: #e8dcc8;
    padding: 12px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    /* Kriter 1: Alt bilgi alanında hizalama için Flexbox kullanılmıştır */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.site-alt-bilgi span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ayirici {
    color: #d4af37;
}