@import url('base.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../image/page_background_bleu.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.about-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.about-header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-family: 'please-write-me-a-song', serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    direction: rtl;
}

/* LEFT SECTION - TEAM */
.team-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    direction: ltr;
}

.team-section h2 {
    font-family: 'please-write-me-a-song', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.member-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-info h3 {
    font-family: 'please-write-me-a-song', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: Inter, sans-serif;
}

/* RIGHT SECTION - ABOUT TEXT */
.about-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    direction: ltr;
}

.about-paragraph {
    background: transparent;
    border-left: 4px solid var(--primary-color);
    padding: 0 0 0 1.5rem;
    transition: all 0.3s ease;
}

.about-paragraph h3 {
    font-family: 'please-write-me-a-song', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.about-paragraph p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    font-family: Inter, sans-serif;
}

.about-paragraph:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2%;
}

.logo-portrait-small {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.logo-portrait-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .about-container {
        padding: 1rem;
    }

    .about-header h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        gap: 1rem;
    }

    .member-photo {
        width: 80px;
        height: 80px;
    }

    .member-info h3 {
        font-size: 1.8rem;
    }

    .member-info p {
        font-size: 1.2rem;
    }

    .about-paragraph h3 {
        font-size: 1.8rem;
    }

    .about-paragraph p {
        font-size: 1.2rem;
    }
}