/* ==========================================================================
   TOUR GUIDE DETAILS / PROFILE PAGE - DISKOVAR THEME
   Typography:
   Heading: 'Onest', sans-serif
   Body: 'Onest', sans-serif
   Accent: 'Dancing Script', cursive
   Palette:
   --tp-theme-1: #FD4621 (Coral)
   --tp-theme-2: #0588B0 (Teal)
   --tp-common-black: #071516
   ========================================================================== */

.guide-profile-wrapper {
  background-color: #f8fafc;
  padding-bottom: 90px;
  font-family: var(--tp-ff-body, 'Onest', sans-serif);
}

/* Cover Banner */
.guide-cover-banner {
  height: 290px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.guide-cover-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 22, 0.35) 0%, rgba(7, 21, 22, 0.85) 100%);
}

/* Hero Profile Card */
.guide-hero-card {
  position: relative;
  margin-top: -85px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  box-shadow: 0 16px 40px rgba(7, 21, 22, 0.06);
  padding: 34px;
  z-index: 10;
  margin-bottom: 30px;
}

.guide-hero-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.guide-hero-info-group {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex: 1 1 auto;
}

.guide-avatar-box {
  position: relative;
  width: 130px;
  height: 130px;
  margin-top: -95px;
  flex-shrink: 0;
}

.guide-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(7, 21, 22, 0.16);
}

.guide-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #10b981;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.guide-details-box {
  padding-top: 6px;
}

.guide-hero-name {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--tp-common-black, #071516);
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.guide-hero-subtitle {
  font-family: var(--tp-ff-body, 'Onest', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-theme-1, #FD4621);
  margin-bottom: 12px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--tp-grey-1, #5f556a);
  margin-bottom: 0;
}

.guide-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: #334155;
}

.guide-meta-item i {
  color: var(--tp-theme-1, #FD4621);
  font-size: 18px;
}

.guide-hero-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.btn-plan-trip {
  background: var(--tp-theme-1, #FD4621) !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 12px 26px;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid var(--tp-theme-1, #FD4621);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(253, 70, 33, 0.25);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-plan-trip:hover {
  background: var(--tp-common-red, #E52700) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 70, 33, 0.35);
}

.btn-ask-custom {
  background: #ffffff;
  color: var(--tp-common-black, #071516) !important;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-ask-custom:hover {
  border-color: var(--tp-common-black, #071516);
  background: #f8fafc;
  transform: translateY(-2px);
}

/* Stats Strip */
.guide-stats-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.stat-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.stat-chip:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.stat-chip i.ri-star-fill {
  color: #f59e0b;
}

.stat-chip i.text-coral {
  color: var(--tp-theme-1, #FD4621);
}

.stat-chip i.text-teal {
  color: var(--tp-theme-2, #0588B0);
}

/* Profile Section Card */
.profile-section-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  box-shadow: 0 4px 20px rgba(7, 21, 22, 0.03);
  padding: 30px;
  margin-bottom: 24px;
}

.section-card-title {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: var(--tp-common-black, #071516);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-card-title i {
  color: var(--tp-theme-1, #FD4621);
  font-size: 24px;
}

.bio-paragraph {
  font-size: 15px;
  line-height: 1.75;
  color: var(--tp-grey-1, #5f556a);
  margin-bottom: 0;
}

/* Credentials Checklist */
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.credentials-list li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 18px;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-common-black, #071516);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.credentials-list li:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.credentials-list li i {
  color: #10b981;
  font-size: 20px;
  flex-shrink: 0;
}

/* Specialties Pills */
.specialty-tag {
  background: rgba(253, 70, 33, 0.06);
  border: 1px solid rgba(253, 70, 33, 0.18);
  color: var(--tp-theme-1, #FD4621);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.specialty-tag:hover {
  background: var(--tp-theme-1, #FD4621);
  color: #ffffff;
  border-color: var(--tp-theme-1, #FD4621);
}

/* Tour Cards inside Profile */
.guide-tour-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 21, 22, 0.08);
  border-color: rgba(253, 70, 33, 0.25);
}

.guide-tour-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.guide-tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-tour-card:hover .guide-tour-thumb img {
  transform: scale(1.06);
}

.guide-tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 21, 22, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.guide-tour-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-tour-title {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--tp-common-black, #071516);
  margin-bottom: 8px;
  line-height: 1.35;
}

.guide-tour-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--tp-grey-1, #5f556a);
  margin-bottom: 14px;
}

.guide-tour-meta span i {
  color: var(--tp-theme-1, #FD4621);
  margin-right: 4px;
}

.guide-tour-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-tour-price {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 19px;
  font-weight: 850;
  color: var(--tp-theme-1, #FD4621);
}

.guide-tour-price small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tp-grey-1, #5f556a);
}

/* Reviews in Profile */
.guide-review-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 22px;
  margin-bottom: 22px;
}

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

.guide-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(7, 21, 22, 0.08);
}

.reviewer-name {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-common-black, #071516);
  margin-bottom: 2px;
}

.reviewer-origin {
  font-size: 12.5px;
  color: #64748b;
}

.review-comment-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tp-grey-1, #5f556a);
  font-style: italic;
  margin-bottom: 0;
}

/* Empty State Box */
.profile-empty-box {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
}

.profile-empty-box i {
  font-size: 38px;
  color: var(--tp-theme-1, #FD4621);
  display: block;
  margin-bottom: 10px;
}

.profile-empty-box p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
}

/* Sticky Contact Sidebar */
.sticky-guide-sidebar {
  position: sticky;
  top: 105px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  box-shadow: 0 10px 30px rgba(7, 21, 22, 0.06);
  padding: 28px;
}

.sidebar-title {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--tp-common-black, #071516);
  margin-bottom: 6px;
}

.sidebar-subtitle {
  font-size: 13.5px;
  color: var(--tp-grey-1, #5f556a);
  margin-bottom: 20px;
}

.sidebar-trust-box {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  margin-top: 20px;
  border: 1px solid #f1f5f9;
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.sidebar-trust-item:last-child {
  margin-bottom: 0;
}

.sidebar-trust-item i {
  color: var(--tp-theme-1, #FD4621);
  font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
  .guide-hero-card {
    padding: 24px;
    margin-top: -60px;
  }
  .guide-avatar-box {
    margin-top: -65px;
    width: 100px;
    height: 100px;
  }
  .guide-hero-name {
    font-size: 26px;
  }
  .sticky-guide-sidebar {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .guide-hero-info-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-hero-actions-group {
    width: 100%;
  }
  .btn-plan-trip,
  .btn-ask-custom {
    width: 100%;
    justify-content: center;
  }
}
