/* CSS Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffa502;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --text-color: #333;
    --text-light: #636e72;
    --border-color: #e0e0e0;
    --success-color: #00b894;
    --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;
    --border-radius: 8px;
    --max-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

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

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

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

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

.button--primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button--secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

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

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    transition: var(--transition);
}

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

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

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

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

.navbar__link {
    color: var(--text-color);
    font-weight: 500;
    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%;
}

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

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

.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(255, 107, 107, 0.9) 0%, rgba(255, 165, 2, 0.9) 100%);
    z-index: -1;
}

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

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    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: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero__badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

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

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

.hero__scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.hero__scroll-indicator::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scrollIndicator 1.5s infinite;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about__card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--light-color);
    transition: var(--transition);
}

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

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

.about__card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.about__features {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.about__features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.feature__icon {
    color: var(--success-color);
    font-weight: bold;
}

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

.hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hours__day:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.hours__day--weekend {
    background: #fff3e0;
}

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

.hours__day-name {
    font-weight: 600;
}

.hours__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    max-width: 400px;
    margin: 0 auto;
}

.status__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status__indicator.open {
    background: var(--success-color);
}

.status__indicator.closed {
    background: var(--primary-color);
}

/* Popular Times Section */
.popular-times {
    padding: 80px 0;
    background: white;
}

.popular-times__selector {
    text-align: center;
    margin-bottom: 2rem;
}

.day-selector {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.day-selector:hover,
.day-selector:focus {
    border-color: var(--primary-color);
    outline: none;
}

.popular-times__chart {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.chart__bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    margin-bottom: 1rem;
    gap: 2px;
}

.chart__bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

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

.chart__bar.current {
    background: var(--success-color);
}

.chart__bar-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.chart__bar:hover .chart__bar-tooltip {
    opacity: 1;
    bottom: calc(100% + 5px);
}

.chart__labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
}

.popular-times__note {
    text-align: center;
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--primary-color);
}

.lightbox__close {
    top: 20px;
    right: 40px;
}

.lightbox__prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: white;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.reviews__rating {
    text-align: center;
}

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

.rating__stars {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.star {
    color: #ddd;
}

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

.star--half {
    position: relative;
    color: #ddd;
}

.star--half::before {
    content: '★';
    position: absolute;
    color: #ffd700;
    width: 50%;
    overflow: hidden;
}

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

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

.distribution__row {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.distribution__bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: #ffd700;
    transition: var(--transition);
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

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

.review__card {
    min-width: 350px;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

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

.review__stars {
    color: #ffd700;
}

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

.review__text {
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.review__context,
.review__recommendation {
    color: var(--text-light);
    font-size: 0.85rem;
}

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.reviews__nav--prev {
    left: 0;
}

.reviews__nav--next {
    right: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

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

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

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

.contact__item address {
    font-style: normal;
    line-height: 1.8;
}

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

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

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

.contact__map iframe {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Similar Section */
.similar {
    padding: 80px 0;
    background: white;
}

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

.similar__card {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

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

/* 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__section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: rgba(255,255,255,0.8);
}

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

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

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

@keyframes scrollIndicator {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 25px;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 184, 148, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
    }
}

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

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

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

    .navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

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

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

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

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .reviews__carousel {
        padding: 0 40px;
    }

    .review__card {
        min-width: 280px;
    }

    .reviews__nav {
        font-size: 1.5rem;
        padding: 0.25rem;
    }

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

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

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

    .chart__labels {
        font-size: 0.6rem;
    }

    .lightbox__prev,
    .lightbox__next {
        font-size: 2rem;
        padding: 0.25rem;
    }
}