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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

header {
    background-color: #fff;
    color: #333;
    margin-bottom: 0;
    box-shadow: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    flex-direction: column;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
}

.logo-link {
    margin-right: 2rem;
}

.logo-link a {
    font-size: 1.2em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

nav a:hover {
    color: #000;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch span {
    opacity: 0.5;
}

.language-switch span {
    opacity: 0.5;
}

.project-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-header h2 {
    font-size: 2rem;
}

.back-link {
    color: #333;
    text-decoration: none;
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #e0e0e0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-intro {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.intro-image {
    flex: 0 0 50%;
}

.intro-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.8rem;
}

.hero-image {
    width: 100vw;
    margin-bottom: 2rem;
    margin-left: calc(-50vw + 50%);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.masterplan-image {
    object-fit: contain !important;
    height: 500px !important;
    transition: none !important;
}

.gallery-item:hover .masterplan-image {
    transform: none !important;
}

/* 图片弹出层样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    margin: 10% auto;
    max-width: 90%;
    max-height: 80%;
    width: 75vw;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 40px;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 1001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

footer {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

/* 项目导航样式 */
.project-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 2rem;
}

.prev-project,
.next-project {
    flex: 1;
}

.prev-project a,
.next-project a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.prev-project a:hover,
.next-project a:hover {
    transform: translateY(-5px);
}

.prev-project img,
.next-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1rem;
}

.prev-project p,
.next-project p {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 768px) {
    .project-intro {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .intro-image {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .intro-text {
        width: 100%;
    }
    
    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .project-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-project img,
    .next-project img {
        height: 150px;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .masterplan-image {
        height: auto !important;
        max-height: 300px !important;
    }
    
    .modal-content {
        width: 90vw;
        margin: 20% auto;
    }
    
    .prev, .next {
        font-size: 30px;
        width: 50px;
        height: 50px;
    }
    
    .close {
        font-size: 30px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    main {
        padding: 0 1rem;
    }
    
    .hero-image {
        margin-left: calc(-50vw + 50%);
        width: 100vw;
    }
    
    .logo a {
        width: 100%;
    }
    
    .logo img {
        width: 100%;
        height: auto;
    }
    
    footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}