/* ===== CSS Variables ===== */
:root {
    --primary-color: #e63946;
    --primary-dark: #c5303d;
    --secondary-color: #f1faee;
    --accent-color: #ffa500;
    --text-dark: #1d3557;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --border-color: #e9ecef;
    --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;
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-sans: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
}

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

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

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

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

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
}

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

.section {
    padding: var(--spacing-xl) 0;
}

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

.section-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    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 {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

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

.btn--secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn--secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

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

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

.btn--small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-light);
    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: var(--spacing-sm) var(--spacing-md);
}

.nav__logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

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

.nav__link--cta {
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-xs) var(--spacing-md);
}

.nav__link--cta:hover {
    background: var(--primary-dark);
}

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

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    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: 70px;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.7) 0%, rgba(26, 26, 26, 0.8) 100%);
}

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

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-sm);
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.rating-text {
    font-size: 1.1rem;
}

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

.price-badge {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-label {
    font-size: 1rem;
}

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

.hero__status {
    margin-top: var(--spacing-md);
}

.status-badge {
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-block;
}

.status-badge--open {
    background: #28a745;
    color: var(--text-light);
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.scroll-down span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: var(--text-light);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

.scroll-down span:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

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

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.about__card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.about__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.about__card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.about__card p {
    color: #6c757d;
    margin: 0;
}

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

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.feature {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.05);
}

.feature__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature__title {
    margin-bottom: var(--spacing-xs);
}

.feature__desc {
    font-size: 0.9rem;
    margin: 0;
}

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

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

.gallery__filter {
    padding: 10px 24px;
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    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.1);
}

.gallery__item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

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

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.reviews__overall {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.reviews__stars {
    margin-bottom: var(--spacing-sm);
}

.reviews__stars .star {
    font-size: 2rem;
}

.reviews__count {
    color: #6c757d;
}

.reviews__distribution {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.rating-bar {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.rating-label {
    font-weight: 600;
}

.rating-progress {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

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

.rating-count {
    text-align: right;
    color: #6c757d;
}

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

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

.tag {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: #6c757d;
}

.reviews__carousel {
    position: relative;
}

.reviews__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    scrollbar-width: none;
}

.reviews__slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 350px;
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars .star {
    font-size: 1.2rem;
}

.review-card__date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-card__text {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.review-card__translation {
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-sm);
}

.review-card__images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: var(--spacing-sm);
}

.review-card__images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.slider-btn--prev {
    left: -25px;
}

.slider-btn--next {
    right: -25px;
}

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

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

.hours__schedule {
    background: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

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

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

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

.day-hours {
    color: #6c757d;
}

.hours__busytimes {
    background: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.hours__note {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.busytimes__chart {
    /* Chart will be styled by JavaScript */
}

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

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

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

.contact__card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact__card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact__card p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

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

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

.footer__title {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.footer__desc {
    color: #adb5bd;
    margin-bottom: var(--spacing-sm);
}

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

.footer__links li {
    margin-bottom: var(--spacing-xs);
}

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

.footer__contact li {
    margin-bottom: var(--spacing-sm);
    color: #adb5bd;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-200%);
        transition: var(--transition);
    }

    .nav__menu.active {
        transform: translateY(0);
    }

    .nav__toggle {
        display: flex;
    }

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

    .slider-btn {
        display: none;
    }

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

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

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

    .hero {
        margin-top: 60px;
    }

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

    .review-card {
        flex: 0 0 280px;
    }
}

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

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

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}