/* Profile Page Styles - Standalone */

.page-profile {
    background: var(--gray-50);
}

.profile-main {
    min-height: 100vh;
}

/* Hero Section */
.profile-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0 60px;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    flex-shrink: 0;
    background: var(--white);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
}

.profile-info {
    flex: 1;
    color: var(--white);
    padding-top: 8px;
}

.profile-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-info .trade {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.profile-info .location {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.profile-info .location .material-icons {
    font-size: 18px;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.profile-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.profile-stats .stat .material-icons {
    font-size: 18px;
    color: var(--secondary);
}

.profile-stats .stat strong {
    font-size: 1.1rem;
}

.profile-stats .stat span {
    opacity: 0.85;
    font-size: 14px;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 12px;
}

.profile-actions .btn {
    color: var(--white);
}

.profile-actions .btn-outline {
    border-color: rgba(255,255,255,0.5);
}

.profile-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* Bio Section */
.profile-bio {
    padding: 48px 0;
    background: var(--white);
}

.profile-bio h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.bio-content {
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
}

/* Services Section */
.profile-services {
    padding: 48px 0;
}

.profile-services h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.service-category {
    margin-bottom: 32px;
}

.service-category h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.service-item:hover {
    box-shadow: var(--shadow);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.service-info p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 8px;
}

.service-info .duration {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-400);
    font-size: 13px;
}

.service-info .duration .material-icons {
    font-size: 16px;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.service-price .btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.no-services {
    text-align: center;
    padding: 48px;
    color: var(--gray-500);
    background: var(--white);
    border-radius: var(--radius);
}

/* Reviews Section */
.profile-reviews {
    padding: 48px 0;
    background: var(--white);
}

.profile-reviews h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
}

.review-item {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-600);
}

.reviewer-info {
    flex: 1;
}

.reviewer-info strong {
    display: block;
    color: var(--gray-900);
}

.review-date {
    font-size: 13px;
    color: var(--gray-400);
}

.review-rating {
    color: var(--secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-content {
    color: var(--gray-600);
    line-height: 1.7;
    padding-left: 56px;
}

.no-reviews {
    text-align: center;
    padding: 48px;
    color: var(--gray-500);
}

/* Book CTA */
.profile-book-cta {
    padding: 64px 0;
}

.profile-book-cta .cta-box {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

.profile-book-cta .cta-box h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.profile-book-cta .cta-box p {
    color: var(--gray-300);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-hero {
        padding: 60px 0 40px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        width: 140px;
        height: 140px;
    }
    
    .profile-info h1 {
        font-size: 1.8rem;
    }
    
    .profile-info .location {
        justify-content: center;
    }
    
    .profile-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-price {
        width: 100%;
        justify-content: space-between;
    }
    
    .review-content {
        padding-left: 0;
        margin-top: 12px;
    }
    
    .profile-book-cta .cta-box {
        padding: 32px 24px;
    }
}
