/* Photo Gallery Styles */
.photo-gallery-section {
    padding: 4rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.photo-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        transparent 20%, 
        transparent 80%, 
        var(--accent-color) 100%);
    opacity: 0.05;
    pointer-events: none;
}

.photo-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.photo-gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.photo-gallery-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Aurora', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.photo-gallery-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Photo Carousel */
.photo-carousel-wrapper {
    position: relative;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--card-bg);
}

.photo-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.photo-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.photo-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
}

.photo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation Buttons */
.photo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(108, 46, 145, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.photo-nav-btn:hover {
    background: rgba(108, 46, 145, 1);
    transform: translateY(-50%) scale(1.1);
}

.photo-nav-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.photo-nav-prev {
    left: 20px;
}

.photo-nav-next {
    right: 20px;
}

/* Photo Indicators */
.photo-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.photo-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(108, 46, 145, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.photo-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.photo-indicator:hover {
    background: rgba(108, 46, 145, 0.6);
}

/* Photo Counter */
.photo-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Decorative Elements - Removed floating dice */

/* Mobile Responsive */
@media (max-width: 768px) {
    .photo-gallery-section {
        padding: 3rem 0;
    }
    
    .photo-gallery-container {
        padding: 0 1rem;
    }
    
    .photo-gallery-title {
        font-size: 2rem;
    }
    
    .photo-carousel {
        height: 350px;
    }
    
    .photo-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .photo-nav-prev {
        left: 10px;
    }
    
    .photo-nav-next {
        right: 10px;
    }
    
    .photo-counter {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    

}

@media (max-width: 480px) {
    .photo-gallery-title {
        font-size: 1.8rem;
    }
    
    .photo-gallery-subtitle {
        font-size: 1.1rem;
    }
    
    .photo-carousel {
        height: 280px;
    }
    
    .photo-indicators {
        gap: 0.3rem;
    }
    
    .photo-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Touch/Swipe Support */
.photo-carousel-track {
    touch-action: pan-y;
}

/* Loading State */
.photo-slide.loading {
    background: linear-gradient(90deg, 
        rgba(108, 46, 145, 0.1) 0%, 
        rgba(108, 46, 145, 0.2) 50%, 
        rgba(108, 46, 145, 0.1) 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accessibility */
.photo-slide img:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .photo-counter {
        background: rgba(255, 255, 255, 0.1);
    }
}