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

:root {
    --primary-color: #d32f2f;
    --secondary-color: #ffa000;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #9e9e9e;
    --gray-dark: #616161;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --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-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --font-serif: 'Georgia', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --container-width: 1140px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    background: var(--light-color);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: 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__brand {
    font-family: var(--font-serif);
}

.navbar__title {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

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

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

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

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

.hero__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
}

.hero__content {
    color: var(--light-color);
    text-align: center;
    width: 100%;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

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

.hero__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero__badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-color);
    transition: var(--transition-fast);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

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

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

.btn--secondary:hover {
    background: #ff8f00;
    transform: translateY(-2px);
}

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

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

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

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

.feature-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-fast);
}

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

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

.feature-card__title {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-card__text {
    color: var(--gray-dark);
}

/* Specialties Section */
.specialties {
    padding: 80px 0;
}

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

.tag {
    background: var(--gray-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.tag--popular {
    background: var(--primary-color);
    color: var(--light-color);
}

.specialties__info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-item__icon {
    color: var(--success-color);
    font-size: 1.2rem;
}

.service-item__text {
    color: var(--dark-color);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
}

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

.gallery__filter {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gray-medium);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 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-medium);
}

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

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

.gallery__lightbox.active {
    display: flex;
}

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

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

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

.gallery__nav--prev { left: 20px; }
.gallery__nav--next { right: 20px; }

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

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    margin-top: 0.5rem;
}

.stars {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
    color: #ddd;
}

.stars::before {
    content: '★★★★★';
}

.stars::after {
    content: '★★★★★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    overflow: hidden;
}

.stars[data-rating="5"]::after { width: 100%; }
.stars[data-rating="4.7"]::after { width: 94%; }
.stars[data-rating="4.4"]::after { width: 88%; }
.stars[data-rating="4"]::after { width: 80%; }
.stars[data-rating="3.8"]::after { width: 76%; }
.stars[data-rating="3"]::after { width: 60%; }
.stars[data-rating="2"]::after { width: 40%; }
.stars[data-rating="1"]::after { width: 20%; }

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

.rating-bar__track {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

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

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

.review-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

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

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

.review-card__details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-card__tag {
    background: var(--gray-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

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

.reviews__nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hours Section */
.hours {
    padding: 80px 0;
}

.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hours__list {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.hours__item--special .hours__time {
    color: var(--primary-color);
    font-weight: bold;
}

.hours__item--today {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 1rem;
    margin: -0.75rem -1rem;
    border-radius: 5px;
}

.hours__status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-indicator__dot {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.status-indicator__text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--success-color);
}

.hours__note {
    color: var(--gray-dark);
    text-align: center;
}

.popular-times__chart {
    height: 200px;
    background: var(--gray-light);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.popular-times__bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transition: var(--transition-fast);
    cursor: pointer;
}

.popular-times__bar:hover {
    background: var(--secondary-color);
}

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

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

.contact__item {
    margin-bottom: 2rem;
}

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

.contact__link {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

/* Similar Section */
.similar {
    padding: 80px 0;
}

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

.similar__card {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition-fast);
}

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

.similar__name {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.similar__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

.footer__text {
    opacity: 0.9;
    line-height: 1.8;
}

.footer__links {
    list-style: none;
}

.footer__links a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

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

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

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

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

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

    .navbar__menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-color);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-fast);
    }

    .navbar__menu.active {
        right: 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

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

    .hero__title {
        font-size: 2rem;
    }

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

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

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

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

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

    .hero__badges {
        flex-direction: column;
    }

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

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