/* CSS Reset and Variables */
:root {
    /* Color Palette - Mediterranean/Middle Eastern Theme */
    --primary-color: #d4a574;
    --primary-dark: #b8935f;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', Times, serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Breakpoints */
    --mobile: 320px;
    --tablet: 768px;
    --desktop: 1024px;
    --wide: 1440px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

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

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--container-padding);
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 1024px) {
    .container { max-width: 960px; }
}

@media (min-width: 1440px) {
    .container { max-width: 1140px; }
}

/* Section */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

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

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

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

.btn--secondary:hover {
    background: #34495e;
    transform: translateY(-2px);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar__logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.navbar__subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
}

.navbar__menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__cta {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 5px;
}

.navbar__cta:hover {
    background: var(--primary-dark);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px;
}

.hero__slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(212, 165, 116, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    text-align: center;
    color: var(--text-white);
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

/* Info Bar */
.info-bar {
    background: var(--background-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-bar__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-bar__item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-bar__icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-bar__item strong {
    display: block;
    color: var(--text-dark);
}

.info-bar__item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature__icon {
    color: var(--success-color);
    font-size: 1.2rem;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Specialties Section */
.specialties {
    background: var(--background-light);
}

.specialties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.specialty-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.specialty-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specialty-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.specialty-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.specialties__tags {
    text-align: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.tag {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--background);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    background: var(--background-light);
}

.gallery__categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery__filter {
    background: var(--background);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.gallery__filter:hover,
.gallery__filter.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
}

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

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

.gallery__lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.gallery__lightbox.active {
    display: flex;
}

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

.gallery__close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-white);
    font-size: 40px;
    cursor: pointer;
}

.gallery__caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    text-align: center;
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
}

.reviews__overall {
    text-align: center;
}

.reviews__rating {
    margin-bottom: 2rem;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.reviews__stars {
    margin: 1rem 0;
}

.star {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.star.half {
    opacity: 0.5;
}

.reviews__breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 1rem;
}

.rating-bar__track {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.reviews__aspects {
    padding: 2rem;
}

.reviews__aspects h4 {
    margin-bottom: 1.5rem;
}

.aspect-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.aspect-stars {
    color: var(--primary-color);
}

.reviews__carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-card__rating {
    color: var(--primary-color);
}

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

.review-card__text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
}

.reviews__highlight {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
}

.update-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.update-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.update-card__badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
}

.update-card__date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-top: 1rem;
}

/* Popular Times Section */
.popular-times {
    background: var(--background-light);
}

.popular-times__content {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
}

.popular-times__days {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.day-btn {
    background: var(--background-light);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.popular-times__chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.time-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.time-bar__fill {
    width: 100%;
    background: var(--primary-color);
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease-out;
}

.time-bar__hour {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.popular-times__legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.contact__info {
    display: grid;
    gap: 2rem;
}

.contact__item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

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

.contact__parking {
    text-align: center;
    margin-top: 2rem;
}

.parking-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.parking-badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.parking-badge.warning {
    background: var(--accent-color);
}

/* Similar Restaurants */
.similar {
    background: var(--background-light);
}

.similar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.similar-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.similar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.similar-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.similar-card__rating {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.footer__brand h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-badge {
    background: rgba(212, 165, 116, 0.2);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries */
@media (max-width: 1024px) {
    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

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

    /* Navigation */
    .navbar__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

    /* Grid Adjustments */
    .info-bar__items {
        grid-template-columns: 1fr;
    }

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

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

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

    .services-list {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Section Padding */
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero__title { font-size: 2rem; }
    .hero__subtitle { font-size: 1rem; }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

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

    /* Popular Times */
    .popular-times__chart {
        height: 150px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero__slider,
    .gallery,
    .back-to-top {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        page-break-inside: avoid;
    }
}