/* ===================================
   Photo Slider
   =================================== */
.photo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
}

.photo-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slide.active {
    opacity: 1;
    z-index: 1;
}

.photo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-type {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 600;
}

.photo-description {
    color: var(--text);
    font-size: 1rem;
}

/* Boutons navigation */
.photo-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
}

.photo-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

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

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

/* Dots de navigation */
.photo-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.photo-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.photo-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.photo-slider-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* Bouton Play/Pause */
.photo-slider-play {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slider-play:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid .chart-card {
        height: 400px;
    }
    
    .photo-slider-btn {
        font-size: 2rem;
        padding: 5px 15px;
    }
    
    .photo-slider-prev {
        left: 10px;
    }
    
    .photo-slider-next {
        right: 10px;
    }
    
    .photo-slider-play {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
