/* ===========================
   CSS VARIABLES
   =========================== */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffc107;
    --secondary-dark: #ffa000;
    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px 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
   =========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ===========================
   LAYOUT COMPONENTS
   =========================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 4rem 0;
}

.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.1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar__link {
    color: var(--text-white);
    font-weight: 500;
    position: relative;
}

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

.navbar__link:hover::after {
    width: 100%;
}

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

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition);
}

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

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

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

.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;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

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

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

.hero__rating {
    margin-bottom: 2rem;
}

.rating-stars {
    display: inline-flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

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

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

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

.rating-text {
    display: block;
    font-size: 1rem;
    color: var(--text-white);
}

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

/* ===========================
   ABOUT SECTION
   =========================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

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

.highlight__icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.highlight__text {
    font-weight: 600;
}

.about__image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card__text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card__price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 600;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 1.5rem;
}

.service-item__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    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__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition);
}

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

.lightbox__close {
    top: 20px;
    right: 20px;
    font-size: 3rem;
    padding: 0.5rem 1rem;
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.25rem;
}

/* ===========================
   REVIEWS SECTION
   =========================== */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.reviews__overall {
    text-align: center;
}

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

.rating-stars--large .star {
    font-size: 2rem;
}

.reviews__count {
    margin-top: 0.5rem;
    color: var(--text-light);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rating-bar__label {
    min-width: 40px;
    font-weight: 600;
}

.rating-bar__track {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

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

.rating-bar__count {
    min-width: 40px;
    text-align: right;
    color: var(--text-light);
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
}

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

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

.review-card__meta {
    flex: 1;
}

.review-card__author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

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

.review-card__text {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.review-detail {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
}

.review-detail strong {
    color: var(--primary-color);
}

.reviews__controls {
    text-align: center;
    margin-top: 2rem;
}

.reviews__btn {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: var(--transition);
}

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

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

.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.hours__schedule {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

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

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

.hours__name {
    font-weight: 600;
}

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

.hours__popular {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.hours__popular h3 {
    margin-bottom: 1rem;
}

.hours__popular-info {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hours__popular-list {
    list-style: none;
}

.hours__popular-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours__popular-list li:last-child {
    border-bottom: none;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

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

.contact__icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact__item p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.map-link {
    position: relative;
    display: block;
}

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

.map-link__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}

.map-link:hover .map-link__overlay {
    opacity: 1;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    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(--text-white);
    margin-bottom: 1rem;
}

.footer__section p {
    margin-bottom: 0.5rem;
}

.footer__section a {
    color: var(--text-white);
}

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

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

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

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
