/**
 * Styles pour les pages d'activités - hotelsdakhla.com
 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/hotelsdakhla/assets/images/patterns/activity-pattern.png') repeat;
    opacity: 0.1;
}

.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Cards des activités */
.activity-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.activity-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .card-img-top {
    transform: scale(1.05);
}

.activity-card .card-title a {
    color: #2c3e50;
    font-weight: 600;
}

.activity-card .card-title a:hover {
    color: #27ae60;
}

/* Badges de difficulté */
.badge.bg-success { background-color: #27ae60 !important; }
.badge.bg-warning { background-color: #f39c12 !important; color: #fff !important; }
.badge.bg-danger { background-color: #e74c3c !important; }
.badge.bg-dark { background-color: #2c3e50 !important; }

/* Services inclus */
.services .badge {
    font-size: 0.7rem;
    padding: 0.4em 0.6em;
    margin-bottom: 0.25rem;
}

.services .badge i {
    margin-right: 0.25rem;
}

/* Prix */
.price {
    font-size: 1.1rem;
}

.price .fs-5 {
    font-weight: 700;
    color: #27ae60 !important;
}

/* Filtres */
.filters-section {
    border-bottom: 1px solid #dee2e6;
}

.filters-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.filters-section .form-select,
.filters-section .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 0.9rem;
}

.filters-section .form-check-label {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Section résultats */
.results-section h2 {
    color: #2c3e50;
    font-weight: 600;
}

/* Badges de catégorie */
.badge.bg-primary {
    background-color: #27ae60 !important;
}

.badge.bg-info {
    background-color: #3498db !important;
}

.badge.bg-secondary {
    background-color: #95a5a6 !important;
}

/* Durée badge */
.badge.bg-dark {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px);
}

/* Pagination */
.pagination .page-link {
    color: #27ae60;
    border-color: #27ae60;
    border-radius: 8px;
    margin: 0 2px;
}

.pagination .page-link:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: #27ae60;
    border-color: #27ae60;
}

/* Section statistiques */
.stats-section .card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stats-section .card:hover {
    transform: translateY(-3px);
}

.stats-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #27ae60;
}

.stats-section h6 {
    color: #2c3e50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section pourquoi Dakhla */
.why-dakhla-section {
    background: #f8f9fa;
}

.advantage-icon i {
    transition: transform 0.3s ease;
    color: #27ae60 !important;
}

.why-dakhla-section .col-md-3:hover .advantage-icon i {
    transform: scale(1.1);
}

.why-dakhla-section h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Spécialisations par catégorie */
.activity-category-water_sports { border-left: 4px solid #3498db; }
.activity-category-desert_tours { border-left: 4px solid #f39c12; }
.activity-category-fishing { border-left: 4px solid #e74c3c; }
.activity-category-birdwatching { border-left: 4px solid #27ae60; }
.activity-category-cultural { border-left: 4px solid #9b59b6; }
.activity-category-adventure { border-left: 4px solid #e67e22; }
.activity-category-relaxation { border-left: 4px solid #1abc9c; }

/* Icônes spécifiques */
.fa-water { color: #3498db !important; }
.fa-mountain { color: #8e44ad !important; }
.fa-fish { color: #e74c3c !important; }
.fa-binoculars { color: #27ae60 !important; }
.fa-tools { color: #f39c12 !important; }
.fa-bus { color: #3498db !important; }
.fa-user-tie { color: #2c3e50 !important; }
.fa-utensils { color: #e67e22 !important; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        text-align: center !important;
    }
    
    .filters-section .row > div {
        margin-bottom: 1rem;
    }
    
    .results-section .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .results-section .text-end {
        text-align: start !important;
    }
    
    .activity-card .card-img-top {
        height: 180px;
    }
    
    .services .badge {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .activity-card .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .activity-card .btn {
        font-size: 0.875rem;
    }
    
    .why-dakhla-section .col-md-3 {
        margin-bottom: 2rem;
    }
    
    .stats-section .col-md-3 {
        margin-bottom: 1rem;
    }
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-card {
    animation: fadeInUp 0.6s ease forwards;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }
.activity-card:nth-child(4) { animation-delay: 0.4s; }
.activity-card:nth-child(5) { animation-delay: 0.5s; }
.activity-card:nth-child(6) { animation-delay: 0.6s; }

/* États vides */
.text-center.py-5 i {
    color: #6c757d;
}

.text-center.py-5 h3 {
    color: #495057;
    margin-bottom: 1rem;
}

/* Footer des cartes */
.card-footer {
    padding: 1rem;
}

.card-footer .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-footer .btn-primary:hover {
    background-color: #229954;
    border-color: #229954;
    transform: translateY(-1px);
}

.card-footer .btn-outline-primary:hover {
    background-color: #27ae60;
    border-color: #27ae60;
    color: white;
}

/* Hover effects pour les badges */
.services .badge,
.difficulty .badge {
    transition: transform 0.2s ease;
}

.services .badge:hover,
.difficulty .badge:hover {
    transform: scale(1.05);
}

/* Badges positionnés */
.position-absolute .badge {
    backdrop-filter: blur(5px);
    font-weight: 500;
}

/* Amélioration des couleurs pour les services */
.services .badge.bg-success { background-color: #27ae60 !important; }
.services .badge.bg-info { background-color: #3498db !important; }
.services .badge.bg-primary { background-color: #2c3e50 !important; }
.services .badge.bg-warning { background-color: #f39c12 !important; color: #fff !important; }
