/* ============================================
   PROVENCE ACTIVITIES - FRONTEND STYLES
   ============================================ */

:root {
    --primary-color: #0077b6;
    --secondary-color: #023e8a;
    --accent-color: #0096c7;
    --text-dark: #1d3557;
    --text-gray: #666;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.provence-activities-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* En-tête */
.pta-header {
    text-align: center;
    margin-bottom: 60px;
}

.pta-main-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pta-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
}

.pta-section {
    margin-bottom: 80px;
}

.pta-section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.pta-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ============================================
   CAROUSEL PHOTOS - Défilement automatique
   ============================================ */

.pta-photos-carousel {
    margin: 0 -15px;
    padding: 0 50px;
}

.pta-carousel-slide {
    padding: 0 15px;
}

.pta-photo-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.pta-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pta-photo-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
}

.pta-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pta-photo-wrapper:hover .pta-photo-img {
    transform: scale(1.1);
}

/* Overlay au survol */
.pta-photo-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pta-photo-wrapper:hover .pta-photo-hover-overlay {
    opacity: 1;
}

/* Bouton Agrandir professionnel */
.pta-zoom-btn-professional {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pta-zoom-btn-professional:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.pta-zoom-btn-professional svg {
    width: 18px;
    height: 18px;
}

/* Détails de la photo (titre + résumé) */
.pta-photo-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pta-photo-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.4;
}

.pta-photo-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   CAROUSEL VIDÉOS - Défilement automatique
   ============================================ */

.pta-videos-carousel {
    margin: 0 -15px;
    padding: 0 50px;
}

.pta-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pta-video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.pta-video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pta-video-wrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}

.pta-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.pta-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pta-video-card:hover .pta-video-thumbnail {
    transform: scale(1.08);
}

.pta-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.pta-video-card:hover .pta-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Bouton Play SVG */
.pta-play-button {
    width: 70px;
    height: 70px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    color: var(--primary-color);
}

.pta-video-card:hover .pta-play-button {
    background: var(--primary-color);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.5);
}

.pta-play-button svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

/* Détails de la vidéo (titre + résumé) */
.pta-video-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pta-video-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.4;
}

.pta-video-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   LIGHTBOX PHOTO - AGRANDISSEMENT
   ============================================ */

.pta-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pta-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomInPhoto 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

@keyframes zoomInPhoto {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.pta-close {
    position: absolute;
    top: 25px;
    right: 45px;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.pta-close:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: rotate(90deg) scale(1.1);
}

.pta-lightbox-caption {
    text-align: center;
    color: white;
    padding: 20px 30px;
    font-size: 1.2rem;
    max-width: 80%;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-weight: 300;
}

/* ============================================
   MODAL VIDÉO - LECTEUR AGRANDISSABLE
   ============================================ */

.pta-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.pta-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1600px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translate(-50%, -40%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

.pta-modal-content video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* Contrôles vidéo personnalisés */
.pta-video-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

/* Bouton Plein Écran */
.pta-fullscreen-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pta-fullscreen-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.pta-fullscreen-btn svg {
    width: 18px;
    height: 18px;
}

/* Bouton quitter plein écran (affiché en mode plein écran) */
.pta-exit-fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.pta-exit-fullscreen-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.05);
}

.pta-exit-fullscreen-btn svg {
    width: 18px;
    height: 18px;
}

.pta-modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.pta-modal-close:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: rotate(90deg) scale(1.1);
}

/* ============================================
   STYLES SLICK CAROUSEL
   ============================================ */

/* Flèches */
.pta-photos-carousel .slick-prev,
.pta-photos-carousel .slick-next,
.pta-videos-carousel .slick-prev,
.pta-videos-carousel .slick-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s;
}

.pta-photos-carousel .slick-prev:hover,
.pta-photos-carousel .slick-next:hover,
.pta-videos-carousel .slick-prev:hover,
.pta-videos-carousel .slick-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.pta-photos-carousel .slick-prev,
.pta-videos-carousel .slick-prev {
    left: -25px;
}

.pta-photos-carousel .slick-next,
.pta-videos-carousel .slick-next {
    right: -25px;
}

.pta-photos-carousel .slick-prev:before,
.pta-photos-carousel .slick-next:before,
.pta-videos-carousel .slick-prev:before,
.pta-videos-carousel .slick-next:before {
    font-size: 30px;
}

/* Points de navigation */
.pta-photos-carousel .slick-dots,
.pta-videos-carousel .slick-dots {
    bottom: -45px;
}

.pta-photos-carousel .slick-dots li button:before,
.pta-videos-carousel .slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-color);
}

.pta-photos-carousel .slick-dots li.slick-active button:before,
.pta-videos-carousel .slick-dots li.slick-active button:before {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablettes grandes (3 colonnes) */
@media (max-width: 1200px) {
    .pta-photos-carousel .slick-prev,
    .pta-videos-carousel .slick-prev {
        left: 5px;
    }
    
    .pta-photos-carousel .slick-next,
    .pta-videos-carousel .slick-next {
        right: 5px;
    }
}

/* Tablettes (2 colonnes) */
@media (max-width: 900px) {
    .pta-photos-carousel,
    .pta-videos-carousel {
        padding: 0 30px;
    }
    
    .pta-photo-wrapper {
        height: 240px;
    }
    
    .pta-main-title {
        font-size: 2.2rem;
    }
}

/* Mobile (1 colonne) */
@media (max-width: 600px) {
    .pta-photos-carousel,
    .pta-videos-carousel {
        padding: 0 15px;
    }
    
    .pta-photos-carousel .slick-prev,
    .pta-photos-carousel .slick-next,
    .pta-videos-carousel .slick-prev,
    .pta-videos-carousel .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .pta-photos-carousel .slick-prev:before,
    .pta-photos-carousel .slick-next:before,
    .pta-videos-carousel .slick-prev:before,
    .pta-videos-carousel .slick-next:before {
        font-size: 24px;
    }
    
    .pta-photo-wrapper {
        height: 280px;
    }
    
    .pta-main-title {
        font-size: 1.8rem;
    }
    
    .pta-subtitle {
        font-size: 1rem;
    }
    
    .pta-section-title {
        font-size: 1.6rem;
    }
    
    .pta-close,
    .pta-modal-close {
        font-size: 35px;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .pta-play-button {
        width: 60px;
        height: 60px;
    }
    
    .pta-play-button svg {
        width: 24px;
        height: 24px;
    }
    
    .pta-modal-content {
        width: 95%;
    }
    
    .pta-zoom-btn-professional {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .provence-activities-section {
        padding: 40px 15px;
    }
    
    .pta-photo-wrapper {
        height: 250px;
    }
    
    .pta-photo-details,
    .pta-video-details {
        padding: 15px;
    }
}

/* ============================================
   ANIMATIONS D'ENTRÉE
   ============================================ */

.pta-photo-card,
.pta-video-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délai cascade */
.pta-photo-card:nth-child(1),
.pta-video-card:nth-child(1) { animation-delay: 0.1s; }
.pta-photo-card:nth-child(2),
.pta-video-card:nth-child(2) { animation-delay: 0.15s; }
.pta-photo-card:nth-child(3),
.pta-video-card:nth-child(3) { animation-delay: 0.2s; }
.pta-photo-card:nth-child(4),
.pta-video-card:nth-child(4) { animation-delay: 0.25s; }
.pta-photo-card:nth-child(5),
.pta-video-card:nth-child(5) { animation-delay: 0.3s; }
.pta-photo-card:nth-child(6),
.pta-video-card:nth-child(6) { animation-delay: 0.35s; }
.pta-photo-card:nth-child(7),
.pta-video-card:nth-child(7) { animation-delay: 0.4s; }
.pta-photo-card:nth-child(8),
.pta-video-card:nth-child(8) { animation-delay: 0.45s; }