:root {
    --primary-red: #d32f2f;
    /* Canlı Restoran Kırmızısı */
    --hover-red: #b71c1c;
    --fresh-green: #388e3c;
    /* Yaprak Yeşili */
    --dark-bg: #212121;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --gold-accent: #ffa000;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    padding-top: 110px;
    /* Header yüksekliği kadar boşluk */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--dark-bg);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--gold-accent);
}

/* --- Navbar --- */
.navbar-custom {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    top: 38px;
    /* Topbar yüksekliği */
    width: 100%;
    z-index: 1030;
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1651765870377-5089f2a24083?q=80&w=1200');
    /* Daha iyi bir tantuni/kebap görseli */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -30px;
    /* Body padding'i dengelemek için */
}

/* --- Kategori Başlıkları --- */
.category-title {
    color: var(--primary-red);
    border-bottom: 2px solid var(--fresh-green);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

/* --- Ürün Kartları --- */
.card-product {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--fresh-green);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- Butonlar --- */
.btn-primary-custom {
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--hover-red);
    color: white;
    transform: scale(1.05);
}

/* --- Sepet (Floating) --- */
.basket-float {
    position: fixed;
    right: 30px;
    bottom: 100px;
    /* WhatsApp'ın biraz üstü */
    width: 60px;
    height: 60px;
    background-color: var(--fresh-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 142, 60, 0.4);
    cursor: pointer;
    z-index: 1050;
    transition: transform 0.3s;
}

.basket-float:hover {
    transform: scale(1.1);
}

.basket-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-red);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* --- Sepet Modal / Sidebar --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1100;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
}

.cart-footer {
    border-top: 2px solid var(--light-bg);
    padding-top: 15px;
}

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-bg);
    color: #bbb;
    padding: 60px 0 20px;
    margin-top: 50px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--gold-accent);
}

/* --- FAB Fix --- */
.fab-container {
    bottom: 30px;
}