/* Общие стили */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c17f59;
    --accent-color: #e6b17e;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--white);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Шапка */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/common/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    height: 100vh;
}

.nav {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(26, 26, 26, 0.95);
}

.nav.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white) !important;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-icon {
    margin-right: 10px;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

/* Главный экран */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

.cta-button-outline {
    background-color: transparent;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--white);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Секции */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* О нас */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.highlight-text {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.counter {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container img {
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.play-button i {
    color: var(--white);
    font-size: 24px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.service-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

/* Каталог */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border-radius: 5px;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.catalog-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.catalog-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.catalog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.catalog-item:hover .catalog-overlay {
    transform: translateY(0);
}

.catalog-item:hover img {
    transform: scale(1.1);
}

.view-details {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.view-details:hover {
    background-color: var(--accent-color);
}

.load-more {
    display: block;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.load-more:hover {
    background-color: var(--accent-color);
}

.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-button {
    background-color: #c17d5a;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #a66b4a;
}

/* Параллакс секция */
.parallax-section {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/common/parallax-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.parallax-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 20px;
    opacity: 0.9;
}

/* Процесс работы */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

/* Портфолио слайдер */
.portfolio-slider {
    padding-bottom: 50px;
}

.swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
}

/* Отзывы */
.testimonials {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#yandex-reviews {
    width: 100%;
    height: 600px;
    border: none;
}

@media (max-width: 768px) {
    .testimonials-slider {
        max-width: 100%;
        margin: 0 15px;
    }
    
    #yandex-reviews {
        height: 500px;
    }
}



/* Контакты */
.contact {
    position: relative;
    background: var(--white);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    min-height: 400px;
    padding: 40px 0;
}

.contact-form-section {
    flex: 0 1 420px;
    padding: 0;
    background: none;
}

.contact h2 {
    margin-bottom: 40px;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    width: 24px;
    text-align: center;
}

.contact-item h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

.contact-item p {
    margin: 5px 0 0;
    color: var(--text-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-actions {
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-actions {
    display: none;
}

.desktop-contact-info {
    display: block;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-button {
    background: #25d366;
    color: var(--white);
}

.phone-button:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.whatsapp-button {
    background: #25d366;
    color: var(--white);
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.telegram-button {
    background: #0088cc;
    color: var(--white);
}

.telegram-button:hover {
    background: #006699;
    transform: translateY(-2px);
}

.contact-details {
    text-align: center;
}

.contact-details h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-details i {
    color: var(--secondary-color);
    font-size: 18px;
    width: 20px;
}

.desktop-social {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    background: var(--light-gray);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 18px;
}

/* Карта */
.map-section {
    flex: 0 1 600px;
    min-width: 320px;
    max-width: 600px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    background: #fff;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yandex-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 16px;
}

/* Подвал */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-info p {
    margin-top: 20px;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: center;
    justify-content: flex-start;
}

.footer-social .social-icon {
    position: relative;
    text-decoration: none;
    background-color: #c17f59;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social .social-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: var(--white);
    line-height: 1;
}

/* Специфичные корректировки для каждой иконки */
.footer-social .fa-vk {
    transform: translate(-50%, -50%) scale(1.2);
}

.footer-social .fa-telegram {
    transform: translate(-54%, -48%) scale(1.15);
}

.footer-social .fa-whatsapp {
    transform: translate(-50%, -50%) scale(1.1);
}

.footer-social .social-icon:hover {
    transform: translateY(-2px);
    background-color: #d18f69;
}

/* Стили для контактной информации */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-contact i {
    color: #c17f59;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #c17f59;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Анимации */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s, opacity 0.6s;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        padding: 20px 0;
    }
    .map-section, .contact-form-section {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .map-section {
        height: 300px;
    }
    .contact-actions {
        max-width: 100%;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header {
        background-attachment: scroll;
        width: 100%;
        overflow-x: hidden;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .burger-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .timeline-number {
        left: -30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-actions {
        width: 100%;
    }

    .mobile-actions {
        display: block;
    }

    .desktop-contact-info {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links,
    .footer-contact {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin: 15px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* Бургер меню */
.burger-menu {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    transition: var(--transition);
}

.burger-menu span:first-child {
    top: 0;
}

.burger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span:last-child {
    bottom: 0;
}

.burger-menu.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

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

.burger-menu.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Мобильное меню быстрой навигации */
.mobile-quick-nav {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.quick-nav-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-nav-toggle:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.quick-nav-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: var(--white);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 5px;
    min-width: 200px;
}

.quick-nav-menu.active {
    display: flex;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.quick-nav-item:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

.quick-nav-item i {
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.quick-nav-item span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .mobile-quick-nav {
        display: block;
    }
}

/* Модальное окно для изображений */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 40px);
}

.pinch-zoom-container {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.modal-content img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    margin: auto;
    display: block;
    touch-action: pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Стили для десктопов */
@media (min-width: 1024px) {
    .modal {
        padding: 40px;
    }

    .modal-content {
        min-height: calc(100vh - 80px);
    }

    .pinch-zoom-container {
        max-width: 90vw;
        max-height: 90vh;
    }

    .modal-content img {
        max-width: 90vw;
        max-height: 90vh;
    }
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Улучшенные стили для каталога на мобильных устройствах */
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .catalog-item {
        aspect-ratio: 1;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

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

    .catalog-overlay {
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
    }

    .catalog-overlay h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .view-details {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .catalog-item {
        aspect-ratio: 4/3;
    }
}

/* Добавляем поддержку жестов масштабирования */
.pinch-zoom-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Отключение анимаций для мобильных устройств */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    [data-aos].aos-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Отключаем все transition эффекты на мобильных */
    * {
        transition: none !important;
    }

    /* Отключаем hover эффекты на мобильных */
    .service-card:hover,
    .catalog-item:hover,
    .social-icon:hover,
    .footer-social .social-icon:hover,
    .nav-links a:hover,
    .cta-button:hover,
    .contact-button:hover {
        transform: none !important;
    }
}