/* GENEL DEĞİŞKENLER VE ADMIN SABİT STİLLERİ */
:root {
    --primary: #2c3e50;
    --secondary: #c5a059;
    --bg: #f4f7f6;
    --white: #ffffff;
    --text: #333;
    --danger: #e74c3c;
    --success: #27ae60;
}

body { font-family: 'Inter', sans-serif; background-color: var(--bg); margin: 0; color: var(--text); }

/* --- ADMIN PANEL TASARIMI (SABİT) --- */
.sidebar { width: 260px; background: var(--primary); height: 100vh; color: white; padding: 20px; position: fixed; box-sizing: border-box; }
.sidebar h1 { font-size: 24px; color: var(--secondary); margin-bottom: 5px; }
.main-content { margin-left: 280px; padding: 30px; width: calc(100% - 310px); }
.card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 20px; }
input, select { padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
button { padding: 12px 20px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; transition: 0.3s; background: var(--primary); color: white; }
button:hover { opacity: 0.9; transform: translateY(-1px); }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th { background: #ecf0f1; padding: 15px; text-align: left; }
td { padding: 15px; border-bottom: 1px solid #eee; }

/* --- MÜŞTERİ (INDEX) PANEL TASARIMI --- */
.menu-container { max-width: 600px; margin: 0 auto; padding: 20px; }
.kat-baslik { padding: 12px; margin-top: 25px; border-radius: 8px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.urun-kart { display: flex; justify-content: space-between; padding: 18px; border-bottom: 1px solid rgba(0,0,0,0.05); align-items: center; }
.urun-fiyat { text-align: right; font-weight: bold; }

/* --- TEMA SEÇENEKLERİ (Sadece Index'i Etkiler) --- */

/* TEMA 1: MODERN (Varsayılan) */
body.tema-1 { background-color: #f4f7f6; color: #333; }
body.tema-1 .kat-baslik { background: #2c3e50; color: #c5a059; }
body.tema-1 .urun-kart { background: #ffffff; }
body.tema-1 .urun-fiyat { color: #2c3e50; }

/* TEMA 2: GECE MODU (Dark) */
body.tema-2 { background-color: #121212; color: #e0e0e0; }
body.tema-2 .kat-baslik { background: #333333; color: #f39c12; border: 1px solid #444; }
body.tema-2 .urun-kart { background: #1e1e1e; border-bottom: 1px solid #333; }
body.tema-2 .urun-fiyat { color: #f39c12; }
body.tema-2 .urun-desc { color: #bbb; }
body.tema-2 h1#unvanDisp { color: #f39c12 !important; }

/* TEMA 3: NOSTALJİ (Sepia/Kafe) */
body.tema-3 { background-color: #f4ece1; color: #5d4037; }
body.tema-3 .kat-baslik { background: #8d6e63; color: #fff; border-radius: 0; border-bottom: 3px solid #5d4037; }
body.tema-3 .urun-kart { background: #fffaf3; border-bottom: 1px solid #d7ccc8; }
body.tema-3 .urun-fiyat { color: #795548; }
body.tema-3 h1#unvanDisp { color: #5d4037 !important; font-family: serif; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .sidebar { width: 100%; height: auto; position: relative; }
    .main-content { margin-left: 0; width: 100%; padding: 15px; }
}