/* CSS Variables */
:root {
    --color-primary: #ff6b6b;
    --color-secondary: #4ecdc4;
    --color-accent: #ffd93d;
    --color-dark: #2d3436;
    --color-light: #f8f9fa;
    --color-text: #636e72;
    --color-success: #00b894;
    --color-warning: #fdcb6e;
    --color-danger: #d63031;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.2);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

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

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

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

.navbar__subtitle {
    font-size: 0.875rem;
    color: var(--color-text);
}

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

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

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

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

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

.navbar__link {
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,52,54,0.8) 0%, rgba(255,107,107,0.6) 100%);
}

.hero__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge--rating {
    background: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.hero__cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

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

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

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--color-text);
}

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

.about__text {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about__stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

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

.stat__label {
    font-size: 0.875rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

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

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

.feature__description {
    color: var(--color-text);
}

/* Popular Dishes */
.dishes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dish-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.dish-card__title {
    font-size: 1.125rem;
    color: var(--color-dark);
}

.dish-card__badge {
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.dish-card__description {
    color: var(--color-text);
    line-height: 1.6;
}

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

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

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

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

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

.reviews__rating {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid #e9ecef;
}

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

.reviews__stars {
    font-size: 2rem;
    color: var(--color-accent);
    margin: 0.5rem 0;
}

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

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

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

.review-bar__label {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 30px;
}

.review-bar__track {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar__fill {
    height: 100%;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.review-bar__count {
    font-size: 0.875rem;
    color: var(--color-text);
    min-width: 40px;
    text-align: right;
}

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

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.review-card__rating {
    display: flex;
    gap: 0.25rem;
    color: var(--color-accent);
}

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

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

.review-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-card__tag {
    background: #f1f3f5;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--color-text);
}

/* Hours Section */
.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.hours__schedule {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

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

.hours__day-name {
    font-weight: 600;
    color: var(--color-dark);
}

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

.hours__popular {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.hours__subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.popular-times {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    height: 150px;
}

.popular-times__bar {
    flex: 1;
    background: var(--color-secondary);
    border-radius: 3px 3px 0 0;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.popular-times__bar:hover {
    background: var(--color-primary);
}

.popular-times__bar::after {
    content: attr(data-hour);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    color: var(--color-text);
}

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

.amenity {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.amenity__category {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.amenity__list {
    list-style: none;
    color: var(--color-text);
}

.amenity__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.amenity__list li:last-child {
    border-bottom: none;
}

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

.contact__info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact__item {
    margin-bottom: 2rem;
}

.contact__item:last-child {
    margin-bottom: 0;
}

.contact__label {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

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

.contact__value a {
    color: var(--color-secondary);
    font-weight: 500;
}

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

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

.map-placeholder {
    position: relative;
    height: 400px;
}

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

.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

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

/* Also Search Section */
.also-search__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.also-search__item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.also-search__name {
    font-size: 1.125rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.also-search__rating {
    color: var(--color-text);
    font-size: 0.875rem;
}

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

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.footer__subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.footer__info {
    text-align: right;
}

.footer__address,
.footer__phone,
.footer__hours {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.footer__copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

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

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.lightbox__content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 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: 1023px) {
    .navbar__menu {
        gap: 1.5rem;
    }

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

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

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

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

    .reviews__rating {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .navbar__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        margin-top: 70px;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about__stats {
        justify-content: space-around;
    }

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

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

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

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

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

    .also-search__grid {
        grid-template-columns: 1fr;
    }

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

    .footer__info {
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }
}