/* --- public/css/masseur.css --- */

/* =========================================
   1. PAGE LAYOUT & ARCHITECTURE
   ========================================= */
.masseur-profile-page {
    padding-top: 60px;
    padding-bottom: 80px;
}

.masseur-profile-layout {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr; /* 45% Photo, 55% Info */
    gap: 60px;
    align-items: start;
}

/* =========================================
   2. PHOTO COLUMN (Left - Sticky)
   ========================================= */
.masseur-photo-column {
    position: sticky;
    top: 100px; /* Pins the photo while scrolling through reviews */
}

.masseur-primary-photo {
    width: 100%;
    aspect-ratio: 3 / 4; 
    background-size: cover;
    background-position: center top; 
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.masseur-photo-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 24px; /* Added breathing room before typography */
}

.masseur-photo-thumbnails .thumbnail {
    width: 100%;
    aspect-ratio: 1; 
    border-radius: 12px;
    background-size: cover;
    background-position: center top;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.masseur-photo-thumbnails .thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.masseur-monogram {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-primary, #0A2540) 0%, var(--brand-accent, #1B9A93) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.masseur-monogram span {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15); 
}

/* =========================================
   3. INFO COLUMN (Right)
   ========================================= */
.masseur-identity {
    margin-bottom: 32px;
}

.identity-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.masseur-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-main, #1F2937);
    letter-spacing: -1px;
    margin: 0;
}

.masseur-global-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(225, 232, 237, 0.8);
}

.masseur-global-rating i {
    color: #FFD700;
    font-size: 0.95rem;
}

.masseur-global-rating .score {
    font-weight: 800;
    color: #1F2937;
    font-size: 1rem;
}

.masseur-global-rating .count {
    font-weight: 500;
    color: var(--text-muted, #6B7280);
    font-size: 0.9rem;
}

.masseur-headline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-accent, #1B9A93);
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   4. VITALS (Pill Design)
   ========================================= */
.vitals-section {
    margin-bottom: 48px;
}

.vitals-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vital-pill {
    background: #FFFFFF;
    border: 1px solid rgba(225, 232, 237, 0.8);
    border-radius: 50px; 
    padding: 10px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vital-pill i {
    font-size: 1rem;
    color: var(--brand-accent, #1B9A93);
    transform: translateY(2px);
}

.vital-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main, #1F2937);
}

.vital-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted, #6B7280);
}

.role-pill {
    background: rgba(27, 154, 147, 0.05);
    border-color: rgba(27, 154, 147, 0.2);
}

/* =========================================
   5. REVIEWS SECTION
   ========================================= */
.masseur-reviews-section {
    border-top: 1px solid var(--border-light, #E1E8ED);
    padding-top: 32px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-reviews-state {
    background: #F8FAFC;
    border: 1px dashed rgba(225, 232, 237, 0.8);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted, #6B7280);
}

.empty-reviews-state i {
    font-size: 2.5rem;
    color: #CBD5E1;
    margin-bottom: 12px;
}

.empty-reviews-state p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.technique-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(225, 232, 237, 0.8);
}

.tech-tag {
    background: rgba(27, 154, 147, 0.08); 
    color: var(--brand-accent, #1B9A93);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* =========================================
   6. RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .masseur-profile-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .masseur-photo-column {
        position: static;
        max-width: 500px; 
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .masseur-profile-page {
        padding-top: 24px;
    }

    /* Solves the Title vs Rating Collision */
    .identity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .masseur-name {
        font-size: 2.2rem;
    }

    .masseur-headline {
        font-size: 1.1rem;
    }

    .masseur-reviews-section {
        border-top: none; 
        padding-top: 20px;
    }

    /* Softens the Review Card for a floaty app-like feel */
    .review-item {
        border: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }
}