:root {
    --primary-color: #d4b896;
    --secondary-color: #8b6f3f;
    --accent-color: #f4e8d9;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Regions Section */
.regions-section {
    background: transparent;
    border-top: 1px solid #444;
    padding: 1.5rem 0 1rem !important;
    margin: 1.5rem 0 0 !important;
}

.footer .regions-title,
.regions-title {
    font-weight: 400 !important;
    color: #e0e0e0 !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
    margin-right: 1rem !important;
    margin-bottom: 0.5rem !important;
}

.regions-grid {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.regions-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 991px) {
    .regions-section .row {
        text-align: center;
    }
    
    .regions-title {
        display: block;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .regions-grid {
        justify-content: center;
        gap: 1rem;
    }
}

.region-item {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.3s ease;
}

.region-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.region-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.region-item.coming-soon {
    color: #999;
    cursor: default;
    opacity: 0.7;
}

.region-item.coming-soon:hover {
    color: #999;
    text-decoration: none;
}

.region-item small {
    margin-left: 0.3rem;
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.8;
}

.region-item.coming-soon small {
    color: #999 !important;
}

.region-item i {
    display: none;
}

/* Old region styles - remove these */
/* Old region styles - remove these */

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(-100px) translateY(-100px);
    animation: slideMovement 18s infinite linear;
    filter: blur(1px);
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 2s; }
.hero-bg-slide:nth-child(3) { animation-delay: 4s; }
.hero-bg-slide:nth-child(4) { animation-delay: 6s; }
.hero-bg-slide:nth-child(5) { animation-delay: 8s; }
.hero-bg-slide:nth-child(6) { animation-delay: 10s; }
.hero-bg-slide:nth-child(7) { animation-delay: 12s; }
.hero-bg-slide:nth-child(8) { animation-delay: 14s; }
.hero-bg-slide:nth-child(9) { animation-delay: 16s; }
.hero-bg-slide:nth-child(10) { animation-delay: 18s; }
.hero-bg-slide:nth-child(11) { animation-delay: 20s; }
.hero-bg-slide:nth-child(12) { animation-delay: 22s; }
.hero-bg-slide:nth-child(13) { animation-delay: 24s; }
.hero-bg-slide:nth-child(14) { animation-delay: 26s; }
.hero-bg-slide:nth-child(15) { animation-delay: 28s; }

@keyframes slideMovement {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(-100px) scale(1.1);
    }
    8% {
        opacity: 0.6;
    }
    15% {
        opacity: 0.8;
        transform: translateX(0px) translateY(0px) scale(1);
    }
    22% {
        opacity: 0.6;
    }
    25% {
        opacity: 0;
        transform: translateX(80px) translateY(80px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateX(80px) translateY(80px) scale(1.1);
    }
}

/* Альтернативные анимации для разнообразия */
.hero-bg-slide:nth-child(2n) {
    animation-name: slideMovementAlt;
}

@keyframes slideMovementAlt {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(-100px) scale(1.1);
    }
    8% {
        opacity: 0.6;
    }
    15% {
        opacity: 0.8;
        transform: translateX(0px) translateY(0px) scale(1);
    }
    22% {
        opacity: 0.6;
    }
    25% {
        opacity: 0;
        transform: translateX(-80px) translateY(80px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateX(-80px) translateY(80px) scale(1.1);
    }
}

/* Fallback для браузеров без поддержки CSS анимаций или для пользователей с motion sensitivity */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide {
        animation: none;
        opacity: 0.4;
        position: absolute;
        width: 50%;
        height: 50%;
        transform: none;
        filter: blur(2px);
    }
    
    .hero-background-slider {
        display: block;
    }
    
    .hero-bg-slide:nth-child(1) {
        top: 0;
        left: 0;
    }
    
    .hero-bg-slide:nth-child(2) {
        top: 0;
        right: 0;
    }
    
    .hero-bg-slide:nth-child(3) {
        bottom: 0;
        left: 0;
    }
    
    .hero-bg-slide:nth-child(4) {
        bottom: 0;
        right: 0;
    }
    
    .hero-bg-slide:nth-child(n+5) {
        display: none;
    }
}

/* Дополнительный fallback для старых браузеров */
.no-animations .hero-bg-slide {
    animation: none;
    opacity: 0.3;
    position: absolute;
    filter: blur(1px);
}

.no-animations .hero-bg-slide:nth-child(1) {
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
}

.no-animations .hero-bg-slide:nth-child(2) {
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
}

.no-animations .hero-bg-slide:nth-child(3) {
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
}

.no-animations .hero-bg-slide:nth-child(n+4) {
    display: none;
}

/* Мобильная оптимизация */
@media (max-width: 768px) {
    .hero-bg-slide {
        animation-duration: 24s; /* Медленнее на мобильных */
        filter: blur(2px); /* Больше размытия */
    }
    
    .hero-overlay {
        background: rgba(139, 69, 19, 0.8); /* Сильнее затемнение на мобильных */
    }
    
    .hero-bg-slide:nth-child(n+4) {
        display: none; /* Меньше слайдов на мобильных */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title:not(.text-white) {
    text-align: left;
}

.section-title.text-white {
    text-align: center;
}

#services .section-title,
#portfolio .section-title,
#reviews .section-title {
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-image {
    position: relative;
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.feature-box {
    padding: 2rem 0;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Portfolio */
.portfolio-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.portfolio-item[data-type="video"] {
    position: relative;
}

/* Portfolio overlay styles */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    padding: 1rem;
}

.portfolio-date {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.portfolio-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Убираем иконки видео - были проблемы с отображением */

/* Services */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-features {
    text-align: left;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.3rem 0;
    color: #666;
}

.service-cta {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-cta .btn {
    transition: all 0.3s ease;
}

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

/* Service Modal Styles */
.modal-xl {
    max-width: 1200px;
}

.pricing-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

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

.price-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.price-option:last-child {
    border-bottom: none;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-number {
    position: absolute;
    left: -2rem;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-content h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

.style-tags .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
}

.schedule {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .time {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 60px;
    margin-right: 1rem;
}

.schedule-item .event {
    color: #666;
}

.service-benefits,
.coordinator-features {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.service-note {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
}

/* Modal improvements */
.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-light {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.modal-footer .btn-light:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(210, 180, 140, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 180, 140, 0.4);
}

.modal-footer .btn i {
    font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: white;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    color: var(--accent-color);
}

.contact-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white !important;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
    color: white !important;
}

.contact-item a {
    color: white !important;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(244, 232, 217, 0.25);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5,
.footer h6 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 2rem;
    }

    .about-experience {
        position: static;
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 200px;
    }
}

/* Regional pages specific styles */
.city-name {
    font-size: 0.8em;
    opacity: 0.8;
    font-weight: 300;
}

.regional-badge {
    display: inline-block;
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85em;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Regional contact form enhancements */
.contact-form input[name="city"] {
    background-color: rgba(233, 30, 99, 0.1);
    border-color: #e91e63;
}

/* Regional hero section */
.hero-regional {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.9), rgba(156, 39, 176, 0.9)), url('images/hero-bg.jpg');
}

/* Regional statistics */
.regional-stats {
    background: linear-gradient(45deg, #e91e63, #9c27b0);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.regional-stats h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer h5, .footer h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer hr {
    border-color: #444;
    margin: 2rem 0 1rem;
}

.footer .text-muted {
    font-size: 0.85rem;
}

.footer .text-muted:hover {
    color: var(--primary-color) !important;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Critical fix for regions title color - highest priority */
.footer .regions-section .regions-title,
.regions-section .regions-title,
footer .regions-title,
.regions-title {
    color: var(--primary-color) !important; /* Используем стандартный цвет футера */
    font-weight: 400 !important;
}

/* Дополнительное правило для заголовка "Мы работаем в городах" */
.footer h6 {
    color: var(--primary-color) !important;
}

/* Универсальные стили для отображения регионов - фикс для всех браузеров */
.regions-section {
    display: block !important;
    width: 100% !important;
    clear: both !important;
}

.regions-title {
    display: inline-block !important;
    width: auto !important;
    float: none !important;
    text-align: left !important;
    margin: 0 1rem 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.regions-grid {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

    .region-item {
        display: block !important;
        width: auto !important;
        height: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        color: #e0e0e0 !important;
        text-decoration: none !important;
        font-weight: 400 !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
        position: relative !important;
        transition: color 0.3s ease !important;
        line-height: 1.5 !important;
    }
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.region-item:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.region-item.active {
    color: var(--primary-color) !important;
    font-weight: 500 !important;
}

.region-item.coming-soon {
    color: #999 !important;
    cursor: default !important;
    opacity: 0.7 !important;
}

.region-item.coming-soon:hover {
    color: #999 !important;
    text-decoration: none !important;
}

.region-item small {
    display: inline !important;
    margin-left: 0.3rem !important;
    font-size: 0.75rem !important;
    font-weight: 300 !important;
    opacity: 0.8 !important;
}

.region-item.coming-soon small {
    color: #999 !important;
}

/* Мобильные стили для регионов */
@media (max-width: 991px) {
    .regions-section .row {
        text-align: center !important;
    }
    
    .regions-title {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 1rem !important;
    }
    
    .regions-grid {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
    
    .region-item {
        display: inline-block !important;
        margin: 0 0.5rem !important;
    }
