/**
 * Public Styles
 *
 * @package VIP_Profile_Manager
 */

:root {
    --vpm-primary-color: #6366f1;
    --vpm-secondary-color: #8b5cf6;
    --vpm-text-color: #1f2937;
    --vpm-text-light: #6b7280;
    --vpm-border-color: #e5e7eb;
    --vpm-bg-light: #f9fafb;
    --vpm-white: #ffffff;
    --vpm-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --vpm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --vpm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.vpm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Profile Grid */
.vpm-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Profile Card */
.vpm-profile-card {
    background: var(--vpm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--vpm-shadow);
    transition: var(--vpm-transition);
    position: relative;
}

.vpm-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vpm-shadow-lg);
}

.vpm-profile-card.vpm-featured {
    border: 2px solid var(--vpm-primary-color);
}

.vpm-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--vpm-primary-color), var(--vpm-secondary-color));
    color: var(--vpm-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vpm-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vpm-card-image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: var(--vpm-bg-light);
}

.vpm-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--vpm-transition);
}

.vpm-profile-card:hover .vpm-card-image img {
    transform: scale(1.05);
}

.vpm-card-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vpm-text-color);
}

.vpm-card-content {
    padding: 20px;
}

.vpm-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--vpm-text-color);
}

.vpm-card-profession {
    font-size: 14px;
    color: var(--vpm-primary-color);
    font-weight: 600;
    margin: 0 0 8px 0;
}

.vpm-card-location {
    font-size: 13px;
    color: var(--vpm-text-light);
    margin: 0 0 12px 0;
}

.vpm-card-excerpt {
    font-size: 14px;
    color: var(--vpm-text-light);
    line-height: 1.6;
    margin: 0;
}

.vpm-card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--vpm-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vpm-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--vpm-primary-color);
}

.vpm-card-button {
    font-size: 14px;
    font-weight: 600;
    color: var(--vpm-primary-color);
    transition: var(--vpm-transition);
}

.vpm-profile-card:hover .vpm-card-button {
    transform: translateX(5px);
}

/* Single Profile */
.vpm-single-profile {
    margin: 0;
}

.vpm-profile-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: var(--vpm-white);
    margin-bottom: 60px;
}

.vpm-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vpm-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
}

.vpm-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.vpm-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 60px 0;
}

.vpm-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.vpm-profile-image {
    flex-shrink: 0;
}

.vpm-profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--vpm-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vpm-profile-name {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.vpm-artist-name {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.vpm-profession {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.vpm-location {
    font-size: 16px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.vpm-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vpm-social-link {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--vpm-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--vpm-transition);
}

.vpm-social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Profile Content */
.vpm-profile-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

.vpm-section {
    background: var(--vpm-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--vpm-shadow);
    margin-bottom: 30px;
}

.vpm-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--vpm-text-color);
}

.vpm-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--vpm-text-color);
}

/* Gallery */
.vpm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.vpm-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--vpm-transition);
}

.vpm-gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: var(--vpm-shadow-lg);
}

/* Awards */
.vpm-awards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vpm-award-item {
    padding: 12px 16px;
    background: var(--vpm-bg-light);
    border-radius: 8px;
    font-size: 15px;
}

/* Sidebar */
.vpm-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.vpm-widget {
    background: var(--vpm-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--vpm-shadow);
    margin-bottom: 20px;
}

.vpm-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--vpm-text-color);
}

.vpm-fact {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--vpm-border-color);
}

.vpm-fact:last-child {
    border-bottom: none;
}

.vpm-fact strong {
    color: var(--vpm-text-color);
}

.vpm-fact span {
    color: var(--vpm-text-light);
}

/* Skills */
.vpm-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vpm-skill-tag {
    background: linear-gradient(135deg, var(--vpm-primary-color), var(--vpm-secondary-color));
    color: var(--vpm-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Pricing */
.vpm-price-on-request {
    font-size: 18px;
    font-weight: 700;
    color: var(--vpm-primary-color);
    text-align: center;
}

.vpm-base-price {
    text-align: center;
    font-size: 14px;
    color: var(--vpm-text-light);
}

.vpm-price-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--vpm-primary-color);
    margin-top: 8px;
}

/* Booking Form */
.vpm-booking-form-wrapper {
    background: var(--vpm-bg-light);
    padding: 40px;
    border-radius: 12px;
}

.vpm-booking-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.vpm-booking-form-wrapper > p {
    color: var(--vpm-text-light);
    margin-bottom: 30px;
}

.vpm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.vpm-form-field {
    margin-bottom: 20px;
}

.vpm-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--vpm-text-color);
}

.vpm-form-field input,
.vpm-form-field select,
.vpm-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--vpm-border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--vpm-transition);
}

.vpm-form-field input:focus,
.vpm-form-field select:focus,
.vpm-form-field textarea:focus {
    outline: none;
    border-color: var(--vpm-primary-color);
}

.vpm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.vpm-submit-button {
    background: linear-gradient(135deg, var(--vpm-primary-color), var(--vpm-secondary-color));
    color: var(--vpm-white);
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--vpm-transition);
    width: 100%;
}

.vpm-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.vpm-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vpm-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.vpm-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.vpm-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.vpm-form-loading {
    text-align: center;
    padding: 20px;
}

.vpm-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--vpm-border-color);
    border-top-color: var(--vpm-primary-color);
    border-radius: 50%;
    animation: vpm-spin 1s linear infinite;
}

@keyframes vpm-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .vpm-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .vpm-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .vpm-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .vpm-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .vpm-profile-name {
        font-size: 32px;
    }
    
    .vpm-form-row {
        grid-template-columns: 1fr;
    }
    
    .vpm-social-links {
        justify-content: center;
    }
}
