/* CSS VARIABLES */
:root {
    --primary-color: #d4351c;
    --primary-dark: #a82817;
    --primary-light: #ff6347;
    --secondary-color: #2c5f2d;
    --accent-color: #f4a261;
    --bg-light: #faf9f6;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1140px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --font-heading: 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --star-color: #ffa500;
}

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

/* BASE STYLES */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-top: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-sm);
}

.nav__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav__menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.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(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

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

.rating__stars {
    color: var(--star-color);
    font-size: 1.5rem;
}

.rating__value {
    font-size: 1.5rem;
    font-weight: 700;
}

.rating__count {
    color: rgba(255, 255, 255, 0.9);
}

.hero__price {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ABOUT */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.about__highlights {
    display: grid;
    gap: var(--spacing-md);
}

.highlight {
    display: flex;
    gap: var(--spacing-sm);
    align-items: start;
}

.highlight__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.highlight__text {
    color: var(--text-gray);
}

.features__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature__icon {
    color: var(--primary-color);
    font-weight: 700;
}

.feature__text {
    font-size: 0.9375rem;
}

.features__services,
.features__payments,
.features__amenities {
    margin-top: var(--spacing-md);
}

.services__title,
.payments__title,
.amenities__title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.services__list,
.payments__list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service,
.payment {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.service--available {
    background: #d4edda;
    color: #155724;
}

.service--unavailable {
    background: #f8d7da;
    color: #721c24;
    opacity: 0.6;
}

.payment {
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* GALLERY */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition);
    z-index: 1;
}

.gallery__item:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

/* POPULAR TIMES */
.popular-times {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.popular-times__chart {
    max-width: 900px;
    margin: 0 auto;
}

.chart__days {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.day-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.chart__graph {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
    min-height: 300px;
}

.chart__bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    gap: 0.5rem;
}

.chart__bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar__fill {
    width: 100%;
    background: linear-gradient(to top, var(--primary-color), var(--primary-light));
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    position: relative;
}

.bar__label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* REVIEWS */
.reviews {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.summary__rating {
    text-align: center;
}

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

.summary__stars {
    color: var(--star-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.summary__count {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

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

.distribution__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.distribution__label {
    min-width: 50px;
    font-size: 0.875rem;
    color: var(--text-gray);
}

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

.distribution__fill {
    height: 100%;
    background: var(--star-color);
    border-radius: 4px;
}

.distribution__count {
    min-width: 30px;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.summary__aspects {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.aspect {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 200px;
}

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

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

.aspect__stars {
    color: var(--star-color);
}

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

.reviews__list {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.review {
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review__rating {
    color: var(--star-color);
    font-size: 1.125rem;
}

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

.review__badge {
    padding: 0.25rem 0.75rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.review__text {
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.review__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review__context,
.review__aspects {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.context-tag,
.aspect-tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.aspect-tag {
    background: #fff3e0;
    color: #e65100;
}

.review__images {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.review__images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.review__images img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.reviews__tags {
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
}

.tags__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

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

.tag-mention {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* CONTACT */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info__item {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
}

.info__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.info__text {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.info__link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.info__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

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

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

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

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

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

.map__container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* FOOTER */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

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

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer__heading {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-white);
}

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

.footer__list a,
.footer__list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

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

.footer__copyright {
    color: rgba(255, 255, 255, 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);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--bg-white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: var(--bg-white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__prev {
    left: 2rem;
}

.lightbox__next {
    right: 2rem;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1023px) {
    .about__content {
        grid-template-columns: 1fr;
    }

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

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

    .summary__aspects {
        align-items: center;
    }

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

@media (max-width: 767px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-sm);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav__menu.active {
        max-height: 500px;
    }

    .nav__item {
        border-bottom: 1px solid var(--border-color);
    }

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

    .hero__buttons {
        flex-direction: column;
    }

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

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

    .chart__days {
        gap: 0.25rem;
    }

    .day-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

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

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

    .lightbox__prev,
    .lightbox__next {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox__prev {
        left: 1rem;
    }

    .lightbox__next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__rating {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .reviews__summary {
        padding: var(--spacing-sm);
    }

    .summary__score {
        font-size: 3rem;
    }
}
