/* --- Header Image Section --- */
.about-header {
    width: 100%;
    height: 30vh;
    min-height: 400px;
    background-image: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-pink));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
 
}

.header-content {
    max-width: 800px;
}

.header-content h2 {
    font-family: var(--font-family-base);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 1rem;

    margin: 0 0 1rem 0;
}

.header-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Main Content Wrapper --- */
.about-main-content {
    padding: 5rem 1.5rem;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    /* Space between sections */
}

/* --- Section Styling --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: black;
    margin: 0 0 1rem 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-secondary-text);

}

.about-image-container {
    position: relative;
}

.about-image-container img {
    width: 80%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Layout --- */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .about-section {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    /* Alternating layout for even sections */
    .about-section:nth-child(even) .about-image-container {
        order: -1;
    }
}