
:root {
    --defaultFontStack: "Montserrat", "Helvetica Neue", Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--defaultFontStack);
    line-height: 1.4;
    color: #666;
    overflow-x: hidden;
}

header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 1rem;
}

.logo {
    display: flex;
    order: 2;
}

nav {
    order: 1;
}
.logo img {
    height: 5rem;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    padding-bottom: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #999;
    font-size: 1rem;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #c58f56;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('/static/images/IMG_20210518_214043.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 80px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    color: #d4a574;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-topics {
    font-size: 1.0rem;
    line-height: 2;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4rem;
    scroll-margin-top: 80px;
}

h2 {
    color: #666;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

.bio-section {
    min-height: 90vh;
    background: #fafafa;
}

.bio-content {
    display: grid;
    grid-template-columns: 400px 1fr 200px;
    gap: 3rem;
    align-items: start;
}

.bio-image {
    width: 100%;
    border-radius: 5px;
}

.profile-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.bio-text {
    grid-column: 2 / 4;
}

.bio-text h3 {
    color: #c58f56;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.float-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.topics-section {
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    color: white;
    scroll-margin-top: 80px;
}

.bg-parallax {
    position: absolute;
    inset: -20%;
    background: url('/static/images/IMG_20210905_154713.jpg') center/cover no-repeat;
    transform: translateY(0);
    will-change: transform;
    z-index: 0;
}

.topics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.topics-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4rem;
}

.topics-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6rem;
}

.topic-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.topic-card ul {
    list-style: none;
    font-size: 1rem;
    line-height: 1;
}

.topic-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.topic-card li:before {
    content: "-";
    position: absolute;
    left: 0;
}

.publications-section {
    background: #fff;
}

.publications-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quote-icon {
    color: #c58f56;
    font-size: 3rem;
}

.publication-list {
    column-count: 2;
    column-gap: 3rem;
    font-size: 0.9rem;
}

.publication-item {
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

.publication-item strong {
    color: #333;
}

.resources-section {
    min-height: 90vh;
    background: #fafafa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 5rem;
}

.resource-category h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-category ul {
    list-style: none;
    font-size: 0.9rem;
}

.resource-category a {
    color: #c58f56;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    word-break: break-word;
}

.resource-category a:hover {
    text-decoration: underline;
}

.contact-section {
    background: #fff;
    text-align: center;
}

.email-display {
    margin: 3rem 0;
}

.email-display img {
    max-width: 100%;
    height: auto;
}

.contact-address {
    margin: 2rem 0;
    color: #666;
}

.map-image-link {
    display: inline-flex;
    margin-bottom: 6px;
}

.map-image {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.address-component {
    width: 100%;
    height: 100%;
}

.address-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
}

.address-label {
    font-weight: bold;
    margin-bottom: 2px;
}

.address-link {
    letter-spacing: 0;
    text-decoration: none;
    color: inherit;
}

.address-link:hover {
    text-decoration: underline;
}

footer {
    background: #333;
    color: #999;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .bio-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-text {
        grid-column: 1;
    }

    .float-right {
        float: none;
        margin: 0 auto 1.5rem;
        display: block;
    }

    .topics-grid,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .publication-list {
        column-count: 1;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .topics-inner {
        padding: 4rem 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 100px;
    }

    .topics-section {
        scroll-margin-top: 100px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .logo {
        order: 1;
    }

    nav {
        order: 2;
    }

    .logo img {
        height: 3.5rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero {
        margin-top: 100px;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .hero-topics {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .topics-inner {
        padding: 3rem 1.5rem;
    }

    .topics-section h2 {
        font-size: 2rem;
    }

    .topic-card h3 {
        font-size: 1.3rem;
    }

    .topics-grid {
        gap: 2.5rem;
    }

    .publications-section h2 {
        font-size: 1.6rem;
    }

    .quote-icon {
        font-size: 2rem;
    }

    .resources-grid {
        gap: 2rem;
    }

    .email-display img {
        max-width: 280px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem;
    }

    .logo img {
        height: 3rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-topics {
        font-size: 0.85rem;
    }

    section {
        padding: 2.5rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .topics-inner {
        padding: 2.5rem 1rem;
    }

    .topics-section h2 {
        font-size: 1.6rem;
    }

    .topic-card h3 {
        font-size: 1.1rem;
    }

    .email-display img {
        max-width: 240px;
    }
}
