/* 竖屏摄影页面专用样式 */

/* 竖屏画廊 */
.portrait-gallery {
    padding: 60px 0;
}

.portrait-gallery .gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portrait-item {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.portrait-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portrait-item .photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 400;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* 竖屏照片描述样式 */
.portrait-item .photo-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.portrait-item:hover .photo-description {
    opacity: 1;
    transform: translateY(0);
}

/* 横屏链接样式 */
.landscape-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.landscape-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .portrait-gallery .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .portrait-item .photo-description {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
}

@media (max-width: 480px) {
    .portrait-gallery {
        padding: 40px 0;
    }
    
    .portrait-gallery .gallery-container {
        gap: 15px;
    }
}

/* 动画效果 */
.portrait-item {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.portrait-item:nth-child(1) { animation-delay: 0.1s; }
.portrait-item:nth-child(2) { animation-delay: 0.2s; }
.portrait-item:nth-child(3) { animation-delay: 0.3s; }
.portrait-item:nth-child(4) { animation-delay: 0.4s; }
.portrait-item:nth-child(5) { animation-delay: 0.5s; }
.portrait-item:nth-child(6) { animation-delay: 0.6s; }

/* 图片样式 */
.portrait-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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