/* Photo Single Page Styles */
.photo-container {
    padding-top: 80px;
    background: #000;
}

.photo-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: #000;
    position: relative;
}

.main-photo {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    cursor: zoom-in;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

/* Photo Info */
.photo-info {
    background: white;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.info-main h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.photo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
}

.photo-meta .category a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.photo-meta .category a:hover {
    text-decoration: underline;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.story {
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.story h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.story p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Technical Info */
.info-technical {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
}

.info-technical h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-label {
    color: #666;
    font-size: 0.9rem;
}

.tech-value {
    color: #333;
    font-weight: 500;
}

/* Share Buttons */
.share-buttons {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.share-buttons h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-btn {
    padding: 8px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #333;
    color: white;
}

/* Related Photos */
.related-photos {
    background: #f8f8f8;
    padding: 80px 0;
}

.related-photos h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 5px;
}

.related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.related-item:hover .related-overlay {
    transform: translateY(0);
}

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

.related-overlay h4 {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .photo-viewer {
        min-height: 50vh;
    }
    
    .info-main h1 {
        font-size: 1.8rem;
    }
    
    .photo-meta {
        font-size: 0.85rem;
    }
    
    .share-links {
        flex-wrap: wrap;
    }
}