/* ========================================
   SECTION 5: PHOTOGRAPHY - 视觉叙事
   ======================================== */
.section-photography {
    background: var(--color-bg-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + var(--spacing-md));
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: visible;
}

/* Photography 背景装饰 */
.photography-bg-decoration {
    background-image: 
        /* 交叉线条图案 */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 4px,
            rgba(201, 169, 97, 0.12) 4px,
            rgba(201, 169, 97, 0.12) 5px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 4px,
            rgba(201, 169, 97, 0.12) 4px,
            rgba(201, 169, 97, 0.12) 5px
        ),
        /* 对角线装饰 */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(201, 169, 97, 0.06) 50px,
            rgba(201, 169, 97, 0.06) 51px
        );
    background-size: 70px 70px, 70px 70px, 200px 200px;
    opacity: 0.6;
}

.photography-bg-decoration::before {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(201, 169, 97, 0.15) 0%,
        rgba(201, 169, 97, 0.08) 35%,
        transparent 70%
    );
    filter: blur(100px);
}

.photography-bg-decoration::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -8%;
    width: 450px;
    height: 450px;
    background: radial-gradient(
        circle at center,
        rgba(201, 169, 97, 0.1) 0%,
        transparent 60%
    );
    filter: blur(70px);
}

/* 摄影容器 - 大气优雅的网格布局 */
.photography-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

/* 照片卡片 - 更大气优雅的设计 */
.photo-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-line);
    transition: all var(--transition-normal);
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 亮色主题下的照片卡片阴影增强 */
.theme-light .photo-card {
    box-shadow: var(--shadow-md);
}

.photo-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(201, 169, 97, 0.08) 0%,
        transparent 50%,
        rgba(201, 169, 97, 0.05) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
    pointer-events: none;
}

/* 亮色主题下的渐变叠加增强 */
.theme-light .photo-card::before {
    background: linear-gradient(
        135deg,
        rgba(166, 124, 61, 0.15) 0%,
        transparent 50%,
        rgba(166, 124, 61, 0.1) 100%
    );
}

.photo-card:hover {
    transform: translateY(-16px);
    border-color: rgba(201, 169, 97, 0.6);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(201, 169, 97, 0.4);
}

/* 亮色主题下的悬停效果增强 */
.theme-light .photo-card:hover {
    border-color: var(--accent-border-strong);
    box-shadow: var(--shadow-xl),
                0 0 0 1px var(--accent-border);
}

.photo-card:hover::before {
    opacity: 1;
}

/* 照片图片容器 */
.photo-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card:hover .photo-image img {
    transform: scale(1.12);
}

/* 照片遮罩层 - 更优雅的渐变 */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.85) 40%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 2;
}

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

/* 亮色主题下的照片遮罩层 - 使用深色渐变确保文字可读性 */
.theme-light .photo-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.88) 30%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.25) 85%,
        transparent 100%
    );
}

/* 照片内容 - 更大气的设计 */
.photo-content {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-lg);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card:hover .photo-content {
    transform: translateY(0);
}

/* 照片编号 - 更大更优雅 */
.photo-number {
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--color-accent-gold);
    line-height: 1;
    opacity: 0.9;
    flex-shrink: 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

/* 亮色主题下的照片编号 */
.theme-light .photo-number {
    color: var(--color-accent-gold);
    text-shadow: 0 2px 12px rgba(166, 124, 61, 0.5),
                 0 0 20px rgba(166, 124, 61, 0.3);
}

/* 照片文字 - 更清晰的层次 */
.photo-text {
    flex: 1;
    padding-bottom: 0.5rem;
}

.photo-title {
    font-size: 1.75rem;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* 亮色主题下的照片文字 - 确保在深色遮罩上可见 */
.theme-light .photo-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.photo-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
    opacity: 0.95;
    font-weight: 300;
}

/* 亮色主题下的照片描述文字 */
.theme-light .photo-desc {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* 响应式布局 - 优化移动端文字 */
@media (max-width: 1200px) {
    .photography-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .photography-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }
    
    .photo-card {
        border-radius: var(--radius-lg);
        aspect-ratio: 3 / 4;
    }
    
    .photo-overlay {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .photo-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .photo-number {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .photo-text {
        padding-bottom: 0;
        width: 100%;
    }
    
    .photo-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
        line-height: 1.3;
    }
    
    .photo-desc {
        font-size: 0.875rem;
        line-height: 1.6;
        opacity: 0.9;
    }
}

@media (max-width: 480px) {
    .photography-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .photo-card {
        border-radius: var(--radius-lg);
        aspect-ratio: 4 / 3;
    }
    
    .photo-overlay {
        padding: var(--spacing-md);
    }
    
    .photo-content {
        gap: var(--spacing-xs);
    }
    
    .photo-number {
        font-size: 2rem;
    }
    
    .photo-title {
        font-size: 1.125rem;
    }
    
    .photo-desc {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
}

/* GLightbox 自定义样式 - 匹配网站设计风格 */
.glightbox-clean .gslide-description {
    background: rgba(15, 15, 15, 0.95);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-line);
}

.glightbox-clean .gslide-title {
    color: var(--color-accent-gold);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
}

.glightbox-clean .gslide-desc {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.glightbox-clean .gclose {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--color-line);
    color: var(--color-text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.glightbox-clean .gclose:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.glightbox-clean .gprev,
.glightbox-clean .gnext {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--color-line);
    color: var(--color-text-primary);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.glightbox-clean .gslide-media {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

