/* Genel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #F0EAD6; color: #333; overflow-x: hidden; padding-bottom: 40px; } /* Hafif koyu krem arka plan */

/* Header ve Dil Seçici */
.menu-header {
    background: linear-gradient(135deg, #59191F 0%, #350E12 100%); /* RAL 3005 Bordo Tonu */
    color: #FDFBF7;
    text-align: center;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-bottom: 3px solid #D4AF37;
    position: relative;
}
.lang-switch {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 4px;
    border-radius: 15px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
}
.lang-btn.active {
    background: #D4AF37;
    color: #59191F;
    opacity: 1;
    font-weight: 600;
}

.menu-header h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; letter-spacing: 1px; }
.dynamic-greeting { font-size: 0.9rem; opacity: 0.9; margin-top: 5px; font-weight: 300; font-style: italic; }

.search-container { margin-top: 15px; }
.search-container input {
    width: 100%; max-width: 400px; padding: 12px 20px;
    border-radius: 25px; border: none; outline: none;
    font-size: 0.95rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Kategoriler (İnce Scrollbar) */
.category-nav {
    display: flex; overflow-x: auto; background-color: rgba(240, 234, 214, 0.95);
    padding: 15px 15px 10px 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 100; white-space: nowrap;
    backdrop-filter: blur(5px);
}
.category-nav::-webkit-scrollbar { height: 6px; }
.category-nav::-webkit-scrollbar-track { background: transparent; }
.category-nav::-webkit-scrollbar-thumb { background: #59191F; border-radius: 10px; }
.category-nav::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

.category-btn {
    background: transparent; border: 2px solid #59191F; color: #59191F;
    padding: 8px 16px; margin-right: 10px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.category-btn.active { background-color: #59191F; color: #FDFBF7; transform: scale(1.05); }

/* Sekme Geçiş Animasyonu */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ürün Listesi */
.menu-container { padding: 20px; max-width: 800px; margin: 0 auto; }
.menu-item {
    background: #FFFFFF; 
    border-radius: 12px; 
    padding: 15px; 
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); 
    border: 1px solid #D8CCB0; 
    border-left: 5px solid #59191F; /* Sol bordo imza çizgisi */
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeInUp 0.4s ease-out forwards;
}
.menu-item:active { transform: scale(0.98); } 

.item-info { flex: 1; padding-right: 10px; }
.item-info h3 { color: #59191F; font-size: 1.1rem; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.item-description { 
    font-size: 0.8rem; 
    color: #444; 
    margin-bottom: 6px; 
    line-height: 1.4; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}
.item-meta { font-size: 0.75rem; color: #777; font-weight: 600; background: #E5DCC2; padding: 3px 6px; border-radius: 5px; }
.item-price {
    font-size: 1.1rem; font-weight: 700; color: #59191F;
    background-color: #E5DCC2; padding: 8px 12px; border-radius: 8px; border: 1px solid #D8CCB0;
    white-space: nowrap;
}

/* Modal (Pop-up) */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9999;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(3px);
}
.modal-overlay.show { display: flex; opacity: 1; }
/* Modal (Pop-up) Animasyonlu Geçiş */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9999;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(3px);
}
.modal-overlay.show { display: flex; opacity: 1; }

@keyframes modalPop {
    0% { 
        opacity: 0; 
        transform: scale(0.85) translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

.modal-content {
    background: #FDFBF7; width: 90%; max-width: 400px; border-radius: 20px;
    padding: 25px; text-align: center; position: relative;

    transform: scale(0.85); 
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.show .modal-content { 
    animation: modalPop 0.60s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
}
.modal-overlay.show .modal-content { transform: translateY(0); }
.close-btn {
    position: absolute; top: 15px; right: 20px; font-size: 1.5rem;
    color: #333; cursor: pointer; font-weight: bold; z-index: 10;
}
.modal-img-placeholder {
    width: 100%; height: 200px; background-color: #EAD8C3; border-radius: 15px;
    margin-bottom: 15px; display: flex; justify-content: center; align-items: center;
    color: #59191F; font-size: 4rem; flex-shrink: 0;
}
.modal-img { 
    width: 100%; 
    height: 345px; 
    object-fit: cover; 
    object-position: center; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    display: none; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); 
    flex-shrink: 0;
}
.modal-title { font-family: 'Playfair Display', serif; color: #59191F; font-size: 1.5rem; margin-bottom: 10px; }
.modal-desc { font-size: 0.9rem; color: #555; margin-bottom: 15px; }
.modal-price { font-size: 1.5rem; color: #59191F; font-weight: bold; margin-bottom: 0; }