body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 32px;
}

nav {
    margin: 30px 0;
    text-align: center;
}

nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

nav a:hover,
nav a.active {
    border-bottom: 2px solid #555;
}

.bio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.bio-image {
    width: 310px;
    height: auto;
    margin-right: 30px;
}

.bio-text {
    max-width: 450px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    color: #777;
}

/* Row layouts for specific image groupings */
.gallery-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Simple responsive adjustments */
@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
        text-align: center;
    }

    .bio-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    nav a {
        margin: 0 8px;
        padding: 5px 10px;
    }

    .gallery-row {
        flex-direction: column;
        align-items: center;
    }
}