

.about-section {
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    margin-top: 60px;
}

body.dark-mode .about-section {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(30, 30, 30, 0.95));
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 2rem;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start;
    animation: fadeInLeft 0.8s ease-out;
}

.about-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/*.about-image-shadow {
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    z-index: -1;
    opacity: 0.3;
}*/

.about-text-wrapper {
    animation: fadeInRight 0.8s ease-out;
    padding: 2rem;
}

.about-text-wrapper h1,
.about-text-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: bold;
}

body.dark-mode .about-text-wrapper h1,
body.dark-mode .about-text-wrapper h2 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro {
    font-size: 1.3rem;
    color: #999;
    margin-bottom: 1.5rem;
    font-style: italic;
}

body.dark-mode .about-intro {
    color: #bbb;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    text-align: justify;
}

body.dark-mode .about-description {
    color: #ccc;
}


.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.highlight {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid #000;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .highlight {
    background: rgba(168, 237, 234, 0.1);
    border-left-color: #a8edea;
}

body.dark-mode .highlight:hover {
    background: rgba(168, 237, 234, 0.2);
    box-shadow: 0 8px 20px rgba(168, 237, 234, 0.15);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
}

body.dark-mode .highlight-number {
    color: #a8edea;
}

.highlight-text {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

body.dark-mode .highlight-text {
    color: #aaa;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

body.dark-mode .cta-button {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
    box-shadow: 0 8px 20px rgba(168, 237, 234, 0.3);
}

body.dark-mode .cta-button:hover {
    box-shadow: 0 12px 30px rgba(168, 237, 234, 0.4);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navbar desktop-only styles moved to min-width so mobile menu in style.css works */
@media (min-width: 769px) {
    .navbar nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .navbar nav ul {
        list-style: none;
        display: flex;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }

    .navbar nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: 600;
        font-size: 0.95rem;
        position: relative;
        transition: color 0.3s ease;
    }

    .navbar nav ul li a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: #000000;
        transition: width 0.3s ease;
    }

    .navbar nav ul li a:hover::after,
    .navbar nav ul li a.active::after {
        width: 100%;
    }

    .navbar nav ul li a:hover {
        color: #000000;
    }

    .navbar nav ul li a,
    body.dark-mode .navbar nav ul li a {
        color: #333;
    }

    body.dark-mode .navbar nav ul li a {
        color: #e0e0e0;
    }

    body.dark-mode .navbar nav ul li a:hover {
        color: #a8edea;
    }
}

/* Ensure the desktop-only navbar styles from this file do not override the mobile menu logic in style.css */
@media (min-width: 769px) {
    .navbar nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .navbar nav ul {
        list-style: none;
        display: flex;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }

    .navbar nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: 600;
        font-size: 0.95rem;
        position: relative;
        transition: color 0.3s ease;
    }

    .navbar nav ul li a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: #000000;
        transition: width 0.3s ease;
    }

    .navbar nav ul li a:hover::after,
    .navbar nav ul li a.active::after {
        width: 100%;
    }

    .navbar nav ul li a:hover {
        color: #000000;
    }
}


body.dark-mode .navbar nav ul li a::after {
    background: #a8edea;
}

.brand a {
    text-decoration: none;
    color: #333;
}

body.dark-mode .brand a {
    color: #e0e0e0;
}


@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section {
        padding: 3rem 1rem 2rem;
    }

    .about-text-wrapper {
        padding: 1rem;
    }

    .about-text-wrapper h1 {
        font-size: 2rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    /* ✅ IMPORTANT : ne pas cacher le menu */
    .navbar nav ul {
        display: flex;
        flex-direction: column;
    }
}

/* Landscape Orientation - Enlarge Images */
@media (orientation: landscape) and (max-height: 600px) {
    .about-photo {
        max-width: 600px;
        height: 350px;
        object-fit: cover;
    }

    .about-content {
        gap: 1.5rem;
    }

    .about-text-wrapper {
        padding: 1rem;
    }

    .about-text-wrapper h1 {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}
