:root {
    --primary-color: #173c57; /* Ana Mavi */
    --secondary-color: #e4cca4; /* Açık Kahve */
    --accent-color: #db2d2b; /* Kırmızı */
    --background-color: #f8f8f8; /* Daha açık bir arka plan */
    --text-color: #333; /* Koyu Gri Metin */
    --card-background: #fff; /* Kart Arka Planı */
    --border-color: #ddd; /* Kenarlık Rengi */
    --allergen-color: #c00; /* Alerjen Rengi */
    --footer-text-color: var(--primary-color);
    --header-bg: var(--secondary-color);
    --header-text: var(--primary-color);
    --section-title-color: var(--accent-color);
    --item-description-color: #555;

    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Daha modern bir font */
    --border-radius: 8px; /* Yuvarlak köşeler */
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Daha belirgin gölge */
    --transition-speed: 0.3s; /* Geçiş hızı */
    --header-height: clamp(100px, 20vh, 100px);
    --content-max-width: 1200px;
    --logo-size-desktop: clamp(500px, 20vh, 500px);
    --logo-size-mobile: clamp(90px, 15vh, 150px);
}

body {
    font-family: var(--font-family);
    margin: 0;
    background: linear-gradient(rgba(248, 248, 248, 0.30), rgba(248, 248, 248, 0.30)),
                url('coffee-beans.webp');
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-color);
    line-height: 1.6; /* Okunabilirlik için satır yüksekliği */
}

header {
    height: var(--header-height);
    background: #e4cca4;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-content {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    height: 100%;
    padding: 0.8rem;
}

#logo {
    height: calc(var(--header-height) + 1.2rem);
    width: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

h1 {
    font-size: 1.8em; /* Biraz büyütüldü */
    margin: 0;
    font-weight: 600; /* Daha belirgin başlık */
}

main {
    max-width: var(--content-max-width);
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

.menu-section {
    background-color: rgba(250, 238, 219, 0.9);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.menu-section:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
}

.menu-section h2 {
    color: var(--section-title-color);
    border-bottom: 2px solid var(--section-title-color); /* Daha belirgin alt çizgi */
    padding-bottom: 0.5rem;
    margin-top: 0; /* Üst boşluğu kaldır */
    margin-bottom: 1.5rem; /* Alt boşluğu artır */
    font-size: 1.6em;
}

.menu-list {
    position: static;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.menu-list li {
    padding: 0;
    border-bottom: none;
    display: flex;
    isolation: isolate;
    background: none;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid var(--primary-color);
    margin: 0;
    padding: 1rem;
    border-radius: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    z-index: -1;
    border-radius: 12px;
}

.menu-item, 
.menu-item *, 
.menu-list,
.menu-list * {
    mix-blend-mode: normal;
    isolation: auto;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-blend-mode: normal;
}

.menu-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2em;
}

.description {
    font-style: normal; /* İtalik kaldırıldı */
    font-size: 0.95em; /* Biraz büyütüldü */
    color: var(--item-description-color);
    margin-bottom: 0.8rem; /* Açıklama ve fiyat arası boşluk */
    flex-grow: 1; /* Açıklamanın alanı doldurmasını sağla */
}

/* .sizes ve .size kaldırıldı, HTML'de yok */

.allergens {
    font-size: 0.85em;
    color: var(--allergen-color);
    margin-top: auto; /* Alerjen bilgisini en alta it */
    padding-top: 0.5rem; /* Üstündeki elemandan ayır */
}

.price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2em; /* Fiyatı daha belirgin yap */
    margin-top: 0.5rem; /* Açıklamadan sonra boşluk */
    text-align: right; /* Fiyatı sağa yasla */
}

.price-info-section {
    background-color: rgba(250, 238, 219, 0.9);
    color: var(--footer-text-color);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.price-info-section p {
    margin: 0.3rem 0;
}

footer {
    background-color: var(--header-bg);
    color: var(--footer-text-color);
    text-align: center;
    padding: 1rem 0.8rem;
    margin-top: 2rem; /* Ana içerikten ayır */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.social-media {
    margin-bottom: 0.8rem;
}

.social-media a {
    margin: 0 0.8rem;
    color: var(--accent-color);
    font-size: 1.5rem; /* İkonları büyüt */
    transition: color var(--transition-speed) ease;
}

.social-media a:hover {
    color: var(--primary-color); /* Hover rengi */
}

.footer-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.3rem;
}

.footer-heart i {
    margin: 0 5px;
    color: var(--accent-color);
}

a {
    color: var(--accent-color); /* Genel link rengi */
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Mobil uyumluluk iyileştirmeleri */
@media (max-width: 768px) {
    :root {
        --header-height: clamp(110px, 22vh, 150px);
    }

    .header-content {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    #logo {
        height: calc(var(--header-height) - 1.5rem);
    }

    h1 {
        font-size: 1.2em;
    }

    /* Grid yapısını mobilde de 2'li yapalım */
    .menu-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .menu-item {
        padding: 0.8rem;
    }

    .menu-item h3 {
        font-size: 1.1em;
    }

    .description {
        font-size: 0.9em;
    }

    .price {
        font-size: 1.1em;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    main {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 2rem;
    }
}

@media (min-width: 1201px) {
    main {
        grid-template-columns: repeat(2, 1fr);
    }
}

