/* CSS Variables */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --secondary-color: #ffc107;
    --secondary-dark: #ffa000;
    --accent-color: #4caf50;

    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --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 20px rgba(0,0,0,0.15);

    --transition: all 0.3s ease;
    --border-radius: 8px;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;

    --container-width: 1140px;
    --section-padding: 80px 20px;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    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 {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section--dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    color: inherit;
}

.section--dark .section-title {
    color: var(--text-white);
}

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

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

.nav__menu {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 25px;
}

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

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

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

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

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

.hero__content {
    position: relative;
    text-align: center;
    color: var(--text-white);
    z-index: 1;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.stars {
    display: flex;
    gap: 5px;
}

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

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

.star.half {
    background: linear-gradient(90deg, var(--secondary-color) 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__rating-text {
    font-size: 1.125rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

.hero__badge {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s;
    animation-fill-mode: both;
}

.badge {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--open {
    background: var(--accent-color);
    color: var(--text-white);
}

.badge--price {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* About Section */
.about__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

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

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

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.stat__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.gallery__filter {
    padding: 10px 25px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

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

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

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

.gallery__item.hidden {
    display: none;
}

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery__icon {
    font-size: 3rem;
    color: var(--text-white);
}

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

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.reviews__score {
    text-align: center;
}

.reviews__score-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 10px;
}

.reviews__score-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.reviews__score-stars .star {
    font-size: 1.5rem;
}

.reviews__score-text {
    color: rgba(255, 255, 255, 0.8);
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.rating-bar__label {
    min-width: 40px;
    color: var(--text-white);
    font-weight: 600;
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

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

.rating-bar__count {
    min-width: 30px;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.review:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review__stars {
    display: flex;
    gap: 3px;
}

.review__stars .star {
    font-size: 1rem;
}

.review__date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.review__text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.review__badge {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.review__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.reviews__tags {
    text-align: center;
}

.reviews__tags-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.reviews__tags-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

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

.contact__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.contact__item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.contact__item-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact__item-link:hover {
    color: var(--primary-dark);
}

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

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

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

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

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

.contact__map iframe {
    width: 100%;
    height: 100%;
}

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

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

.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.footer__rating-text {
    color: rgba(255, 255, 255, 0.8);
}

.footer__links,
.footer__contact,
.footer__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer__contact li,
.footer__info li {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer__copyright,
.footer__powered {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 5px 0;
}

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

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

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

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    color: var(--text-white);
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .contact__content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

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

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

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

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

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

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

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

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

    .contact__map {
        height: 300px;
    }

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

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

@media screen and (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

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