/* Influencer Hero */
.influencer-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/influencer-hero-bg.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.influencer-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.influencer-hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Influencer Categories */
.influencer-categories {
    padding: 60px 0 30px;
    background-color: var(--dark-gray);
}

.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.category-btn {
    background: var(--light-gray);
    color: var(--text-muted);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary);
    color: var(--black);
}



/* CTA Section */
.influencer-cta {
    background: var(--dark-gray);
    padding: 80px 0;
    text-align: center;
}

.influencer-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.influencer-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .modal-content {
        flex-direction: column;
    }
    
    .campaign-images {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .influencer-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .influencer-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .campaign-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .influencer-hero {
        height: 50vh;
    }
    
    .influencer-hero-content h1 {
        font-size: 2rem;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .campaign-stats {
        grid-template-columns: 1fr;
    }
    
    .influencer-cta h2 {
        font-size: 2rem;
    }
}

/* Influencer Portfolio Styles */
.influencer-portfolio {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.social-stats {
    display: flex;
    gap: 15px;
}

.social-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 14px;
}

.social-stats i {
    color: var(--secondary);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 22px;
}

.influencer-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.influencer-category[data-category="mega"] {
    background-color: rgba(239, 46, 0, 0.2);
    color: var(--accent);
}

.influencer-category[data-category="macro"] {
    background-color: rgba(253, 184, 0, 0.2);
    color: var(--secondary);
}

.influencer-category[data-category="micro"] {
    background-color: rgba(255, 140, 0, 0.2);
    color: var(--primary);
}

.influencer-category[data-category="nano"] {
    background-color: rgba(204, 204, 204, 0.2);
    color: var(--gray);
}

.influencer-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.engagement-rate {
    margin-bottom: 20px;
}

.engagement-rate span {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.rate-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.rate-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: calc(var(--rate) * 10%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.campaign-results {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 13px;
}

.result-item i {
    color: var(--secondary);
}

.result-item span {
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image {
        height: 200px;
    }
}