/* 1. CSS Variables */
:root {
    --primary-color: #c8302e;
    --secondary-color: #1a1a1a;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --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;
    --max-width: 1140px;
    --border-radius: 8px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* 3. Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

/* 5. Page Sections */

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

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__image.active {
    opacity: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-white);
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero__score {
    font-size: 1.8rem;
    font-weight: bold;
}

.hero__reviews {
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

.btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

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

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

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

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

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

.feature__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature__description {
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.delivery__card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.delivery__card:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.delivery__platform {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.delivery__cta {
    font-weight: 600;
    opacity: 0.8;
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery__item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.gallery__lightbox.active {
    display: flex;
}

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

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

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

.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__score {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reviews__number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

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

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

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

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

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

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

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

.review__stars {
    font-size: 1.2rem;
}

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

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

.review__translated {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.review__badge,
.review__stat,
.review__service {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-white);
    border-radius: 20px;
    color: var(--text-light);
}

.review__badge {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.reviews__tags {
    text-align: center;
}

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

.tags__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
}

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

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

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

.hours__regular,
.hours__delivery {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.hours__regular h3,
.hours__delivery h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

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

.hours__day {
    font-weight: 600;
}

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

.hours__busy {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.hours__busy h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.busy__chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    margin-bottom: 1rem;
}

.busy__bar {
    width: 30px;
    background-color: var(--accent-color);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.busy__note {
    color: var(--text-light);
    font-style: italic;
}

/* Amenities Section */
.amenities {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.amenity__group {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.amenity__group h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.amenity__list li {
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

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

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

.contact__item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

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

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

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

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

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

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

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

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

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

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

.footer__title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer__links h4,
.footer__hours h4,
.footer__connect h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

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

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

.footer__phone {
    display: block;
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer__social a:hover {
    color: var(--accent-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);
}

/* 6. UI Components */

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* 7. Utilities */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 9. Media Queries */

/* Tablet */
@media (max-width: 1023px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

/* Mobile */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

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

    .hero {
        height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

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

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

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

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

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

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

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

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Wide Screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero__title {
        font-size: 4rem;
    }

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