/* ===================================
   MENU PAGE STYLES
   =================================== */

/* ===================================
   Menu Hero
   =================================== */
.menu-hero {
    padding: 12rem 2rem 8rem;
    background: linear-gradient(135deg, var(--cafe-green-light) 0%, var(--color-white) 100%);
    text-align: center;
}

.menu-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.menu-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.menu-hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--color-gray-600);
}

/* ===================================
   Menu Gallery
   =================================== */
.menu-gallery {
    padding: 5rem 0 8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--color-gray-100);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.category-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tam olarak 3 sütun */
    gap: 2rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Hafif karartma */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
}

.category-overlay span {
    text-align: center;
}

.gallery-item:hover .category-overlay {
    background-color: rgba(180, 226, 197, 0.7); /* Cafe yeşili tonda hover */
}

/* Görselsiz kategori kartları için marka rengli gradyan arka plan */
.gallery-item.no-image {
    background: linear-gradient(135deg, var(--cafe-green-dark) 0%, var(--cafe-green-light) 100%);
}

.gallery-item.no-image .category-overlay {
    background-color: rgba(0, 0, 0, 0.15);
}

.gallery-item.no-image:hover .category-overlay {
    background-color: rgba(0, 0, 0, 0.05);
}

.gallery-item.no-image .category-overlay span {
    color: var(--color-black);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.full-width-category {
    grid-column: span 3; /* 3 sütunu da kaplar */
}

.gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-image::after {
    opacity: 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.15);
}

/* Staggered Animation */
.gallery-item:nth-child(1) {
    transition-delay: 0.05s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.15s;
}

.gallery-item:nth-child(4) {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(5) {
    transition-delay: 0.25s;
}

.gallery-item:nth-child(6) {
    transition-delay: 0.3s;
}

/* ===================================
   Menu CTA Section
   =================================== */
.menu-cta {
    padding: 6rem 0;
    background-color: var(--color-gray-900);
}

.menu-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.menu-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.menu-cta-text {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.menu-cta .btn-primary {
    background-color: var(--cafe-green);
    color: var(--color-black);
}

.menu-cta .btn-primary:hover {
    background-color: var(--cafe-green-dark);
}

/* ===================================
   Responsive Design
   =================================== */
   @media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .full-width-category {
        grid-column: span 1;
    }
}


@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .gallery-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .menu-hero {
        padding: 10rem 1.5rem 6rem;
    }

    .menu-gallery {
        padding: 3rem 0 5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image {
        height: 300px;
    }

    .menu-cta {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 250px;
    }
}
/* ===============================
   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: 300px;               /* Biraz büyüt – okunurluk artar */
    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;
    }
}