/* CSS Variables */
:root {
    --primary-color: #e63946;
    --primary-dark: #d62828;
    --secondary-color: #f77f00;
    --accent-color: #fcbf49;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    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;
    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;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

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

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

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.navbar__menu {
    display: flex;
    gap: 2rem;
}

.navbar__link {
    font-weight: 500;
    transition: var(--transition);
    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 {
    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%;
    
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.85) 0%, rgba(214, 40, 40, 0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease;
}

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

.hero__title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.hero__stars .half-star {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 0.5em;
}

.hero__rating-text {
    font-size: 1rem;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.about__feature {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

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

.about__feature-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.menu__item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.menu__item-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.menu__item-content {
    padding: 1.5rem;
}

.menu__item-title {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.menu__item-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.menu__item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.menu__item-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.menu__item-tag.recommended {
    background: var(--secondary-color);
    color: var(--text-light);
}

.menu__tags {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

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

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

.menu__tag {
    padding: 8px 20px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.menu__tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

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

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

.gallery__filter {
    padding: 10px 24px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter--active {
    background: var(--primary-color);
    color: var(--text-light);
}

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

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

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

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

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: var(--bg-white);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.reviews__summary-score {
    text-align: center;
}

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

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

.reviews__count {
    color: var(--text-gray);
    font-size: 1rem;
}

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

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

.reviews__bar-label {
    min-width: 35px;
    font-weight: 600;
    color: var(--text-gray);
}

.reviews__bar-bg {
    flex: 1;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

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

.reviews__bar-count {
    min-width: 30px;
    text-align: right;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.reviews__item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.reviews__stars {
    color: var(--accent-color);
    font-size: 1.125rem;
}

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

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

.reviews__rating-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.reviews__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.reviews__badge {
    padding: 4px 10px;
    background: var(--bg-white);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.reviews__images {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.reviews__images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.services__category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.services__category-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.services__item {
    color: var(--text-gray);
    padding-left: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.contact__item {
    display: flex;
    gap: 1.5rem;
}

.contact__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

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

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

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

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

.contact__hours {
    list-style: none;
}

.contact__hours li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid #e5e7eb;
}

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

.contact__hours strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 120px;
}

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

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

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

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

.footer__text {
    color: #9ca3af;
    line-height: 1.8;
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.footer__link {
    color: #9ca3af;
    transition: var(--transition);
}

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

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

.footer__copyright {
    color: #9ca3af;
}

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

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

    .about__features,
    .menu__grid,
    .gallery__grid,
    .reviews__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

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

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

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

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

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

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

    .lightbox__prev,
    .lightbox__next {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}