/* ================================
   CSS Variables
   ================================ */
:root {
    --primary-color: #c8102e;
    --primary-dark: #9a0c23;
    --secondary-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --container-width: 1140px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

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

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

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

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

.nav__list {
    display: flex;
    gap: 40px;
}

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

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

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

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

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

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

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

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

.hero__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero__subtitle {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.hero__title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__description {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero__rating {
    margin-bottom: 40px;
}

.stars {
    display: inline-flex;
    gap: 5px;
    font-size: 24px;
}

.star {
    color: #ddd;
}

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

.rating-text {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

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

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

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

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(255,255,255,0.2);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero__arrow:hover {
    background-color: rgba(255,255,255,0.3);
}

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

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

/* ================================
   About Section
   ================================ */
.about {
    padding: 100px 0;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.highlight {
    text-align: center;
}

.highlight__number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight__text {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

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

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

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.feature-card__icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card__description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ================================
   Gallery Section
   ================================ */
.gallery {
    padding: 100px 0;
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 12px 30px;
    border-radius: 30px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.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);
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery__item.hidden {
    display: none;
}

.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: 40px;
    opacity: 0;
    transition: var(--transition);
}

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

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

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
}

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

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

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: var(--text-light);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__arrow:hover {
    background-color: rgba(255,255,255,0.2);
}

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

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

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

.reviews__summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reviews__overall .stars {
    font-size: 20px;
    margin-bottom: 10px;
}

.reviews__count {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
}

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

.distribution-bar {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    gap: 10px;
    align-items: center;
}

.distribution-bar__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

.distribution-bar__track {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

.distribution-bar__count {
    font-size: 14px;
    color: var(--text-gray);
    text-align: right;
}

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.review-card__header .stars {
    font-size: 16px;
}

.review-card__date {
    font-size: 13px;
    color: var(--text-gray);
}

.review-card__text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.review-badge {
    font-size: 12px;
    padding: 5px 12px;
    background-color: var(--bg-light);
    border-radius: 20px;
    color: var(--text-gray);
}

.review-card__context {
    font-size: 12px;
    color: var(--text-gray);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-card__response {
    margin-top: 15px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.review-card__response strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.review-card__response p {
    font-size: 14px;
    color: var(--text-dark);
    font-style: italic;
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.reviews__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 100px 0;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

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

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

.info-card__icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card__text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.info-card__text a {
    color: var(--primary-color);
    font-weight: 500;
}

.info-card__text a:hover {
    text-decoration: underline;
}

.info-card__link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.info-card__link:hover {
    transform: translateX(5px);
}

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

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.hours-time.closed {
    color: var(--primary-color);
    font-weight: 500;
}

.hours-note {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 15px;
    font-style: italic;
}

.contact__map iframe {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

.footer__title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer__text {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

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

.footer__rating .stars {
    font-size: 16px;
}

.footer__rating span {
    font-size: 14px;
    opacity: 0.8;
}

.footer__heading {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__list li {
    font-size: 15px;
    opacity: 0.8;
}

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

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

.footer__bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 10px;
}

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

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

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

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }

    .hero__title {
        font-size: 56px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        padding: 40px 20px;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 25px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__description {
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

    .hero__arrow,
    .lightbox__arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .hero__arrow--prev,
    .lightbox__arrow--prev {
        left: 15px;
    }

    .hero__arrow--next,
    .lightbox__arrow--next {
        right: 15px;
    }

    .lightbox__close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}