/* CSS Variables */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #9a0007;
    --primary-light: #ff6659;
    --secondary-color: #ffc107;
    --secondary-dark: #c79100;
    --secondary-light: #fff350;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-gray: #f5f5f5;
    --bg-dark: #1a1a1a;
    --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 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --max-width: 1140px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    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: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

.btn--secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.navigation.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.navigation__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navigation__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-base);
}

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

.navigation__link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
}

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

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

/* 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%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide--active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

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

.about__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.about__feature {
    text-align: center;
}

.about__feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about__feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about__feature-text {
    color: var(--text-secondary);
}

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

.stat-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

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

.stat-card__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

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

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Specialties Section */
.specialties {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.specialty-category {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.specialty-category__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.specialty-category__list {
    list-style: none;
}

.specialty-category__list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.specialty-category__list li:last-child {
    border-bottom: none;
}

.menu-note {
    text-align: center;
    padding: 1.5rem;
    background: var(--secondary-light);
    border-radius: var(--border-radius);
}

.menu-note__text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

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

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

.gallery__item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

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

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

.lightbox.active {
    display: flex;
}

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

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

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

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

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

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    margin: 1rem 0;
}

.star {
    font-size: 1.5rem;
    color: var(--border-color);
}

.star--filled {
    color: var(--secondary-color);
}

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

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

.distribution__row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distribution__label {
    min-width: 40px;
    font-size: 0.875rem;
}

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

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

.distribution__count {
    min-width: 30px;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

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

.review-card {
    min-width: 350px;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

.review-card__rating {
    display: flex;
}

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

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

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

.review-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-light);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border-radius: 50%;
    transition: var(--transition-base);
}

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

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

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

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

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

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

.info-block {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.info-block__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-block__content {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-secondary);
}

.info-block__phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.info-block__note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

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

.hours-list__item:last-child {
    border-bottom: none;
}

.hours-list__item--closed .hours-list__time {
    color: var(--primary-color);
}

.hours-list__day {
    font-weight: 500;
}

.hours-list__time {
    color: var(--text-secondary);
}

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

.contact__map iframe {
    border-radius: var(--border-radius);
}

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

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

.similar-card {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-base);
}

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

.similar-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.similar-card__rating {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

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

.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer__text {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer__links {
    list-style: none;
}

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

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

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

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

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

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

.scroll-top.visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 1023px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

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

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

@media (max-width: 767px) {
    .navigation__toggle {
        display: flex;
    }

    .navigation__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-light);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition-base);
    }

    .navigation__menu.active {
        left: 0;
    }

    .hero {
        margin-top: 60px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

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

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

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

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

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

    .review-card {
        min-width: 280px;
    }

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

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

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

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

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