﻿/* 09_VIEW-PROFIL.CSS — Desain Halaman Profil Forum Silaturahim (Mobile-First) */

.profil-hero-card {
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.profil-hero-card::after {
  content: "🏛️";
  font-size: 6rem;
  position: absolute;
  right: -15px;
  bottom: -20px;
  opacity: 0.12;
  pointer-events: none;
}

.profil-hero-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.profil-hero-tagline {
  font-size: 0.88rem;
  color: #A7F3D0;
  line-height: 1.4;
  max-width: 500px;
  margin: 0 auto;
}

/* Navigasi Tab Profil: Ramah Layar HP (Scrollable Chips) */
.profil-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.profil-tabs::-webkit-scrollbar { display: none; }

.profil-tab-btn {
  white-space: nowrap;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profil-tab-btn.active {
  background: var(--emerald-700);
  color: #fff;
  border-color: var(--emerald-700);
  box-shadow: 0 2px 8px rgba(11, 79, 63, 0.25);
}

/* Kartu Visi Misi */
.profil-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.profil-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.profil-box-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--emerald-800);
}

.profil-visi-text {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  border-left: 4px solid var(--gold-500);
  padding-left: 14px;
  margin: 10px 0;
}

.profil-misi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profil-misi-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}
.profil-misi-item:last-child { border-bottom: none; }
.profil-misi-num {
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-weight: 800;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* Grid Struktur Organisasi: Responsive Mobile Card */
.struktur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.struktur-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  transition: transform 0.15s ease;
}
.struktur-card:hover {
  transform: translateY(-2px);
}
.struktur-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--emerald-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.struktur-info-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}
.struktur-info-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

[data-theme="dark"] .profil-box-title { color: #67E8F9; }
[data-theme="dark"] .profil-misi-num { color: #67E8F9; }
[data-theme="dark"] .profil-hero-tagline { color: #BAE6FD; }
[data-theme="dark"] .profil-tab-btn.active { background: #0284C7; border-color: #38BDF8; color: #FFFFFF; }
