/* Fichier : assets/css/components/networking.css */
/* Description : Styles pour la page networking professionnel */

:root {
    --networking-primary: #667eea;
    --networking-secondary: #764ba2;
    --networking-accent: #f093fb;
    --networking-success: #4facfe;
    --networking-warning: #43e97b;
    --networking-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --networking-card-shadow: 0 10px 25px rgba(0,0,0,0.1);
    --networking-hover-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-networking {
    background: var(--networking-gradient);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-networking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="network" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><line x1="10" y1="10" x2="20" y2="10" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><line x1="10" y1="10" x2="10" y2="20" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23network)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Barre de recherche */
.search-bar {
    display: flex;
    max-width: 600px;
    margin: 2rem auto 0;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--networking-card-shadow);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
    color: #333;
}

.search-bar input::placeholder {
    color: #999;
}

.btn-search {
    background: var(--networking-gradient);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Filtres rapides */
.quick-filters {
    padding: 3rem 0;
    background: #f8fafc;
}

.quick-filters h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.filter-btn:hover {
    border-color: var(--networking-primary);
    color: var(--networking-primary);
    transform: translateY(-2px);
    box-shadow: var(--networking-card-shadow);
}

.filter-btn.active {
    background: var(--networking-gradient);
    border-color: var(--networking-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--networking-hover-shadow);
}

.filter-btn i {
    font-size: 1.2rem;
}

/* Profils en vedette */
.featured-profiles {
    padding: 4rem 0;
    background: white;
}

.featured-profiles h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.featured-profiles h2 i {
    color: #fbbf24;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--networking-card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--networking-hover-shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
}

.profile-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-badge {
    background: var(--networking-gradient);
    color: white;
}

.profile-badge.verified {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.profile-badge.expert {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.profile-stats i {
    color: var(--networking-primary);
    width: 16px;
}

.profile-plumes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-primary {
    background: var(--networking-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--networking-primary);
    border: 2px solid var(--networking-primary);
}

.btn-outline:hover {
    background: var(--networking-primary);
    color: white;
    transform: translateY(-2px);
}

/* Opportunités de collaboration */
.collaboration-opportunities {
    padding: 4rem 0;
    background: #f8fafc;
}

.collaboration-opportunities h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.collaboration-opportunities h2 i {
    color: var(--networking-success);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.opportunity-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--networking-card-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--networking-primary);
}

.opportunity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--networking-hover-shadow);
}

.opportunity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.opportunity-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    flex: 1;
}

.opportunity-budget {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.opportunity-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.opportunity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.opportunity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opportunity-date {
    color: #718096;
    font-size: 0.9rem;
}

/* Événements networking */
.networking-events {
    padding: 4rem 0;
    background: white;
}

.networking-events h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.networking-events h2 i {
    color: var(--networking-accent);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--networking-card-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid #e2e8f0;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--networking-hover-shadow);
}

.event-date {
    background: var(--networking-gradient);
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #4a5568;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info i {
    color: var(--networking-primary);
    width: 16px;
}

/* CTA Section */
.cta-networking {
    background: var(--networking-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 200px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--networking-primary);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--networking-primary);
}

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

.profile-card,
.opportunity-card,
.event-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.profile-card:nth-child(1) { animation-delay: 0.1s; }
.profile-card:nth-child(2) { animation-delay: 0.2s; }
.profile-card:nth-child(3) { animation-delay: 0.3s; }

.opportunity-card:nth-child(1) { animation-delay: 0.1s; }
.opportunity-card:nth-child(2) { animation-delay: 0.2s; }
.opportunity-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 1rem;
    }
    
    .search-bar input {
        border-radius: 1rem;
    }
    
    .btn-search {
        border-radius: 1rem;
        width: 100%;
        height: 50px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .profiles-grid,
    .opportunities-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .opportunity-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .opportunity-budget {
        align-self: flex-start;
    }
}
