/* ==========================================================================
   NYAYA JURIS INTERNATIONAL - BESPOKE ARCHITECTURAL JURIST DESIGN SYSTEM
   Editorial, Prestigious & Contemporary
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --color-obsidian: #0e121b;
  --color-charcoal: #161b26;
  --color-slate-dark: #1f2737;
  --color-bronze: #c28b47;
  --color-bronze-light: #dfb15b;
  --color-bronze-dark: #9c6b2f;
  --color-bone: #fbfbf9;
  --color-warm-gray: #f3f3ee;
  --color-border: rgba(22, 27, 38, 0.08);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bone);
  color: #1a202c;
}

/* Bespoke Typography */
.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.015em;
}

.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-mono-tag {
  font-family: 'Space Grotesk', monospace, sans-serif;
}

/* Subtle bronze gradient */
.text-bronze-gradient {
  background: linear-gradient(135deg, #dfb15b 0%, #c28b47 50%, #9c6b2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-dark-gradient {
  background: linear-gradient(135deg, #0e121b 0%, #2d3748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Refined Bronze Accent Button */
.btn-bronze {
  background: linear-gradient(135deg, #c28b47 0%, #a87232 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(194, 139, 71, 0.22);
}

.btn-bronze:hover {
  background: linear-gradient(135deg, #d49b53 0%, #b87b37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 139, 71, 0.32);
  color: #ffffff;
}

/* Obsidian Button */
.btn-obsidian {
  background: #0e121b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.btn-obsidian:hover {
  background: #1a2233;
  border-color: #c28b47;
  color: #dfb15b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 18, 27, 0.25);
}

/* Architectural Card */
.arch-card {
  background: #ffffff;
  border: 1px solid rgba(22, 27, 38, 0.08);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-card:hover {
  border-color: rgba(194, 139, 71, 0.35);
  box-shadow: 0 16px 36px -12px rgba(14, 18, 27, 0.08);
  transform: translateY(-3px);
}

/* Dark Obsidian Card */
.dark-arch-card {
  background: #121722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

/* Subtle architectural patterns */
.bg-grid-subtle {
  background-image: 
    linear-gradient(to right, rgba(14, 18, 27, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 18, 27, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-dark-grid {
  background-image: 
    linear-gradient(to right, rgba(223, 177, 91, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(223, 177, 91, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Dossier Navigation Tabs */
.dossier-nav-item.active {
  background: #0e121b;
  color: #ffffff;
  border-color: #c28b47;
}

.dossier-nav-item.active .nav-badge {
  background: #c28b47;
  color: #ffffff;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f3f7;
}
::-webkit-scrollbar-thumb {
  background: #c8cbd5;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c28b47;
}

/* Modal Backdrops */
.modal-backdrop-blur {
  background-color: rgba(14, 18, 27, 0.72);
  backdrop-filter: blur(8px);
}

/* Hide scrollbar for clean horizontal tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Fade In */
@keyframes archFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-arch-in {
  animation: archFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
