@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700&display=swap');

:root {
    --bg-primary: #140708;
    --bg-secondary: #1e0b0d;
    --bg-card: rgba(38, 13, 16, 0.78);
    --bg-card-hover: rgba(54, 18, 22, 0.92);
    --text-primary: #f5f2f0;
    --text-secondary: #d4c4c2;
    --text-muted: #a6908d;
    --accent: #a61c24;
    --accent-bright: #c92630;
    --accent-soft: rgba(166, 28, 36, 0.22);
    --border-subtle: rgba(245, 242, 240, 0.12);
    --border-glow: rgba(217, 62, 72, 0.45);
    --glass-bg: rgba(24, 9, 11, 0.68);
    --glass-border: rgba(255, 235, 235, 0.18);
    --hero-overlay: linear-gradient(180deg, rgba(16, 5, 7, 0.58) 0%, rgba(20, 7, 8, 0.78) 65%, rgba(20, 7, 8, 0.96) 100%);
    --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.42);
    --shadow-hover: 0 18px 38px rgba(0, 0, 0, 0.6);
    --map-bg: radial-gradient(circle at 30% 25%, rgba(166, 28, 36, 0.35), rgba(24, 9, 11, 0.95) 75%);
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="light"] {
    --bg-primary: #f6f3f1;
    --bg-secondary: #ebe4e1;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --text-primary: #210a0c;
    --text-secondary: #4d282c;
    --text-muted: #785357;
    --accent: #8f151d;
    --accent-bright: #b01b25;
    --accent-soft: rgba(143, 21, 29, 0.12);
    --border-subtle: rgba(33, 10, 12, 0.11);
    --border-glow: rgba(143, 21, 29, 0.35);
    --glass-bg: rgba(246, 243, 241, 0.76);
    --glass-border: rgba(143, 21, 29, 0.18);
    --hero-overlay: linear-gradient(180deg, rgba(20, 7, 8, 0.46) 0%, rgba(20, 7, 8, 0.68) 65%, rgba(246, 243, 241, 0.96) 100%);
    --shadow-card: 0 8px 24px rgba(33, 10, 12, 0.08);
    --shadow-hover: 0 16px 34px rgba(143, 21, 29, 0.16);
    --map-bg: radial-gradient(circle at 30% 25%, rgba(143, 21, 29, 0.18), rgba(235, 228, 225, 0.96) 75%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.45s var(--transition-smooth), color 0.45s var(--transition-smooth);
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 2px;
}

.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-glow);
    box-shadow: 0 0 12px var(--accent-soft);
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-block: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    border: 1px solid transparent;
    transition: color 0.25s var(--transition-smooth), background-color 0.25s var(--transition-smooth), border-color 0.25s var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--accent-soft);
    border-color: var(--border-glow);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.control-btn {
    height: 36px;
    min-width: 36px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--transition-smooth), border-color 0.25s var(--transition-smooth), background-color 0.25s var(--transition-smooth);
}

.control-btn:hover {
    transform: translateY(-1px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6.5rem 1.25rem 3.5rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
    transition: background 0.45s var(--transition-smooth);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: translateY(18px);
    animation: heroEnter 0.85s var(--transition-smooth) forwards;
}

@keyframes heroEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(255, 248, 248, 0.9);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(166, 28, 36, 0.42);
    transition: transform 0.3s var(--transition-smooth), background-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-bright);
    box-shadow: 0 14px 28px rgba(166, 28, 36, 0.55);
}

.menu-section,
.reviews-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.15rem;
}

.menu-section + .menu-section {
    padding-top: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    display: inline-block;
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    font-weight: 800;
    position: relative;
    padding-bottom: 0.55rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 18%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--transition-smooth), transform 0.55s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth), background-color 0.35s var(--transition-smooth);
}

.menu-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.card-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.menu-card:hover .card-image img {
    transform: scale(1.04);
}

.card-body {
    padding: 0.8rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.item-title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.item-price {
    flex-shrink: 0;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    border: 1px solid var(--border-glow);
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

:root[data-theme="light"] .item-price {
    color: var(--accent);
}

.menu-grid > .menu-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.15rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--transition-smooth), transform 0.55s var(--transition-smooth), border-color 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.review-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card.is-visible:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border-subtle);
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.review-stars {
    color: #e0a82e;
    font-size: 0.9rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
    margin-top: 2rem;
    transition: background-color 0.45s var(--transition-smooth), border-color 0.45s var(--transition-smooth);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--accent-bright);
}

.contact-list,
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link,
.footer-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--text-secondary);
    transition: color 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-bright);
    transform: translateX(-3px);
}

html[dir="ltr"] .footer-link:hover {
    transform: translateX(3px);
}

.footer-icon {
    flex-shrink: 0;
    color: var(--accent-bright);
}

.map-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    background: var(--map-bg);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
}

.map-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-bright);
}

.map-visual {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.map-pin-icon {
    color: var(--accent-bright);
    filter: drop-shadow(0 4px 10px rgba(166, 28, 36, 0.45));
}

.map-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
}

.map-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-bright);
}

:root[data-theme="light"] .map-cta {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.15rem 1.25rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--bg-primary);
}

@media (max-width: 1024px) {
    .menu-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-grid > .menu-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .menu-grid > .menu-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.575rem);
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .nav-container {
        padding: 0.55rem 0.85rem;
        gap: 0.6rem;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 0.88rem;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.35rem 0.68rem;
        font-size: 0.82rem;
    }

    .control-btn {
        height: 32px;
        min-width: 32px;
        padding: 0 0.55rem;
        font-size: 0.78rem;
    }

    .hero-section {
        min-height: 78vh;
        padding: 5.5rem 1rem 2.5rem;
    }

    .menu-section,
    .reviews-section {
        padding: 2.5rem 0.9rem;
    }

    .menu-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .menu-grid > .menu-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.375rem);
    }

    .card-body {
        padding: 0.65rem 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .item-title {
        font-size: 0.85rem;
    }

    .item-price {
        font-size: 0.78rem;
        padding: 0.2rem 0.55rem;
    }

    .review-card {
        grid-column: 1 / -1;
        padding: 0.95rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .menu-card,
    .review-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}