/* CSS Reset and Variables */
:root {
    /* Color Scheme - Casual Restaurant */
    --primary-color: #e74c3c;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #34495e;
    --text-light: #7f8c8d;
    --border-color: #bdc3c7;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-large: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Georgia', serif;
}

/* Reset */
* {
    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: #fff;
    overflow-x: hidden;
}

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

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

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

/* Typography */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

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

.btn--secondary:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn--block {
    display: block;
    width: 100%;
}

/* Header Navigation */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.navbar__brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

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

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

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

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

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

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

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

.navbar__link--cta {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
}

.navbar__link--cta:hover {
    background: #c0392b;
}

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

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

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

.hero__slide--active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

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

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.hero__info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.hero__icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero__scroll svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

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

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

.features__item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    transition: var(--transition);
}

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

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

.features__item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

/* Amenities Section */
.amenities {
    padding: 5rem 0;
    background: white;
}

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

.amenities__category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.amenities__list {
    list-style: none;
}

.amenities__item {
    padding: 0.5rem 0;
    color: var(--text-color);
}

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

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

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

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

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

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

.gallery__more {
    display: block;
    margin: 0 auto;
}

/* 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-large);
}

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 0.5rem 0;
}

.star--filled {
    color: #ffc107;
}

.star {
    color: #ddd;
}

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

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

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

.reviews__bar-track {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.reviews__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.review-card {
    min-width: 300px;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius);
}

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

.review-card__rating {
    color: #ffc107;
}

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

.review-card__text {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.review-card__footer {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.review-card__badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

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

.reviews__prev,
.reviews__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.reviews__prev:hover,
.reviews__next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.reviews__prev {
    left: 1rem;
}

.reviews__next {
    right: 1rem;
}

.reviews__tags {
    text-align: center;
}

.reviews__tags-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.reviews__tags-list {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* Popular Times Section */
.popular-times {
    padding: 5rem 0;
    background: var(--light-color);
}

.popular-times__live {
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

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

.popular-times__day {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.popular-times__histogram {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
}

.histogram__bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.histogram__fill {
    width: 100%;
    max-width: 30px;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.histogram__fill--current {
    background: var(--secondary-color);
}

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

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

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

.contact__item {
    margin-bottom: 2rem;
}

.contact__item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact__item-text {
    color: var(--text-color);
    line-height: 1.8;
}

.contact__hours {
    list-style: none;
}

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

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

.contact__link:hover {
    text-decoration: underline;
}

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

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

.question-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.question-card__question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

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

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

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

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

.footer__description {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer__badges {
    display: flex;
    gap: 1rem;
}

.footer__badge {
    background: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.footer__links-title,
.footer__info-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.footer__links-list li {
    padding: 0.25rem 0;
}

.footer__links-list a {
    opacity: 0.8;
}

.footer__links-list a:hover {
    opacity: 1;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__google-link {
    color: var(--primary-color);
}

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

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

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
}

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

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
}

.lightbox__prev {
    left: 2rem;
}

.lightbox__next {
    right: 2rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Media Queries */
@media (max-width: 1023px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .navbar__menu--active {
        left: 0;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__info {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .popular-times__days {
        flex-wrap: wrap;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-width: 100%;
    }
}