/* CSS Variables */
:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a1a1a;
    --accent-color: #d4a574;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --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 cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-color);
    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;
    height: 70px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

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

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

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

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

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

/* 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__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero__content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

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

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

.hero__btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.hero__btn--primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.hero__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero__btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.about__text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

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

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

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

.about__feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

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

.specialties__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.specialty-tag {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.specialty-tag:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.specialty-tag__count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.specialty-tag__name {
    font-weight: 500;
    color: var(--text-color);
}

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

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

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

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

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

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

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

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

.gallery__lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

.gallery__lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery__lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery__lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

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

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

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.star {
    color: #ddd;
}

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

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

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

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

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

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

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

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

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

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

.review-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

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

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

.review-card__rating {
    color: var(--accent-color);
}

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

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

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

.review-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

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

.hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.hours__day:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.hours__day--highlight {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.hours__day-name {
    font-weight: 600;
}

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

.hours__day--highlight .hours__time {
    color: white;
}

.hours__popular {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hours__popular h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.hours__status {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hours__chart {
    height: 100px;
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

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

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

.contact__info {
    display: grid;
    gap: 2rem;
}

.contact__item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

.contact__phone {
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.contact__link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact__link:hover {
    text-decoration: underline;
}

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

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

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

.qa__item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.qa__question {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.qa__date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.qa__answer {
    padding: 1rem;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.qa__answer p {
    color: var(--text-color);
    line-height: 1.6;
}

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

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

.footer__section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

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

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

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

.footer__links,
.footer__services {
    list-style: none;
}

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

.footer__links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer__section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer__section a:hover {
    color: white;
}

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

.footer__bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

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

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

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Media Queries */
@media screen and (max-width: 1023px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

@media screen and (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__badges {
        gap: 1rem;
    }

    .hero__badge {
        font-size: 0.9rem;
    }

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

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

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

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

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

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

@media print {
    .navbar,
    .hero,
    .gallery,
    .footer,
    .scroll-to-top {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section-title {
        page-break-after: avoid;
    }

    section {
        page-break-inside: avoid;
    }
}