/* Стили для страницы О нас */
/* Основные стили для секции about берутся из style.css */

/* Декоративные элементы фона в стиле проекта */
.about {
    position: relative;
}

.about .decor {
    position: absolute;
    width: 450px;
    height: 450px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    overflow: hidden;
}

/* Левая сторона - видны на 50%, фиксированные позиции от начала секции */
.about .decor-left-top {
    background-image: url('../main_img/project.webp');
    top: 150px;
    left: -225px;
}

.about .decor-left-bottom {
    background-image: url('../main_img/project.webp');
    top: 550px;
    left: -225px;
}

/* Правая сторона - видны на 50%, фиксированные позиции от начала секции */
.about .decor-right-top {
    background-image: url('../main_img/project.webp');
    top: 250px;
    right: -225px;
}

.about .decor-right-bottom {
    background-image: url('../main_img/project.webp');
    top: 650px;
    right: -225px;
}

/* Секция услуг и работ */
.services-section {
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона для секции услуг */
.services-section .decor {
    position: absolute;
    width: 450px;
    height: 450px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    overflow: hidden;
}

/* Левая сторона - верхние элементы */
.services-section .decor-left {
    background-image: url('../main_img/project.webp');
    top: 15%;
    left: -225px;
}

/* Правая сторона - верхние элементы */
.services-section .decor-right {
    background-image: url('../main_img/project.webp');
    top: 15%;
    right: -225px;
    transform: rotate(90deg);
}

/* Нижние декоративные элементы */
.services-section .decor-left-bottom {
    background-image: url('../main_img/project.webp');
    top: 75%;
    left: -225px;
}

.services-section .decor-right-bottom {
    background-image: url('../main_img/project.webp');
    top: 75%;
    right: -225px;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-block {
    margin-bottom: 60px;
}

.services-block:last-child {
    margin-bottom: 0;
}

.services-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    z-index: 5;
}

.services-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: center;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 900px;
}

.services-list li {
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-list li i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.1);
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.services-list li span {
    flex: 1;
    font-weight: 500;
}

.services-list li:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.services-list li:hover i {
    color: var(--secondary-color);
    transform: scale(1.15) rotate(5deg);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.06));
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3);
}

.service-item i,
.service-item svg {
    font-size: 1.6rem;
    color: var(--secondary-color);
    min-width: 50px;
    height: 50px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.service-item svg.shovel-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.service-item:hover i,
.service-item:hover svg {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    color: var(--secondary-color);
}

.service-item span {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-item:hover span {
    color: var(--text-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about .decor {
        opacity: 0.08;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-section .decor {
        opacity: 0.08;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .services-description {
        font-size: 1rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

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

    .service-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .about .decor {
        display: none;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-section .decor {
        display: none;
    }

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

    .services-description {
        font-size: 0.95rem;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-item i {
        font-size: 1.3rem;
    }

    .service-item span {
        font-size: 0.95rem;
    }
}
