/* 1. CSS Variables */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8b4513;
    --dark-color: #1a1a1a;
    --light-color: #f8f8f8;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --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 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
    --header-height: 70px;
    --container-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    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);
}

.button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

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

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 165, 116, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 4px;
}

/* 4. Layout Components */

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

.navigation__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

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

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

.navigation__link:hover::after {
    width: 100%;
}

.navigation__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    background: transparent;
}

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

.navigation__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.navigation__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* 5. Page Sections */

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

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

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

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

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

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
}

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

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

.hero__badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero__reviews {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero__price {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__text {
    text-align: center;
}

.about__description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.about__icon {
    font-size: 1.5rem;
}

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

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

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

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

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

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

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

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

.features__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.features__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

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

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

.gallery__filter {
    padding: 8px 20px;
    background: var(--light-color);
    color: var(--text-color);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    height: 300px;
}

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

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

.gallery__lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.gallery__lightbox.active {
    display: flex;
}

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

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

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

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

.reviews__rating {
    text-align: center;
}

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

.reviews__stars {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

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

.reviews__distribution {
    min-width: 300px;
}

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

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

.reviews__fill {
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.reviews__card {
    min-width: 100%;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.reviews__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 1rem 0;
    font-style: italic;
}

.reviews__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

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

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

.reviews__nav--prev {
    left: 0;
}

.reviews__nav--next {
    right: 0;
}

.reviews__highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Busy Hours Section */
.busy-hours {
    padding: 80px 0;
    background: white;
}

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

.busy-hours__day {
    padding: 8px 16px;
    background: var(--light-color);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

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

.busy-hours__chart {
    max-width: 800px;
    margin: 0 auto;
}

.busy-hours__bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    margin-bottom: 1rem;
}

.busy-hours__bar {
    flex: 1;
    background: var(--primary-color);
    margin: 0 2px;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    position: relative;
}

.busy-hours__bar:hover {
    opacity: 0.8;
}

.busy-hours__bar::after {
    content: attr(data-percent);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0;
    transition: var(--transition);
}

.busy-hours__bar:hover::after {
    opacity: 1;
}

.busy-hours__labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.8rem;
    color: var(--text-light);
}

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

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

.contact__block {
    margin-bottom: 2rem;
}

.contact__subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact__address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

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

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

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

.contact__schedule {
    list-style: none;
}

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

.contact__day--closed {
    color: var(--text-light);
    opacity: 0.7;
}

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

/* Similar Section */
.similar {
    padding: 80px 0;
    background: white;
}

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

.similar__card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.similar__name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

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

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

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

.footer__tagline {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer__heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__link,
.footer__info {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.footer__phone {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 6. UI Components */

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

.scroll-top.visible {
    display: flex;
}

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

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

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

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

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

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

/* 9. Media Queries */
@media (max-width: 1023px) {
    .navigation__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .navigation__menu.active {
        left: 0;
    }

    .navigation__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

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

    .hero__buttons .button {
        width: 100%;
    }

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

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

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

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

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

    .reviews__carousel {
        padding: 0 20px;
    }

    .busy-hours__labels {
        font-size: 0.7rem;
    }
}