/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --secondary-color: #FFA726;
    --accent-color: #FFE0B2;
    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1140px;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

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

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    height: 24px;
}

.navbar__toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

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

.navbar__cta {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
}

.navbar__cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

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

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide 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(211, 47, 47, 0.8), rgba(183, 28, 28, 0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

.hero__title {
    font-size: 3.5rem;
    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;
    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: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 1rem;
    border-radius: 50%;
    z-index: 3;
    transition: var(--transition);
}

.hero__nav:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero__nav--prev {
    left: 2rem;
}

.hero__nav--next {
    right: 2rem;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.about__content {
    display: grid;
    gap: 3rem;
}

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

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

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

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

.about__feature svg {
    margin: 0 auto 1rem;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.about__feature h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about__feature p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ==================== MENU SECTION ==================== */
.menu {
    padding: 5rem 0;
}

.menu__content {
    display: grid;
    gap: 1.5rem;
}

.menu__item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

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

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

.menu__item-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.menu__badge {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.menu__item-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.menu__note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.menu__note svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.menu__note p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.gallery__filter {
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
    border: 2px solid transparent;
}

.gallery__filter.active {
    background-color: var(--primary-color);
    color: var(--text-white);
}

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

.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: transform 0.5s ease;
}

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__btn {
    background-color: var(--text-white);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery__item:hover .gallery__btn {
    transform: scale(1);
}

.gallery__btn svg {
    stroke-width: 2;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews {
    padding: 5rem 0;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin: 1rem 0;
}

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

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

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

.reviews__bar span:first-child {
    width: 20px;
    font-weight: 600;
}

.reviews__bar span:last-child {
    width: 40px;
    color: var(--text-light);
}

.reviews__bar-bg {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

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

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

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

.reviews__card {
    min-width: 100%;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reviews__card .reviews__stars {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

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

.reviews__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.reviews__nav:hover svg {
    stroke: var(--text-white);
}

.reviews__nav svg {
    stroke: var(--primary-color);
    stroke-width: 2;
}

.reviews__nav--prev {
    left: -20px;
}

.reviews__nav--next {
    right: -20px;
}

/* ==================== HOURS SECTION ==================== */
.hours {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.hours__content {
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 5rem 0;
}

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

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

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

.contact__item svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    stroke-width: 2;
}

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

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

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

.contact__item a:hover {
    text-decoration: underline;
}

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

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

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

.footer__brand h3 {
    margin-bottom: 1rem;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 1rem;
}

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

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

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

.footer__contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

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

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

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    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: 2rem;
    right: 2rem;
    background-color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close svg {
    stroke: var(--text-dark);
    stroke-width: 2;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 1rem;
    border-radius: 50%;
}

.lightbox__nav:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.lightbox__nav svg {
    stroke-width: 2;
}

.lightbox__nav--prev {
    left: 2rem;
}

.lightbox__nav--next {
    right: 2rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1023px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: 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.25rem;
    }

    .hero__info {
        gap: 1.5rem;
    }

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

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

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

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__info {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .hero__nav {
        padding: 0.75rem;
    }

    .hero__nav--prev {
        left: 1rem;
    }

    .hero__nav--next {
        right: 1rem;
    }
}