* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #e63946;
    --text-color: #1d3557;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --hover-color: #c1121f;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.8;
}

.categories {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 15px 0;
    margin-bottom: 25px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.categories::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, transparent, var(--bg-color));
    pointer-events: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 12px 24px;
    border: none;
    background-color: var(--card-bg);
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.category-btn.active, .category-btn.is-active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.menu-section {
    /* display: none; */
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-section.active {
    /* display: block; */
}

.menu-section h2 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-top: 60px;
    scroll-margin-top: 110px;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.item-image {
    width:30%;
    margin-right:5%;
}

.item-image img{
    width:100%;
}

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

.menu-item h3 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.description {
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 5px;
    line-height: 1.5;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 15px;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil cihazlar için ek düzenlemeler */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .menu-item {
        padding: 16px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .menu-section h2 {
        font-size: 1.4rem;
    }
}

/* Tarayıcı uyumluluğu için ek düzenlemeler */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .menu-item {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Firefox için özel düzenlemeler */
@-moz-document url-prefix() {
    .menu-item {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

/* Safari için özel düzenlemeler */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .menu-item {
            -webkit-transform: translateZ(0);
        }
    }
}

.price-table {
    margin-top: 10px;
    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 10px 0;
    width: 100%;
    max-width: none;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.price-row:last-child {
    border-bottom: none;
}

.age-group {
    font-weight: 700;
    color: #b22222;
    font-size: 1.05em;
}

.age-group small {
    color: #888;
    font-size: 0.9em;
}

.price-table .price {
    font-weight: bold;
    font-size: 1.1em;
    color: #222;
}

.allergen-info {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
.allergen-info p {
    margin: 0;
}
.allergen-info br {
    line-height: 1.2;
}
.allergen-info strong, .allergen-info b {
    font-weight: bold;
    font-size: 1rem;
    color: #b22222;
}

.logo {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 180px;
    width: 60%;
    height: auto;
} 