﻿/* =========================================
   MENU.CSS - PETRA MINIMALIST & PREMIUM
   ========================================= */

/* 1. PETRA FONTLARI (Montserrat & Playfair Display) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --bg-color: #0c0b0a;
    --panel-color: #161412;
    --text-color: #f0eee9;
    --accent-color: #da9f5b;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Font Tanımları */
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* 2. GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* 3. LOGO TUTARLILIĞI (Üst ve Alt Logo Aynı Karizmada) */
/* --- LOGO: MODERN VE DİK DURUŞ --- */
.logo a:hover {
    letter-spacing: 5px !important; /* Üstüne gelince hafifçe açılsın */
    opacity: 0.8;
}

/* 3a. SAYFA ÜST BARI ve NAV STİLLERİ */
header nav ul li a {
    color: #ffffff !important; /* Tüm üst menü bağlantıları beyaz */
}

header nav ul li a.active {
    color: #ffd764 !important; /* Kahveler için parlak altın vurgusu */
}

header .logo a,
header .logo,
.footer-logo,
.logo a {
    font-family: 'Oswald', sans-serif !important;
    color: #ffffff !important; /* Tam beyaz */
    font-weight: 700 !important;
    font-style: normal !important; /* Dik duruş */
    text-transform: uppercase !important; /* Büyük harf */
    letter-spacing: 2px !important;
    text-decoration: none !important;
    animation: none !important;
    transition: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

header .logo a:hover,
.footer-logo:hover,
.logo a:hover {
    color: #ffffff !important;
    transform: none !important;
    letter-spacing: 2px !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.footer-logo {
    font-size: 2.5rem !important;
    margin-top: 2rem;
    display: block !important;
}

/* 4. IZGARA YAPISI  */
/* Menü sayfasındaki kategori kartlarını yerleştiren ana container */
.menu-wrapper {
    max-width: 1350px;
    margin: 5rem auto 10rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
    align-items: start;
}

/* 5. KATEGORİ GÖRSELİ (PORTRE ORANINDA) */
.category-banner {
    width: 100%;
    aspect-ratio: 4 / 5; /* Petra stili dikey lüks duruş */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: brightness(0.9);
    cursor: pointer;
}

.menu-accordion-item:hover .category-banner {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* 6. ZARİF KATEGORİ BAŞLIĞI */
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent-color);
}

/* Artı (+) İkonu */
.accordion-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.4s ease;
}

.menu-accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* 7. İÇERİK LİSTESİ */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.accordion-content-inner {
    padding: 1.5rem 0 0 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(218, 159, 91, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 8. ÜRÜN SATIRLARI */
.menu-product {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px dotted rgba(218, 159, 91, 0.2);
    padding-bottom: 0.6rem;
}

.product-name { 
    font-weight: 700; 
    font-size: 0.95rem; 
    color: var(--text-color); 
    margin-bottom: 0.2rem; 
    text-transform: uppercase; 
}

.product-desc { 
    font-size: 0.8rem; 
    color: #a09d98; 
    font-weight: 300; 
}

.product-price { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--accent-color); 
}

/* 9. MOBİL UYUM */
@media (max-width: 1024px) {
    .menu-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu-wrapper { grid-template-columns: 1fr; gap: 3.5rem; }
}

/* 10. GÜÇLENDİRİLMİŞ MOBİL UYUM */
@media (max-width: 620px) {
    .menu-wrapper {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }

    .menu-accordion-item {
        padding: 1rem;
    }

    .category-banner {
        aspect-ratio: 4 / 3;
        width: 100%;
        margin-bottom: 1rem;
    }

    .accordion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        font-size: 1.15rem;
    }

    .accordion-icon {
        font-size: 1.5rem;
    }

    .accordion-content-inner {
        padding: 1rem 0 0 0;
        gap: 0.9rem;
    }

    .menu-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding-bottom: 0.85rem;
    }

    .product-name {
        font-size: 0.98rem;
    }

    .product-desc {
        font-size: 0.78rem;
    }

    .product-price {
        align-self: flex-end;
        font-size: 1rem;
    }
}
