/* ===== STYLES POUR LES PAGES D'ACTIVITÉS ===== */

/* Variables (à placer dans variables.css ou à intégrer ici) */
:root {
    --primary-color: #3498db;
    --text-color: #333333;
    --text-secondary: #666666;
    --bg-light: #f9f9f9;
    --border-light: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 50px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --header-height: 70px;
}

/* Section Hero */
.activity-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-lg);
}

.activity-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.activity-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-lg) 0;
}

.activity-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: 'Playfair Display', serif;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.activity-meta span {
    display: flex;
    align-items: center;
}

.activity-meta i {
    margin-right: var(--spacing-xs);
}

.activity-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-cta {
    margin-top: var(--spacing-lg);
}

.add-to-bucket-list {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.add-to-bucket-list:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-activity {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: 2px solid white;
}

/* Menu d'ancrage */
.activity-anchor-menu {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: var(--header-height);
    z-index: 90;
}

.anchor-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
}

.anchor-nav .nav-item {
    margin: 0;
}

.anchor-nav .nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.anchor-nav .nav-link:hover,
.anchor-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

/* Section de description */
.activity-description-section {
    padding: 3rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.activity-description-content {
    margin-top: var(--spacing-lg);
}

.activity-description-content p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.activity-description-content h3 {
    margin-top: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.bucket-list-reasons {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.bucket-list-reasons li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
}

.bucket-list-reasons li i {
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    margin-top: 0.3rem;
}

.fun-fact-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-sm);
}

.fun-fact-box h4 {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

.fun-fact-box h4 i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

/* Sidebar */
.activity-sidebar {
    position: sticky;
    top: 150px;
}

.quick-info-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.quick-info-card h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-size: 1.2rem;
}

.quick-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-info-list li {
    display: flex;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

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

.quick-info-list li i {
    font-size: 1.2rem;
    margin-right: var(--spacing-md);
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.quick-info-list li div {
    flex: 1;
}

.quick-info-list li strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
}

.quick-info-list li span {
    font-weight: 600;
}

.booking-cta-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.booking-cta-card h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-size: 1.2rem;
}

.booking-cta-card p {
    margin-bottom: var(--spacing-lg);
}

/* Galerie photo */
.activity-gallery-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.activity-gallery-section .section-title {
    text-align: center;
}

.activity-gallery-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.activity-gallery {
    margin-top: var(--spacing-lg);
}

.gallery-item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-md);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Informations pratiques */
.activity-info-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.activity-info-section .section-title {
    text-align: center;
}

.activity-info-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.info-card {
    background-color: white;
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    margin-bottom: var(--spacing-lg);
}

.info-card h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

.info-card h3 i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.destinations-list {
    margin-top: var(--spacing-md);
}

.destination-item {
    display: flex;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.destination-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.destination-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}

.destination-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.destination-info p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Graphique des saisons */
.season-chart {
    margin-top: var(--spacing-md);
}

.month {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
}

.month span {
    width: 80px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.rating-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--rating);
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Liste d'équipement */
.packing-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.packing-list li {
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.packing-list li i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    font-size: 0.8rem;
}

/* Activités similaires */
.similar-activities-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.similar-activities-section .section-title {
    text-align: center;
}

.similar-activities-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.similar-activities-section .activity-card {
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
}

.similar-activities-section .activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 991.98px) {
    .activity-hero {
        height: 50vh;
    }
    
    .activity-hero h1 {
        font-size: 2.5rem;
    }
    
    .info-card {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 767.98px) {
    .activity-hero {
        height: 40vh;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .anchor-nav {
        justify-content: flex-start;
    }
    
    .destination-item img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .activity-hero h1 {
        font-size: 2rem;
    }
    
    .activity-cta {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .share-activity {
        margin-left: 0 !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}