/* CSS Variables */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e85a2a;
    --secondary-color: #f7931e;
    --dark-bg: #1a1a1a;
    --dark-section: #242424;
    --light-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #777777;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --star-color: #ffc107;

    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

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

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

ul {
    list-style: none;
}

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

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

.section--dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: inherit;
}

.section--dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo__icon {
    font-size: 2rem;
}

.navbar__menu {
    display: flex;
    gap: 32px;
}

.navbar__link {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    center/cover no-repeat fixed;
    color: var(--text-light);
    text-align: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(255, 107, 53, 0.3));
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 1.5rem;
    color: var(--star-color);
}

.star.filled {
    color: var(--star-color);
}

.rating__text {
    font-size: 1.125rem;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

.btn--secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn--secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(-45deg);
}

/* About Section */
.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__text {
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-gray);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background-color: #f9f9f9;
    border-radius: 12px;
    transition: var(--transition-normal);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

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

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Menu Section */
.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.menu-card {
    background-color: var(--dark-section);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.menu-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.menu-card:hover .menu-card__image img {
    transform: scale(1.1);
}

.menu-card__content {
    padding: 24px;
}

.menu-card__content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.menu-card__content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Reviews Section */
.reviews__summary {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.reviews__rating {
    text-align: center;
}

.rating-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.rating-count {
    display: block;
    margin-top: 8px;
    opacity: 0.7;
}

.reviews__distribution {
    min-width: 300px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-label {
    min-width: 32px;
    font-size: 0.9rem;
}

.bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

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

.rating-percent {
    min-width: 32px;
    text-align: right;
    font-size: 0.9rem;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
}

.reviews__slider {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 0;
    scrollbar-width: none;
}

.reviews__slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc(33.333% - 22px);
    min-width: 300px;
    background-color: var(--dark-section);
    padding: 24px;
    border-radius: 12px;
    scroll-snap-align: start;
}

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

.review__date {
    font-size: 0.875rem;
    opacity: 0.6;
}

.review__text {
    margin-bottom: 16px;
    line-height: 1.6;
}

.review__detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.review__context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.context-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    opacity: 0.8;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.carousel-btn--prev {
    left: -16px;
}

.carousel-btn--next {
    right: -16px;
}

/* Opening Hours */
.hours__grid {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
}

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

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

.hours__item--highlight {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.day {
    font-weight: 600;
}

.time {
    color: var(--text-gray);
}

.hours__item--highlight .time {
    color: var(--text-light);
    opacity: 0.9;
}

/* Contact Section */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.info-card {
    text-align: center;
    padding: 24px;
    background-color: var(--dark-section);
    border-radius: 12px;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.info-card a:hover {
    text-decoration: underline;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map-link {
    display: block;
    position: relative;
    height: 100%;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 107, 53, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.map-overlay span {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition-normal);
}

.map-link:hover .map-overlay {
    background-color: rgba(255, 107, 53, 0.8);
}

.map-link:hover .map-overlay span {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 48px 0 24px;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__description {
    opacity: 0.7;
    line-height: 1.6;
}

.footer h4 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.footer__hours p,
.footer__contact p {
    margin-bottom: 8px;
    opacity: 0.7;
}

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

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

.footer__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    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: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    line-height: 1;
    transition: var(--transition-normal);
}

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

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    border-radius: 50%;
}

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

.lightbox__prev {
    left: 24px;
}

.lightbox__next {
    right: 24px;
}

.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.125rem;
}

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

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

/* Responsive Design */
@media (max-width: 1023px) {
    .section {
        padding: 60px 0;
    }

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

    .hero__title {
        font-size: 3rem;
    }

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

    .review-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .navbar__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--dark-bg);
        flex-direction: column;
        gap: 0;
        padding: 24px;
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }

    .navbar__menu.active {
        transform: translateX(0);
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

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

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

    .reviews__summary {
        flex-direction: column;
        gap: 40px;
    }

    .review-card {
        flex: 0 0 100%;
    }

    .carousel-btn {
        display: none;
    }

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

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

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

    .lightbox__prev,
    .lightbox__next {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }

    .lightbox__prev {
        left: 8px;
    }

    .lightbox__next {
        right: 8px;
    }
}

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

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}