body {
    font-family: 'Segoe UI', Verdana, Arial, sans-serif;
    margin: 0;
    background-color: #000;
    color: #ffe6cc; /* warm sand/bronze */
}

.navbar {
    background: #3a2314; /* coffee bean brown */
    box-shadow: 0 2px 8px rgba(120, 72, 32, .13);
}
#nav-tabs {
    display: flex;
    margin: 0;
    padding: 0 1.5rem;
    list-style: none;
    justify-content: flex-start;
}
.tab-link {
    padding: 1.1rem 2rem;
    cursor: pointer;
    color: #ff9b42; /* soft copper/orange */
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
}
.tab-link.active, .tab-link:hover {
    border-bottom: 3px solid #e57c23; /* bold burnt orange accent */
    color: #fff3e5;
    background: linear-gradient(to top, #b05d19 0%, #3a2314 90%);
}
main {
    max-width: 820px;
    margin: 2.5rem auto;
    background: #402510; /* dark copper brown */
    border-radius: 10px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(176,93,25,0.13);
}
.tab-content {
    display: none;
    animation: fadein 0.3s;
}
.tab-content.active {
    display: block;
}
.bio-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}
.profile-pic {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 8px solid #ff9b42; /* copper border */
    background: #4e2c10; /* brown background */
    flex-shrink: 0;
    object-fit: cover;
}

/* Outreach Banner Image */
.outreach-banner {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
    border-radius: 8px;
}

/* Publication Cards */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pub-card {
    display: flex;
    flex-direction: row;
    background: #342019; /* deep brown */
    border-radius: 12px;
    overflow: hidden;
    min-height: 180px;
    box-shadow: 0 2px 16px 0 rgba(204,119,34,0.08);
    align-items: stretch;
}
.pub-image {
    width: 160px;
    min-height: 180px;
    object-fit: cover;
    background: #502c16; /* robust copper shade for placeholder */
    border-right: 3px solid #cc7722;
}
.pub-info {
    flex: 1;
    padding: 1.3rem 2rem 1.3rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pub-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #ff964f; /* vivid copper/orange */
    margin-bottom: 0.37rem;
    text-decoration: none;
}
.pub-title:hover {
    text-decoration: underline;
    color: #ffe6cc;
}
.pub-meta {
    font-size: 1rem;
    font-style: italic;
    color: #e1ba8a; /* soft bronze */
    margin-bottom: 0.5rem;
}
.pub-desc {
    font-size: 1.0rem;
    color: #ffe6cc;
}

/* All hyperlinks: match tab header orange */
a,
a:visited {
    color: #ff9b42;
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover,
a:focus {
    color: #ff964f;
    text-decoration: underline;
}

@media (max-width: 800px) {
    main {
        padding: 1rem;
    }
    .pub-card {
        flex-direction: column;
        min-height: unset;
    }
    .pub-image {
        width: 100%;
        min-height: 120px;
        border-right: none;
        border-bottom: 3px solid #cc7722;
    }
    .pub-info {
        padding: 1.1rem;
    }
}

@media (max-width: 650px) {
    .bio-container {
        flex-direction: column;
        gap: 1rem;
    }
    .profile-pic {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}
