/* 全局样式重置 */
html, body{
    min-width: 1888px;
}
.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 8px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff6b00;
    background-color: rgba(255, 107, 0, 0.1);
}

.login-btn a {
    background-color: #ff6b00;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-btn a:hover {
    background-color: #e55a00;
}

/* 英雄区域样式 */
.Gallery-section {
    height: 294px;
    width: 100%;
    text-align: center;
    background-color: #000;
    padding: 123px 0 75px;
    background: url('./../img/gallery_bg.png') no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    position: relative;
    /* border: 1px red solid; */
}

.Gallery-section h1 {
    font-family: 'PingFang SC-Semibold';
    font-weight: 600;
    font-size: 48px;
    color: #FFFFFF;
    line-height: 56px;
    padding-bottom: 12px;
}

.Gallery-section p {
    font-size: 20px;
    color: #fff;
    line-height: 28px;
}

/* 画廊样式 */
.gallery-section {
    padding: 40px 0 0 0;
    overflow: hidden;
    background: #F4F5F7;
}

.gallery-grid {
    font-size: 0;
    margin: 0 -16px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: 444px;
    height: 247px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 16px 40px 16px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}
.gallery-item .gallery-item-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: linear-gradient( to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.4) 100%);
    
}
.gallery-item:hover .gallery-item-bg{
    display: inline-block;
    z-index: 9;
}
/* .gallery-item:nth-of-type(4n) {
    margin-right: 0;
} */
.gallery-item-text{
    position: absolute;
    bottom: 8px;
    left: 20px;
    display: none;
    transition: display 0.3s ease;
    font-size: 12px;
    z-index: 9;
    width: 399px;
    color: #FFFFFF;
    
}
.gallery-item-title,
.gallery-item-description {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    line-height: 20px;
}

.gallery-item-title {
    font-family: 'PingFang SC-Medium';
    font-weight: 500;
    font-size: 13px;
    line-height: 21px;
}
.gallery-item:hover .gallery-item-text {
    display: inline-block;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
/* @media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .Gallery-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .Gallery-section h1 {
        font-size: 2rem;
    }
    
    .Gallery-section p {
        font-size: 1rem;
    }
} */