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

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f5f5f5;
    color: #000;
    line-height: 1.6;
    background-image: url('../img/mountain_bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Overlay to make the background lighter/subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -2;
    /* Behind everything */
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind content but in front of background */
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
    /* Ensure content is above stars */
}

.header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

.name {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: lowercase;
    letter-spacing: -2px;
}

.role {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #666;
    font-family: 'Courier New', Courier, monospace;
}

.contact-info {
    font-size: 14px;
    display: flex;
    gap: 30px;
    font-weight: 600;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    background-color: #000;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: lowercase;
}

.list-hoverable {
    list-style: none;
}

.list-hoverable li {
    margin-bottom: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    /* Restore transition */
}

/* Restore Hover Effect */
.list-hoverable li:hover {
    transform: translateX(10px);
    font-weight: 700;
    color: #000;
}

.item {
    margin-bottom: 40px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.item-title a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    transition: all 0.3s ease;
}

.item-title a:hover {
    background-color: #000;
    color: #fff;
}

.year {
    font-size: 14px;
    font-weight: 600;
}

.role-detail {
    font-weight: 600;
    margin-bottom: 5px;
    font-style: italic;
}

.description {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.location {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    margin-top: 5px;
}

.inline-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.inline-list li {
    font-weight: 600;
    transition: transform 0.3s ease;
}

.inline-list li:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .name {
        font-size: 42px;
    }
}

.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid #000;
}

.footer a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid #000;
    transition: all 0.3s ease;
}

.footer a:hover {
    background-color: #000;
    color: #fff;
}