/* ========================================
   Butikek Cafe Menu - Header/Footer Images
   ======================================== */

/* Color Variables */
:root {
    --primary-green: #145036;
    --burgundy: #8D2526;
    --gold: #CBA962;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #e8e8e8;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Main Menu Card */
.menu-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Gold Border Frame */
.menu-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--gold);
    pointer-events: none;
    z-index: 10;
}

/* Header Image */
.header-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Navigation Bar */
.menu-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    margin: 0 10px;
    background: var(--white);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-nav::-webkit-scrollbar {
    display: none;
}


.menu-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--primary-green);
    text-decoration: none;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-nav a:hover {
    background: var(--gold);
    color: var(--white);
}

/* Menu Content */
.menu-content {
    padding: 20px 30px;
    background: var(--white);
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 15px;
}

.section-title:first-child {
    margin-top: 0;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 0 15px;
    position: relative;
}

/* Decorative lines */
.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold);
    max-width: 50px;
}

/* Arrow decorations */
.section-title h2::before,
.section-title h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateY(-50%);
}

.section-title h2::before {
    left: -3px;
    border-width: 4px 6px 4px 0;
    border-color: transparent var(--gold) transparent transparent;
}

.section-title h2::after {
    right: -3px;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent var(--gold);
}

/* Menu Items */
.menu-items {
    padding: 0 5px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gold);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
    padding-right: 10px;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 2px;
}

.item-desc {
    display: none;
}

/* Adet Tatlılar bölümünde açıklamaları göster */
#adet-tatlilar + .menu-items .item-info .item-desc {
    display: block !important;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

.item-price {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green);
    white-space: nowrap;
}

.item-price small {
    font-size: 0.4rem;
    font-weight: 400;
    color: #999;
}

/* Section Divider */
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

.section-divider::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* Footer Container */
.footer-container {
    position: relative;
}

/* Footer Menu (Çocuk Menüsü) */
.footer-menu {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    padding: 12px 25px 12px 25px;
    padding-right: 140px;
    z-index: 5;
}

.footer-menu .section-title {
    margin: 10px 0 8px;
    margin-right: -115px;
}

.footer-menu .section-title h2 {
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 2px;
}

.footer-menu .menu-items {
    padding: 0 3px;
}

.footer-menu .menu-item {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(203, 169, 98, 0.5);
}

.footer-menu .menu-item:last-child {
    border-bottom: none;
}

.footer-menu .item-name {
    color: var(--white);
    font-size: 0.8rem;
}

.footer-menu .item-desc {
    display: none;
}

.footer-menu .item-price {
    color: var(--gold);
    font-size: 0.8rem;
}

.footer-menu .menu-item.clickable:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer Image */
.footer-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 95vh;
    overflow-y: auto;
}

.lightbox img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    flex-shrink: 0;
}

.lightbox-desc {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
    padding: 10px 20px;
    line-height: 1.6;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Clickable Menu Items */
.menu-item.clickable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.menu-item.clickable:hover {
    background-color: #f9f9f9;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .menu-card {
        max-width: 100%;
    }

    .menu-content {
        padding: 15px 25px;
    }

    .section-title h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* Navigation Mobile */
    .menu-nav {
        gap: 6px;
        padding: 10px 12px;
    }

    .menu-nav a {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    /* Footer Menu Mobile */
    .footer-menu {
        top: 60px;
        padding: 8px 20px;
        padding-right: 120px;
    }

    .footer-menu .section-title {
        margin: 5px 0 5px;
        margin-right: -100px;
    }

    .footer-menu .section-title h2 {
        font-size: 0.85rem;
    }

    .footer-menu .item-name {
        font-size: 0.7rem;
    }

    .footer-menu .item-price {
        font-size: 0.7rem;
    }

    .footer-menu .menu-item {
        padding: 4px 0;
    }
}
