/* Restoran Yönetim Sistemi - Ana CSS */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container-fluid {
    padding: 0 15px;
}

/* Kartlar */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.card-header h4, .card-header h5 {
    margin: 0;
    font-weight: 600;
}

/* Butonlar */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b, #e6841a);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success-color);
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-warning {
    background-color: var(--warning-color);
    color: #333;
}

.btn-info {
    background-color: var(--info-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Form Elemanları */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Tablo Stilleri */
.table {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-color);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #555;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 107, 53, 0.05);
}

/* Navigation */
.navbar {
    box-shadow: var(--box-shadow);
    background: white !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, var(--dark-color), #2c3136);
    min-height: 100vh;
    padding: 1rem 0;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: var(--transition);
}

.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.sidebar .nav-link.active {
    color: white;
    background-color: var(--primary-color);
}

.sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border-left: 4px solid var(--info-color);
}

/* Badge Stilleri */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
    border-radius: var(--border-radius);
}

.badge-active {
    background-color: var(--success-color);
}

.badge-inactive {
    background-color: var(--danger-color);
}

/* Login Sayfası */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.login-header h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    margin: 0;
}

.login-body {
    padding: 1rem 2rem 2rem;
}

/* Menü Kartları (Public Sayfa) */
.menu-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.menu-content {
    padding: 1.5rem;
}

.menu-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.menu-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.menu-ingredients {
    margin-bottom: 1.5rem;
}

.ingredient-btn {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.ingredient-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.ingredient-btn.inactive {
    background-color: #e9ecef;
    color: #6c757d;
    text-decoration: line-through;
    border-color: #ced4da;
}

.ingredient-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Fixed Top Header */
.fixed-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.header-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Sepet Badge Stilleri */
.position-relative .badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Header Adjustments */
@media (max-width: 768px) {
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .header-title {
        font-size: 1rem;
    }
    
    .fixed-top-header {
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .header-logo {
        width: 32px;
        height: 32px;
    }
    
    .header-title {
        font-size: 0.9rem;
    }
    
    .public-page {
        padding-top: 60px;
    }
}

/* Body padding for fixed header */
.public-page {
    padding-top: 70px;
}

/* Sepet Modal Stilleri */
.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
    background-color: rgba(0,0,0,0.02);
}

.cart-item .input-group-sm .form-control {
    max-width: 60px;
}

.cart-item .btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-lg {
        max-width: 95%;
    }
    
    .cart-item .row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-item .col-md-6,
    .cart-item .col-md-3,
    .cart-item .col-md-2,
    .cart-item .col-md-1 {
        flex: 1 1 auto;
        max-width: 100%;
    }
    
    .cart-item .input-group {
        justify-content: center;
        max-width: 150px;
        margin: 0 auto;
    }
    
    .cart-item .text-end {
        text-align: center !important;
    }
    
    /* Modal footer butonları mobilde tam genişlik */
    .modal-footer .row .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    .modal-footer .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Restaurant Hero Header */
.restaurant-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.restaurant-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.85) 0%, 
        rgba(247, 147, 30, 0.85) 25%,
        rgba(255, 193, 7, 0.8) 50%,
        rgba(255, 107, 53, 0.85) 75%,
        rgba(220, 53, 69, 0.8) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.min-vh-50 {
    min-height: 500px;
}

/* Hero Contact Info */
.hero-contact-info {
    margin: 2rem 0;
}

.contact-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

/* Hero Text Styles */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-info {
    margin-bottom: 1.5rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.hero-info-item i {
    margin-right: 1rem;
    width: 20px;
    opacity: 0.8;
}

/* Hero Buttons */
.btn-hero {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-hero:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    z-index: 3;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

/* Floating Elements */
.hero-decorative {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    color: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .public-page {
        padding-top: 60px;
    }
    
    .category-nav-container {
        top: 60px;
    }
    
    .restaurant-hero {
        height: 450px;
    }
    
    .min-vh-50 {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .btn-hero, .btn-hero-outline {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .public-page {
        padding-top: 55px;
    }
    
    .category-nav-container {
        top: 55px;
    }
    
    .restaurant-hero {
        height: 200px;
    }
    
    .min-vh-50 {
        min-height: 200px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .contact-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .contact-item i {
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .floating-element {
        font-size: 1.5rem;
    }
}

/* Restaurant Header Minimal - Backup */
.restaurant-header-minimal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--box-shadow);
}

.restaurant-logo-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.restaurant-name-small {
    font-weight: 600;
    margin: 0;
}

/* Kategori Navigasyonu */
.category-nav-container {
    z-index: 100;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 70px;
}

.category-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-btn {
    white-space: nowrap;
    border-radius: 25px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.category-nav-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Kategori Bölümleri */
.category-section {
    scroll-margin-top: 150px;
    padding-top: 2rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* Menü Kartları - Yeni Tasarım */
.menu-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.menu-image-container {
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* İndirim Badge - Public Sayfa */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

/* İndirim Badge - Admin Sayfa */
.discount-badge-admin {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center center;
    transition: var(--transition);
    border-radius: 0;
    background-color: #f8f9fa;
}

/* Kare Fotoğraf - Responsive - Tam Görünür */
@media (max-width: 1200px) {
    .menu-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .menu-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .menu-image {
        height: 140px;
    }
}

.menu-image:hover {
    transform: scale(1.05);
}

.menu-no-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive no-image */
@media (max-width: 1200px) {
    .menu-no-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .menu-no-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .menu-no-image {
        height: 140px;
    }
}

.menu-content {
    padding: 1.5rem;
}

.menu-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.menu-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-price-container {
    text-align: right;
    min-width: 120px;
}

.menu-price-container .text-danger {
    font-size: 1.25rem;
}

.menu-price-container small {
    font-size: 0.9rem;
}

/* Miktar Kontrolleri */
.quantity-controls {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.quantity-controls .btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.quantity-controls .quantity {
    min-width: 30px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

/* Menü Aksiyonları */
.menu-actions {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
}

/* Sipariş Özeti */
#orderSummary .card {
    border-radius: 15px 15px 0 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .category-title {
        font-size: 1.5rem;
    }
    
    .menu-title {
        font-size: 1.1rem;
    }
    
    .menu-image {
        height: 160px;
    }
    
    .menu-no-image {
        height: 160px;
    }
    
    .menu-content {
        padding: 1rem;
    }
    
    .restaurant-header-minimal .container {
        padding: 0.5rem 15px;
    }
}

@media (max-width: 576px) {
    .category-nav-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .menu-image {
        height: 140px;
    }
    
    .menu-no-image {
        height: 140px;
    }
}

.restaurant-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.restaurant-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.restaurant-info {
    font-size: 1.1rem;
    opacity: 0.9;
}

.restaurant-info i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        z-index: 1050;
        transition: var(--transition);
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .restaurant-name {
        font-size: 2rem;
    }
    
    .menu-card {
        margin-bottom: 1.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .restaurant-header {
        padding: 2rem 0;
    }
    
    .restaurant-logo {
        width: 80px;
        height: 80px;
    }
    
    .restaurant-name {
        font-size: 1.5rem;
    }
    
    .menu-content {
        padding: 1rem;
    }
    
    .login-card {
        margin: 1rem;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--box-shadow) !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.user-select-none {
    user-select: none;
}

/* Cart Modal Styles */
.cart-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
}

.cart-item:last-child {
    margin-bottom: 0;
}

/* Mobile Cart Item Layout */
@media (max-width: 768px) {
    .cart-item .row {
        margin: 0;
    }
    
    .cart-item .col-md-6 {
        padding: 0 0 10px 0;
    }
    
    .cart-item .col-md-3,
    .cart-item .col-md-2,
    .cart-item .col-md-1 {
        padding: 5px 0;
    }
    
    /* Mobilde adet kontrolü, fiyat ve silme butonunu aynı satırda göster */
    .cart-item-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 10px;
    }
    
    .cart-item-quantity {
        flex: 0 0 120px;
    }
    
    .cart-item-price {
        flex: 1;
        text-align: center;
        font-weight: bold;
        font-size: 1.1em;
        color: #28a745;
    }
    
    .cart-item-remove {
        flex: 0 0 auto;
    }
    
    .cart-item .input-group-sm .form-control {
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
    }
    
    .cart-item .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Desktop Cart Item Layout */
@media (min-width: 769px) {
    .cart-item-controls {
        display: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .sidebar,
    .btn,
    .navbar {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
