/* Основной файл стилей */
@import url('styles/main.css');
@import url('styles/header.css');
@import url('styles/catalog.css');
@import url('styles/forms.css');
@import url('styles/contacts.css');
@import url('styles/loyalty.css');
@import url('styles/footer.css');

/* Секция о компании */
.about-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    position: relative;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.info-block {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 18px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
}
.info-icon {
    width: 50px; /* Задайте нужный размер */
    height: 50px; /* Задайте нужный размер */
    overflow: hidden;
    border-radius: 20%; /* Делает изображение круглым, если нужно */
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезаем изображение, чтобы оно заполнило блок */
}


.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-text h2 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin: 0 0 12px 0;
    text-align: left;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.info-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Адаптивность для секции о компании */
@media (max-width: 1024px) {
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .text-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .info-block {
        flex-direction: column;
        align-items: center;
        padding: 25px;
    }

    .info-text {
        text-align: center;
    }

    .info-text h2,
    .info-text p {
        text-align: center;
    }

    .info-icon {
        margin-bottom: 8px;
    }

    .image-wrapper {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }

    .text-content h1 {
        font-size: 2.2rem;
    }

    .info-block {
        padding: 15px;
    }
}


