/* ===== STYLES POUR LA PAGE PROJETS ===== */

/* Bannière Hero Projets */
.projects-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/projects-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.projects-hero .hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.projects-hero .hero-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat .label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
}

/* Filtres projets */
.projects-filters {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--orange);
    background: transparent;
    color: var(--orange);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--orange);
    color: white;
}

/* Galerie de projets */
.projects-gallery {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, var(--orange));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 5px;
}

.project-info p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.project-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    background-color: var(--orange);
    padding: 3px 10px;
    border-radius: 12px;
}

.project-details {
    padding: 20px;
}

.project-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.project-location {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.project-location i {
    margin-right: 5px;
    color: var(--orange);
}

.project-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    background-color: #f0f4f8;
    color: var(--orange);
    padding: 4px 10px;
    border-radius: 12px;
}

.project-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.project-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: var(--orange);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Bouton charger plus */
.load-more {
    text-align: center;
}

.btn-load-more {
    padding: 12px 30px;
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-load-more:hover {
    background-color: var(--orange);
}

/* Section témoignages projets */
.projects-testimonials {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--orange);
    position: absolute;
    top: -15px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--orange);
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.author-info span {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: #666;
}

/* Section CTA Projets */
.projects-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.projects-cta .cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.projects-cta .cta-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .projects-stats {
        gap: 30px;
    }
    
    .stat .number {
        font-size: 2rem;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        padding: 80px 0 50px;
    }
    
    .projects-gallery, .projects-testimonials, .projects-cta {
        padding: 50px 0;
    }
    
    .projects-stats {
        flex-direction: column;
        gap: 20px;
    }
}