/* ============================================================
   AUTHENTIC EXPERIENCE — Guide Page Styles
   Rectangle card with circle photo — 3:1 ratio
   ============================================================ */

/* ---------- Guide Profile Card ---------- */
/* The card is a wide horizontal rectangle.
   The circle photo sits on the left.
   The card is roughly 3x as long as the circle is wide. */

.guide-profile-section { padding-top: 2rem; }

.guide-profile-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;

  /* The card stays as a wide rectangle.
     min-height ensures it's always roughly 3x the circle height */
  min-height: 260px;
}

/* ---------- Circle Photo ---------- */
/* The circle is 200px wide.
   The card is min 600px wide = roughly 3x the circle */
.guide-profile-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;          /* makes it a circle */
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(201,151,58,0.25);
}

.guide-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Guide Info (right side of card) ---------- */
.guide-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-profile-info h1 {
  font-size: 2.2rem;
  color: var(--fg);
  margin: 0;
}

.guide-profile-info .guide-specialty {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.guide-profile-info .guide-languages {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
}

.guide-profile-info .guide-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--fg);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 0.25rem 0;
  line-height: 1.6;
  opacity: 0.85;
}

/* ---------- Bio Section ---------- */
.guide-bio-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.guide-bio-text h2 {
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.guide-bio-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.guide-credentials {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.guide-credentials h3 {
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.credentials-list li {
  font-size: 0.875rem;
  color: var(--fg);
  opacity: 0.85;
  padding-left: 1rem;
  position: relative;
}

.credentials-list li::before {
  content: '✓';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.credentials-list a {
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.2s;
}

.credentials-list a:hover { opacity: 0.7; }

/* ---------- Services CSS additions ---------- */
.service-detail { background: var(--bg); }
.service-detail:nth-child(even) { background: var(--muted); }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-reverse .service-detail-inner {
  direction: rtl;  /* flips order */
}

.service-detail-reverse .service-detail-inner > * {
  direction: ltr;  /* restores text direction inside */
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-detail-content { display: flex; flex-direction: column; gap: 1.25rem; }
.service-detail-content h2 { color: var(--fg); margin: 0; }

.service-detail-desc {
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-detail-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-detail-highlights li {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.85;
  padding-left: 1.25rem;
  position: relative;
}

.service-detail-highlights li::before {
  content: '✓';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.service-detail-meta {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.meta-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-fg); }
.meta-value { font-size: 1rem; font-weight: 600; color: var(--fg); }
.price-highlight { color: var(--primary); font-size: 1.3rem; }

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .guide-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }

  .guide-profile-info .guide-quote {
    border-left: none;
    border-top: 3px solid var(--primary);
    padding-left: 0;
    padding-top: 0.75rem;
  }

  .guide-bio-section {
    grid-template-columns: 1fr;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
  }

  .service-detail-reverse .service-detail-inner {
    direction: ltr;
  }
}

@media (max-width: 500px) {
  .guide-profile-photo {
    width: 150px;
    height: 150px;
  }
}
