/* CSS Variables */
:root {
    --primary-color: #8b4513;
    --secondary-color: #d4a574;
    --dark-color: #1a1a1a;
    --light-color: #f8f6f3;
    --text-color: #333;
    --text-light: #666;
    --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;
    --max-width: 1140px;
    --header-height: 70px;
}

/* Reset and Base Styles */
* {
    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;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

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

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

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

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

.btn--full {
    width: 100%;
    text-align: center;
}

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

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.navbar__brand {
    display: flex;
    flex-direction: column;
}

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

.navbar__subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

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

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: 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;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    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), rgba(139, 69, 19, 0.6));
    display: flex;
    align-items: center;
}

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

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.hero__info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__info-item {
    text-align: center;
}

.hero__info-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.hero__info-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about__content {
    display: grid;
    gap: 3rem;
}

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

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

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

.stat-card__number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-card__label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

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

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

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

/* Specialties Section */
.specialties {
    padding: 80px 0;
    background-color: white;
}

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

.specialty-card {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    position: relative;
    transition: var(--transition);
}

.specialty-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.specialty-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

.specialty-card__badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    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: 80px 0;
    background-color: white;
}

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

.reviews__rating {
    text-align: center;
}

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

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

.star {
    display: inline-block;
}

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

.star.half {
    position: relative;
}

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

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

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

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

.rating-bar__label {
    min-width: 30px;
    font-size: 0.9rem;
}

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

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

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

.reviews__carousel {
    position: relative;
    overflow: hidden;
}

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

.review-card {
    min-width: calc(33.333% - 1.33rem);
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.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-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);
    padding: 4px 8px;
    background-color: white;
    border-radius: 4px;
}

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

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

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

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

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

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

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

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

.contact__card-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact__icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact__item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

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

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

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

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

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

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

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

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

.service-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.contact__map iframe {
    border-radius: 10px 10px 0 0;
}

/* Busy Times Section */
.busy-times {
    padding: 80px 0;
    background-color: white;
}

.busy-times__day-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.day-btn {
    padding: 8px 16px;
    background-color: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

.day-btn:hover:not(.active) {
    background-color: var(--secondary-color);
    color: white;
}

.busy-times__graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding: 0 20px;
    border-left: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.hour-bar {
    flex: 1;
    background-color: var(--secondary-color);
    margin: 0 2px;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    position: relative;
}

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

.hour-bar__label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-light);
}

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

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

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

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

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 1rem;
}

.footer__links ul {
    list-style: none;
}

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

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

.footer__links a:hover,
.footer__contact a:hover {
    color: white;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
}

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

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

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

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

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

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

/* Media Queries */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

    .review-card {
        min-width: calc(50% - 1rem);
    }

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

@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .hero__info {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .review-card {
        min-width: 100%;
    }

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

    .busy-times__day-selector {
        flex-wrap: wrap;
    }
}

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

    .hero__subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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