/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #d4302f;
    --primary-dark: #a82624;
    --primary-light: #ff5a59;
    --secondary-color: #ffc107;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --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 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    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 {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

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

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

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

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.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-color: var(--text-white);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

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

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    gap: 30px;
}

.navbar__link {
    color: var(--text-dark);
    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,
.navbar__link.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

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

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.95;
}

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

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

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

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

/* ===== STARS RATING ===== */
.stars {
    display: inline-flex;
    gap: 3px;
    font-size: 1.5rem;
}

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

.star {
    color: #ddd;
    transition: var(--transition);
}

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

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

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about__content {
    display: grid;
    gap: 60px;
}

.about__subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

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

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

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

.feature-card__title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card__text {
    color: var(--text-light);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.service-item__title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-item__list {
    list-style: none;
}

.service-item__list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-item__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
    background: var(--bg-white);
}

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

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

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

.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;
    background: var(--bg-light);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

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

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

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

.reviews__overall {
    text-align: center;
    padding: 20px;
}

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

.reviews__count {
    color: var(--text-light);
    margin-top: 10px;
    font-size: 0.95rem;
}

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

.rating-bar {
    display: grid;
    grid-template-columns: 50px 1fr 40px;
    gap: 15px;
    align-items: center;
}

.rating-bar__label {
    font-weight: 500;
    color: var(--text-dark);
}

.rating-bar__bg {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

.rating-bar__count {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

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

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

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.review-context-item {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-context-label {
    font-weight: 600;
    color: var(--text-dark);
}

.review-card__owner-response {
    margin-top: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.owner-response-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.owner-response-text {
    color: var(--text-dark);
    line-height: 1.6;
}

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

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

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

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

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

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

.contact__item {
    display: flex;
    gap: 20px;
}

.contact__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact__label {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact__text {
    color: var(--text-light);
    line-height: 1.8;
}

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

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

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

.hours-list {
    margin-top: 15px;
}

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

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

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

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

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

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

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

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

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

.footer__heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__contact a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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: 90vh;
    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;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    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;
}

.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);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        max-height: 400px;
    }

    .navbar__item {
        border-bottom: 1px solid var(--border-color);
    }

    .navbar__link {
        display: block;
        padding: 15px 20px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

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

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

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

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

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

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