/* SessionBoard Design System */
/* Matches landing page: Space Grotesk + DM Sans, bone/ink/gold palette */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0a0a0a;
  --bone: #f5f0eb;
  --warm: #e8e0d6;
  --gold: #c9a84c;
  --gold-dim: #a88a3a;
  --slate: #4a4640;
  --mist: #8a8480;
  --success: #3d8b37;
  --error: #c44536;
  --star: #c9a84c;
  --star-empty: #d4cfc8;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(245, 240, 235, 0.9);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--slate);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.active { color: var(--gold); }

.btn-claim {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-claim:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ===== PAGE CONTAINER ===== */
.page {
  padding-top: 80px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== DIRECTORY PAGE ===== */
.directory-header {
  padding: 48px 0 32px;
}

.directory-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.directory-header p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.6;
}

/* Search & Filters */
.search-bar {
  display: flex;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--gold);
}

.search-input::placeholder {
  color: var(--mist);
}

.filter-select {
  padding: 14px 40px 14px 16px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8480' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.filter-select:focus {
  border-color: var(--gold);
}

.search-btn {
  padding: 14px 32px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-btn:hover {
  background: var(--gold);
  color: var(--ink);
}

/* Active filters */
.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dim);
  font-size: 0.82rem;
  font-weight: 500;
}

.filter-tag .remove {
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.results-count {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sort Bar */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sort-bar span {
  font-size: 0.82rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sort-option {
  font-size: 0.85rem;
  color: var(--slate);
  cursor: pointer;
  padding: 4px 0;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}

.sort-option:hover, .sort-option.active {
  color: var(--gold);
}

/* ===== PROFILE CARDS ===== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

.profile-card {
  background: white;
  border: 1px solid rgba(10, 10, 10, 0.06);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.profile-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
}

.card-photo {
  width: 100%;
  height: 280px;
  background: var(--warm);
  overflow: hidden;
  position: relative;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-photo .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--mist);
  opacity: 0.3;
}

.card-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-body {
  padding: 24px;
}

.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.card-location {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-tagline {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--star);
  font-size: 0.9rem;
}

.star.empty {
  color: var(--star-empty);
}

.rating-text {
  font-size: 0.82rem;
  color: var(--mist);
}

.card-rate {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.card-sessions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.session-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(10, 10, 10, 0.04);
  color: var(--slate);
  font-weight: 500;
}

/* ===== PROFILE DETAIL PAGE ===== */
.profile-hero {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  padding: 48px 0;
}

.profile-photo-main {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--warm);
  overflow: hidden;
  position: relative;
}

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

.profile-photo-main .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--mist);
  opacity: 0.2;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 12px;
  vertical-align: middle;
}

.profile-info h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.profile-location {
  font-size: 1rem;
  color: var(--mist);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.profile-rating-bar .stars { font-size: 1.1rem; gap: 3px; }

.profile-rating-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.profile-rating-count {
  font-size: 0.88rem;
  color: var(--mist);
}

.profile-tagline {
  font-size: 1.2rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 32px;
}

.profile-social {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  font-size: 0.85rem;
  color: var(--slate);
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.photo-gallery img:hover { opacity: 0.85; }

/* ===== SECTIONS ===== */
.section {
  padding: 48px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

/* Session Types Grid */
.session-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.session-type-card {
  background: white;
  border: 1px solid rgba(10, 10, 10, 0.08);
  padding: 24px;
  transition: border-color 0.2s;
}

.session-type-card:hover {
  border-color: var(--gold);
}

.session-type-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.session-type-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
}

.session-type-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--mist);
}

.session-type-rate {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

/* Tour Cities */
.tour-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tour-city {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid rgba(10, 10, 10, 0.08);
  padding: 16px 24px;
  min-width: 180px;
}

.tour-city-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.tour-city-dates {
  font-size: 0.82rem;
  color: var(--mist);
}

.tour-city-home {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* ===== REVIEWS ===== */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-avg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.reviews-avg-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-write-review:hover {
  background: var(--gold);
  color: var(--ink);
}

.review-card {
  background: white;
  border: 1px solid rgba(10, 10, 10, 0.06);
  padding: 28px;
  margin-bottom: 16px;
}

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

.review-author {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.review-date {
  font-size: 0.82rem;
  color: var(--mist);
}

.review-session-info {
  font-size: 0.82rem;
  color: var(--mist);
  margin-bottom: 12px;
}

.review-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 16px;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.review-pros, .review-cons {
  padding: 16px;
  background: rgba(10, 10, 10, 0.02);
}

.review-pros h5, .review-cons h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.review-pros h5 { color: var(--success); }
.review-cons h5 { color: var(--error); }

.review-pros p, .review-cons p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate);
}

.review-verified {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.review-unverified {
  font-size: 0.75rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== REVIEW FORM ===== */
.review-form-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.review-form-container h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.review-form-container .subtitle {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .hint {
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 6px;
}

/* Star Rating Input */
.star-rating-input {
  display: flex;
  gap: 4px;
  font-size: 1.8rem;
  cursor: pointer;
}

.star-rating-input .star-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--star-empty);
  font-size: 1.8rem;
  padding: 0;
  transition: color 0.15s;
}

.star-rating-input .star-btn.active {
  color: var(--star);
}

.star-rating-input .star-btn:hover {
  color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Alert Messages */
.alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(61, 139, 55, 0.08);
  border: 1px solid rgba(61, 139, 55, 0.2);
  color: var(--success);
}

.alert-error {
  background: rgba(196, 69, 54, 0.08);
  border: 1px solid rgba(196, 69, 54, 0.2);
  color: var(--error);
}

/* ===== EMPTY STATES ===== */
.empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--mist);
}

.empty-state h3 {
  font-size: 1.3rem;
  color: var(--slate);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(245, 240, 235, 0.4);
  padding: 48px 40px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 8px;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-size: 0.82rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(245, 240, 235, 0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.footer-copy span { color: var(--gold); }

/* ===== LOADING ===== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--warm);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== CLAIM PROFILE MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bone);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.modal .subtitle {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mist);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .profile-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-photo-main {
    max-width: 400px;
    margin: 0 auto;
  }

  .review-pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-mobile { display: none; }

  .container { padding: 0 20px; }

  .directory-header { padding: 32px 0 24px; }
  .directory-header h1 { font-size: 1.8rem; }

  .search-bar { flex-direction: column; }
  .search-input, .filter-select { width: 100%; }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .profile-info h1 { font-size: 2rem; }

  .session-types-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sort-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .card-photo { height: 220px; }
  .profile-social { flex-direction: column; }
  .tour-cities-list { flex-direction: column; }
  .tour-city { min-width: auto; }
}
