/* CSS Variables */
:root {
    --primary-color: #d4342a;
    --primary-dark: #a82820;
    --secondary-color: #f4a261;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #fff;
    --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;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    --container-width: 1140px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto var(--spacing-sm);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
}

.nav__brand {
    z-index: 1001;
}

.nav__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.nav__menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 80%;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.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(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: var(--text-white);
    animation: fadeInUp 1s ease-out;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.5rem;
    color: #ccc;
}

.star.filled {
    color: #ffc107;
}

.star.partial {
    background: linear-gradient(90deg, #ffc107 50%, #ccc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

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

/* Quick Info Section */
.quick-info {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.quick-info__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md);
}

.quick-info__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: var(--transition);
}

.quick-info__item:hover {
    background: var(--bg-light);
    transform: translateY(-5px);
}

.quick-info__icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.quick-info__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

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

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

.about__text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

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

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

.feature__icon {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-sm);
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

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

/* Services Section */
.services {
    background: var(--bg-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-sm);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

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

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

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

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

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

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

.gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: var(--transition);
}

.gallery__item:hover::after {
    background: rgba(0,0,0,0.3);
}

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-white);
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

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

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

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

.lightbox__content {
    max-width: 90%;
    max-height: 90vh;
}

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

/* Reviews Section */
.reviews {
    background: var(--bg-white);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
}

.reviews__overall {
    text-align: center;
}

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

.reviews__stars {
    margin: var(--spacing-sm) 0;
}

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

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

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

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

.reviews__list {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.review-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__rating .star {
    font-size: 1.2rem;
}

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

.review-card__text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

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

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__image {
    margin-top: var(--spacing-sm);
    border-radius: 8px;
    overflow: hidden;
    max-width: 300px;
}

.review-card__image img {
    width: 100%;
    height: auto;
}

.reviews__tags-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

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

.hours__grid {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: var(--spacing-xs);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: 8px;
    transition: var(--transition);
}

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

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

.hours__time {
    color: var(--primary-color);
    font-weight: 500;
}

.hours__note {
    text-align: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: 8px;
    color: var(--text-light);
    font-style: italic;
}

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

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

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

.contact__icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact__title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact__text {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

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

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.footer__subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer__text {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

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

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

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

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-sm);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

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

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Media Queries */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

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

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

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__link {
        padding: var(--spacing-sm) 0;
    }

    .hero {
        height: 70vh;
    }

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

    .quick-info__container {
        grid-template-columns: 1fr;
    }

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

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

    .lightbox__nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

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

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

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

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

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

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .nav,
    .hero__buttons,
    .back-to-top {
        display: none;
    }

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