/**
 * Language Switcher Styles
 */

.lang-switcher {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-switcher__current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.header--scrolled .lang-switcher__current {
    background: rgba(10, 10, 10, 0.05);
    border-color: rgba(10, 10, 10, 0.1);
    color: #0A0A0A;
}

.header--scrolled .lang-switcher__current:hover {
    background: rgba(10, 10, 10, 0.1);
    border-color: rgba(10, 10, 10, 0.2);
}

.lang-switcher__flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-switcher__code {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 120px;
}

.lang-switcher__dropdown--active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0A0A0A;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-switcher__option:hover {
    background: #f5f5f5;
}

.lang-switcher__option--active {
    background: #FFD600;
    color: #0A0A0A;
}

.lang-switcher__option--active:hover {
    background: #FFD600;
}

.lang-switcher__option-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-switcher__option-name {
    flex: 1;
}

/* Mobile language switcher */
@media (max-width: 767px) {
    .lang-switcher {
        margin-right: 0.5rem;
    }
    
    .lang-switcher__current {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .lang-switcher__flag {
        font-size: 1rem;
    }
    
    .lang-switcher__code {
        display: none;
    }
}

/**
 * Google Reviews Styles
 */

.reviews {
    padding: 4rem 0;
    background: #f8f8f8;
}

.reviews__header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews__title {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 3rem;
    line-height: 1.1;
    color: #0A0A0A;
    margin-bottom: 1rem;
}

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

.reviews__rating {
    font-size: 2rem;
    font-weight: 700;
    color: #0A0A0A;
}

.reviews__stars {
    display: flex;
    gap: 0.25rem;
}

.reviews__count {
    font-size: 0.875rem;
    color: #666;
}

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

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author {
    flex: 1;
}

.review-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: #0A0A0A;
    margin-bottom: 0.25rem;
}

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

.star {
    font-size: 1rem;
    line-height: 1;
}

.star--full {
    color: #FFD600;
}

.star--half {
    color: #FFD600;
    opacity: 0.5;
}

.star--empty {
    color: #ddd;
}

.review-card__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.review-card__date {
    font-size: 0.75rem;
    color: #999;
}

.review-card__link {
    font-size: 0.75rem;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.review-card__link:hover {
    text-decoration: underline;
}

.reviews__cta {
    text-align: center;
}

.reviews__google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.reviews__google-link:hover {
    background: #357ae8;
}

/* Mobile Reviews */
@media (max-width: 767px) {
    .reviews {
        padding: 3rem 0;
    }
    
    .reviews__title {
        font-size: 2rem;
    }
    
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
}

/**
 * SEO Hidden Content
 */

.seo-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/**
 * Language-specific adjustments
 */

html[lang="ru"] {
    /* Russian font adjustments if needed */
}

html[lang="ru"] .hero__title {
    /* Adjust line height for Cyrillic if needed */
}

html[lang="ru"] .btn {
    /* Button text might be longer in Russian */
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}
