* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f3ebd9;
    padding: 20px 0;
}

.main-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo { width: 100px; }
.tagline { font-family: cursive; font-size: 14px; margin-top: 5px; }

/* Menü Çerçevesi */
.nav-container {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ccc;
    display: flex;
    height: 55px;
    overflow: hidden; 
    position: relative;
}

.nav-wrapper {
    flex-grow: 1;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.nav-wrapper::-webkit-scrollbar { display: none; }

.nav-list {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    width: max-content;
}

.nav-item {
    height: 100%;
    padding: 0 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px dotted #999;
    color: #000;
    line-height: normal;
}

.nav-item.active {
    background-color: #222;
    color: #fff;
    border-radius: 12px;
    border-right: none;
    margin: 4px; 
    height: calc(100% - 8px); 
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:last-child {
    border-right: none;
}

.nav-arrow {
    background-color: #a32a1e;
    color: white;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 5;
    user-select: none;
}

.content-area {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.section-banner {
    background-color: #c42d2d;
    color: white;
    display: inline-block;
    padding: 10px 80px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}


.product-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px;
    max-width: 600px; 
    margin: 0 auto;
}


.product-card {
    width: 280px; 
    background-color: #ba2828;
    color: white;
    border-radius: 4px;
    overflow: hidden;
    display: none; 
    flex-direction: column; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card[style*="display: flex"] {
    display: flex !important;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


.product-img {
    width: 100%;
    height: 380px; 
    overflow: hidden;
    background-color: #ba2828;
}

.product-img img { 
    width: 100%; 
    height: 100%; 
    display: block;
    object-fit: cover; 
}


.product-info { 
    padding: 15px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.product-info h3 { font-size: 16px; margin-bottom: 5px; }
.product-info p { 
font-size: 14px; /* 11px'den 14px'e çıkardık, daha okunaklı oldu */
    margin-bottom: 15px; 
    line-height: 1.4; /* Satır aralığını açtık ki yazılar birbirine girmesin */
    font-weight: 500; /* Bir tık kalınlaştırarak daha net durmasını sağladık */
    opacity: 1; /* Hafif şeffaflığı kaldırıp tam beyaz yaptık */
    text-align: center;
    min-height: 40px; 
}
.product-info .price { font-weight: bold; margin-top: auto; padding-top: 10px; }


.menu-card-red {
    width: 100%;
    background-color: #ba2828; 
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.menu-header-white {
    background-color: #ffffff; 
    color: #ba2828;
    padding: 15px;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid #a01d1d;
}

.menu-body-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.menu-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-text h4 {
    color: #fff;
    font-size: 19px;
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.item-text p {
    color: #fff;
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    text-align: left;
}

.item-price-tag {
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 10px;
}


.product-card[data-cat="kucuk-boy"] {
    background: transparent !important;
    padding: 10px;
}


.menu-container-fixed {
    width: 100%;
    min-height: 480px; 
    background-color: #ba2828;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.menu-fixed-header {
    background-color: #ffffff;
    color: #ba2828;
    padding: 15px;
    font-weight: 800;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid #a01d1d;
}

.menu-fixed-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; 
}

.menu-fixed-item {
    padding-bottom: 15px;
    border-bottom: 1px dotted rgba(255,255,255,0.3);
}

.menu-fixed-item:last-child {
    border-bottom: none;
}

.menu-fixed-item h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.menu-fixed-item p {
    color: #fff;
    font-size: 0.9em;
    opacity: 0.9;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.menu-fixed-price {
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
}


@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

.logo-signature {
    font-family: 'Caveat', cursive; 
    font-size: 24px;
    color: #ba2828; 
    margin-top: -10px; 
    letter-spacing: 1px;
}

/* --- MOBİL 2'Lİ GÖRÜNÜM AYARI --- */
@media (max-width: 768px) {
    /* Ana kapsayıcıyı tam genişlik yap ve boşlukları ayarla */
    .product-grid {
        max-width: 100% !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    /* Kartları yan yana 2 tane sığacak şekilde ayarla */
    .product-card {
        width: calc(50% - 15px) !important; /* %50'den gap payını düşüyoruz */
        margin: 0 !important;
        min-height: auto !important;
    }

    /* Resimlerin yüksekliğini mobilde küçült (Yoksa ekranı kaplar) */
    .product-img {
        height: 180px !important; /* Görseldeki boyutu mobilde makul seviyeye çektik */
    }

    /* Yazıları mobilde biraz küçültelim ki kutuya sığsın */
    .product-info h3 {
        font-size: 14px !important;
        min-height: 35px; /* Başlıklar farklı uzunluktaysa hizayı bozmasın */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-info p.description {
        font-size: 11px !important;
        line-height: 1.2 !important;
        min-height: 50px !important; /* Açıklama kısmı hizalı dursun */
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Çok uzun açıklamaları 3 satırda keser */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Fiyat listesi fontlarını ayarla */
    .price-item {
        font-size: 11px !important;
        margin-bottom: 3px !important;
    }

    /* Banner genişliğini mobilde ayarla */
    .section-banner {
        padding: 10px 40px !important;
        font-size: 14px !important;
    }
}

.allergy-info {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.allergy-box {
    background-color: #d1ecf1; /* Açık mavi arka plan */
    border: 1px solid #0c5460; /* Koyu mavi kenarlık */
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    width: fit-content;
}

.allergy-icon {
    width: 30px;
    height: 30px;
    border: 2px solid #0c5460;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-style: italic;
    color: #0c5460;
    flex-shrink: 0;
}

.allergy-box p {
    color: #0c5460;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

/* Mobil için yazı boyutunu biraz küçültelim */
@media screen and (max-width: 600px) {
    .allergy-box {
        padding: 10px 15px;
    }
    .allergy-box p {
        font-size: 12px;
    }
}

/* Sayfa Geneli Sıfırlama */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #f3ebd9;
    overflow-x: hidden;
}

/* İçerik Alanı */
.content-area {
    max-width: 1000px;
    margin: 40px auto 0 auto; /* Alttaki margin'i sıfırladık */
    text-align: center;
    padding-bottom: 20px;
}

/* Alerji Kutusu Boşluk Ayarı */
.allergy-info {
    max-width: 900px;
    margin: 20px auto 0 auto; /* Üstten 20px, alttan 0 */
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

/* FOOTER - BOŞLUKLARI SİLEN VERSİYON */
.main-footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px 20px 20px;
    margin-top: 40px; /* Alerji kutusuyla arasındaki mesafe */
    margin-bottom: 0 !important; /* Sayfa altındaki boşluğu bitirir */
    width: 100%;
    display: block;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #ba2828;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #ba2828;
}

.footer-desc, .footer-section p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 0 8px 0; /* Paragrafların altına binen ekstra boşluğu kontrol ettik */
}

.social-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ba2828;
}

/* En alttaki telif yazısı ve son çizgi */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 0; /* En kritik yer burası */
}

/* Mobil Düzen */
@media screen and (max-width: 600px) {
    .footer-content {
        text-align: center;
    }
    .footer-section {
        padding-bottom: 10px;
    }
}
