.header {
    position: relative;
}

/* About page layout */
.about-content {
    margin: 0.5rem auto 4rem auto;
    padding: 0 4rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.chef-bio {
    margin-bottom: 3.5rem;
}

.chef-bio h2 {
    font-size: 42px;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.chef-bio p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--sec);
    margin: 0;
}

/* Chef gallery grid */
.chef-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0;
    position: relative;
    height: 540px;
    width: 540px;
}

@media (max-width: 980px) {
    .chef-gallery {
        width: 420px;
        height: 420px;
    }
}

.chef-gallery .gallery-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: block;
    position: absolute;
}

.chef-gallery .gallery-image:nth-child(1) {
    width: 55%;
    top: 0;
    left: 0;
    z-index: 2;
}

.chef-gallery .gallery-image:nth-child(2) {
    width: 55%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

@media (max-width: 900px) {
    .about-content {
        margin: 2rem auto;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .chef-bio {
        margin-bottom: 0rem;
    }

    .chef-bio h2 {
        font-size: 32px;
        margin-bottom: 1rem;
    }

    .chef-bio p {
        font-size: 16px;
    }

    .chef-gallery {
        height: 300px;
        gap: 0.5rem;
        display: flex;
        width: fit-content;
        flex-direction: row;
    }

    .chef-gallery .gallery-image {
        position: relative;
    }

    .chef-gallery .gallery-image:nth-child(1) {
        height: 100%;
        width: auto;
        left: unset;
        top: unset;
    }

    .chef-gallery .gallery-image:nth-child(2) {
        height: 100%;
        width: auto;
        right: unset;
        bottom: unset;
    }
}

@media (max-width: 540px) {
    .chef-gallery {
        height: 200px;
    }
}
