/* ========================================
   YEMEK MENÜ SİSTEMİ - CSS
   ======================================== */

/* Başlık Stilleri */
.yemek-menu-subtitle {
    color: #096b77;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.yemek-menu-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.yemek-menu-desc {
    font-size: 16px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   KATEGORİ SLIDER
   ======================================== */
.kategori-slider-wrapper {
    position: relative;
    padding: 0 25px;
}

.kategori-slider {
    overflow: hidden;
    width: 100%;
}

.kategori-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.kategori-item {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kategori-item:hover {
    transform: translateY(-5px);
}

.kategori-item.active .kategori-circle {
    border-color: #096b77;
    box-shadow: 0 0 0 4px #096b7733;
}

.kategori-item.active .kategori-name {
    color: #096b77;
    font-weight: 700;
}

.kategori-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid #ecf0f1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.kategori-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kategori-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Kategori Navigation Buttons */
.kategori-nav {
    position: absolute;
    top: 60px; /* kategori-circle ortası (120px / 2) */
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.kategori-nav:hover {
    background: rgba(0,0,0,0.70);
    color: #fff;
    border-color: #fff;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ========================================
   YEMEK KARTLARI
   ======================================== */
.yemek-list-wrapper {
    margin-top: 40px;
}

.yemek-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.yemek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #096b77;
}

.yemek-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

/* Şefin Önerisi Badge */
.sefin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #096b77;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.yemek-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yemek-card:hover .yemek-card-img img {
    transform: scale(1.1);
}

.yemek-card-body {
    padding: 20px;
}

.yemek-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.yemek-card-desc {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.yemek-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.yemek-price {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-label {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 600;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #096b77;
}

.price-separator {
    color: #bdc3c7;
    margin: 0 5px;
}

.btn-detay {
    background: #096b77;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-detay:hover {
    background: #3b0787;
    transform: scale(1.05);
}

/* ========================================
   MODAL
   ======================================== */
.yemek-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.yemek-modal.active {
    display: flex;
}

.yemek-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.yemek-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yemek-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    z-index: 11;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yemek-modal-close:hover {
    background: #096b77;
    color: #fff;
    transform: rotate(90deg);
}

.yemek-modal-body {
    display: flex;
    flex-direction: column;
}

.yemek-modal-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.yemek-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yemek-modal-info {
    padding: 30px;
}

.yemek-modal-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.yemek-modal-info p {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Modal Fiyat Listesi */
.modal-fiyat-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-fiyat-title:before {
    content: '';
    width: 4px;
    height: 20px;
    background: #096b77;
    border-radius: 2px;
}

.modal-fiyat-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.modal-fiyat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #dee2e6;
}

.modal-fiyat-item:last-child {
    border-bottom: none;
}

.modal-fiyat-label {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.modal-fiyat-value {
    font-size: 20px;
    font-weight: 700;
    color: #096b77;
}

/* Paylaş Butonu */
.btn-share {
    width: 100%;
    background: #096b77;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #096b7766;
}

.btn-share i {
    margin-right: 8px;
}

/* ========================================
   MODAL ÖZELLİK BADGE'LERİ
   ======================================== */

/* Wrapper */
.modal-ozellik-section {
	margin-bottom: 18px;
	overflow: visible;
}

.modal-ozellik-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
	overflow: visible;
}

/* Tüm badge'lerin base stili */
.modal-oz-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	padding: 6px 13px !important;
	border-radius: 20px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	border: 2px solid transparent !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
}

.modal-oz-badge i {
	font-size: 13px !important;
}

/* Kalori — turuncu */
.modal-oz-badge.kalori-badge {
	background: #fff3e0 !important;
	color: #e65100 !important;
	border-color: #ffb74d !important;
}

/* Et türü — koyu kahve */
.modal-oz-badge.et-badge {
	background: #fbe9e7 !important;
	color: #bf360c !important;
	border-color: #ef9a9a !important;
}

/* Vejetaryen — yeşil */
.modal-oz-badge.vegeta-oz {
	background: #e8f5e9 !important;
	color: #1b5e20 !important;
	border-color: #81c784 !important;
}

/* Glutensiz — mavi */
.modal-oz-badge.gluten-oz {
	background: #e3f2fd !important;
	color: #0d47a1 !important;
	border-color: #64b5f6 !important;
}

/* Acılı — kırmızı */
.modal-oz-badge.acili-oz {
	background: #ffebee !important;
	color: #b71c1c !important;
	border-color: #ef9a9a !important;
}

/* Kolajenli — mor */
.modal-oz-badge.kolaj-oz {
	background: #f3e5f5 !important;
	color: #4a148c !important;
	border-color: #ce93d8 !important;
}

/* Şefin Önerisi — altın */
.modal-oz-badge.sef-oz {
	background: #fffde7 !important;
	color: #f57f17 !important;
	border-color: #ffd54f !important;
}

/* Gramaj — gri */
.modal-oz-badge.gramaj-oz {
	background: #f5f5f5 !important;
	color: #424242 !important;
	border-color: #bdbdbd !important;
}

/* Alerjen bölümü */
.modal-alerjen-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 10px 14px !important;
	background: #fff8e1 !important;
	border: 2px solid #f59e0b !important;
	border-radius: 12px !important;
	margin-top: 8px !important;
	overflow: visible !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.alerjen-baslik {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #92400e !important;
	background: #fef3c7 !important;
	border: 1px solid #fbbf24 !important;
	border-radius: 12px !important;
	padding: 4px 10px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	white-space: nowrap !important;
}

.alerjen-baslik i {
	color: #d97706 !important;
	font-size: 13px !important;
}

.alerjen-chip {
	display: inline-block !important;
	background: #92400e !important;
	color: #ffffff !important;
	border: 1px solid #78350f !important;
	border-radius: 12px !important;
	padding: 4px 11px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
	.modal-oz-badge {
		font-size: 12px !important;
		padding: 5px 10px !important;
	}

	.alerjen-chip {
		font-size: 11px !important;
		padding: 3px 8px !important;
	}

	.alerjen-baslik {
		font-size: 12px !important;
		width: 100% !important;
	}
}


        font-size: 28px;
    }
    
    .kategori-slider-wrapper {
        padding: 0 20px;
    }
    
    .kategori-item {
        width: 100px;
    }
    
    .kategori-circle {
        width: 80px;
        height: 80px;
    }
    
    .kategori-nav {
        top: 40px; /* 80px / 2 */
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .kategori-name {
        font-size: 12px;
    }
    
    .yemek-card-title {
        font-size: 18px;
    }
    
    .yemek-modal-content {
        width: 95%;
    }
    
    .yemek-modal-img {
        height: 250px;
    }
    
    .yemek-modal-info {
        padding: 20px;
    }
    
    .yemek-modal-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .kategori-slider-wrapper {
        padding: 0 18px;
    }
    
    .kategori-item {
        width: 80px;
    }
    
    .kategori-circle {
        width: 60px;
        height: 60px;
    }
    
    .kategori-nav {
        top: 30px; /* 60px / 2 */
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .kategori-name {
        font-size: 11px;
    }
    
    .yemek-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .btn-detay {
        width: 100%;
    }
}

/* ── Varyant Bölümü ────────────────────────────────────────────────── */
.modal-varyant-section {
    margin-bottom: 16px;
}

.modal-varyant-baslik {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-varyant-liste {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-varyant-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    flex-wrap: wrap;
    background: #fff;
}

.modal-varyant-item:hover {
    border-color: #096b77;
    background: #fafafa;
}

.modal-varyant-item.varyant-aktif {
    border-color: #096b77;
    background: #096b7715;
}

.varyant-isim {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    flex: 1;
    min-width: 80px;
}

.varyant-fiyat {
    font-weight: 700;
    font-size: 16px;
    color: #096b77;
    white-space: nowrap;
}

.varyant-kcal {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.varyant-alerjenler {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.varyant-alerjen-chip {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .modal-varyant-item { padding: 8px 10px; }
    .varyant-isim { font-size: 13px; }
    .varyant-fiyat { font-size: 14px; }
}
