/* About section styles for Fylrano website */

.about {
    padding: var(--space-7) 0;
    background-color: var(--bg-light);
}

.about .container {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: var(--space-3);
}

.about-content p {
    margin-bottom: var(--space-4);
}

.about-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.image-top, .image-bottom {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

.image-top img, .image-bottom img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-top:hover img, .image-bottom:hover img {
    transform: scale(1.05);
}

/* Animation for about section */
.about-content.animate-on-scroll {
    transform: translateX(-50px);
}

.about-images.animate-on-scroll {
    transform: translateX(50px);
}

.about-content.animate,
.about-images.animate {
    transform: translateX(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .about .container {
        gap: var(--space-3);
    }
    
    .image-top img, .image-bottom img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .about .container {
        flex-direction: column;
    }
    
    .about-content {
        width: 100%;
        margin-bottom: var(--space-4);
        text-align: center;
    }
    
    .about-images {
        width: 100%;
    }
    
    .image-top img, .image-bottom img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .image-top img, .image-bottom img {
        height: 180px;
    }
}