/* ========================================
   SINGLE TALENT - IMPROVED LAYOUT
   Clean, modern design with proper mobile support
   ======================================== */

/* Page Container */
.single-talent .talent-page-container {
    min-height: 100vh;
    padding: 40px 0;
}

.single-talent .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section - Image + Form */
.talent-hero-section {
    margin-bottom: 60px;
}

.talent-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Image Container */
.talent-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.talent-main-image {
    width: 100%;
    line-height: 0;
}

.talent-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.talent-placeholder-image {
    width: 100%;
    height: 400px;
    background: rgba(30, 30, 35, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 2px dashed rgba(236, 27, 97, 0.3);
}

.placeholder-text {
    color: #666;
    font-size: 1.1rem;
}

/* Request Form Container */
.talent-form-container {
    position: sticky;
    top: 120px;
}

.talent-request-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.95), rgba(40, 20, 30, 0.95));
    border: 1px solid rgba(236, 27, 97, 0.2);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.form-title {
    color: #EC1B61;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-align: center;
}

.form-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    text-align: center;
    opacity: 0.9;
}

/* Form Styling */
.talent-request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.talent-request-form input,
.talent-request-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.talent-request-form input:focus,
.talent-request-form textarea:focus {
    outline: none;
    border-color: #EC1B61;
    box-shadow: 0 0 0 3px rgba(236, 27, 97, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.talent-request-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.submit-button {
    background: linear-gradient(135deg, #EC1B61, #d0155a);
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #d0155a, #b8124f);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 27, 97, 0.3);
}

.button-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-arrow {
    transform: translateX(4px);
}

/* Info Section - Stats + Bio */
.talent-info-section {
    margin-bottom: 60px;
}

.talent-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Card Styling */
.talent-stats-card,
.talent-bio-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.9), rgba(40, 20, 30, 0.9));
    border: 1px solid rgba(236, 27, 97, 0.2);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-title {
    color: #EC1B61;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    border-bottom: 2px solid rgba(236, 27, 97, 0.2);
    padding-bottom: 10px;
}

/* Stats List */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #cccccc;
    font-weight: 500;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
}

/* Bio Content */
.bio-content {
    color: #dddddd;
    line-height: 1.7;
    margin-bottom: 25px;
}

.bio-content p {
    margin-bottom: 15px;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Specialties */
.talent-specialties {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.specialties-title {
    color: #EC1B61;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tags a {
    background: rgba(236, 27, 97, 0.2);
    color: #EC1B61 !important;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 27, 97, 0.3);
}

.specialty-tags a:hover {
    background: #EC1B61;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #EC1B61, #d0155a);
    border-radius: 2px;
}

/* Gallery Section */
.talent-gallery-section {
    margin-bottom: 60px;
}

/* SPMGMT Plugin Gallery - 4 columns */
.spmgmt-talent-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.spmgmt-gallery-item {
    flex: 0 0 calc(25% - 15px) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    aspect-ratio: 3/4 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease !important;
    background: rgba(30, 30, 35, 0.9) !important;
    display: block !important;
    height: auto !important;
}

.spmgmt-gallery-item:hover {
    transform: scale(1.05) !important;
}

.spmgmt-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
}

.spmgmt-gallery-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.spmgmt-gallery-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    border-radius: 16px !important;
}

.spmgmt-gallery-item:hover .spmgmt-gallery-overlay {
    opacity: 1 !important;
}

.spmgmt-gallery-overlay .dashicons {
    color: #ffffff !important;
    font-size: 24px !important;
}

/* Videos Section */
.talent-videos-section {
    margin-bottom: 60px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background: rgba(30, 30, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 27, 97, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 2rem;
    opacity: 0.5;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(236, 27, 97, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.video-info {
    padding: 20px;
}

.video-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.video-price {
    color: #EC1B61;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Other Models Section */
.other-models-section {
    margin-bottom: 40px;
}

/* Black footer for talent directory section */
.other-models-section + * {
    background: #000000 !important;
}

/* Alternative selector if the above doesn't work */
.single-talent-main footer,
.single-talent footer {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Footer styling - target actual footer structure */
.single-talent-main .footer-row,
.single-talent .footer-row {
    display: flex !important;
    justify-content: center !important;
    gap: 60px !important;
    flex-wrap: wrap !important;
}

.single-talent-main .footer-col,
.single-talent .footer-col {
    text-align: center !important;
    min-width: 120px !important;
}

.single-talent-main .footer-links,
.single-talent .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
}

.single-talent-main .footer-links li,
.single-talent .footer-links li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Copyright centered */
.single-talent-main .footer-bottom,
.single-talent .footer-bottom {
    text-align: center !important;
    margin-top: 30px !important;
}

.single-talent-main .footer-bottom p,
.single-talent .footer-bottom p {
    text-align: center !important;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.model-card {
    background: rgba(30, 30, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 27, 97, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.model-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.model-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.model-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.view-profile {
    background: #EC1B61;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.model-info {
    padding: 12px;
    text-align: center;
}

.model-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.model-category {
    color: #EC1B61;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .talent-hero-grid {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .talent-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .talent-form-container {
        position: static;
        top: auto;
    }
    
    .talent-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .spmgmt-talent-gallery {
        gap: 15px !important;
    }
    
    .spmgmt-gallery-item {
        flex: 0 0 calc(25% - 12px) !important;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile-specific order: Image → Form → Stats → Bio (vertical stack) */
@media (max-width: 768px) {
    .single-talent .container {
        padding: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .talent-page-container {
        padding: 0;
    }
    
    /* Mobile stacking order preserved */
    .talent-hero-section {
        margin-bottom: 0;
    }
    
    .talent-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* 1. Image - Full width, edge to edge */
    .talent-image-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        box-shadow: none;
        order: 1;
    }
    
    .talent-main-image img {
        width: 100%;
        border-radius: 0;
        display: block;
    }
    
    /* 2. Form - Full width on mobile */
    .talent-form-container {
        padding: 0;
        order: 2;
        width: 100%;
    }
    
    .talent-request-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Force info section to stack properly after form */
    .talent-info-section {
        margin-top: 0;
        margin-bottom: 30px;
    }
    
    .talent-info-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    /* 3. Stats card */
    .talent-stats-card {
        order: 3;
        padding: 20px;
        margin: 0;
    }
    
    /* 4. Bio card */
    .talent-bio-card {
        order: 4;
        padding: 20px;
        margin: 0;
    }
    
    /* Other sections with padding */
    .talent-gallery-section,
    .talent-videos-section,
    .other-models-section {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .spmgmt-talent-gallery {
        gap: 12px !important;
    }
    
    .spmgmt-gallery-item {
        flex: 0 0 calc(33.333% - 8px) !important;
    }
    
    /* Mobile: 100% stacked talent cards with 16:9 images */
    .models-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .model-card {
        width: 100% !important;
        display: block !important;
    }
    
    .model-link {
        display: block !important;
        width: 100% !important;
    }
    
    .model-image {
        width: 100% !important;
        aspect-ratio: 16/9 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .model-info {
        padding: 15px 0 0 0 !important;
        text-align: center !important;
    }
    
    .model-name {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }
    
    .model-category {
        font-size: 0.9rem !important;
    }
    
    /* Mobile footer - stack everything */
    .single-talent-main .footer-row,
    .single-talent .footer-row {
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    .single-talent-main .footer-col,
    .single-talent .footer-col {
        min-width: auto !important;
    }
}

@media (max-width: 480px) {
    .talent-request-card {
        padding: 20px;
    }
    
    .talent-stats-card,
    .talent-bio-card {
        padding: 20px;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .specialty-tags {
        gap: 6px;
    }
    
    .specialty-tags a {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}
/* Talent form messages */
.talent-request-card .form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.talent-request-card .success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.talent-request-card .error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
