/**
 * Varsayılan Tema - CSS
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

/* Header */
.menu-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-info {
    flex: 1;
    text-align: center;
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    max-width: 150px;
    max-height: 100px;
    border-radius: 8px;
    background: white;
    padding: 10px;
}

.restaurant-name {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.restaurant-address,
.restaurant-phone {
    font-size: 0.95em;
    opacity: 0.9;
    margin: 5px 0;
}

/* Content */
.menu-content {
    padding: 20px;
}

.category-section {
    margin-bottom: 40px;
}

.category-header {
    margin-bottom: 20px;
    text-align: center;
}

.category-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category-title {
    font-size: 1.8em;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-description {
    color: #666;
    font-size: 0.95em;
}

/* Menu Items */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.menu-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-content {
    padding: 15px;
}

.menu-item-name {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.menu-item-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.menu-item-price {
    font-size: 1.3em;
    color: #667eea;
    font-weight: 700;
    margin-top: 10px;
}

.empty-menu,
.empty-category {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 1.1em;
}

/* Footer */
.menu-footer {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .restaurant-name {
        font-size: 1.5em;
    }
    
    .category-title {
        font-size: 1.5em;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   GARSON ÇAĞIR SİSTEMİ (Zorunlu - Tema Bağımsız)
   ============================================ */

.garson-cagir-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.garson-cagir-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.garson-cagir-btn svg {
    flex-shrink: 0;
}

.garson-cagir-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.garson-cagir-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
}

.garson-cagir-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    z-index: 1;
}

.garson-cagir-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
}

.garson-cagir-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.garson-cagir-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.garson-cagir-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

.garson-cagir-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.garson-cagir-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.garson-cagir-option:hover {
    background: #f3f4f6;
    border-color: #667eea;
    transform: translateX(4px);
}

.garson-cagir-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.garson-cagir-option-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a202c;
    flex: 1;
}

.garson-cagir-diger {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.garson-cagir-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 1rem;
}

.garson-cagir-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.garson-cagir-diger-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.garson-cagir-cancel,
.garson-cagir-send {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.garson-cagir-cancel {
    background: #f3f4f6;
    color: #374151;
}

.garson-cagir-cancel:hover {
    background: #e5e7eb;
}

.garson-cagir-send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.garson-cagir-send:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    transform: translateY(-1px);
}

.garson-cagir-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-size: 0.9375rem;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.garson-cagir-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.garson-cagir-notification.success {
    border-left: 4px solid #10b981;
}

.garson-cagir-notification.error {
    border-left: 4px solid #ef4444;
}

@media (max-width: 640px) {
    .garson-cagir-content {
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .garson-cagir-title {
        font-size: 1.25rem;
    }
    
    .garson-cagir-option {
        padding: 0.875rem;
    }
    
    .garson-cagir-icon {
        font-size: 1.25rem;
    }
}

