/* CSS Variables */
:root {
    --primary-color: #d4392d;
    --primary-dark: #a82c23;
    --primary-light: #e85c51;
    --secondary-color: #fdb913;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --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;
    --border-radius: 8px;
    --max-width: 1140px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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;
}

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

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    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: 16px 20px;
}

.navbar__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

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

.navbar__menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

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

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

/* 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%;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 20s 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(212, 57, 45, 0.8), rgba(168, 44, 35, 0.7));
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}

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

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 32px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

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

.star-filled,
.star-half {
    display: inline-block;
}

.star-half {
    background: linear-gradient(90deg, var(--secondary-color) 50%, transparent 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__rating-text {
    font-size: 1.125rem;
    font-weight: 500;
}

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

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

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

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

.btn--secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

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

.feature-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card__text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-item__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-item__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-item__text {
    color: var(--text-light);
    font-size: 0.938rem;
}

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

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

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

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.gallery__item:hover .gallery__overlay {
    background: rgba(212, 57, 45, 0.8);
}

.gallery__icon {
    color: white;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

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

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0 20px;
    z-index: 10001;
}

.lightbox__nav:hover {
    color: var(--secondary-color);
}

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

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

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

.lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reviews__overall-rating {
    text-align: center;
}

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

.reviews__stars {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

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

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

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

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

.rating-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 1s ease;
}

.rating-bar__count {
    text-align: right;
    color: var(--text-light);
}

.reviews__list {
    display: grid;
    gap: 24px;
}

.review-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.review-card__stars {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

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

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

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.review-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.813rem;
    color: var(--text-light);
}

.review-card__detailed {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

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

.rating-detail__label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.rating-detail__score {
    font-weight: 600;
    color: var(--primary-color);
}

.review-card__owner-response {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.owner-response__label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

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

/* Popular Times Section */
.popular-times {
    background: var(--bg-light);
}

.popular-times__chart {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.day-chart {
    margin-bottom: 32px;
}

.day-chart__header {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.day-chart__bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 100px;
}

.hour-bar {
    flex: 1;
    background: var(--border-color);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hour-bar:hover {
    background: var(--primary-light);
}

.hour-bar.busy {
    background: var(--primary-color);
}

.hour-bar.moderate {
    background: var(--secondary-color);
}

.hour-bar__tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.813rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 8px;
}

.hour-bar:hover .hour-bar__tooltip {
    opacity: 1;
}

/* Hours Section */
.hours__grid {
    display: grid;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.hours__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hours__item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.hours__item--highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
}

.hours__day {
    font-weight: 600;
    font-size: 1.125rem;
}

.hours__time {
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    display: flex;
    gap: 20px;
    align-items: start;
}

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

.contact__label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

.contact__text--link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact__text--link:hover {
    text-decoration: underline;
}

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

.contact__map iframe {
    display: block;
}

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

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

.footer__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer__text {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer__text a {
    color: var(--secondary-color);
}

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

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

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

.footer__copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

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

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

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.75rem;
    }

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

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

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

    .navbar__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

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

    .section {
        padding: 60px 0;
    }

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

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

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

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

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

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

    .review-card__header {
        flex-direction: column;
        gap: 8px;
    }

    .review-card__detailed {
        flex-direction: column;
        gap: 12px;
    }

    .popular-times__chart {
        padding: 20px;
    }

    .day-chart__bars {
        height: 60px;
    }

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

    .lightbox__nav {
        font-size: 2.5rem;
        padding: 0 10px;
    }

    .lightbox__close {
        font-size: 2rem;
        right: 15px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .feature-card,
    .service-item,
    .review-card {
        padding: 24px 20px;
    }

    .reviews__score {
        font-size: 3rem;
    }

    .popular-times__chart {
        padding: 16px;
    }

    .hours__item {
        padding: 16px 20px;
    }
}