/* ========================================
   PROFESSIONAL PROFILE — PREMIUM REDESIGN
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- Hero ---------- */
.profile-hero {
    background: linear-gradient(135deg, #0d0f2b 0%, #1a1f5e 40%, #0f1d3d 100%);
    padding: 70px 0 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(245,166,35,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(99,102,241,.10) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating orbs */
.profile-hero::after {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroOrb 8s ease-in-out infinite alternate;
}

@keyframes heroOrb {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(30px) scale(1.08); }
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 0 !important;
}
.breadcrumb-nav a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-sep { font-size: 10px; color: rgba(255,255,255,.3); }

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 36px;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-ring {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #f5a623, #f7c259, #f5a623);
    box-shadow: 0 0 0 4px rgba(245,166,35,.18), 0 12px 40px rgba(0,0,0,.4);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%,100% { box-shadow: 0 0 0 4px rgba(245,166,35,.18), 0 12px 40px rgba(0,0,0,.4); }
    50%      { box-shadow: 0 0 0 8px rgba(245,166,35,.28), 0 12px 40px rgba(0,0,0,.4); }
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    display: block;
}

.profile-badge {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #f5a623, #f7c259);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #1a1f5e;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

.profile-info { flex: 1; }

.profile-verified-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(22,163,74,.18);
    border: 1px solid rgba(22,163,74,.35);
    color: #4ade80;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .3px;
}

.profile-name {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f5a623, #f7c259);
    color: #1a1f5e;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: .2px;
}

.profile-meta-top {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: rgba(255,255,255,.75);
    flex-wrap: wrap;
}

.profile-meta-top span {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    padding: 7px 16px;
    border-radius: 100px;
    transition: background .2s;
}
.profile-meta-top span:hover { background: rgba(255,255,255,.12); }

.profile-meta-top i { color: #f5a623; font-size: 13px; }

/* Hero quick-stats pills */
.hero-stats-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stat-pill {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 16px 24px;
    min-width: 120px;
    text-align: center;
    transition: transform .25s, background .25s;
}
.hero-stat-pill:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-3px);
}
.hero-stat-pill .hsp-value {
    font-size: 26px;
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-pill .hsp-label {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ---------- Body ---------- */
.profile-body {
    background: #f4f6fb;
    padding: 60px 0 80px;
    margin-top: -48px;
    border-radius: 48px 48px 0 0;
    position: relative;
    z-index: 2;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

/* Cards */
.profile-main-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.05);
    margin-bottom: 24px;
}
.profile-main-card:last-child { margin-bottom: 0; }

.profile-sidebar-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.05);
    position: sticky;
    top: 24px;
}

/* Section Titles */
.profile-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0d0f2b;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f4f6fb;
}
.profile-section-title i { color: #f5a623; }

/* About Description */
.profile-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Stats Grid */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #f4f6fb 100%);
    padding: 22px;
    border-radius: 16px;
    text-align: center;
    border: 1.5px solid #e9ecf5;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.stat-box:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.stat-box-value {
    font-size: 32px;
    font-weight: 900;
    color: #f5a623;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.stat-box-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Skills / Tags Row */
.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f4ff;
    border: 1.5px solid #d9e2ff;
    color: #3b4ec8;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
}
.skill-chip i { font-size: 11px; color: #f5a623; }

/* ---------- Reviews ---------- */
.review-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.review-item:last-of-type { border-bottom: none; }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.reviewer-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reviewer-initials {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1f5e, #3b4ec8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.reviewer-name { font-weight: 700; color: #0d0f2b; font-size: 15px; }
.reviewer-time { color: #94a3b8; font-size: 12px; margin-top: 2px; }

.review-stars {
    display: flex;
    gap: 3px;
}
.review-stars i { font-size: 13px; }

.review-comment {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Empty state */
.reviews-empty {
    text-align: center;
    padding: 36px 20px;
    color: #94a3b8;
}
.reviews-empty i { font-size: 40px; margin-bottom: 12px; display: block; color: #cbd5e1; }

/* ---------- Review Form ---------- */
.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.review-form-grid .full { grid-column: 1/-1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
    font-size: 13px;
    font-weight: 700;
    color: #0d0f2b;
    letter-spacing: .2px;
}
.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #0d0f2b;
    background: #fafbff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245,166,35,.12);
    background: #fff;
}
textarea.form-control { resize: vertical; min-height: 100px; }

/* Interactive star picker */
.star-picker { display: flex; gap: 6px; margin-top: 2px; }
.star-picker label {
    font-size: 28px;
    color: #e2e8f0;
    cursor: pointer;
    transition: color .15s, transform .15s;
    line-height: 1;
}
.star-picker input[type=radio] { display: none; }
.star-picker input[type=radio]:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #f5a623; }
.star-picker label:hover { transform: scale(1.2); }

/* RTL star trick: reverse order */
.star-picker { flex-direction: row-reverse; justify-content: flex-end; }

.btn-submit-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #f5a623, #f7c259);
    color: #1a1f5e;
    font-size: 15px;
    font-weight: 800;
    padding: 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(245,166,35,.3);
    margin-top: 8px;
    letter-spacing: .2px;
}
.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,166,35,.45);
}

/* ---------- Sidebar ---------- */
.book-now-card {
    background: linear-gradient(160deg, #0d0f2b 0%, #1a1f5e 100%) !important;
    color: #fff;
    border: none !important;
    position: relative;
    overflow: hidden;
}
.book-now-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
    border-radius: 50%;
}

.book-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}
.book-currency {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,.65);
}
.book-price {
    font-size: 44px;
    font-weight: 900;
    color: #f5a623;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.book-price-sub {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 24px;
    text-align: center;
}

.btn-book-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #f5a623, #f7c259);
    color: #1a1f5e;
    font-size: 16px;
    font-weight: 800;
    padding: 16px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 6px 20px rgba(245,166,35,.35);
    letter-spacing: .2px;
}
.btn-book-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(245,166,35,.5);
}

.book-divider {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.feature-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.feature-icon.green  { background: rgba(22,163,74,.18);  color: #4ade80; }
.feature-icon.blue   { background: rgba(99,102,241,.18); color: #818cf8; }
.feature-icon.orange { background: rgba(245,166,35,.18); color: #f5a623; }

.feature-text strong { font-size: 13px; font-weight: 700; color: #fff; display: block; margin-bottom: 2px; }
.feature-text span   { font-size: 12px; color: rgba(255,255,255,.5); }

/* Sidebar contact strip */
.sidebar-contact-strip {
    margin-top: 16px;
    background: rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
    transition: background .2s;
}
.sidebar-contact-strip:hover { background: rgba(255,255,255,.12); }
.sidebar-contact-strip i { color: #25d366; font-size: 18px; }

/* Success alert */
.alert-success-custom {
    background: linear-gradient(135deg, #e8f5e9, #f0fff4);
    color: #15803d;
    border: 1.5px solid #bbf7d0;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .profile-grid { grid-template-columns: 1fr; }
    .profile-sidebar-card { position: static; }
}

@media (max-width: 640px) {
    .profile-header { flex-direction: column; text-align: center; }
    .profile-meta-top { justify-content: center; }
    .hero-stats-row { justify-content: center; }
    .profile-verified-row { justify-content: center; }
    .profile-name { font-size: 28px; }
    .profile-avatar-ring { width: 130px; height: 130px; }
    .review-form-grid { grid-template-columns: 1fr; }
}
