/* 照片墙页面特定样式 */

/* Hero区域 */
.exchange-hero {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.9) 0%, rgba(0, 113, 227, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.exchange-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg');
    opacity: 0.1;
    z-index: 1;
}

/* 照片墙部分 */
.photo-gallery-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* 日期文件夹样式 */
.date-folders {
    margin-top: 3rem;
}

.date-folder {
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.date-folder:hover {
    box-shadow: var(--shadow-hover);
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(var(--gradient-start-rgb), 0.1) 0%, rgba(var(--gradient-end-rgb), 0.1) 100%);
    border-bottom: 1px solid rgba(var(--gradient-start-rgb), 0.1);
}

.folder-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.folder-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.folder-content {
    padding: 2rem;
}

/* 照片网格 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.photo-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.photo-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-item:hover .photo-container img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.photo-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.photo-zoom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.photo-zoom:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 加入我们部分 */
.join-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(var(--gradient-start-rgb), 0.05) 0%, rgba(var(--gradient-end-rgb), 0.05) 100%);
}

.join-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.info-item p {
    margin: 0;
    color: var(--secondary-color);
}

.join-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.join-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .join-cta {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .folder-header {
        padding: 1rem 1.5rem;
    }
    
    .folder-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}
