/* ========================================
   1. CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Warm Middle Eastern palette */
    --primary-color: #d4a574;
    --primary-dark: #b8894d;
    --primary-light: #e8c9a2;
    --secondary-color: #2c5f2d;
    --secondary-dark: #1a3d1b;
    --accent-color: #ff6b35;

    /* Neutral colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9f6f2;
    --bg-dark: #2a2a2a;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Georgia', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* ========================================
   2. RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   3. UTILITIES
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: var(--spacing-sm) auto var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   4. NAVIGATION
   ======================================== */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-speed);
}

.navigation.scrolled {
    background: white;
    box-shadow: var(--shadow-md);
}

.navigation__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.navigation__brand {
    display: flex;
    flex-direction: column;
}

.navigation__logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.navigation__tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.navigation__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    cursor: pointer;
}

.navigation__toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

.navigation__menu {
    display: flex;
    gap: var(--spacing-md);
}

.navigation__link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all var(--transition-speed);
}

.navigation__link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* ========================================
   5. HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://lh3.googleusercontent.com/gps-cs-s/AC9h4npzVOQ8OsOA_fMLNfKyYFDv1jCj_YLtSxlyqzr1UwTyS8gPDJ99BGbrZATcWwRwVkrYycu0s-KUXxfm1m_81dydCiewX82RxfQnw5zGXxsxyUt41xV_ave4pcyH-s7T8G9gKbAKrw=w1920-h1080-k-no');
    background-size: cover;
    background-position: center;
    animation: parallaxScroll 20s ease-in-out infinite alternate;
}

@keyframes parallaxScroll {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.7), rgba(212, 165, 116, 0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero__rating {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #ffd700;
}

.star.filled {
    color: #ffd700;
}

.star.half::before {
    content: '★';
    position: absolute;
    width: 50%;
    overflow: hidden;
    color: #ffd700;
}

.rating-text {
    font-size: 1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   6. ABOUT SECTION
   ======================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.highlight-item h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   7. FEATURES SECTION
   ======================================== */
.features {
    padding: var(--spacing-xl) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-speed);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card__title {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.feature-card__description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========================================
   8. MENU HIGHLIGHTS SECTION
   ======================================== */
.menu-highlights {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.menu-highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.menu-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.menu-item__name {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.menu-item__description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.menu-item__badges {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge--popular {
    background: var(--accent-color);
    color: white;
}

.badge--vegan {
    background: var(--secondary-color);
    color: white;
}

/* ========================================
   9. GALLERY SECTION
   ======================================== */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery__categories {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.gallery__category-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.gallery__category-btn:hover,
.gallery__category-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed);
}

.gallery__item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* ========================================
   10. LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background var(--transition-speed);
    border-radius: 50%;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

/* ========================================
   11. REVIEWS SECTION
   ======================================== */
.reviews {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.reviews__rating {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.reviews__rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.reviews__rating-stars {
    margin-bottom: var(--spacing-sm);
}

.reviews__rating-count {
    color: var(--text-secondary);
}

.reviews__distribution {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.distribution-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.distribution-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.distribution-track {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.distribution-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.distribution-count {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reviews__carousel {
    display: flex;
    overflow: hidden;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.review-card {
    min-width: 100%;
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s ease;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars {
    display: flex;
    gap: 0.25rem;
}

.review-card__date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-card__text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.review-card__context {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.review-context-tag {
    background: var(--bg-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-card__ratings {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.rating-detail {
    font-size: 0.9rem;
}

.rating-detail strong {
    color: var(--primary-color);
}

.review-card__owner-response {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.owner-response-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.owner-response-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.reviews__control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.reviews__control:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ========================================
   12. CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact__info-card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
}

.contact__info-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact__info-card h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact__info-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.contact__link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-speed);
}

.contact__link:hover {
    color: var(--primary-dark);
}

.hours-list {
    text-align: left;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-day {
    font-weight: 600;
    color: var(--text-primary);
}

.hours-time {
    color: var(--text-secondary);
}

.hours-note {
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

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

.price-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact__map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========================================
   13. FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__brand h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links h4,
.footer__info h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   14. ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   15. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .navigation__toggle {
        display: flex;
    }

    .navigation__menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
        transform: translateX(-100%);
        transition: transform var(--transition-speed);
    }

    .navigation__menu.active {
        transform: translateX(0);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .reviews__summary {
        grid-template-columns: 1fr;
    }

    .contact__info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .features__grid,
    .menu-highlights__grid {
        grid-template-columns: 1fr;
    }
}