/* Project Spotlight Styles */
.project-spotlight {
    background: #fff;
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 16px rgba(52,152,219,0.07);
}
.spotlight-title {
    color: #3498db;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.spotlight-desc {
    font-size: 1.08rem;
    margin-bottom: 1rem;
    color: #222;
}
.spotlight-tools {
    margin-bottom: 0.7rem;
}
.spotlight-tools strong {
    color: #217dbb;
    font-size: 1.05rem;
    margin-right: 0.5rem;
}
.spotlight-tools .skill-bubble {
    margin-right: 0.4rem;
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
}
.spotlight-status {
    font-size: 1.01rem;
    margin-top: 0.5rem;
}
.on-hold {
    color: #e67e22;
    font-weight: bold;
    letter-spacing: 0.5px;
}
/* Highlight effect for skill bubble jump */
.bubble-highlight {
    outline: 3px solid #3498db;
    box-shadow: 0 0 0 4px #f4f6fb, 0 0 8px 2px #3498db;
    transition: outline 0.2s, box-shadow 0.2s;
}
@media (max-width: 600px) {
    .main-navbar-links {
        display: none !important;
    }
    .main-navbar-name {
        visibility: visible !important;
        position: static !important;
        opacity: 1 !important;
        margin-right: 0 !important;
        transform: none !important;
        min-width: 0 !important;
        text-align: left;
        font-size: 1.1rem;
        padding-left: 0.5rem;
    }
    .main-navbar-content {
        justify-content: flex-start !important;
        padding-left: 0.5rem !important;
    }
}
/* Main Navbar under image stack */
/* Main Navbar Layout */
.main-navbar {
    background: #222;
    position: relative;
    z-index: 10;
    transition: box-shadow 0.2s, position 0.2s;
    padding: 0;
}
.main-navbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    width: 100%;
    transition: justify-content 0.3s;
}
.main-navbar-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    transition: justify-content 0.3s;
}
.main-navbar-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.main-navbar-links a:hover {
    color: #3498db;
}
/* Navbar name is visually hidden but present when not sticky, so links stay centered */
.main-navbar-name {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 2rem;
    min-width: 180px;
    visibility: hidden;
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s;
}
.main-navbar-content {
    position: relative;
}
.main-navbar.sticky .main-navbar-content {
    justify-content: space-between;
}
.main-navbar.sticky .main-navbar-links {
    justify-content: flex-end;
}
.main-navbar.sticky .main-navbar-name {
    visibility: visible;
    position: static;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s, visibility 0s;
}
.main-navbar {
    box-shadow: none;
}
.main-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.main-navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.main-navbar a:hover {
    color: #3498db;
}
@media (max-width: 600px) {
    .main-navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.7rem 1rem;
        gap: 0.7rem;
    }
    .main-navbar a {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .navbar-fixed {
        display: none !important;
    }
}
.navbar-fixed.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    margin-top: 0 !important;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.image-stack {
    margin-bottom: 0;
    padding-bottom: 0;
}
.navbar-fixed {
    margin-top: -4px;
    padding-top: 0;
}
.navbar-container {
    margin-top: 0;
    padding-top: 0;
}
@media (max-width: 600px) {
    .image-stack {
        display: none !important;
    }
    img.background {
        object-fit: cover;
        object-position: center top;
        margin-top: -40px;
    }
}
/* Image Header Styles */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
header {
    text-align: center;
}
/* Make .image-stack clip to the height of the .background image */
.image-stack {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/* Make .image-stack height match .background image height dynamically */
.image-stack {
    height: fit-content;
}
.image-stack img.background {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
img.background{
    width:100%;
    height:auto;
    margin: 0;
}
img.headshot{
    position: absolute;
    top: 12%;
    left: 75%;
    width: 20%;
    height: auto;
    z-index: 10;
}
.headertrap{
    position: absolute;
    border-bottom: 40vw solid #FFF ;
    border-left: 35vw solid transparent;
    border-right: 0 solid transparent;
    height: 0;
    opacity: 70%;
    width: 25vw;
    top: 0;
    right: -20vw;
}
.nameheader{
    position: absolute;
    font-family:Georgia, 'Times New Roman', Times, serif;
    color: #f1f1f1;
    font-size: 10vw;
    top: 15%;
    left: 5%;
    z-index: 10;
}
/* End Image Header Styles */
/* Navbar Styles */
/* Navbar Styles */
.navbar-fixed {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: position 0.3s, top 0.3s;
}
.navbar-fixed.sticky {
    position: fixed;
    top: 0;
    left: 0;
    animation: navbarDrop 0.3s;
}
@keyframes navbarDrop {
    from { top: -60px; }
    to { top: 0; }
}
.navbar-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    transition: justify-content 0.3s;
}
.navbar-brand, .navbar-brand-small {
    color: #3498db;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: left 0.3s, right 0.3s;
}
.navbar-brand-small {
    display: none;
}
.navbar-flex-spacer {
    display: none;
}
.navbar-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    transition: justify-content 0.3s;
}
.navbar-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.navbar-links a:hover {
    color: #3498db;
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.navbar-toggle .bar {

    width: 28px;
    height: 4px;
    background: #3498db;
    
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}
@media (min-width: 601px) {
    .navbar-fixed:not(.sticky) .navbar-container {
        justify-content: center;
    }
    .navbar-fixed.sticky .navbar-container {
        justify-content: flex-end;
    }
    .navbar-fixed.sticky .navbar-brand-small {
        display: block;
        position: absolute;
        left: 1.5rem;
        font-size: 1.5rem;
    }
    .navbar-fixed.sticky .navbar-flex-spacer {
        display: block;
        min-width: 180px;
        /* width matches brand for spacing */
    }
    .navbar-fixed.sticky .navbar-links {
        justify-content: flex-end;
    }
    .navbar-fixed:not(.sticky) .navbar-brand-small {
        display: none;
    }
    .navbar-fixed:not(.sticky) .navbar-flex-spacer {
        display: none;
    }
}
@media (max-width: 600px) {
    .navbar-container {
        justify-content: flex-start;
        padding: 0.5rem 0.7rem;
    }
    .navbar-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #222;
        flex-direction: column;
        width: 200px;
        align-items: flex-start;
        padding: 1rem 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        display: none;
    }
    .navbar-links.active {
        display: flex;
    }
    .navbar-toggle {
        display: flex;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-brand {
        display: none;
    }
    .navbar-brand-small {
        display: block;
        font-size: 1.2rem;
        position: static;
    }
    .navbar-flex-spacer {
        display: none;
    }
}
body {
    padding-top: 0;
}
/* End Navbar Styles */
/* Education Section Styles */
.education-entry {
    background: #f4f6fb;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 1.08rem;
    line-height: 1.6;
}
.education-entry strong {
    font-size: 1.15rem;
}
/* Skill Bubbles Styles */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem 0;
}
.skill-bubble {
    background: #3498db;
    color: #222;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #217dbb;
}

.skill-bubble:hover {
    background: #222;
    color: #3498db;
    border-color: #3498db;

}
/* Experience and Project Card Styles */
.experience {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: #f4f6fb;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 1rem;
}
.exp-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: #ddd;
    flex-shrink: 0;
}
.experience h3 {
    margin-top: 0;
}
.experience p {
    margin-bottom: 0;
}
@media (max-width: 700px) {
    .experience {
        flex-direction: column;
        align-items: stretch;
    }
    .exp-photo {
        width: 100%;
        height: 180px;
        margin-bottom: 1rem;
    }
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f6fb;
    color: #222;
}
header {
    background: #222;
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    background: #444;
    padding: 0.5rem 0;
}
nav a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #3498db;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
section {
    margin-bottom: 2rem;
}
h2 {
    color: #222;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}
ul {
    list-style: none;
    padding: 0;
}
ul li {
    background: #3498db;
    color: #222;
    display: inline-block;
    margin: 0.3rem 0.5rem 0.3rem 0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
}
.project {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f4f6fb;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 400px;
}
input, textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
button {
    background: #3498db;
    color: #222;
    border: none;
    padding: 0.7rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #217dbb;
}
footer {
    text-align: center;
    padding: 1rem 0;
    background: #222;
    color: #fff;
    margin-top: 2rem;
}
@media (max-width: 600px) {
    main {
        padding: 1rem;
    }
    nav {
        flex-direction: column;
    }
    nav a {
        margin: 0.5rem 0;
    }
}
