/* Project Page Styles */

.project-content {
    flex: 1;
    padding-top: 100px;
    padding-bottom: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.project-header {
    text-align: center;
    padding: 60px 0;
}

.project-header h1 {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
    font-weight: 300;
}

.project-gallery {
    display: grid;
    gap: 40px;
    margin-bottom: 80px;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.nav-link {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link.prev {
    text-align: left;
}

.nav-link.next {
    text-align: right;
    margin-left: auto;
}

@media (max-width: 768px) {
    .project-content {
        padding-top: 90px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .project-header {
        padding: 40px 0;
    }

    .project-header h1 {
        font-size: 28px;
    }

    .project-description {
        font-size: 16px;
    }

    .project-gallery {
        gap: 30px;
    }
}

.project-text {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.project-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.project-text a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.project-text a:hover {
    color: #1D00FF;
}

/* Original Layout-Stile: Tree/Column Layouts */

.project-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.project-col {
    flex: 1;
    overflow: hidden;
}

/* Asymmetrische Spalten-Layouts */
.project-col-wide {
    flex: 157; /* 78.5% Breite */
}

.project-col-narrow {
    flex: 43; /* 21.5% Breite */
}

.project-col-narrow-left {
    flex: 7; /* ~28% Breite */
}

.project-col-wide-right {
    flex: 18; /* ~72% Breite */
}

.project-col-double {
    flex: 133; /* ~66.5% Breite */
}

.project-col-single {
    flex: 67; /* ~33.5% Breite */
}

/* Gleichmäßige Spalten */
.project-row-even .project-col {
    flex: 1;
}

/* Vollbreites Bild */
.project-full {
    width: 100%;
    margin-bottom: 20px;
}

.project-row img,
.project-full img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text-Zentrierung */
.project-text-center {
    text-align: center;
    margin: 40px auto;
    max-width: 100%;
}

.project-text-center p {
    margin: 0;
}

.project-text-center a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-text-center a:hover {
    color: #1D00FF;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .project-col,
    .project-col-wide,
    .project-col-narrow,
    .project-col-narrow-left,
    .project-col-wide-right,
    .project-col-double,
    .project-col-single {
        flex: none;
        width: 100%;
    }
    
    .project-text-center p {
        font-size: 20px !important;
    }
    
    .project-text p {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}
