:root {
    --bg: #0d0d0d;
    --card-bg: #1a1a1a;
    --gold: #ffcc00;
    --gold-hover: #e6b800;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --border: #2a2a2a;
    --glass: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.konteynir { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold-text { color: var(--gold); }

/* Header */
.ust-header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-icerik { display: flex; justify-content: space-between; align-items: center; }


.logo {
    display: flex;           /* Resim ve yazıyı yan yana getirir */
    align-items: center;     /* Dikeyde ortalar */
    gap: 15px;              /* Resim ile yazı arasındaki boşluk */
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
}

.logo img {
    height: 120px;            /* Logonun yüksekliği (header'a sığması için) */
    width: auto;             /* Genişliği orantılı ayarlar */
    border-radius: 50%;      /* Logoyu tam yuvarlak yapar */
  
}

.logo span {
    color: #fff;             /* Yazı rengi beyaz */
}

.sepet-tetikleyici {
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Sayfa Geçişleri */
.sayfa { display: none; padding: 40px 0; animation: fadeIn 0.4s ease-out; }
.sayfa.aktif { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Vitrin */
.hero-bolumu { text-align: center; margin-bottom: 50px; }
.hero-bolumu h1 { font-size: 3rem; color: #fff; margin-bottom: 10px; }
.hero-bolumu p { color: var(--text-dim); font-size: 1.1rem; }

.urun-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.urun-kart {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.urun-kart:hover { border-color: var(--gold); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }

.indirim-rozet {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

.urun-kart img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; margin-bottom: 20px; }

.ekle-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.ekle-btn:hover { background: var(--gold); color: #000; }

/* Ödeme Sayfası */
.odeme-baslik-alan { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.geri-btn { background: none; border: 1px solid var(--border); color: #fff; padding: 8px 15px; border-radius: 8px; cursor: pointer; }

.odeme-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; }

.glass-kart {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
}

.glass-kart h3 { margin-bottom: 25px; font-size: 1.2rem; }

.input-satir { display: flex; gap: 15px; }
.input-grup { flex: 1; margin-bottom: 20px; }
.input-grup label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }

input, textarea {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
}

input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 10px rgba(255, 204, 0, 0.1); }

/* Ödeme Seçenekleri */
.yontem-izgara { display: flex; gap: 15px; margin-bottom: 25px; }
.yontem-kart { flex: 1; cursor: pointer; }
.yontem-kart input { display: none; }
.yontem-icerik {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yontem-kart input:checked + .yontem-icerik { border-color: var(--gold); background: rgba(255, 204, 0, 0.05); color: var(--gold); }

.siparis-btn {
    width: 100%;
    background: var(--gold);
    color: #000;
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.siparis-btn:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* Sepet Özeti */
.sepet-ogeleri { max-height: 400px; overflow-y: auto; margin-bottom: 20px; }
.sepet-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.ozet-satir { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-dim); }
.total { border-top: 1px solid var(--border); padding-top: 15px; color: var(--gold); font-size: 1.4rem; }

/* Mobil */
@media (max-width: 900px) {
    .odeme-grid { grid-template-columns: 1fr; }
    .hero-bolumu h1 { font-size: 2.2rem; }
    .input-satir { flex-direction: column; gap: 0; }
}


/* Select Kutuları İçin Stil */
select {
    width: 100%;
    background-color: #000; /* Siyah arka plan */
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    appearance: none; /* Varsayılan ok işaretini kaldırır */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #1a1a1a;
}

/* Select içindeki option'ların arka planı (Bazı tarayıcılar için) */
option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

/* --- ÖZEL BİLDİRİM SİSTEMİ --- */

#bildirim-kutusu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: rgba(18, 18, 18, 0.95); /* Koyu Arka Plan */
    backdrop-filter: blur(10px);
    color: #fff;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 5px solid var(--gold); /* Sol taraf Gold Çizgi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(100%); /* Başlangıçta ekran dışında */
    animation: slideInLeft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast i {
    font-size: 20px;
    color: var(--gold);
}

/* Hata Mesajı İçin Kırmızı Versiyon */
.toast.hata {
    border-left-color: #ff4444;
}
.toast.hata i {
    color: #ff4444;
}

/* Çıkış Animasyonu */
@keyframes slideInLeft {
    to { transform: translateX(0); }
}

@keyframes slideOutRight {
    to { transform: translateX(150%); opacity: 0; }
}


/* Hero Düzenlemeleri */
.hero-bolumu {
    padding: 60px 20px 40px;
    background: linear-gradient(to bottom, #0d0d0d, #1a1a1a);
    border-bottom: 1px solid var(--border);
}

.hero-etiket {
    background-color: var(--gold);
    color: #000;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.iletisim-bilgi {
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Bilgi Bandı Tasarımı */
.bilgi-bandi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    margin-top: -30px; /* Hero'nun içine biraz girsin */
    position: relative;
    z-index: 10;
}

.bilgi-kutusu {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.bilgi-kutusu:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.bilgi-kutusu i {
    font-size: 2rem;
    color: var(--gold);
}

.bilgi-kutusu h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.bilgi-kutusu p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
    margin: 0;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .bilgi-bandi {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        margin-top: 20px;
    }
}