.project-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
    padding: 120px 4% 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-title {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 400;
    font-size: 32px;
    color: #595757;
    letter-spacing: 2.56px;
    line-height: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
    font-size: 14px;
    color: #595757;
}

.breadcrumb-line {
    width: 24px;
    height: 1px;
    background-color: #595757;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Details */
.project-details {
    display: flex;
    gap: 64px;
    margin-bottom: 80px;
    padding: 0 4%;
}

.details-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-name h2 {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
    font-size: 16px;
    color: #595757;
    line-height: normal;
}

.project-tags {
    display: flex;
    gap: 8px;
}

.tag {
    background-color: #b18147;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 40px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 10px;
    line-height: normal;
}

.project-info,
.project-info-additional {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    gap: 32px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    align-items: center;
    color: #595757;
}

.info-label {
    width: 70px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    line-height: 2;
}

.details-right {
    flex: 1;
    font-family: 'Zen Old Mincho', serif;
    font-size: 16px;
    color: #595757;
    line-height: 2;
}

.details-right p {
    margin-bottom: 0;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 64px;
    padding: 0 4%;
}

.gallery-item {
    width: calc(50% - 20px);
    padding-top: 32%;
}

/* Back Button */
.back-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.back-button {
    width: 240px;
    padding: 16px 0;
    border: 1px solid #595757;
    background-color: transparent;
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
    font-size: 16px;
    color: #595757;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #595757;
    color: #ffffff;
}

/* Other Projects */
.other-projects {
    background-color: #f9f8f3;
    padding: 80px 4%;
}

.section-title {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
    font-size: 24px;
    color: #b18147;
    text-align: center;
    letter-spacing: 1.92px;
    margin-bottom: 40px;
    line-height: 1;
}

.projects-grid {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
}

.project-card {
    width: calc(33.333% - 27px);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #f0edea;
    overflow: hidden;
    margin-bottom: 16px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-title {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
    font-size: 16px;
    color: #595757;
    line-height: normal;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    color: #595757;
}

.meta-line {
    width: 40px;
    height: 1px;
    background-color: #595757;
}

.card-tags {
    display: flex;
    gap: 8px;
}

.card-tag {
    padding: 4px 8px;
    border-radius: 40px;
    border: 0.5px solid #595757;
    font-family: 'Zen Old Mincho', serif;
    font-size: 10px;
    color: #595757;
    line-height: normal;
}

@media screen and (max-width:768px){
    .project-details{
        flex-direction: column;
        gap: 24px;
         margin-bottom: 24px;
    }
    .project-title{
        font-size: 28px;
    }
    .header-top{
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .breadcrumb{
        justify-content: flex-end;
        width: 100%;
        font-size: 12px;
    }
    .details-left{
        gap: 32px;
    }
    .projects-grid{
        gap: 24px;
    }
    .project-card {
        width: calc(33.333% - 24px);
    }
    .card-title{
        font-size: 14px;
    }
    .info-value{
        font-size: 13px;
    }
    .project-info, .project-info-additional{
        gap: 12px;
    }
    .project-header{
        margin-bottom: 40px;
        padding-top: 96px;
    }
    .back-button {
        padding: 12px 0;
        font-size: 14px;
        
    }
    .gallery{
        margin-bottom: 24px;
    }
    .back-button-container{
        margin-bottom: 40px;
    }

}
@media screen and (max-width:640px){
    .gallery-item{
        width: 100%;
        padding-top: 64%;
    }
    .project-title{
        font-size: 24px;
    }
    .details-left{
        gap: 24px;
    }
    .projects-grid{
        justify-content: flex-start;
        gap: 2%;
    }
    .project-card{
        width: 49%;
    }
    .project-card:nth-child(3){
        display: none;
    }
    .info-label{
        font-size: 12px;

    }
    .info-row{
        gap: 16px;
    }
    .project-info, .project-info-additional{
        gap: 8px;
    }
    .project-header{
        margin-bottom: 24px;
    }
    .gallery{
        margin-bottom: 16px;
    }
}