/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors */
    --primary-color: #c2272d;
    --primary-dark: #9a1f24;
    --primary-light: #e63946;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;

    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --text-muted: #adb5bd;

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

    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Spacing */
    --container-max: 1140px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    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.125rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

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

.nav__link--cta {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.nav__toggle-icon {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)),
                url('https://lh3.googleusercontent.com/p/AF1QipOsTDjHkv-TtnvJWfpdrEp_8DgWFMGKv7DZrzf1=w1920-h1080-k-no') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--text-light);
    margin-top: 70px;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(194, 39, 45, 0.6), rgba(33, 37, 41, 0.8));
}

.hero__content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

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

.hero__rating {
    margin-bottom: 2rem;
}

.hero__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
}

.star {
    font-size: 1.5rem;
}

.star--full {
    color: #ffc107;
}

.star--empty {
    color: rgba(255, 255, 255, 0.3);
}

.hero__rating-text {
    font-size: 1rem;
    margin-left: 0.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn__icon {
    width: 20px;
    height: 20px;
}

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

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

.btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-white);
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition-normal);
}

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

.feature__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    fill: var(--primary-color);
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.service-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    fill: var(--primary-color);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card__text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--bg-white);
}

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

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

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

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

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition-normal);
}

.gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* ===================================
   Lightbox
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

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

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox__nav svg {
    width: 30px;
    height: 30px;
    fill: var(--text-light);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

/* ===================================
   Reviews Section
   =================================== */
.reviews {
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.reviews__score {
    text-align: center;
}

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

.reviews__score-stars {
    margin: 1rem 0;
}

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

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

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

.review-bar__label {
    font-weight: 600;
    width: 30px;
}

.review-bar__track {
    flex: 1;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

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

.review-bar__count {
    color: var(--text-gray);
    width: 40px;
    text-align: right;
}

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

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

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

.review-card__rating {
    display: flex;
    gap: 0.25rem;
}

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

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

.review-card__translation {
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

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

.review-card__badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.review-card__context span {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.review-card__detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

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

.reviews__arrow {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.reviews__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
}

.reviews__arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===================================
   Hours Section
   =================================== */
.hours {
    background: var(--bg-white);
}

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

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

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

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.hours__day:hover {
    background: var(--border-color);
}

.hours__day--special {
    background: var(--primary-light);
    color: var(--text-light);
}

.hours__day--special:hover {
    background: var(--primary-color);
}

.hours__day-name {
    font-weight: 600;
}

.hours__chart {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.hours__chart-title {
    margin-bottom: 1rem;
    text-align: center;
}

#popularTimesChart {
    width: 100%;
    height: 300px;
}

/* ===================================
   Amenities Section
   =================================== */
.amenities {
    background: var(--bg-light);
}

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

.amenity-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.amenity-card__icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
    margin-bottom: 1rem;
}

.amenity-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.amenity-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amenity-card__list li {
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.amenity-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--bg-white);
}

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

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

.contact__item {
    display: flex;
    gap: 1.5rem;
}

.contact__icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.contact__item-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact__item-text {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact__link {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.contact__link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

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

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

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

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

.footer__subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer__text {
    color: var(--text-muted);
    line-height: 1.8;
}

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

.footer__link {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

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

.footer__copyright {
    color: var(--text-muted);
}

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

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

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
}

.scroll-top:hover {
    background: var(--primary-dark);
    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;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

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

/* ===================================
   Media Queries
   =================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav__toggle {
        display: flex;
    }

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

    .nav__menu.active {
        left: 0;
    }

    .nav__item--cta {
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

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

    .btn {
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: var(--section-padding-mobile);
    }

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

    /* Grid adjustments */
    .about__features,
    .services__grid,
    .gallery__grid,
    .amenities__grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    /* Lightbox */
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

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

    .star {
        font-size: 1.25rem;
    }

    .reviews__score-number {
        font-size: 3rem;
    }
}