/* ════════════════════════════════════════════════════════════════════════════════════ */
/* GLOBAL STYLES — Unified Header & Navigation */
/* ════════════════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #F0EBE0;
  --bg-2: #FDFAF5;
  --card: #FDFAF5;
  --card-2: #E8E0D0;
  --line: #D8D0BE;
  --text: #1A2832;
  --muted: #7A8880;
  --accent: #3D6E65;
  --accent-soft: #E3EDEA;
  --accent-2: #B8852A;
  --accent-3: #9B5040;
  --good: #4A8E6A;
  --dark: #0D1B25;
  --dark-2: #142230;
  --shadow: 0 10px 30px rgba(13, 27, 37, 0.1);
  --shadow-lg: 0 20px 50px rgba(13, 27, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════════════════════════ */
/* NAVIGATION — Consistent Sticky Header */
/* ════════════════════════════════════════════════════════════════════════════════════ */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(13, 27, 37, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.topnav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.topnav-name {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: #fff;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topnav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.topnav-links a.active {
  color: var(--accent-2);
  background: rgba(184, 133, 42, 0.14);
}

.topnav-ig {
  color: rgba(255, 255, 255, 0.5);
  padding: 8px !important;
}

.topnav-ig svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 640px) {
  .topnav {
    padding: 10px 14px;
  }

  .topnav-name {
    display: none;
  }

  .topnav-links a {
    padding: 6px 10px;
    font-size: 13px;
  }
}
