/* CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f8f8f8;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --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: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* Base Styles */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    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 {
    font-size: 1.1rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.nav__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.nav__subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav__menu {
    display: flex;
    gap: 2rem;
}

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

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

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

.nav__link:hover::after {
    width: 100%;
}

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

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

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

.hero__content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero__badge {
    text-align: center;
}

.hero__badge-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.hero__badge-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

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

.about__text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about__categories h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

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

.feature-card__title {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card__list {
    text-align: left;
    color: var(--text-light);
}

.feature-card__list li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Popular Dishes Section */
.popular-dishes {
    padding: 5rem 0;
    background: white;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

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

.tag__count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.tag--large {
    font-size: 1.2rem;
    font-weight: 600;
}

.tag--medium {
    font-size: 1rem;
}

.tag--small {
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.gallery__more {
    display: block;
    margin: 2rem auto;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery__more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

.gallery__lightbox.active {
    display: flex;
}

.gallery__lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: white;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--radius-lg);
}

.reviews__rating {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reviews__rating-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.reviews__rating-count {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar__label {
    width: 40px;
    font-size: 0.9rem;
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.rating-bar__count {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 350px;
    margin: 0 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

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

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

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

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

.review-card__footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__badge {
    padding: 4px 8px;
    background: white;
    border-radius: var(--radius-sm);
}

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

.reviews__nav {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.reviews__nav:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Hours Section */
.hours {
    padding: 5rem 0;
    background: var(--light-color);
}

.hours__content {
    max-width: 600px;
    margin: 0 auto;
}

.hours__list {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.hours__item:last-child {
    border-bottom: none;
}

.hours__item:hover {
    background: var(--light-color);
}

.hours__item.hours__item--today {
    background: var(--primary-color);
    color: white;
}

.hours__item--closed .hours__time {
    color: var(--error-color);
}

.hours__day {
    font-weight: 600;
}

.hours__status {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.hours__status.open {
    color: var(--success-color);
    border: 2px solid var(--success-color);
}

.hours__status.closed {
    color: var(--error-color);
    border: 2px solid var(--error-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact__item address {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.8;
}

.contact__neighborhood {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact__price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact__map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact__map-link {
    display: block;
    position: relative;
}

.contact__map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.contact__map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.contact__map:hover .contact__map-overlay {
    opacity: 1;
}

.contact__map-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
}

/* Similar Section */
.similar {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.similar__card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.similar__name {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

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

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

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

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

.footer__section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 1023px) {
    .container {
        max-width: 720px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 767px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
    }

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

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

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

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__badges {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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

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

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

    .reviews__track {
        padding: 0 10px;
    }

    .review-card {
        min-width: calc(100vw - 40px);
    }

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

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

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

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

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