/* Раздел 5 — О кондитере */
.about-section {
    background: url('../images/block5_bg.png') no-repeat center center/cover;
    padding: 100px 40px;
    color: #3A2A23;
    font-family: 'Playfair Display', serif;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #3A2A23;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #D4A373;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #b97f4f;
}

/* Фото */
.about-photo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Иконки */
.about-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.icon-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-item span {
    font-size: 1rem;
    color: #3A2A23;
    font-weight: 500;
}

/* 🔥 Анимация при наведении */
.icon-item:hover {
    transform: scale(1.05);
}

.icon-item:hover img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.1);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-photo img {
        max-width: 300px;
    }

    .about-icons {
        flex-direction: column;
        gap: 25px;
    }

    .icon-item img {
        width: 70px;
        height: 70px;
    }
}
