/* Hero Section */
.project-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(9, 179, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.project-hero .container {
    position: relative;
    z-index: 2;
}

.project-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.project-hero h1 span {
    color: #09b322;
    position: relative;
}

.project-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #09b322;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-hero:hover h1 span::after {
    transform: scaleX(1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #09b322;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #09b322;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(9, 179, 34, 0.3);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* Filtres Section */
.project-filters {
    padding: 2rem 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #09b322;
    color: white;
    transform: translateY(-2px);
}

/* Projets Grid Section */
.projects-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 179, 34, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-view-project {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    color: #09b322;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-view-project:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

.project-details {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(9, 179, 34, 0.1);
    color: #09b322;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-details p {
    color: #666;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #09b322 0%, #07a01d 100%);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section .btn-primary {
    background: white;
    color: #09b322;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .project-hero {
        padding: 80px 0;
    }

    .project-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .filters-wrapper {
        flex-wrap: wrap;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item .counter {
        font-size: 2rem;
    }

    .experience-badge {
        padding: 0.5rem 1rem;
    }

    .experience-badge span {
        font-size: 1.5rem;
    }

    .project-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .project-hero {
        padding: 60px 0;
    }

    .project-hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .project-details {
        padding: 1rem;
    }

    .project-details h3 {
        font-size: 1.1rem;
    }
}

/* Statistiques Détaillées Section */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(9, 179, 34, 0.1);
    color: #09b322;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: #09b322;
    color: white;
    transform: rotateY(180deg);
}

.stat-content h3 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.stat-content p {
    color: #666;
    margin: 0;
}

/* Search Box */
.search-box {
    position: relative;
    margin-left: 1rem;
}

.search-box input {
    padding: 0.8rem 1.5rem;
    padding-right: 3rem;
    border: 2px solid #eee;
    border-radius: 50px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #09b322;
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 179, 34, 0.1);
}

.search-box i {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Project Meta */
.project-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta i {
    font-size: 0.9rem;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(9, 179, 34, 0.1);
    color: #09b322;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: #09b322;
    color: white;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    background: #09b322;
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    color: white;
    opacity: 1;
}

.project-gallery {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail-images img {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    opacity: 1;
    transform: translateY(-5px);
}

.project-description {
    padding: 1rem;
}

.project-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.spec-item i {
    color: #09b322;
    font-size: 1.2rem;
}

/* Responsive Design Updates */
@media (max-width: 991px) {
    .stat-card {
        margin-bottom: 1rem;
    }

    .search-box {
        margin: 1rem 0;
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .main-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail-images img {
        width: 80px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.2rem;
    }

    .main-image {
        height: 200px;
    }

    .thumbnail-images {
        flex-wrap: wrap;
    }

    .thumbnail-images img {
        width: calc(33.333% - 0.7rem);
        height: 50px;
    }
} 