/* ====================================
   CSS Variables
   ==================================== */
:root {
    --primary-color: #c41e3a;
    --primary-dark: #9a1829;
    --secondary-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #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;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 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-primary);
    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);
}

ul {
    list-style: none;
}

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

/* ====================================
   Layout Components
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

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

.nav__logo .logo__text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav__menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.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: 5px;
    padding: 5px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

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

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

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

.rating__text {
    font-size: 1.1rem;
    font-weight: 500;
}

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

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

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

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

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

.btn--secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll__line {
    width: 2px;
    height: 40px;
    background: white;
    margin: 10px auto 0;
}

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

.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.feature {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

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

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

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

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

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

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

.specialty__icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.specialty__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

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

.service-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.service__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service__description {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

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

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

.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(196, 30, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery__zoom {
    font-size: 3rem;
}

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

.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.stats__overall {
    text-align: center;
    border-right: 2px solid var(--border-color);
}

.overall__rating {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.overall__stars {
    margin-bottom: 15px;
}

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

.overall__count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stats__distribution {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.distribution__bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

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

.bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.bar__count {
    min-width: 30px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__slider {
    position: relative;
    padding: 0 60px;
}

.reviews__container {
    overflow: hidden;
}

.review-card {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.5s ease;
}

.review-card.active {
    display: block;
}

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

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

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

.review__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.context__tag {
    padding: 5px 15px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.rating__item {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider__btn--prev {
    left: 0;
}

.slider__btn--next {
    right: 0;
}

/* ====================================
   Popular Times Section
   ==================================== */
.popular-times {
    background: var(--bg-white);
}

.times__chart {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

.day__btn {
    padding: 10px 25px;
    background: var(--bg-light);
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.chart__graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 300px;
    gap: 10px;
}

.chart__bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: all 0.5s ease;
    min-height: 20px;
    cursor: pointer;
}

.chart__bar:hover {
    background: var(--primary-dark);
    transform: scaleY(1.05);
}

.bar__label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
}

.bar__value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0;
    transition: var(--transition);
}

.chart__bar:hover .bar__value {
    opacity: 1;
}

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

.hours__grid {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hours__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.hours__time {
    color: var(--primary-color);
    font-weight: 500;
}

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

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

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

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

.info__item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.info__item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.info__icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

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

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

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

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

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer__tagline {
    color: #ccc;
    margin-bottom: 20px;
}

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

.footer__rating .stars .star {
    font-size: 1.2rem;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer__list li {
    color: #ccc;
    transition: var(--transition);
}

.footer__list li:hover {
    color: white;
    transform: translateX(5px);
}

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

/* ====================================
   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__content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

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

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

.lightbox__close {
    top: 30px;
    right: 30px;
    font-size: 3rem;
}

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

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

    .hero__title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

    .stats__overall {
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 30px;
    }

    .reviews__slider {
        padding: 0;
    }

    .slider__btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

    .footer__brand {
        max-width: 100%;
    }

    .chart__graph {
        height: 200px;
        gap: 5px;
    }

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

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .hero__title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .review-card {
        padding: 25px;
    }

    .info__item {
        padding: 20px;
    }

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

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

    .lightbox__prev {
        left: 15px;
    }

    .lightbox__next {
        right: 15px;
    }
}