/* Kafe / Restoran Menü ve Yönetim Sistemi - Özel Stil Dosyası */
/* Ders: BLP251 Web Programcılığı */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #121214;
    --bg-card: #1e1e24;
    --primary-gold: #d4af37;
    --primary-gold-hover: #f3cf65;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(212, 175, 55, 0.15);
    --glass-bg: rgba(30, 30, 36, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigasyon Barı */
.navbar {
    background-color: rgba(18, 18, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-gold) !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold) !important;
}

/* Ana Kahraman (Hero) Alanı */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1600&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    border-bottom: 2px solid var(--border-color);
}

.hero-title {
    font-weight: 700;
    color: var(--text-light);
    font-size: 3.5rem;
}

.hero-title span {
    color: var(--primary-gold);
}

/* Kartlar ve Glassmorphism */
.custom-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.card-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-card:hover .card-img-container img {
    transform: scale(1.1);
}

/* Butonlar */
.btn-gold {
    background-color: var(--primary-gold);
    color: #121214;
    font-weight: 600;
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--primary-gold-hover);
    border-color: var(--primary-gold-hover);
    color: #121214;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-gold);
    font-weight: 600;
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: #121214;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Sayfa Bölümleri */
.section-title {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

/* İletişim Formu ve Inputlar */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light) !important;
    border-radius: 8px;
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-light);
}

/* Menü Sayfası Filtreleri */
.menu-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 5px;
    text-decoration: none;
    display: inline-block;
}

.menu-filter-btn:hover, .menu-filter-btn.active {
    background-color: var(--primary-gold);
    color: #121214;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Footer Tasarımı */
footer {
    background-color: #0c0c0e;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: auto;
}

/* Yönetici Paneli Özel */
.admin-sidebar {
    background-color: #1a1a1e;
    min-height: 100vh;
    border-right: 1px solid var(--border-color);
}

.admin-sidebar .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary-gold);
}

.admin-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.table-custom {
    color: var(--text-light);
}

.table-custom th {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border-color: rgba(255, 255, 255, 0.08);
}

.table-custom td {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

/* Placeholder Resim Kartı (Resim Yüklenmediyse) */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2b2b35, #121214);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-gold);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}
/* GENEL YAZI GÖRÜNÜRLÜK DÜZELTMESİ */
body {
    color: #e5e5e5 !important;
}

p,
li,
td,
span,
label,
.form-label,
.card-text,
.text-muted,
.lead,
small {
    color: #d8d8d8 !important;
}

h1, h2, h3, h4, h5, h6,
.card-title,
.navbar-brand {
    color: #ffffff !important;
}

.text-warning,
.nav-link.active,
.menu-filter-btn.active {
    color: #ffc107 !important;
}

.card,
.bg-dark {
    color: #e5e5e5 !important;
}

input,
textarea,
select {
    color: #ffffff !important;
}

input::placeholder,
textarea::placeholder {
    color: #aaaaaa !important;
}
