

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
/* THEME VARIABLES */
:root {
    --bg-main: #fff;
    --bg-secondary: #f7f7f7;
    --text-main: #222;
    --text-secondary: #666;
    --bg-btn: #e5e5e5;
    --accent: #b4975a;
    --header-bg: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
    --card-bg: #fff;
    --border: #e0e0e0;
    --badge-bg: #e6f4ea;
    --badge-text: #2d5a2d;
}


body {
    font-family:"Poppins", sans-serif;
    background: linear-gradient(90deg, #e6ecff 0%, #d0dcf9 100%);
    color: var(--text-main);
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
}
h1,h2,h3,h4,h5,h6,p,a,span,button{
    font-family:"Poppins", sans-serif;

}
     
        /* Header */
        .header {
            background: var(--header-bg);
            padding: 20px;
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        
        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 28px;
            font-weight: bold;
            color: var(--accent);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            font-size: 32px;
        }
        body .dark-logo {
            display: block;
        }
        body .white-logo {
            display: none;
        }
        body.dark-theme .dark-logo {
            display: none;
        }
        body.dark-theme .white-logo {
            display: block;
        }
        .header-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .theme-toggle-btn {
            background: var(--accent);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
        }
        .theme-toggle-btn:hover {
            background: #222;
            color: var(--accent);
        }
        

        /* iOS-style language toggle */
        .lang-toggle {
            display: inline-block;
            vertical-align: middle;
        }
        .lang-switch-input {
            display: none;
        }
        .lang-switch-label {
            display: block;
            width: 60px;
            height: 32px;
            background: var(--bg-btn);
            border: 1px solid var(--border);
            border-radius: 32px;
            position: relative;
            cursor: pointer;
            transition: background 0.3s;
        }
        .lang-switch-inner {
            position: absolute;
            left: 8px;
            top: 6px;
            font-size: 13px;
            color: #b4975a;
            font-weight: bold;
            z-index: 2;
            transition: left 0.3s;
        }
        .lang-switch-label .lang-switch-inner:before {
            content: 'En';
            position: absolute;
            left: 1px;
            line-height: 20px;
            font-weight: 600;
            color: #fff;
            transition: opacity 0.3s;
        }
        .lang-switch-label .lang-switch-inner:after {
            content: 'ع';
            position: absolute;
            left: 32px;
            line-height: 14px;
            font-weight: bolder;
            transition: opacity 0.3s;
        }
        .lang-switch-input:checked + .lang-switch-label .lang-switch-inner:before {
            opacity: 1;
        }
        .lang-switch-input:checked + .lang-switch-label .lang-switch-inner:after {
            opacity: 1;
        }
        .lang-switch-switch {
            display: block;
            width: 24px;
            height: 24px;
            background: #b4975a;
            border-radius: 50%;
            position: absolute;
            top: 4px;
            left: 4px;
            transition: left 0.3s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }
        .lang-switch-input:checked + .lang-switch-label .lang-switch-switch {
            left: 32px;
        }
        
        .search-btn {
            background: transparent;
            border: none;
            color: #b4975a;
            font-size: 20px;
            cursor: pointer;
        }
        
        /* Hero Section */
   
        .hero {
            background:  linear-gradient(90deg, #e6ecff 0%, #d0dcf9 100%);
            text-align: center;
            padding: 15px 0;
        }
        
        .hero h1 {
            font-size: 42px;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 0px;
        }
        
        .hero p {
            color: #f7f7f7;
            font-size: 18px;
        }
        
        .location-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(212, 175, 55, 0.1);
            border: 1px solid var(--accent);
            padding: 10px 20px;
            border-radius: 25px;
            margin-top: 5px;
            color: var(--accent);
        }
        
        /* Category Navigation */
            .category-nav {
                background: linear-gradient(90deg, #f3f6ff 0%, #e6ecfb 100%);
                padding: 20px 0;
                position: sticky;
                top: 0;
                z-index: 100;
                border-bottom: 1px solid var(--border);
                overflow: visible;
                border-radius: 20px;
            }

            .category-nav::before,
            .category-nav::after {
                content: '';
                position: absolute;
                top: 0;
                width: 60px;
                height: 100%;
                z-index: 2;
                pointer-events: none;
            }
            .category-nav::before {
                left: 0;
                background: linear-gradient(to right, #f3f6ff 20%, rgb(243 246 255 / 0%));
                border-radius: 20px 0 0 20px;
            }
            .category-nav::after {
                right: 0;
                background: linear-gradient(to left, #e6ecfb 20%, rgba(230,236,251,0));
                border-radius: 0 20px 20px 0;
            }
        .category-list::-webkit-scrollbar {
            display: none;
        }
        .category-list::-webkit-scrollbar-thumb {
             display: none;
        }
        .category-list {
            display: flex;
            gap: 3px;
            max-width: fit-content;
            margin: 0 auto;
            padding: 5px;
            overflow-x: auto;
        }
        
        .category-item {
            flex-shrink: 0;
            background: linear-gradient(135deg, #fffcf5 0%, #f1f1f1 100%);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            white-space: nowrap;
        }
        
        .category-item:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        
        .category-item.active {
            background: linear-gradient(135deg, #cda766 0%, #b28b49 100%);
            border-color: var(--accent);
            color: #fff;
        }
        
        /* Menu Sections */
        .menu-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .menu-section {
            display: block;
            margin-top: 30px;
            animation: fadeIn 0.5s ease;
        }
        
        .menu-section.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #dbd0d0;
        }
        
        .section-header h2 {
            font-size: 28px;
            font-weight: 600;
            color: #b4975a;
        }
        
        .section-header p {
            color: #666;
        }
         .section-header .ar{
            direction: rtl;
         }
        .section-header .ar h2, .section-header .ar p {
            font-family: "Zain", sans-serif;
        }
        /* Menu Grid */
        .menu-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .menu-card {
            background: linear-gradient(90deg, #f3f6ff 0%, #e6ecfb 100%);
            border-radius: 20px;
            overflow: hidden;
            border: 1.5px solid #bdcbf0;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            padding: 8px 15px 8px 8px;
        }
        
        .menu-card:hover {
            border-color: #a3b6e8;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .menu-image {
            width: 150px;
            height: 110px;
            object-fit: cover;
            border-radius: 14px;
            flex-shrink: 0;
            border:1.5px solid #bdcbf0;
            margin-right: 15px;
        }
        
        .menu-content {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            grid-template-areas: 
                "title price title_ar"
                "desc price desc_ar";
            align-items: center;
            width: 100%;
            gap: 5px 20px;
        }
        
        .menu-header {
            display: contents;
        }
        
        .menu-title {
            grid-area: title;
            font-size: 18px;
            font-weight: 700;
            color: #444;
            margin: 0;
        }
        
        .menu-header > .menu-price {
            grid-area: price;
            background: linear-gradient(135deg, #cda766 0%, #b28b49 100%);
            color: white;
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .menu-desc {
            grid-area: desc;
            color: #666;
            font-size: 14px;
            margin: 0;
        }
        
        .menu-title-ar {
            font-family: "Zain", sans-serif;
            grid-area: title_ar;
            font-size: 18px;
            font-weight: 700;
            color: #444;
            text-align: right;
            margin: 0;
        }

        .menu-desc-ar {
            font-family: "Zain", sans-serif;
            grid-area: desc_ar;
            color: #666;
            font-size: 14px;
            font-weight: 600;
            text-align: right;
            margin: 0;
        }
        
        .veg-badge {
            grid-column: 1;
            display: inline-block;
            background: var(--badge-bg);
            color: var(--badge-text);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            margin-top: 10px;
            justify-self: start;
        }
        
        /* Footer */
        .footer {
            background: var(--bg-secondary);
            padding: 40px 20px;
            text-align: center;
            border-top: 1px solid var(--border);
            margin-top: 60px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer h3 {
            color: var(--accent);
            margin-bottom: 20px;
        }
        
        .locations {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .location-card {
            background: #0a0a0a;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid #333;
        }
        
        .location-card h4 {
            color: #b4975a;
            margin-bottom: 10px;
        }
        
        .location-card p {
            color: #888;
            font-size: 14px;
            line-height: 1.6;
        }

        .hero .logo2 {
    font-size: 28px;
    font-weight: bold;
    color: #b4975a;
    text-decoration: none;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}
.hero .logo2 img{
    width: 80px;
}
.sub_menu{
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    width: 100%;
}
.sub_menu h4{
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-main);
}
.sub_menu .menu-price{
   background: linear-gradient(135deg, #cda766 0%, #b28b49 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.sub_menu .menu-title.ar{
    flex: 1;
     text-align: right;
    font-family: "Zain", sans-serif;
     font-size: 16px;
    font-weight: 400;
    color: var(--text-main);
}

        /* Mobile Responsive */
        @media (max-width: 1299px) {
         .header {
            width: 100%;
           padding: 20px 5px;
          }   
          .logo img{
            height: 40px;
          }
        }
        @media (max-width: 768px) {
             .logo img{
            height: 35px;
          }
            .hero h1 {
                font-size: 32px;
            }
            .category-nav{
                top: 0px;
                padding: 10px 0;
            }
            .menu-grid {
                flex-direction: column;
                gap: 10px;
            }
            
            .category-item {
                padding: 10px 18px;
                font-size: 13px;
            }
            .sub_menu{
                flex-direction: column;
                align-items: flex-start;
                row-gap: 5px;
            }
            .sub_menu .menu-price{
                font-size: 14px;
                color: #ffffff;
               background: var(--accent);
                padding: 4px 10px;
                border-radius: 20px;
            }
        }
        @media (max-width: 767px) {
            .menu-card {
                flex-direction: column;
                padding: 0;
                position: relative;
            }
            .menu-image {
                width: 100%;
                height: 180px;
                border-radius: 20px 20px 0 0;
                margin-right: 0;
                border: none;
            }
            .menu-content {
                grid-template-columns: 1fr 1fr;
                grid-template-areas: 
                    "title title_ar"
                    "desc desc_ar";
                padding: 15px;
                gap: 5px 15px;
                align-items: start;
            }
            .section-header h2 {
                font-size: 18px;
                line-height: 20px;}
                .section-header p{
                    font-size: 12px;
                }
            .menu-header > .menu-price {
                position: absolute;
                top: 135px;
                right: 15px;
                font-size: 14px;
                padding: 6px 16px;
            }
        }
        @media (max-width: 576px) {
          
               .logo img{
            height: 30px;
          }
          .header-actions{
            gap: 10px;
          }
        }