/* ===== CSS Variables ===== */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E85A2A;
    --secondary-color: #FFE5D9;
    --accent-color: #FFC857;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFF5F0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Language screen aktifken body scroll'unu engelle */
body.language-screen-active {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

h1, h2, h3 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== Screen Management ===== */
.screen {
    display: none;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.screen.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease forwards;
}

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

/* ===== Language Selection Screen ===== */
#languageScreen {
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B35 0%, #E85A2A 50%, #FF6B35 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden; /* Scroll'u tamamen engelle - sadece container içinde scroll olacak */
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
}

#languageScreen.active {
    display: flex;
}

/* ::before animasyonu kaldırıldı - scroll sorununa neden oluyordu */

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.language-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    max-height: 85vh;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-section {
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    animation: pulse 2s ease-in-out infinite;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.brand-tagline {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.language-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 35px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.language-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
    box-sizing: border-box;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 80px;
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s;
}

.language-btn:hover::before {
    left: 100%;
}

.language-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FFD9C9 100%);
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.language-btn:active {
    transform: translateX(8px) scale(0.98);
}

/* Flag icon styles */
.flag-icon,
.language-btn .flag {
    font-size: 2.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.language-btn .lang-name {
    font-size: 0.9rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.restaurant-name {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.restaurant-slogan {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.current-lang {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Header Info Bar ===== */
.header-info-bar {
    background: var(--bg-white);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header-info-bar .info-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.header-info-bar .info-item .icon {
    font-size: 1rem;
}

.header-info-bar .info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-info-bar .info-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary-color), rgba(255, 200, 87, 0.3));
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

/* ===== Views ===== */
.view {
    display: none;
    min-height: calc(100vh - 140px);
}

.view.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.1);
}

.category-image-container {
    width: 100%;
    max-width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-sizing: border-box;
}

.category-icon {
    font-size: 4.5rem;
    display: block;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== Items Grid ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.back-arrow {
    font-size: 1.2rem;
    transition: var(--transition);
}

.back-btn:hover .back-arrow {
    transform: translateX(-3px);
}

.category-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.item-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.15);
}

.item-image {
    width: 100%;
    max-width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.item-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

.item-image:hover img {
    transform: scale(1.05);
}

.item-image.fallback-icon {
    font-size: 3.2rem;
    animation: fadeInScale 0.3s ease;
    background: radial-gradient(circle at 30% 30%, rgba(255, 200, 87, 0.28), transparent 55%), linear-gradient(135deg, #FFE5D9, #FFD7BD);
    color: var(--primary-color);
    border: 1px dashed rgba(255, 107, 53, 0.35);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.item-content {
    padding: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.item-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--secondary-color), rgba(255, 200, 87, 0.3));
    padding: 4px 12px;
    border-radius: 8px;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.item-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== Restaurant Info Footer ===== */
.restaurant-info {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== QR Codes Section ===== */
.qr-section {
    background: linear-gradient(135deg, #FFF8F5 0%, #FFF0EB 100%);
    padding: 40px 20px;
    text-align: center;
}

.qr-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.qr-icon {
    font-size: 1.8rem;
}

.qr-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.qr-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    max-width: 320px;
    flex: 1;
    min-width: 280px;
    border: 2px solid transparent;
}

.qr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.qr-google:hover {
    border-color: #4285F4;
}

.qr-instagram:hover {
    border-color: #E1306C;
}

.qr-image-container {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
}

.qr-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.qr-card:hover .qr-image {
    transform: scale(1.02);
}

.qr-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.google-badge {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
}

.instagram-badge {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: white;
}

.qr-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* QR Section Responsive */
@media (max-width: 768px) {
    .qr-section {
        padding: 30px 15px;
    }

    .qr-section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .qr-cards {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .qr-card {
        max-width: 350px;
        min-width: 0;
        width: 100%;
    }

    .qr-content {
        padding: 20px;
    }

    .qr-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .qr-text {
        font-size: 1rem;
    }
}

/* ===== Google Maps ===== */
.map-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 450px;
    border: none;
    display: block;
    box-sizing: border-box;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Modal açıkken body scroll'unu engelle */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 5px;
}

.modal-lang-btn {
    justify-content: center;
    padding: 16px 12px;
    flex-direction: column;
    gap: 8px;
    min-height: 90px;
    text-align: center;
}

.modal-lang-btn .flag-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.modal-lang-btn .lang-name {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .restaurant-name {
        font-size: 2rem;
    }

    .section-title,
    .category-title {
        font-size: 2rem;
    }

    .categories-grid,
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-card {
        padding: 15px 10px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-image-container {
        height: 120px;
        margin-bottom: 10px;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-icon {
        font-size: 3rem;
    }

    .category-name {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .item-card {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .item-image {
        height: 120px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .item-content {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .item-header {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .item-name {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .item-price {
        font-size: 1.1rem;
        align-self: flex-start;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .item-description {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .language-container {
        padding: 30px 20px;
        max-height: 95vh;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    #languageScreen {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .language-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-height: 55vh;
    }

    .language-btn {
        padding: 12px 8px;
        min-height: 70px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .flag-icon,
    .language-btn .flag {
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }

    .language-btn .lang-name {
        font-size: 0.8rem;
    }

    .language-toggle {
        top: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.9rem;
        min-height: 44px; /* Touch target */
        min-width: 80px;
    }

    .back-btn {
        padding: 14px 26px;
        min-height: 48px; /* Touch target */
    }

    .restaurant-info {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        padding: 20px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .modal-close {
        width: 44px;
        height: 44px; /* Touch target */
        font-size: 2.2rem;
    }

    .modal-content {
        max-width: 95%;
        padding: 20px;
        max-height: 95vh;
    }

    .modal-body {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
        max-height: calc(95vh - 100px);
    }

    .modal-lang-btn {
        padding: 12px 8px;
        min-height: 80px;
    }

    .modal-lang-btn .flag-icon {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }

    .modal-lang-btn .lang-name {
        font-size: 0.8rem;
    }

    /* Header Info Bar Mobile */
    .header-info-bar {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header-info-bar .info-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header-info-bar .info-item {
        font-size: 0.75rem;
    }

    .header-info-bar .social-links a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .map-container iframe {
        height: 450px; /* Mobilde de aynı yükseklik - doğru konumu göstermek için */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Animations ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== Loading State ===== */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.2rem;
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .language-toggle,
    .back-btn,
    .modal {
        display: none;
    }

    body {
        background: white;
    }

    .item-card,
    .category-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

