/* CSS Variables */
:root {
    --primary-color: #c41e3a;
    --secondary-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --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-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --border-radius: 8px;
    --container-max: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 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: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

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

.navigation__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.navigation__toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

.navigation__link {
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

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

.hero__slider {
    height: 100%;
    position: relative;
}

.hero__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide--active {
    opacity: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

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

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

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

.hero__button {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
}

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

.hero__button--primary:hover {
    background: #a01729;
    transform: translateY(-2px);
}

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

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

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.hero__nav:hover {
    background: rgba(0,0,0,0.7);
}

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

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

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

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

.about__text {
    text-align: center;
}

.about__text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.about__feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

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

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

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

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

/* Features Section */
.features {
    padding: 80px 0;
}

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

.features__item {
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

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

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

.features__item-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

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

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

.specialty-tag {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.specialty-tag:hover {
    transform: scale(1.05);
    background: #a01729;
}

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

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

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

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

.gallery__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-fast);
}

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

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

.reviews__summary {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.reviews__rating {
    text-align: center;
}

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

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

.star {
    color: #ddd;
}

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

.star.half {
    position: relative;
    color: #ddd;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary-color);
}

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

.reviews__distribution {
    min-width: 300px;
}

.distribution__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.distribution__bar {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

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

.reviews__carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.reviews__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
}

.reviews__track::-webkit-scrollbar {
    height: 8px;
}

.reviews__track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reviews__track::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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

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

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

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

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

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

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

.reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
    z-index: 2;
}

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

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

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

/* Contact Section */
.contact {
    padding: 80px 0;
}

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

.contact__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.contact__card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact__address {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.8;
}

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

.contact__payment,
.contact__parking,
.contact__accessibility {
    list-style: none;
    color: var(--text-light);
}

.contact__payment li,
.contact__parking li,
.contact__accessibility li {
    margin-bottom: 0.5rem;
}

.contact__map {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.contact__directions {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact__directions:hover {
    background: #a01729;
    transform: translateX(5px);
}

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

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

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

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

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

.footer__bottom {
    padding-top: 20px;
    text-align: center;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    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: white;
    transition: var(--transition-fast);
}

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

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    padding: 0 20px;
    transition: var(--transition-fast);
}

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

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

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

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

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

.scroll-to-top:hover {
    background: #a01729;
    transform: translateY(-5px);
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    /* Mobile Navigation */
    .navigation__toggle {
        display: flex;
    }

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

    .navigation__menu--active {
        left: 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

    .footer__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

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

    .hero {
        height: 60vh;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__nav {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

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