nav a {
    color: #fff !important;
}

nav a:hover, nav a.active {
    color: #fff !important;
}

.logo a {
    color: #fff !important;
}

/* Project page specific styling */
body {
    background-color: #000000;
    color: #ffffff;
}

.project-content {
    width: 60%;
    margin: 0 auto;
    padding: 2rem 0;
    color: #ffffff;
}

.project-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ffffff;
}


.project-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2rem 0 2rem;
    color: #ffffff;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0rem 0 1rem;
    color: #ffffff;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 200;
    color: #ffffff;
}

.project-content h4 {
    font-size: 0.8rem;
    line-height: 1.6;
    font-weight: 200;
    color: #ffffff;
}

strong {
    font-weight: 500;
    color: #ffffff;
    /* color: rgb(48, 140, 197); */
}

.project-content img {
    max-width: 100%;
    height: auto;
    margin: 0rem auto;
    border-radius: 4px;
}

/* Highlighted text block */
.highlight-text {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    margin: 4rem auto;
    max-width: 600px;
    color: #ffffff;
}

.highlight-text strong {
    font-weight: 500;
    color: #ffffff;
}

.highlight-text-large {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    margin: 5rem auto;
    max-width: 900px;
    color: #ffffff;
}

.highlight-text-large strong {
    font-weight: 400;
    color: #ffffff;
}

/* Dark blue section */
.dark-blue-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #343434;
    color: white;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dark-blue-section img {
    width: 18%;
    height: auto;
    margin: 0;
}

.dark-blue-section h2 {
    color: white;
    font-weight: 400;
    margin: 0;
}

.dark-blue-section p {
    color: rgba(255, 255, 255, 0.9);
    width: 60%;
}

.dark-blue-section strong {
    color: rgb(237, 168, 39);
    font-weight: 500;
}

.dark-blue-section .layout-twocolumn {
    width: 60%;
    margin: 0 auto;
    align-items: start;
}

/* Quote layout */
.quote-container {
    width: 70%;
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.quote-container::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: #666666;
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.quote-container p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: left;
}

.quote-container cite {
    display: block;
    font-size: 1rem;
    color: #cccccc;
    text-align: right;
    font-style: normal;
    margin-top: 1rem;
}

/* Full-width image option */
.fullwidth-image {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    margin-top: 0rem;
    margin-bottom: 2rem;
}

/* Full-width image container */
.fullwidth-image-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0rem;
    margin-bottom: 2rem;
}

.project-content a {
    color: #ffffff;
    text-decoration: underline dotted;
    text-decoration-color: #d0d0d0;
    text-underline-offset: 0.3em;
    transition: all 0.3s ease;
    font-weight: 400;
}

.project-content a:hover {
    text-decoration: underline;
}

/* Layout Options */

/* Default layout (standard) */
.layout-standard .project-content {
    width: 80%;
}

/* Full-width layout */
.layout-fullwidth .project-content {
    width: 100%;
    padding: 2rem 5%;
}

/* Two-column layout */
.layout-twocolumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.layout-twocolumn h3 {
    font-weight: 450;
    font-size: 1.2rem;
}

.column-left, .column-right {
    margin-right: 0;
}

.column-right p {
    width: 100%;
}

/* Alternative Three-column layout */
.layout-threecolumn {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    width: 100%;
    margin: 1rem 0 1rem;
}

.layout-threecolumn h3 {
    font-weight: 450;
    font-size: 1.2rem;
}

.column-left, .column-right {
    padding: 0rem;
}

/* Three-column layout */
.layout-threecolumn-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    width: 100%;
    text-align: center;
}

.layout-threecolumn-2 h1 {
    font-weight: 500;
    font-size: 3rem;
    margin-bottom: 0.1rem
}

/* Four-column layout */
.layout-fourcolumn {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    width: 100%;
    text-align: center;
}

.layout-fourcolumn h1 {
    font-weight: 500;
    font-size: 3rem;
    margin-bottom: 0.1rem
}

/* Image gallery layout */
.layout-gallery {
    width: 100%;
    margin: 2rem 0;
}

.layout-gallery h2 {
    margin-bottom: 1.5rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.02);
}

/* Text-heavy layout */
.layout-text {
    width: 70%;
    max-width: 800px;
    margin: 2rem auto;
}

.layout-text p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.plain {
    width: 58%;
    margin: auto;
}

.plain h1{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.plain h2 {
    font-weight: 500;
}

.plain p{
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-content {
        width: 100%;
    }
    
    .project-content h1 {
        font-size: 2rem;
    }
    
    .project-content h2 {
        font-size: 1.5rem;
    }
    
    .project-content p {
        font-size: 1.1rem;
    }
    
    .layout-twocolumn {
        grid-template-columns: 1fr;
    }
    
    .layout-text {
        width: 90%;
    }
    
    .quote-container {
        width: 100%;
        padding: 1.5rem;
    }
    
    .quote-container p {
        font-size: 1.1rem;
    }
    
    .highlight-text {
        font-size: 2rem;
        margin: 3rem auto;
    }
    
    .highlight-text-large {
        font-size: 2.5rem;
        margin: 4rem auto;
    }
    
    .layout-twocolumn {
        width: 100%;
        gap: 0rem;
    }

    /* .dark-blue-section {
        width: 80%;
    } */

    .plain {
        width: 88%;
    }

    .plain h1{
        width: 100%;
        margin: 0 auto;
        margin-bottom: 1rem;
    }

    .plain p{
        width: 100%;
    }
    
    .dark-blue-section .layout-twocolumn {
        width: 88%;
        margin: 0 auto;
        align-items: start;
    }

    ul {
        margin-left: 0.5rem;
    }
}

/* Progress bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background-color: #333;
    width: 0;
    transition: width 0.2s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

b, strong {
    font-weight: 800;
}
