/* Styles pour la page À propos */

.about-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    gap: 4rem;
}

.about-section.right {
    flex-direction: row-reverse;
    background-color: #f8f8f8;
}

.image-container {
    flex: 1;
    position: relative;
    height: 80vh;
    max-height: 800px;
    perspective: 1000px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-out;
}

.content {
    flex: 1;
    max-width: 600px;
}

h1, h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Animation au scroll */
.about-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-section {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .image-container {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .about-section.right {
        flex-direction: column;
    }

    .image-container {
        height: 50vh;
        width: 100%;
    }

    .content {
        max-width: 100%;
    }

    h1, h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 40vh;
    }

    h1, h2 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 1rem;
    }
}