/* =============================================
   style.css — Eat Well | Professional Theme
   Bilingual (EN/AR) | 3D Effects | RTL Support
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --accent2: #27ae60;
    --bg: #fafaf8;
    --bg2: #f0ede6;
    --white: #ffffff;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --border: #e0d9cf;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-3d: 0 10px 30px rgba(192, 57, 43, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-h: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Cairo', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 2rem;
    height: var(--navbar-h);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: start;
    min-width: 0;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    justify-self: end;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-shadow: 1px 2px 4px rgba(192, 57, 43, 0.15);
}

[dir="rtl"] .logo {
    font-family: 'Cairo', sans-serif;
}

.menu-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-self: center;
}

.menu-items li a {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.menu-items li a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.menu-items li a:hover {
    color: var(--primary);
    background: rgba(192, 57, 43, 0.07);
    transform: translateY(-1px);
}

/* Language Button */
.lang-switch-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.45rem 1rem !important;
    border-radius: 25px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: var(--transition) !important;
    box-shadow: 0 3px 10px rgba(192, 57, 43, 0.25);
    cursor: pointer;
}

.lang-switch-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.35) !important;
}

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

.line {
    width: 28px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger-lines.open .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-lines.open .line2 {
    opacity: 0;
}

.hamburger-lines.open .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar checkbox hack — hidden */
.navbar-container>input[type="checkbox"] {
    display: none;
}

/* =============================================
   HERO / SHOWCASE
   ============================================= */
.showcase-area {
    min-height: 92vh;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Rotating food-photo background slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlideFade 24s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-slide:nth-child(4) {
    animation-delay: 18s;
}

@keyframes heroSlideFade {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    21% {
        opacity: 1;
    }

    27% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.showcase-area::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(192, 57, 43, 0.6) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}

.showcase-container {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem;
    animation: heroFadeIn 1s ease forwards;
}

/* Welcome-back banner shown to a logged-in visitor */
.welcome-banner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
}

[dir="rtl"] .main-title {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

.showcase-container p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: perspective(100px) translateZ(0);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: perspective(100px) translateZ(4px) translateY(-3px);
    box-shadow: 0 12px 30px rgba(192, 57, 43, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header .section-tag {
    display: inline-block;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.35rem 1.2rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

[dir="rtl"] .section-header h2 {
    font-family: 'Cairo', sans-serif;
}

.section-header p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1rem;
}

h2 {
    font-family: 'Playfair Display', serif;
}

[dir="rtl"] h2 {
    font-family: 'Cairo', sans-serif;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#about {
    padding: 6rem 0 4rem;
    background: var(--white);
}

#stats {
    padding: 1rem 0 5rem;
    background: var(--white);
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .small {
    font-size: 0.78rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-3d);
    transition: var(--transition);
    transform: perspective(800px) rotateY(-3deg);
}

.about-img img:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   FOOD SLIDER
   ============================================= */
#food {
    padding: 5rem 0;
    background: var(--bg2);
}

#food>h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 3rem;
}

.food-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.food-slider-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.food-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.food-slide {
    min-width: 100%;
}

.food-type .img-container {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.food-type .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-type .img-container:hover img {
    transform: scale(1.05);
}

.img-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.img-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .img-content h3 {
    font-family: 'Cairo', sans-serif;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--secondary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-3d);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* =============================================
   FOOD MENU
   ============================================= */
#food-menu {
    padding: 1.5rem 0;
    background: var(--white);
}

.food-menu-heading {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.food-menu-heading i {
    color: var(--primary);
}

.food-menu-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1300px) {
    .food-menu-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1000px) {
    .food-menu-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 780px) {
    .food-menu-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

.food-menu-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transform: perspective(600px) translateZ(0);
}

.food-menu-item:hover {
    transform: perspective(600px) translateZ(12px) translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.food-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.food-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.15));
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.food-menu-item:hover .food-image img {
    transform: scale(1.08);
}

.diet-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    background: var(--accent2);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.3rem 0.6rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .diet-badge {
    left: auto;
    right: 0.6rem;
}

.food-description {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.food-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--secondary);
    line-height: 2;
}

[dir="rtl"] .food-title {
    font-family: 'Cairo', sans-serif;
}

.food-description>p {
    color:black;
    font-size: 0.78rem;
    line-height: 1.2;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.35em;
    max-height: 2.35em;
}

.food-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.order-btn {
    background: var(--accent2);
    color: var(--white);
    border: none;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.order-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
#testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f4ef 0%, #fef9f5 100%);
}

.testimonial-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial-title i {
    color: var(--accent);
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    transform: perspective(600px) translateZ(0);
    position: relative;
}

.testimonial-box::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(192, 57, 43, 0.08);
    line-height: 1;
}

[dir="rtl"] .testimonial-box::before {
    right: auto;
    left: 1.5rem;
}

.testimonial-box:hover {
    transform: perspective(600px) translateZ(10px) translateY(-5px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.star-rating {
    margin-bottom: 1rem;
}

.star-rating .fa-star {
    color: #ddd;
    font-size: 1rem;
}

.star-rating .fa-star.checked {
    color: var(--accent);
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.customer-details {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.customer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
}

.customer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
    padding-bottom: 6rem;
    background: var(--bg);
}

.contact-hero {
    background:
        linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(192, 57, 43, 0.65) 100%),
        url('./img/restraunt-image.jpg') center/cover no-repeat;
    padding: 6rem 2rem 5rem;
    text-align: center;
    color: var(--white);
    margin-bottom: -3rem;
}

.contact-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

[dir="rtl"] .contact-hero h2 {
    font-family: 'Cairo', sans-serif;
}

.contact-hero p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.contact-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-3d);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item .icon-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.contact-info-item .value {
    font-weight: 700;
    color: var(--secondary);
}

.form-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-3d);
    padding: 2.5rem;
}

.form-container h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-container h2 i {
    color: var(--primary);
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    margin-bottom: 1rem;
    outline: none;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.form-container textarea {
    resize: vertical;
    min-height: 130px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

.footer .fa-heart {
    color: var(--primary-light);
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

/* =============================================
   CART SIDEBAR (shared)
   ============================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -35vw;
    width: 35vw;
    max-width: 220px;
    min-width: 200px;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .cart-sidebar {
    right: auto;
    left: -35vw;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@media (max-width: 768px) {
    .cart-sidebar {
        width: 50vw;
        max-width: 260px;
        right: -100vw;
    }

    [dir="rtl"] .cart-sidebar {
        left: -100vw;
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 50vw;
        max-width: 220px;
        right: -100vw;
    }

    [dir="rtl"] .cart-sidebar {
        left: -100vw;
    }
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary);
    color: var(--white);
}

.cart-header h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem;
    border-radius: 50%;
}

.close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.cart-item:hover {
    background: #fff5f4;
    border-color: var(--primary-light);
}

.cart-item-media {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item-media img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.remove-item:hover {
    color: var(--primary);
    background: rgba(192, 57, 43, 0.08);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cart-total-line span:last-child {
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.checkout-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.4);
}

/* Cart Icon in Navbar */
.cart-icon-wrap {
    position: relative;
    cursor: pointer;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.cart-icon-wrap:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* User greeting + logout (navbar) */
.user-greeting {
    display: none;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    background: var(--bg2);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
}

.user-greeting #logoutBtn {
    color: var(--primary);
    font-size: 0.95rem;
    display: inline-flex;
}

.user-greeting #logoutBtn:hover {
    color: var(--primary-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =============================================
   OVERLAY
   ============================================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}

.overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* =============================================
   CHECKOUT PAGE (full screen overlay)
   ============================================= */
.checkout-page {
    position: fixed;
    top: 0;
    right: -100%;
    width: 520px;
    max-width: 95vw;
    height: 100%;
    background: var(--white);
    z-index: 1200;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

[dir="rtl"] .checkout-page {
    right: auto;
    left: -100%;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-page.open {
    right: 0;
}

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

.checkout-page h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-page input,
.checkout-page textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    margin-bottom: 1rem;
    outline: none;
}

.checkout-page input:focus,
.checkout-page textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.checkout-page label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.payment-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(192, 57, 43, 0.05);
}

.payment-option i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.order-summary-box {
    background: var(--bg2);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    margin: 1.2rem 0;
}

.order-summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.order-summary-box .summary-row.total {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
    border-top: 1px solid var(--border);
    padding-top: 0.6rem;
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.order-summary-box .summary-row.total span:last-child {
    color: var(--primary);
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.confirm-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.confirm-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cancel-btn {
    background: var(--bg2);
    color: var(--text-muted);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cancel-btn:hover {
    background: #e0d9cf;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent2);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    z-index: 2000;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
    box-shadow: var(--shadow-md);
    max-width: 340px;
    animation: toastSlide 0.35s ease;
}

.toast.visible {
    display: inline-flex;
}

[dir="rtl"] .toast {
    right: auto;
    left: 2rem;
}

@keyframes toastSlide {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =============================================
   LOGIN / REGISTER PAGES
   ============================================= */
.auth-page {
    min-height: 100vh;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(192, 57, 43, 0.65) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}

.auth-page .auth-card {
    position: relative;
    z-index: 2;
}

.auth-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    animation: authCard 0.5s ease;
}

@keyframes authCard {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

[dir="rtl"] .auth-logo span {
    font-family: 'Cairo', sans-serif;
}

.auth-card h2 {
    text-align: center;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

[dir="rtl"] .auth-card h2 {
    font-family: 'Cairo', sans-serif;
}

.auth-input-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.auth-input-group i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

[dir="rtl"] .auth-input-group i {
    left: auto;
    right: 1rem;
}

.auth-input-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}

[dir="rtl"] .auth-input-group input {
    padding: 0.9rem 3rem 0.9rem 1rem;
}

.auth-input-group input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.auth-input-group input[type="date"] {
    padding-left: 3rem;
}

.auth-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
    margin-top: 0.5rem;
}

.auth-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(192, 57, 43, 0.45);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.auth-link a:hover {
    text-decoration: underline;
}

/* =============================================
   CATEGORY PAGE
   ============================================= */
#food.category-section {
    padding: 6rem 0;
}

#food.category-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 3rem;
}

.food-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.food-type .img-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* =============================================
   SPECIAL FOODS PAGE
   ============================================= */
.special-hero {
    background:
        linear-gradient(135deg, rgba(39, 174, 96, 0.8) 0%, rgba(44, 62, 80, 0.75) 100%),
        url('./img/header-image2.jpg') center/cover no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
    margin-top: var(--navbar-h);
}

.special-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .special-hero h1 {
    font-family: 'Cairo', sans-serif;
}

.special-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.food-cards-grid {
    max-width: 1400px;
    margin: 2.5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.1rem;
}

@media (max-width: 1300px) {
    .food-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .food-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .food-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }
}

@media (max-width: 380px) {
    .food-cards-grid {
        grid-template-columns: 1fr;
    }
}

.food-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    transform: perspective(600px) translateZ(0);
    font-size: 0.85rem;
}

.food-card:hover {
    transform: perspective(600px) translateZ(8px) translateY(-4px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.food-card .food-image {
    height: 100px;
}

.food-card .content {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.food-card .tag {
    display: inline-block;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent2);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 25px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.food-card .food-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.84rem;
    line-height: 1.25;
    color: var(--secondary);
    margin-bottom: 0.35rem;
}

.food-card .description {
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.9em;
    max-height: 1.9em;
}

.food-card .nutrition-box {
    background: var(--bg2);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.5rem;
    font-size: 0.6rem;
    line-height: 1.4;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    border-left: 3px solid var(--accent2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[dir="rtl"] .food-card .nutrition-box {
    border-left: none;
    border-right: 3px solid var(--accent2);
}

.food-card .nutrition-tip {
    font-size: 0.6rem;
    line-height: 1.35;
    color: #e67e22;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-card .details {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    margin-top: auto;
}

.food-card .price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.food-card .btn-order {
    background: var(--accent2);
    color: var(--white);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    white-space: nowrap;
    width: 100%;
}

.food-card .btn-order:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .about-wrapper,
    .findus-wrapper,
    .special-dish-wrapper,
    .testimonial-container,
    .food-cards-grid,
    .food-menu-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .special-dish-img img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .hamburger-lines {
        display: flex;
    }

    .navbar-container {
        grid-template-columns: 1fr auto;
        gap: 0.9rem;
    }

    .navbar-right {
        gap: 1rem;
    }

    .menu-items {
        position: fixed;
        top: 0;
        left: 0;
        width: 50vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: calc(var(--navbar-h) + 1rem) 1.5rem 1.5rem;
        gap: 0.75rem;
        box-shadow: var(--shadow-md);
        border-top: none;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 998;
    }

    .menu-items.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-items li {
        width: 100%;
    }

    .menu-items li a {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        justify-content: flex-start;
    }

    .food-slider-container,
    .menu-search-wrap,
    .testimonial-container,
    .contact-container,
    .section-header,
    .special-dish-wrapper,
    .findus-wrapper {
        padding: 0 1rem;
    }

    .food-slider-container {
        gap: 0.75rem;
    }

    .food-type .img-container {
        height: 300px;
    }

    .food-slide {
        min-width: 100%;
    }

    .testimonial-box {
        padding: 1.5rem;
    }

    .contact-hero {
        padding: 5rem 1.5rem 4rem;
    }

    .contact-hero p {
        max-width: 100%;
    }

    .checkout-actions,
    .payment-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        gap: 0.6rem;
    }

    .navbar {
        padding: 0 1rem;
    }

    .showcase-area {
        min-height: 72vh;
    }

    .main-title {
        font-size: clamp(2.2rem, 7vw, 3.4rem);
    }

    .showcase-container {
        padding: 1rem;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .section-header p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .menu-search-wrap,
    .food-slider-container,
    .testimonial-container,
    .contact-container,
    .special-dish-wrapper,
    .findus-wrapper {
        padding: 0 0.75rem;
    }

    .about-wrapper,
    .special-dish-wrapper,
    .findus-wrapper,
    .contact-container,
    .testimonial-container,
    .food-cards-grid,
    .food-menu-container {
        grid-template-columns: 1fr;
    }

    .food-cards-grid {
        gap: 0.9rem;
    }

    .food-card,
    .testimonial-box,
    .why-card,
    .vm-card,
    .value-card,
    .team-card {
        padding: 1.5rem;
    }

    .food-slider-container {
        flex-direction: column;
        padding: 0 0.85rem;
    }

    .menu-search-wrap {
        overflow: visible;
    }

    .menu-search-box {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        padding: 0.7rem 0.9rem;
        cursor: pointer;
        min-width: auto;
        width: auto;
    }

    .menu-search-box input,
    .menu-search-clear {
        display: none;
    }

    .menu-category-tabs {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        z-index: 996;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.8rem 0.85rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }

    .menu-category-tabs.open {
        display: flex;
    }

    .category-tab {
        flex: 1 1 100%;
        justify-content: center;
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }

    .menu-search-wrap {
        z-index: 990;
    }

    .menu-search-box {
        min-width: auto;
        width: auto;
    }

    .menu-search-box input,
    .menu-search-clear {
        display: none;
    }

    .menu-category-tabs {
        display: none;
    }

    .contact-hero {
        padding: 4rem 1rem 3rem;
    }

    .contact-hero h2 {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .cart-sidebar {
        width: 50vw;
        max-width: 260px;
    }

    .checkout-page {
        width: 100%;
        max-width: 100vw;
        padding: 1.5rem;
    }

    .checkout-page h2 {
        font-size: 1.45rem;
    }

    .cart-footer {
        padding: 1.2rem;
    }

    .checkout-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .auth-card {
        padding: 2rem 1.2rem;
    }

    .food-menu-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .food-menu-item {
        min-height: 260px;
    }

    .food-menu-item .food-desc,
    .food-menu-item p {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    #greetingName {
        display: none;
    }

    .user-greeting {
        padding: 0.4rem 0.6rem;
    }

    .menu-search-box {
        padding: 0.65rem 0.85rem;
    }

    .menu-category-tabs {
        gap: 0.4rem;
    }

    .category-tab {
        flex: 1 1 100%;
    }

    .menu-search-wrap {
        justify-content: flex-start;
        padding: 0.6rem 0.8rem;
        z-index: 995;
    }

    .menu-search-box {
        flex: 0 0 auto;
        min-width: auto;
        width: auto;
        padding: 0.65rem 0.85rem;
    }

    .menu-search-box input,
    .menu-search-clear {
        display: none;
    }

    .menu-category-tabs {
        display: none;
    }

    .menu-search-box i.fa-search {
        color: var(--primary);
        font-size: 1rem;
    }

    .contact-hero {
        padding: 3.5rem 1rem 2.5rem;
    }

    .contact-hero h2 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .testimonial-box {
        padding: 1.25rem;
    }

    .food-card {
        min-height: auto;
    }

    .cart-header,
    .checkout-page h2 {
        padding-right: 0;
        padding-left: 0;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cart-total-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}


/* =============================================
   RTL FIXES
   ============================================= */
[dir="rtl"] .cart-sidebar {
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .checkout-page {
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .slider-btn.prev-btn {
    order: 1;
}

[dir="rtl"] .slider-btn.next-btn {
    order: -1;
}

[dir="rtl"] .food-slider {
    direction: ltr;
    /* keep slider layout consistent */
}

/* =============================================
   INSTAPAY HINT BOX
   ============================================= */
.instapay-hint {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #2980b9;
    margin-bottom: 1rem;
    display: none;
}

/* =============================================
   SECTION DIVIDER
   ============================================= */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0.75rem auto 1.5rem;
}

/* =============================================
   TESTIMONIALS SWIPER (home page)
   ============================================= */
.testimonial-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem 3.5rem;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-swiper .swiper-slide .testimonial-box {
    width: 100%;
}

.testimonial-swiper .swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.3;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
    color: var(--primary);
    background: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
    font-size: 1rem;
}

/* =============================================
   HOME — ABOUT TEASER + SECTION CTA LINK
   ============================================= */
.section-cta-row {
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 4rem;
}

/* =============================================
   MENU SEARCH
   ============================================= */
.menu-search-wrap {
    position: sticky;
    top: var(--navbar-h);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.8rem;
    overflow-x: auto;
    width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.menu-search-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex: 1 1 280px;
    min-width: 220px;
}

.menu-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.menu-search-box i.fa-search {
    color: var(--primary);
    font-size: 0.95rem;
}

.menu-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
}

.menu-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 0;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.menu-search-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
}

.menu-search-wrap.active .menu-category-tabs {
    display: flex;
}

.menu-search-wrap.active .menu-search-box input,
.menu-search-wrap.active .menu-search-clear {
    display: inline-flex;
}

@media (max-width: 640px) {
    .menu-search-box {
        padding: 0.35rem 0.45rem;
        min-width: auto;
        width: auto;
    }

    .menu-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 50%;
        box-shadow: var(--shadow-sm);
        margin-right: 0.4rem;
        flex-shrink: 0;
    }

    .menu-search-toggle i {
        font-size: 0.75rem;
    }

    .menu-search-box input,
    .menu-search-clear {
        display: none;
    }

    .menu-search-wrap {
        position: sticky;
        top: var(--navbar-h);
        z-index: 995;
        padding: 0.45rem 0.55rem;
        gap: 0.4rem;
        justify-content: flex-start;
    }

    .menu-category-tabs {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        z-index: 996;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.8rem 0.85rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }

    .menu-search-wrap.active .menu-category-tabs {
        display: flex;
    }

    .menu-category-tabs.open {
        display: flex;
    }
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.category-tab:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}

.category-tab.active {
    background: var(--accent2);
    border-color: var(--accent2);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.menu-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--bg2);
    color: var(--text-muted);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.menu-search-clear.visible {
    display: flex;
}

.menu-search-clear:hover {
    background: var(--primary);
    color: var(--white);
}

.menu-search-empty {
    display: none;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-search-empty.visible {
    display: block;
}

.food-menu-item.search-hidden,
.food-card.search-hidden {
    display: none !important;
}

/* =============================================
   WHY TAWAZON
   ============================================= */
#why-us {
    padding: 5rem 0;
    background: var(--white);
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.why-card .why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.why-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   TODAY'S SPECIAL
   ============================================= */
#today-special {
    padding: 5rem 0;
    background: var(--bg2);
}

.special-dish-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.special-dish-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    transform: perspective(800px) rotateY(-3deg);
    transition: var(--transition);
}

.special-dish-img:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.02);
}

.special-dish-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.special-dish-text .section-tag {
    display: inline-block;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.special-dish-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.special-dish-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.special-dish-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

/* =============================================
   STATS COUNTER
   ============================================= */
#stats-counter {
    padding: 4rem 0;
    background: var(--secondary);
}

.stats-counter-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-counter-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
}

.stat-counter-item .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

/* =============================================
   HEALTH TIPS
   ============================================= */
#health-tips {
    padding: 5rem 0;
    background: var(--white);
}

.tips-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.tip-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg2);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.tip-card .tip-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.12);
    color: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tip-card h3 {
    font-size: 1.02rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
    font-family: 'Playfair Display', serif;
}

.tip-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* =============================================
   FIND US
   ============================================= */
#find-us {
    padding: 5rem 0;
    background: var(--bg2);
}

.findus-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.findus-text .section-tag {
    display: inline-block;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.findus-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.findus-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.findus-info-row .icon-badge {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.findus-info-row .value {
    font-weight: 700;
    color: var(--secondary);
}

.findus-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    height: 320px;
}

.findus-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {

    .special-dish-wrapper,
    .findus-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .special-dish-img img {
        height: 260px;
    }
}

/* =============================================
   VISION & MISSION
   ============================================= */
#vision-mission {
    padding: 5rem 0;
    background: var(--bg2);
}

.vm-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.vm-card .vm-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.vm-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.vm-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =============================================
   CORE VALUES
   ============================================= */
#core-values {
    padding: 5rem 0;
    background: var(--white);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.value-card .value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   MEET THE TEAM
   ============================================= */
#meet-team {
    padding: 5rem 0;
    background: var(--bg2);
}

.team-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.team-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.team-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.team-card .team-role {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   OUR JOURNEY (TIMELINE)
   ============================================= */
#our-journey {
    padding: 5rem 0;
    background: var(--white);
}

.journey-timeline {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 2.75rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--border);
}

[dir="rtl"] .journey-timeline::before {
    left: auto;
    right: 2.75rem;
}

.journey-item {
    position: relative;
    padding-left: 5.5rem;
    margin-bottom: 2.5rem;
}

[dir="rtl"] .journey-item {
    padding-left: 0;
    padding-right: 5.5rem;
}

.journey-item:last-child {
    margin-bottom: 0;
}

.journey-dot {
    position: absolute;
    left: 1.85rem;
    top: 0.1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border);
}

[dir="rtl"] .journey-dot {
    left: auto;
    right: 1.85rem;
}

.journey-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.journey-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.journey-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}