/* 1. CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #2c3e50;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

.btn--secondary:hover {
    background: #34495e;
    transform: translateY(-2px);
}

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

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

.btn__icon {
    flex-shrink: 0;
}

/* 4. Layout Components */

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

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

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

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

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

.navbar__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* 5. Page Sections */

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

.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 1.5s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
}

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

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

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

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

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

.about__info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about__info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature__icon {
    margin: 0 auto 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

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

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

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

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

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

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

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

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

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    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: var(--background-light);
}

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

.reviews__rating {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.reviews__stars {
    display: flex;
}

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

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

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

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

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

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

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

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

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

.review-card__stars {
    display: flex;
}

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

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

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

.tag {
    padding: 4px 8px;
    background: var(--background-light);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__ratings {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-card__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

/* Hours Section */
.hours {
    padding: 80px 0;
    background: var(--background-white);
}

.hours__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

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

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

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

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

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

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

.hours__info {
    display: grid;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.info-list {
    display: grid;
    gap: 0.8rem;
}

.info-list__item {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-list__item.available {
    color: var(--success-color);
}

.info-list__item.unavailable {
    color: var(--text-light);
}

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

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

.contact__info {
    display: grid;
    gap: 2rem;
}

.contact__item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact__icon {
    flex-shrink: 0;
    margin-top: 5px;
}

.contact__item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

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

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

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

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
}

.contact__directions {
    margin-top: 1rem;
    text-align: center;
}

/* 6. UI Components */

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

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

.footer__brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__links h4,
.footer__contact h4,
.footer__hours h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__links ul {
    display: grid;
    gap: 0.5rem;
}

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

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

.footer__contact p,
.footer__hours p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* 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: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

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

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

.lightbox__caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

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

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

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

/* 7. Utilities */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* 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 fadeInDown {
    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 */

/* Tablet */
@media (max-width: 1023px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .navbar__menu.active {
        left: 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

/* Mobile */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

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

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

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

    .hero__cta .btn {
        width: 100%;
    }

    .hero__nav {
        padding: 10px 15px;
        font-size: 1.5rem;
    }

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

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

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

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

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

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

    .lightbox__close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}