/* CSS Variables */
:root {
    --primary-color: #d4503b;
    --primary-dark: #b33e2d;
    --secondary-color: #f4a460;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.nav.nav--scrolled {
    box-shadow: var(--shadow-md);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav__hamburger {
    position: relative;
}

.nav__hamburger::before,
.nav__hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav__hamburger::before {
    top: -8px;
}

.nav__hamburger::after {
    bottom: -8px;
}

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

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 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__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero__rating {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
}

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

.rating__text {
    font-size: 1rem;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    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);
}

.hero__prev,
.hero__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero__prev {
    left: 20px;
}

.hero__next {
    right: 20px;
}

.hero__prev:hover,
.hero__next:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.features {
    background: var(--bg-light);
}

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

.feature {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature__icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature__text {
    color: var(--text-light);
    line-height: 1.6;
}

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

.about__text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight__icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.highlight__text {
    color: var(--text-dark);
    font-weight: 500;
}

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

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

.about__image:hover img {
    transform: scale(1.05);
}

/* Menu Section */
.menu {
    background: var(--bg-light);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.menu-item--featured {
    border: 2px solid var(--primary-color);
}

.menu-item__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.menu-item__image {
    height: 250px;
    overflow: hidden;
}

.menu-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item__image img {
    transform: scale(1.1);
}

.menu-item__content {
    padding: 25px;
}

.menu-item__name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.menu-item__description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.menu-item__price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.menu__note {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.menu__note p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery__item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

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

.gallery__zoom {
    font-size: 3rem;
}

/* Reviews Section */
.reviews {
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reviews__stars {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar__label {
    width: 50px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating-bar__track {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 1s ease;
}

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

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

.review-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.review-card__stars {
    color: #ffd700;
    font-size: 1.2rem;
}

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

.review-card__text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.review-card__ratings,
.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.review-tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.review-card__source {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Opening Hours Section */
.hours {
    background: white;
}

.hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.hours__day--weekend {
    background: #fff3e0;
    border-left: 4px solid var(--secondary-color);
}

.hours__name {
    font-weight: 600;
    color: var(--text-dark);
}

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

.hours__popular {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.hours__popular h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.popular-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-day {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popular-day__name {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.popular-day__bar {
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.popular-day__fill {
    height: 100%;
    background: linear-gradient(to right, #4caf50, #81c784);
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    transition: width 1s ease;
}

.popular-day__fill--peak {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact__item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact__icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact__details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact__details p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.contact__details a:hover {
    text-decoration: underline;
}

.contact__features {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact__features h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact__features ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact__features li {
    color: var(--text-light);
    line-height: 1.8;
}

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

/* Footer */
.footer {
    background: #2c2c2c;
    color: #999;
    padding: 60px 0 20px;
}

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

.footer__title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer__section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    color: #999;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

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

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

/* Media Queries */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .about__content,
    .contact__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        padding: 30px 0;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav__toggle {
        display: flex;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__prev,
    .hero__next {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

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

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

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

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

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

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

    .contact__features ul {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}