/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #ff4757, #ff6347);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    border-radius: 15px;
    color: white;
    position: relative;
}

.restaurant-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Phone Numbers */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.phone-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.2rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.phone-number {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 8px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lang-btn[data-lang="ar"] {
    background: linear-gradient(135deg, #007A3D, #005A2D);
    color: white;
    font-size: 1.4rem;
}

.lang-btn[data-lang="en"] {
    background: linear-gradient(135deg, #012169, #00247D);
    color: white;
    font-size: 1.4rem;
}

.lang-btn[data-lang="tr"] {
    background: linear-gradient(135deg, #E30A17, #C00A14);
    color: white;
    font-size: 1.4rem;
}

.lang-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: #e74c3c;
    filter: brightness(1.2);
}

.lang-btn.active {
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Menu Navigation */
.menu-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-btn {
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    border: none;
    color: white;
    padding: 0;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.category-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-btn:hover .category-photo {
    transform: scale(1.1);
}

.category-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
}

.category-btn.active {
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.7);
    transform: scale(1.05);
}

.category-overlay {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: linear-gradient(135deg, #e74c3c, #ff4757);
}

.category-btn.active .category-overlay {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.category-text {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: white !important;
    text-shadow: none;
    -webkit-text-fill-color: white !important;
    -webkit-text-stroke: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none !important;
    border: none !important;
    -webkit-outline: none !important;
    -moz-outline: none !important;
    -webkit-border: none !important;
    -moz-border: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Menu Content */
.menu-content {
    min-height: 500px;
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.menu-content.active {
    display: block;
}

.menu-section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.menu-section.active {
    display: block;
}

/* Back Button */
.back-btn {
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

.back-btn:before {
    content: "←";
    font-size: 1.2rem;
    font-weight: bold;
}

[dir="rtl"] .back-btn:before {
    content: "→";
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
}

.item-image {
    height: 200px;
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.item-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-photo {
    transform: scale(1.05);
}

.image-placeholder {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-info {
    padding: 20px;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.item-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e74c3c;
    text-align: right;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    border-radius: 15px;
    color: white;
}

.footer-text {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .header {
        padding-top: 60px;
    }
    
    .restaurant-name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .phone-numbers {
        gap: 6px;
    }
    
    .phone-item {
        padding: 6px 12px;
    }
    
    .phone-icon {
        font-size: 1rem;
    }
    
    .phone-number {
        font-size: 0.9rem;
    }
    
    .menu-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .category-btn {
        min-height: 140px;
    }
    
    .category-image {
        height: 100px;
    }
    
    .category-overlay {
        padding: 12px;
    }
    
    .category-text {
        font-size: 1rem;
        color: white !important;
        text-shadow: none;
        -webkit-text-fill-color: white !important;
        -webkit-text-stroke: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        outline: none !important;
        border: none !important;
        -webkit-outline: none !important;
        -moz-outline: none !important;
        -webkit-border: none !important;
        -moz-border: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding-top: 55px;
    }
    
    .restaurant-name {
        font-size: 1.8rem;
    }
    
    .phone-numbers {
        gap: 5px;
    }
    
    .phone-item {
        padding: 5px 10px;
    }
    
    .phone-icon {
        font-size: 0.9rem;
    }
    
    .phone-number {
        font-size: 0.8rem;
    }
    
    .language-selector {
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 3px;
    }
    
    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 5px;
    }
    
    .menu-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .back-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .category-btn {
        min-height: 120px;
    }
    
    .category-image {
        height: 80px;
    }
    
    .category-overlay {
        padding: 10px;
    }
    
    .category-text {
        font-size: 0.9rem;
        color: white !important;
        text-shadow: none;
        -webkit-text-fill-color: white !important;
        -webkit-text-stroke: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        outline: none !important;
        border: none !important;
        -webkit-outline: none !important;
        -moz-outline: none !important;
        -webkit-border: none !important;
        -moz-border: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 15px;
        padding-top: 50px;
    }
    
    .restaurant-name {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .phone-numbers {
        gap: 4px;
    }
    
    .phone-item {
        padding: 4px 8px;
    }
    
    .phone-icon {
        font-size: 0.8rem;
    }
    
    .phone-number {
        font-size: 0.7rem;
    }
    
    .language-selector {
        top: 8px;
        right: 8px;
        gap: 2px;
    }
    
    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        padding: 3px;
    }
}

/* RTL Support for Arabic */
[dir="rtl"] .item-price {
    text-align: left;
}

[dir="rtl"] .language-selector {
    right: 15px;
    left: auto;
}

/* LTR Support for English and Turkish */
[dir="ltr"] .item-price {
    text-align: right;
}

/* Smooth transitions for language changes */
* {
    transition: all 0.3s ease;
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c, #ff4757);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
} 