/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --header-height: 70px;
}

/* ===== RESET & BASE ===== */
* {
    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-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

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

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

.btn--large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav.nav--scrolled {
    box-shadow: var(--shadow-large);
}

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

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

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    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;
    width: 30px;
    height: 30px;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    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: var(--header-height);
}

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

.hero__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(26, 26, 26, 0.7), rgba(255, 107, 53, 0.3));
}

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

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

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

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

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

.star--filled {
    color: #ffd700;
}

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

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

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

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background: var(--light-color);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__content {
    animation: fadeInLeft 1s ease;
}

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

.about__features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.feature__title {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

.about__image {
    animation: fadeInRight 1s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about__image:hover img {
    transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

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

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 80px 0;
    background: var(--light-color);
}

.gallery__filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery__filter-btn {
    padding: 10px 25px;
    border-radius: 25px;
    background: var(--white);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.gallery__item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.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(26, 26, 26, 0.7);
    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__btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.gallery__btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ===== REVIEWS SECTION ===== */
.reviews {
    padding: 80px 0;
}

.reviews__stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.reviews__overall {
    text-align: center;
}

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

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

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distribution-bar__label {
    min-width: 30px;
    font-weight: 600;
}

.distribution-bar__track {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.distribution-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.5s ease;
}

.distribution-bar__count {
    min-width: 30px;
    text-align: right;
    font-weight: 600;
    color: var(--text-light);
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

.review-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 1rem 0;
}

.review-card__translation {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.review-card__ratings,
.review-card__context {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.badge {
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge--outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.review-card__source {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.review-card__reviewer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.reviewer-badge {
    padding: 3px 10px;
    background: #4285f4;
    color: var(--white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reviewer-reviews {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card__photo {
    margin-top: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.review-card__photo img {
    width: 100%;
    height: auto;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

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

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

.contact__item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.contact__details h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact__details p,
.contact__details a {
    color: var(--text-light);
    line-height: 1.6;
}

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

.contact__cta {
    margin-top: auto;
}

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

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

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

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

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

.footer__text {
    color: #aaa;
    margin-bottom: 1rem;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer__links a,
.footer__contact a {
    color: #aaa;
    transition: var(--transition);
}

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

.footer__contact li {
    color: #aaa;
}

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

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

.lightbox.active {
    display: flex;
}

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

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

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

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

    .about__container,
    .contact__grid {
        grid-template-columns: 1fr;
    }

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

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

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

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero__title {
        font-size: 2rem;
    }

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

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

    .contact__map iframe {
        min-height: 300px;
    }
}