/**
 * Single Media Post (Influencer Profile) Styles
 * Teeno Theme — MashhorHub
 * Extracted from single-media_post.php for cache-ability and clean architecture.
 */

/* ===== Profile Header ===== */
.profile-header {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.profile-header-inner {
    position: relative;
}

.profile-cover-image {
    height: 300px;
    overflow: hidden;
}

.profile-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary, #007bff), #00c6ff);
}

.profile-info {
    position: relative;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ===== Avatar ===== */
.profile-avatar {
    margin-top: -80px;
    border: 5px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-details {
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.profile-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-meta i {
    color: var(--color-primary, #007bff);
}

/* ===== Profile Stats ===== */
.profile-stats-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.followers-card:hover {
    background-color: #4267B2;
    color: #fff;
}

.engagement-card:hover {
    background-color: #1DA1F2;
    color: #fff;
}

.posts-card:hover {
    background-color: #E1306C;
    color: #fff;
}

.comments-card:hover {
    background-color: #FF0000;
    color: #fff;
}

.stat-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    color: var(--color-primary, #007bff);
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.followers-card:hover .stat-icon,
.engagement-card:hover .stat-icon,
.posts-card:hover .stat-icon,
.comments-card:hover .stat-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-primary, #007bff);
}

/* ===== Content Sections ===== */
.profile-media-section,
.profile-bio-section,
.profile-contact-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-featured-video,
.profile-featured-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-featured-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* ===== Contact Form ===== */
.contact-intro {
    margin-bottom: 20px;
    color: #555;
}

.profile-contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

.profile-contact-form .btn-primary {
    background-color: var(--color-primary, #007bff);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.profile-contact-form .btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* ===== Sidebar ===== */
.profile-sidebar .widget {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary, #007bff);
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-link.facebook:hover {
    background-color: #3b5998;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
}

.social-link.instagram:hover {
    background-color: #e1306c;
}

.social-link.youtube:hover {
    background-color: #ff0000;
}

.social-link.tiktok:hover {
    background-color: #000000;
}

/* ===== Tags / Specialties ===== */
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f8f9fa;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: default;
    color: #555;
}

.profile-tag:hover {
    background-color: var(--color-primary, #007bff);
    color: #fff;
}

/* ===== Related Profiles ===== */
.related-profile-item {
    margin-bottom: 20px;
}

.related-profile-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-profile-link:hover {
    transform: translateX(5px);
}

.related-profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.related-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary, #007bff), #00c6ff);
}

.related-profile-info {
    flex: 1;
}

.related-profile-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.related-profile-category {
    font-size: 13px;
    color: var(--color-primary, #007bff);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .profile-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .profile-avatar {
        margin-top: -60px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .profile-stats-cards {
        grid-template-columns: 1fr;
    }
}