/* portfolio.css - Style pour la page Portfolio */

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
}

.portfolio-hero {
    background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 100%);
    padding-bottom: 3rem;
}

.portfolio-hero h1 {
    font-weight: 700;
    color: #2563eb;
    font-size: 3rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px #4f8cff20;
    margin-bottom: 1.5rem;
}

.portfolio-hero .lead {
    font-size: 1.35rem;
    color: #374151;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.portfolio-section {
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
}

.portfolio-section.bg-light {
    background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 100%) !important;
}

.section-title {
    font-weight: 700;
    color: #2563eb;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #4f8cff20;
    margin-bottom: 2rem;
    text-align: center;
}

.portfolio-card {
    border-radius: 1.5rem;
    border: none;
    transition: all 0.3s ease;
    background: linear-gradient(120deg, #fff 60%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.portfolio-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transition: transform 0.3s ease;
}

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

.portfolio-card .card-body {
    padding: 1.5rem;
}

.portfolio-card .card-title {
    font-weight: 600;
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.portfolio-card .card-text {
    color: #374151;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-card .btn {
    border-radius: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2563eb 0%, #4f8cff 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.portfolio-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

/* Responsive design */
@media (max-width: 991px) {
    .portfolio-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .portfolio-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-img {
        height: 160px;
    }
    
    .portfolio-card .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 575px) {
    .portfolio-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .portfolio-img {
        height: 140px;
    }
}
