/**
 * QR Menü Uygulaması - Ana CSS Dosyası
 * Sade, beyaz tasarım ve responsive yapı
 */

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

/* Genel Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Container ve Layout */
.main-container {
    min-height: 100vh;
    padding: 0 0 20px 0;
}

.main-container .container {
    max-width: 800px;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 102;
}

.mode-toggle-btn {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 1.2rem;
}

.mode-toggle-btn:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: scale(1.05);
}

.mode-toggle-btn:active {
    transform: scale(0.95);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .header {
    background-color: #2d2d2d;
    border-bottom-color: #404040;
}

body.dark-mode .restaurant-info h1 {
    color: #ffffff;
}

body.dark-mode .category-card {
    background: #2d2d2d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .category-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

body.dark-mode .category-card h3 {
    color: #ffffff !important;
}

body.dark-mode .category-card .card-icon {
    color: #ffffff !important;
}

body.dark-mode .category-card .card-icon-bg {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

/* Kategori kartları için ek dark mode stilleri */
body.dark-mode .category-card {
    color: #ffffff !important;
}

body.dark-mode .category-card * {
    color: #ffffff !important;
}

body.dark-mode .category-card h3 {
    color: #000000 !important;
    text-shadow: none;
}

body.dark-mode .category-card .card-icon {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.dark-mode .product-item {
    background: #2d2d2d;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

body.dark-mode .product-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

body.dark-mode .product-name {
    color: #ffffff;
}

body.dark-mode .product-description {
    color: #b0b0b0;
}

body.dark-mode .product-price {
    color: #3498db;
}

body.dark-mode .nav-item {
    background: #2d2d2d;
    border-color: #404040;
    color: #ffffff;
}

body.dark-mode .nav-item:hover {
    background: #3498db;
    color: #ffffff;
}

body.dark-mode .mode-toggle-btn {
    background: #2d2d2d;
    border-color: #404040;
    color: #ffffff;
}

body.dark-mode .mode-toggle-btn:hover {
    background: #404040;
    border-color: #3498db;
}

body.dark-mode .back-button {
    background: #2d2d2d;
    color: #ffffff;
    border-color: #404040;
}

body.dark-mode .back-button:hover {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

body.dark-mode .empty-state h3 {
    color: #ffffff;
}

body.dark-mode .empty-state p {
    color: #b0b0b0;
}

body.dark-mode .eye-overlay {
    background: rgba(0,0,0,0.7);
    color: #ffffff;
}

body.dark-mode .eye-overlay:hover {
    background: rgba(0,0,0,0.8);
}

body.dark-mode .image-modal {
    background: rgba(0,0,0,0.9);
}

body.dark-mode .modal-close {
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #404040;
}

body.dark-mode .modal-close:hover {
    background: #404040;
}

/* Menü Modal Stilleri */
.menu-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.menu-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.menu-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.menu-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.menu-modal-close {
    font-size: 24px;
    font-weight: bold;
    color: #7f8c8d;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-modal-close:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.menu-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.menu-modal-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-modal-item:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.menu-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.menu-item-text {
    flex: 1;
}

.menu-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

/* Dark Mode Modal Stilleri */
body.dark-mode .menu-modal-content {
    background-color: #2d2d2d;
}

body.dark-mode .menu-modal-header {
    background: #404040;
    border-bottom-color: #555;
}

body.dark-mode .menu-modal-header h3 {
    color: #ffffff;
}

body.dark-mode .menu-modal-close {
    color: #b0b0b0;
}

body.dark-mode .menu-modal-close:hover {
    background: #555;
    color: #ffffff;
}

body.dark-mode .menu-modal-item {
    background: #2d2d2d;
    border-color: #555;
    color: #ffffff;
}

body.dark-mode .menu-modal-item:hover {
    background: #404040;
    border-color: #3498db;
}

body.dark-mode .menu-item-icon {
    background: #404040;
}

body.dark-mode .menu-item-title {
    color: #ffffff;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Stili */
.header {
    margin-bottom: 30px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 99;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.header-content {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    padding: 0;
    min-height: 50px;
    position: relative;
    max-width: 100%;
}

.restaurant-info {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-info h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    line-height: 1;
}

.restaurant-info p {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 300;
    margin: 0;
}

/* Header Menü */
.header-menu {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
    z-index: 100;
}

.header-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    z-index: 101;
}

.nav-item:hover {
    background: #3498db;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.nav-item.active {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-text {
    white-space: nowrap;
}

/* Mobil Menü Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Kategori Kartları */
.category-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0;
    padding: 15px 20px 20px 20px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

/* Kategori grid düzeni */
.row .col-6 {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0;
}

.category-card .card-icon {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 0;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Kategori Resmi */
.category-card .card-image {
    position: relative;
    overflow: hidden;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

/* Resim üzerinde gradient overlay */
.category-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* İkon için gradient background (resim yoksa) */
.category-card .card-icon-bg {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.category-card .card-icon-bg.food {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.category-card .card-icon-bg.drinks {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.category-card .card-icon-bg.desserts {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.category-card .card-icon-bg.appetizers {
    background: linear-gradient(135deg, #96ceb4 0%, #ffecd2 100%);
}

/* Ürün Listesi */
.product-item {
    background: #ffffff;
    border: none;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Ürün Resmi */
.product-image {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.product-image:hover .product-img {
    filter: brightness(0.7);
}

/* Göz İkonu */
.eye-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.product-image:hover .eye-overlay {
    opacity: 1;
}

.eye-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Ürün İçeriği */
.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.product-description {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 0;
    line-height: 1;
}

/* Modal Önizleme */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Geri Dönüş Butonu */
.back-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto 30px auto;
    text-decoration: none;
    display: block;
    width: fit-content;
}

.back-button:hover {
    background: #2980b9;
    text-decoration: none;
    color: white;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #7f8c8d;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Admin Panel Stili */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

.admin-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 5px;
}

.admin-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.02);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 2px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    color: #212529;
    text-decoration: none;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    margin: 50px auto;
    max-width: 500px;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 50px 1fr 50px;
        padding: 0;
        min-height: 45px;
    }
    
    .restaurant-info {
        height: 45px;
    }
    
    .restaurant-info h1 {
        font-size: 1.5rem;
    }
    
    .restaurant-info p {
        font-size: 1rem;
    }
    
    .header-menu {
        grid-column: 3;
        justify-content: flex-end;
    }
    
    .dark-mode-toggle {
        grid-column: 1;
        justify-content: flex-start;
    }
    
    .mode-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
.restaurant-info {
    grid-column: 2;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
    
    .restaurant-info h1 {
        margin: 0;
        line-height: 1;
    }
    
    .header-menu {
        flex-shrink: 0;
        height: 60px;
        display: flex;
        align-items: center;
    }
    
    /* Mobil menü */
    .menu-toggle {
        display: flex;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        box-shadow: 0 5px 25px rgba(0,0,0,0.1);
        padding: 10px;
        flex-direction: column;
        gap: 5px;
        z-index: 1000;
        min-width: 200px;
    }
    
    .header-nav.show {
        display: flex;
    }
    
    .nav-item {
        justify-content: flex-start;
        width: 100%;
        margin: 0;
    }
    
    .category-card {
        margin-bottom: 15px;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
        padding: 12px 15px 15px 15px;
    }
    
    .category-card .card-image,
    .category-card .card-icon-bg {
        height: 120px;
    }
    
    .category-card .card-icon {
        font-size: 3rem;
    }
    
    /* Mobilde grid aralıkları */
    .row .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .product-item {
        padding: 16px;
        gap: 16px;
    }
    
    .product-image {
        width: 90px;
        height: 90px;
    }
    
    .eye-overlay {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .login-container {
        margin: 50px 20px;
        padding: 30px 20px;
    }
    
    .admin-container {
        padding: 15px;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .category-card .card-icon {
        font-size: 2.5rem;
    }
    
    .category-card .card-image,
    .category-card .card-icon-bg {
        height: 100px;
    }
    
    .category-card h3 {
        font-size: 0.95rem;
        padding: 10px 8px 12px 8px;
    }
    
    /* Çok küçük ekranlarda grid aralıkları */
    .row .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .restaurant-info {
        height: 40px;
    }
    
    .restaurant-info h1 {
        font-size: 1.3rem;
    }
    
    .header-content {
        grid-template-columns: 45px 1fr 45px;
        padding: 0;
        min-height: 40px;
    }
    
    .header-menu {
        grid-column: 3;
        justify-content: flex-end;
    }
    
    .dark-mode-toggle {
        grid-column: 1;
        justify-content: flex-start;
    }
    
    .mode-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .product-item {
        padding: 14px;
        gap: 14px;
    }
    
    .product-image {
        width: 80px;
        height: 80px;
    }
    
    .eye-overlay {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
}
