/* 1. CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --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 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --max-width: 1140px;
}

/* 2. 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, 'Helvetica Neue', Arial, 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: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

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

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

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

.btn__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 4. Layout Components */

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav__brand {
    display: flex;
    align-items: center;
}

.nav__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

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

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

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* 5. Page Sections */

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

.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-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(212, 165, 116, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

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

.star {
    color: #ffc107;
    font-size: 1.2rem;
}

.star.filled {
    color: #ffc107;
}

.star.half {
    position: relative;
}

.star.half::before {
    content: '★';
    position: absolute;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.rating__text {
    font-size: 1rem;
    opacity: 0.9;
}

.hero__price {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.hero__nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.hero__nav-prev,
.hero__nav-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--bg-white);
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero__nav-prev:hover,
.hero__nav-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Specialties Section */
.specialties {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.specialty__card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.specialty__name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.feature__item {
    text-align: center;
}

.feature__icon {
    fill: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.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);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.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);
}

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

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.reviews__rating {
    text-align: center;
}

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

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

.reviews__distribution {
    min-width: 300px;
}

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

.distribution__label {
    min-width: 20px;
    text-align: right;
    font-weight: 600;
}

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

.distribution__fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 1s ease-out;
}

.distribution__count {
    min-width: 30px;
    text-align: left;
    color: var(--text-light);
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

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

.review__card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.review__rating {
    display: flex;
}

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

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

.review__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review__badge {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

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

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

.carousel__btn--prev {
    left: 0;
}

.carousel__btn--next {
    right: 0;
}

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

.reviews__tags {
    margin-top: 3rem;
    text-align: center;
}

.reviews__tags-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

/* Opening Hours Section */
.hours {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.hours__card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.hours__list {
    margin-bottom: 1.5rem;
}

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

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

.hours__item.closed .hours__time {
    color: #e74c3c;
}

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

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

.hours__status {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.hours__status.open {
    background-color: #d4edda;
    color: #155724;
}

.hours__status.closed {
    background-color: #f8d7da;
    color: #721c24;
}

.hours__info {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.hours__info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service__list {
    display: grid;
    gap: 1rem;
}

.service__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.service__item svg {
    fill: var(--primary-color);
}

/* Location Section */
.location {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.location__card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.location__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.location__address {
    font-style: normal;
    margin-bottom: 2rem;
}

.address__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.address__item svg {
    fill: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

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

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

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

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

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.contact__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact__text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact__detail {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact__detail strong {
    color: var(--text-dark);
    min-width: 100px;
}

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

.contact__detail a:hover {
    text-decoration: underline;
}

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

.payment__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.payment__item svg {
    fill: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

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

.footer__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__text {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer__links a {
    opacity: 0.9;
    transition: var(--transition);
}

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

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.9;
}

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

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

.social__link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.social__link svg {
    fill: var(--bg-white);
}

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

.footer__location {
    margin-top: 0.5rem;
}

/* 6. UI Components */

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
}

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

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--bg-white);
    transition: var(--transition);
}

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

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

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--primary-color);
}

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

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

/* 7. Utilities */
.hidden {
    display: none !important;
}

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

.slide-in {
    animation: slideIn 0.5s ease-out;
}

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

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

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

    .hero__title {
        font-size: 3rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .review__card {
        flex: 0 0 calc(50% - 1rem);
    }

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

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

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

    .nav__menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav__menu.active {
        left: 0;
    }

    /* Hero Mobile */
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .hero__actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    /* Grid Adjustments */
    .specialties__grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .review__card {
        flex: 0 0 100%;
    }

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

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

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

    .footer__social {
        justify-content: center;
    }

    /* Carousel Buttons */
    .carousel__btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .section__subtitle {
        font-size: 1rem;
    }

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

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Reduce padding on mobile */
    section {
        padding: 3rem 0;
    }

    .reviews__carousel {
        padding: 0 30px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero__nav,
    .hero__actions,
    .carousel__btn,
    .lightbox,
    .footer__social {
        display: none !important;
    }

    .hero {
        height: auto;
        margin-top: 0;
    }

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