* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #47190a;
    background-image: url(images/background.png);
    margin: 0;
    padding: 0;
}

/* Hebrew font support */
[dir="rtl"] {
    font-family: 'Arial', 'Helvetica', sans-serif;
}

main {
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header */
header {
    background: linear-gradient(135deg, #cf350a, #FD3901);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px;
    min-height: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: auto;
    height: auto;
    max-height: none;
}

.navbar h2 {
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #cf350a, #FD3901);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

.fullscreen-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2001;
    transition: transform 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.fullscreen-nav {
    width: 100%;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fullscreen-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fullscreen-menu-list > li {
    margin-bottom: 1rem;
}

.fullscreen-menu-list > li > a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 0.8rem 0;
    transition: padding-left 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fullscreen-menu-list > li > a:hover {
    padding-left: 20px;
}

.menu-item-with-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 1rem;
    transition: transform 0.3s;
}

.menu-item-with-submenu.active .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.menu-item-with-submenu.active .submenu {
    max-height: 500px;
}

.submenu li {
    margin-bottom: 0.5rem;
}

.submenu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 0.6rem 0 0.6rem 1.5rem;
    transition: padding-left 0.3s, background 0.3s;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    padding-left: 2.5rem;
    border-left-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-switch-menu {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: white;
    color: #FD3901;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 4rem 20px;
    text-align: center;
    color: #47190a;
    width: 100%;
    margin: 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    color: #555;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(1.9rem, 3vw, 3rem);
    margin: 3.2rem auto 2rem;
    padding: 0 20px;
    max-width: 92%;
    width: fit-content;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.1;
    color: #5A2412;
    /* More visible modern shadow */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92), 0 0 16px rgba(255, 255, 255, 0.75), 0 10px 26px rgba(0, 0, 0, 0.22);
}
/* Menu Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    opacity: 0.9;
    border: 2px solid #FD3901;
    color: #FD3901;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: #FD3901;
    color: white;
}

.menu-section {
    width: 100%;
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto 3rem;
    padding: 0;
}


.menu-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.menu-item h3 {
    color: #cf350a;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #47190a;
    margin-bottom: 1rem;
}

.cart-btn {
    width: 100%;
    background: #47190a;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.cart-btn:hover {
    background: #FD3901;
}

.coming-soon {
    width: 100%;
    background: #f0f0f0;
    color: #666;
    border: 2px solid #ddd;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    display: block;
    margin-top: auto;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 3rem 20px;
    width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

.review-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #FD3901;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.reviewer {
    color: #999;
    font-weight: 500;
}

/* Promotions Section */
.promotions-section {
    padding: 3rem 20px;
    width: 100%;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}


.promo-card {
    background: linear-gradient(135deg, rgba(253, 57, 1, 0.9), rgba(207, 53, 10, 0.9));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.promo-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Delivery Section */
.delivery-section {
    background: white;
    padding: 3rem 20px;
    width: 100%;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}


.info-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.info-card h3 {
    color: #CF350A;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.info-card a {
    color: #FD3901;
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 2000;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: #cf350a;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px); /* Subtract cart-header height */
    overflow: hidden;
}

.cart-content p {
    color: #666;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
    .cart-content a {
        color: #FD3901;
        text-decoration: none;
        font-weight: 500;
    }

        .cart-content a:hover {
            text-decoration: underline;
        }

#cart-items {
    margin: 1.5rem 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0; /* Important for flex scrolling */
    max-height: calc(100vh - 350px); /* Adjust based on header, instruction, total, and button */
    padding-right: 5px; /* Space for scrollbar */
}

/* Custom scrollbar styling for cart items */
#cart-items::-webkit-scrollbar {
    width: 8px;
}

#cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#cart-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.cart-total {
    padding: 1rem;
    background: #f0f0f0;
    flex-shrink: 0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.3rem;
    margin: 1.5rem 0;
}

.checkout-btn
{
    width: 100%;
    background: #47190a;
    color: white;
    border: none;
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

    .checkout-btn:hover {
        background: #FD3901;
    }

/* Cart Icon */
.cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #FD3901;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

#cart-count {
    background: white;
    color: #FD3901;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Footer */
footer {
    background: #47190a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin: 0;
}

/* Mobile subtitle - hidden on desktop */
.navbar-mobile-subtitle {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hide subtitle and description on mobile */
    .navbar h2,
    .navbar > p {
        display: none;
    }

    /* Change navbar to wrap on mobile - but keep logo and nav-right on same line */
    .navbar {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    /* Keep nav-right together on first line */
    .nav-right {
        order: 2;
        flex-shrink: 0;
        gap: 0.4rem;
        flex: 0 0 auto;
        min-width: 0;
    }

    /* Logo on first line */
    .logo-img {
        order: 1;
        flex-shrink: 1;
        max-width: 50%;
        max-height: 50px;
        height: auto;
        width: auto;
    }

    /* Show mobile subtitle on its own line */
    .navbar-mobile-subtitle {
        display: block;
        text-align: center;
        color: white;
        font-size: 0.9rem;
        padding: 4px 10px 6px;
        line-height: 1.2;
        width: 100%;
        order: 3;
        flex-basis: 100%;
        font-weight: bold;
    }

    /* Make nav elements more compact on mobile */
    .phone-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .phone-icon {
        width: 14px;
        height: 14px;
    }

    .phone-icon svg {
        width: 14px;
        height: 14px;
    }

    .lang-current {
        padding: 6px 8px;
        font-size: 12px;
        gap: 4px;
    }

    .hamburger-menu {
        padding: 4px;
    }

    .hamburger-menu span {
        width: 24px;
        height: 2px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height on mobile */
        overflow: hidden; /* Prevent double scrollbar */
    }

    .cart-header {
        flex-shrink: 0;
    }

    .cart-content {
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px); /* Use dynamic viewport height */
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        padding: 1rem;
        padding-bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
    }

    .cart-content p {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    #cart-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        margin: 1rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .cart-total {
        margin: 1rem 0 0.5rem 0;
        padding: 0.8rem;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .checkout-btn {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        padding: 0.9rem;
        font-size: 1rem;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        background: #47190a;
        z-index: 10;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .menu-grid,
    .reviews-grid,
    .promotions-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}
/*--------------------------------------------------------------------------*/
.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: 0.2s ease;
}

    .phone-link:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    .phone-link:active {
        transform: translateY(0px);
    }

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.phone-text {
    white-space: nowrap;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .lang-current:hover {
        background: rgba(255,255,255,0.14);
        transform: translateY(-1px);
    }

.lang-arrow {
    font-size: 12px;
    opacity: 0.8;
}

/* Dropdown menu */
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 170px;
    background: linear-gradient(135deg, #cf350a, #FD3901);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 6px;
    display: none;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

    /* show menu */
    .lang-menu.show {
        display: block;
    }

    /* dropdown items */
    .lang-menu button {
        width: 100%;
        text-align: left;
        padding: 10px 12px;
        border-radius: 10px;
        background: transparent;
        border: none;
        color: #fff;
        cursor: pointer;
        font-size: 14px;
        transition: 0.15s ease;
    }

        .lang-menu button:hover {
            background: rgba(255,255,255,0.1);
        }

/* RTL Support for Hebrew */
[dir="rtl"] .navbar {
    direction: rtl;
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-menu button {
    text-align: right;
}

[dir="rtl"] .fullscreen-menu {
    right: auto;
    left: -400px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

[dir="rtl"] .fullscreen-menu.active {
    right: auto;
    left: 0;
}

[dir="rtl"] .close-menu {
    right: auto;
    left: 20px;
}

[dir="rtl"] .submenu a {
    padding: 0.6rem 1.5rem 0.6rem 0;
    border-left: none;
    border-right: 3px solid transparent;
}

[dir="rtl"] .submenu a:hover {
    padding-right: 2.5rem;
    padding-left: 0;
    border-left-color: transparent;
    border-right-color: white;
}

[dir="rtl"] .fullscreen-menu-list > li > a:hover {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .cart-sidebar {
    right: auto;
    left: -400px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

[dir="rtl"] .cart-sidebar.open {
    right: auto;
    left: 0;
}

[dir="rtl"] .cart-icon {
    right: auto;
    left: 30px;
}

[dir="rtl"] .menu-item-with-submenu > a {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-card {
    border-left: none;
    border-right: 4px solid #FD3901;
}

@media (max-width: 768px) {
    [dir="rtl"] .cart-sidebar {
        width: 100%;
        left: -100%;
    }
}