/* ==========================================================================
   PAYITAHT SAATÇİLİK RESMİ KURUMSAL AÇIK TEMA (v4.0)
   payitahtsaatcilik.com Birebir Uyumlu Tasarım Sistemi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-navy: #0e1726;
  --bg-navy-light: #162238;

  --gold-primary: #cca352;
  --gold-dark: #aa7c28;
  --gold-light: #f5df9e;
  --gold-soft: rgba(204, 163, 82, 0.12);

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-gold: #cca352;

  --badge-gold-bg: rgba(204, 163, 82, 0.12);
  --badge-gold-text: #9e7520;
  --badge-green-bg: rgba(16, 185, 129, 0.12);
  --badge-green-text: #059669;
  --badge-blue-bg: rgba(59, 130, 246, 0.12);
  --badge-blue-text: #2563eb;
  --badge-purple-bg: rgba(168, 85, 247, 0.12);
  --badge-purple-text: #7c3aed;
  --badge-red-bg: rgba(239, 68, 68, 0.12);
  --badge-red-text: #dc2626;

  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: 50px;
}

/* 1. Üst Duyuru Bandı */
.top-notice-bar {
  width: 100%;
  background: var(--bg-navy);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #e63946;
}

.top-notice-bar i {
  color: var(--gold-primary);
  font-size: 13px;
}

/* Ana Konteyner */
.bio-wrapper {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  padding: 16px;
  position: relative;
  z-index: 1;
}

/* 2. Header / Logo Vitrini (Beyaz Kurumsal Kart) */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 18px 16px;
}

.brand-logo-container {
  width: 100%;
  max-width: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.brand-logo-img {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.brand-handle {
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-navy);
  background: #f1f5f9;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.brand-handle:hover {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

.brand-bio {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 95%;
  line-height: 1.45;
}

/* Canlı Yayın Bannerı */
.live-broadcast-banner {
  display: none;
  background: linear-gradient(90deg, #0e1726, #162238);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(14, 23, 38, 0.2);
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-broadcast-banner.active {
  display: flex;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Bölüm Başlığı */
.section-header {
  text-align: center;
  padding: 4px 0 2px 0;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.section-header p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3. Link Kartları */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.link-card:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 23, 38, 0.08);
}

.link-card:active {
  transform: scale(0.98);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.link-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-navy);
  border: 1px solid var(--bg-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.link-card:hover .link-icon-box {
  background: var(--gold-primary);
  color: var(--bg-navy);
  border-color: var(--gold-primary);
  transform: scale(1.05);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.link-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
}

.link-arrow {
  font-size: 16px;
  color: #94a3b8;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.link-card:hover .link-arrow {
  color: var(--gold-primary);
  transform: translateX(3px);
}

/* Rozetler */
.badge-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.badge-gold {
  background: var(--badge-gold-bg);
  color: var(--badge-gold-text);
  border: 1px solid rgba(204, 163, 82, 0.3);
}

.badge-green {
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-blue {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-purple {
  background: var(--badge-purple-bg);
  color: var(--badge-purple-text);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-red {
  background: var(--badge-red-bg);
  color: var(--badge-red-text);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 4. Sosyal Medya İkonları */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-navy);
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--bg-navy);
  color: var(--gold-primary);
  border-color: var(--bg-navy);
  transform: translateY(-2px);
}

/* 5. Güvenlik ve Garanti Rozetleri Şeridi (Açık Kurumsal Uyumlu) */
.trust-badges-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border-top: 1.5px solid var(--gold-primary);
  border-bottom: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 16px 8px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.trust-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
}

.trust-badge-col:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.trust-badge-icon {
  font-size: 22px;
  color: var(--gold-primary);
}

.trust-badge-text {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

/* Sabit Yüzen WhatsApp Butonu */
.floating-wa-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
}

/* Footer */
.bio-footer {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bio-footer a {
  color: var(--bg-navy);
  font-weight: 600;
  text-decoration: none;
}

.loading-skeleton {
  width: 100%;
  height: 64px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-lg);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
