/* CSS Variables */
:root {
    --primary-color: #e63946;
    --secondary-color: #2a2a2a;
    --accent-color: #f1faee;
    --text-dark: #1d1d1d;
    --text-light: #6c757d;
    --background-light: #ffffff;
    --background-gray: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --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 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', serif;
}

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

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

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

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

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

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

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

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

.nav__logo {
    display: flex;
    align-items: center;
}

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

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav__cta {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
}

.nav__cta:hover {
    background: #c62e3a;
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.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;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 3;
}

.hero__nav:hover {
    background: rgba(255,255,255,0.3);
}

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

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

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background-light);
}

.about__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about__info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.about__feature {
    text-align: center;
}

.about__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.about__feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

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

.stat {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

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

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-gray);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

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

/* Delivery Section */
.delivery {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.delivery .section-title,
.delivery .section-subtitle {
    color: white;
}

.delivery__partners {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.delivery__partner {
    background: white;
    color: var(--text-dark);
    padding: 2rem 3rem;
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

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

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

.delivery__text {
    display: block;
    font-weight: 600;
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox--active {
    display: flex;
}

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

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 0 20px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--background-gray);
}

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

.reviews__rating {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
}

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

.reviews__stars {
    margin: 1rem 0;
}

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

.reviews__distribution {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

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

.rating-bar__fill {
    background: var(--primary-color);
    height: 100%;
    transition: var(--transition);
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    padding: 2rem;
}

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

.review-card {
    min-width: 100%;
    padding: 0 2rem;
}

.review-card__stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.review-card__text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

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

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

.hours__card {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

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

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

.hours__popular {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

.hours__status {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.hours__chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100px;
    padding: 1rem 0;
}

.hours__bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
    transition: var(--transition);
}

.hours__bar:hover {
    opacity: 1;
}

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

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

.contact__info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.contact__item {
    margin-bottom: 2rem;
}

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

.contact__item address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-light);
}

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

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

.contact__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

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

/* Similar Section */
.similar {
    padding: 80px 0;
    background: var(--background-light);
}

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

.similar__card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

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

.footer__section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer__section a {
    color: white;
    opacity: 0.9;
}

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

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

.category-tag {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.footer__links {
    list-style: none;
}

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

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

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

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
}

.scroll-top--visible {
    display: flex;
}

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

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

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav__menu--active {
        transform: translateX(0);
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

    .about__stats {
        flex-direction: row;
        justify-content: space-around;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

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

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

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