/* CSS Variables */
:root {
    --color-primary: #D4A574;
    --color-primary-dark: #B8864C;
    --color-primary-light: #E8C9A8;
    --color-secondary: #FFF4E6;
    --color-accent: #8B6F47;
    --color-text: #2C2C2C;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAF7F4;
    --color-border: #E5DDD5;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 3px;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav__brand {
    z-index: 1001;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav__toggle-line {
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: var(--transition);
}

.nav__menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav__link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
}

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

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

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

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide--active {
    opacity: 1;
}

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

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

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

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

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

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

.btn--secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.hero__rating {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
}

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

.star {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
}

.star--filled {
    color: #FFD700;
}

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

.hero__controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 2;
}

.hero__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero__arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* About Section */
.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

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

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

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

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

/* Specialties Section */
.specialties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.specialty-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.specialty-card__content {
    padding: 32px;
}

.specialty-card__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.specialty-card__description {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.specialty-card__tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-secondary);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service {
    text-align: center;
    padding: 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service__text {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--color-text);
    font-weight: 600;
    border: 2px solid var(--color-border);
    transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter--active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.gallery__item.hidden {
    display: none;
}

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

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

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

/* Reviews Section */
.reviews__summary {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.reviews__rating {
    text-align: center;
}

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

.reviews__count {
    display: block;
    margin-top: 8px;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 300px;
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.distribution-bar__label {
    width: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
}

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

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

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

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.review-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

.review-card__text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-secondary);
    color: var(--color-accent);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.reviews__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.reviews__arrow:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

/* Contact Section */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.info-card__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.info-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

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

.info-card__text a {
    color: var(--color-primary);
    font-weight: 600;
}

.info-card__text a:hover {
    text-decoration: underline;
}

.info-card--hours {
    padding: 32px;
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

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

.hours__row--closed .hours__time {
    color: #E74C3C;
    font-weight: 600;
}

.contact__map {
    background: var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 500px;
}

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

.footer__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand {
    flex: 1;
    min-width: 250px;
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.footer__tagline {
    opacity: 0.8;
}

.footer__info {
    flex: 1;
    min-width: 250px;
}

.footer__info p {
    margin-bottom: 8px;
    opacity: 0.8;
}

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

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

.footer__bottom p {
    opacity: 0.6;
    font-size: 0.875rem;
}

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__arrow--prev {
    left: 40px;
}

.lightbox__arrow--next {
    right: 40px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

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

    .contact__map {
        min-height: 400px;
    }
}

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

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .hero {
        margin-top: 58px;
        min-height: 500px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

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

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

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

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

    .reviews__summary {
        flex-direction: column;
        gap: 32px;
    }

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

    .lightbox__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__controls {
        bottom: 20px;
    }

    .hero__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery__filters {
        gap: 8px;
    }

    .gallery__filter {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero__controls,
    .gallery__filters,
    .reviews__controls,
    .lightbox {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 300px;
    }

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