/* Color Variables - Easy to change theme */
:root {
    --bg-color: #222222;
    --text-color: #FFFFFF;
    --label-color: #c8c8c8;
    --accent-color: #444444;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Option A: Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(200,200,200,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,200,200,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Option C: Animated Header */
#header {
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

#header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        var(--label-color) 0px, 
        var(--label-color) 4px, 
        transparent 4px, 
        transparent 8px
    ) repeat-x;
    background-size: 8px 1px;
    animation: dotted-line 20s linear infinite;
}

@keyframes dotted-line {
    0% { background-position-x: 0px; }
    100% { background-position-x: 8px; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    width: 100%;
}

.logo-container {
    margin-left: 15.1%;
}

.logo {
    height: 45px;
    width: auto;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: 15%;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--label-color);
}

.nav-separator {
    color: var(--label-color);
    margin: 0 12px;
    font-weight: normal;
}

/* Main Content */
#content {
    max-width: 70%;
    margin: auto;
}

/* Project List */
#list ul {
    list-style: none;
    display: inline-block; /* Makes the ul only as wide as its content */
    text-align: left; /* Keep text left-aligned */
}

.text {
    margin-left: 9%;
}

#list li {
    margin-bottom: 15px;
    transition: transform 0.1s ease;
}

#list li:hover {
    transform: translateX(4px);
}

#list li a {
    color: var(--text-color);
    text-decoration: none;
    display: block; /* Back to block for proper line behavior */
    line-height: 1.8;
}

#list li a:hover span:not(.tag) {
    text-decoration: underline;
}
/* Option B: Modern Tags */
.tag {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 12px;
    display: inline-block;
    opacity: 0.9;
    transition: all 0.2s ease;
}

/* Rest of the CSS stays the same... */
.title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
}

#post {
    color: var(--label-color);
    line-height: 1.8;
}

#post p {
    margin-bottom: 15px;
}

.subtitle {
    font-weight: bold;
    color: var(--text-color) !important;
    font-size: 16px;
    margin: 30px 0 15px 0 !important;
}

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

.videowrapper video {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.image {
    margin: 50px auto;
    text-align: center;
    width: 40%;
}



.image img {
    max-width: 100%;
    height: auto;
    transition: border-color 0.2s ease;
}

.image img:hover {
    border-color: var(--label-color);
}

.image-caption {
    font-size: 12px;
    color: var(--label-color);
    margin-top: 10px;
    font-style: italic;
}


.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-image {
    flex-shrink: 0;
}

.headshot {
    width: 320px;
    height: auto;
    
    border-radius: 8px;
    transition: opacity 0.2s ease;
}



.about-content h2 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--label-color);
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 30px;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--label-color);
}


.image-banner {
    width: calc(100% + 40px); /* Compensate for body padding */
    margin-left: -20px; /* Pull it back to screen edge */
    margin-right: -20px; /* Pull it back to screen edge */
    margin-bottom: -20px; /* Pull it back to screen edge */
    margin-top: 400px;
    padding-top: 30px;
}

.image-banner img {
    width: 100%;
    image-rendering: pixelated;
    height: auto;
    display: block; /* Removes any default spacing */
}


/* ---------------------------------MOBILE--------------------------------- */

/* Mobile responsiveness */
@media (max-width: 600px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .about-image {
        order: -1; /* Put image first on mobile */
    }
    
    .headshot {
        width: 150px;
    }

    body {
        padding: 15px;
    }
    
    .nav-links {
        margin-top: 15px;
    }
    
    #list li:hover {
        transform: none;
    }
    
    
    /* Fix banner overflow on mobile UNUSED?? */
    .image-banner {
        width: calc(100% + 30px); /* Adjust for mobile padding */
        margin-left: -15px;
        margin-right: -15px;
    }

    .image {
    width: 90%;
}
}