/* ===================================
   CATEGORY & GALLERY STYLES
   Specific to menu pages
   =================================== */



/* ===============================
   Site Logo (Fixed Top-Left)
   =============================== */
.site-logo {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-logo {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;   /* Daire yerine soft köşe */
}

.site-logo img {
    width: 120px; /* Navbar için daha dengeli bir boyut */
    height: auto;
    display: block;
}

/* Hover – Işık efekti (PNG’ye zarar vermez) */
.site-logo:hover img {
    filter: drop-shadow(0 0 6px rgba(180, 226, 197, 0.9))
            drop-shadow(0 0 14px rgba(180, 226, 197, 0.6));
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .site-logo {
        width: 56px;
        height: 56px;
        top: 1rem;
        left: 1rem;
    }

    .site-logo img {
        width: 32px;
    }
}

/* --- Category Navigation Strip --- */
.category-strip {
    background: #fdfdfd;
    padding: 1.25rem 0;
    position: sticky;
    top: 80px; /* shared.css içindeki header yüksekliğine göre ayarlandı */
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.category-strip-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-nav {
    display: flex;
    justify-content: flex-start; /* ÖNEMLİ: Prepend çalışması için sola yaslı olmalı */
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 1.5rem; /* Yanlara biraz nefes payı */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth; /* Kayma animasyonu için */
}

.category-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari için scroll gizleme */
}

.category-link {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    transition: all 0.3s ease;
}

.category-link:hover, 
.category-link.active {
    background: var(--cafe-green, #B4E2C5) !important;
    border-color: var(--cafe-green, #B4E2C5) !important;
    color: #1f2937 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(180, 226, 197, 0.4);
}

/* --- Gallery Grid Section --- */
.category-gallery {
    padding: 3rem 0 5rem;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1.2; /* Dikey estetik bir oran */
    overflow: hidden;
    background-color: #f3f4f6;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* --- Hover Effects --- */
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}


/* Görsellerin üzerine gelince çok hafif bir karartma (Opsiyonel) */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.02));
    pointer-events: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .category-strip {
        top: 70px; /* Mobil header yüksekliği */
    }
    
    .category-nav {
        justify-content: flex-start;
        padding-bottom: 5px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-image {
        aspect-ratio: 1 / 1; /* Mobilde kare daha iyi durabilir */
    }
}