/* ============================================================
   GEK PUBLIC — GLOBAL STYLES
   Design: Noir & Or | Luxe + Street Minimal
   ============================================================ */

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

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:            #000000;
  --bg-2:          #0a0a0a;
  --bg-surface:    #111111;
  --bg-elevated:   #1a1a1a;

  /* Gold */
  --gold:          #C8A24D;
  --gold-light:    #D9B96A;
  --gold-dark:     #A8832A;
  --gold-muted:    rgba(200, 162, 77, 0.12);
  --gold-border:   rgba(200, 162, 77, 0.2);
  --gold-border-md:rgba(200, 162, 77, 0.45);

  /* Text */
  --text:          #FFFFFF;
  --text-2:        #CCCCCC;
  --text-muted:    #888888;
  --text-faint:    #3a3a3a;

  /* State */
  --success:       #4CAF80;
  --error:         #E05555;
  --success-bg:    rgba(76, 175, 128, 0.1);
  --error-bg:      rgba(224, 85, 85, 0.1);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Font sizes */
  --text-xs:    0.72rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   2rem;
  --text-4xl:   3rem;
  --text-5xl:   4.5rem;

  /* Spacing */
  --s1:  0.25rem;  --s2:  0.5rem;  --s3:  0.75rem;
  --s4:  1rem;     --s5:  1.25rem; --s6:  1.5rem;
  --s8:  2rem;     --s10: 2.5rem;  --s12: 3rem;
  --s16: 4rem;     --s20: 5rem;    --s24: 6rem;

  /* Radius */
  --r-sm:   2px;
  --r-md:   4px;
  --r-lg:   8px;
  --r-full: 9999px;

  /* Transitions */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 24px rgba(200, 162, 77, 0.2);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; border: none; outline: none; background: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { color: var(--text-2); line-height: 1.75; }

/* Text utilities */
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.text-upper    { text-transform: uppercase; letter-spacing: 0.12em; }
.text-serif    { font-family: var(--font-serif); }
.text-sm       { font-size: var(--text-sm); }
.text-xs       { font-size: var(--text-xs); }
.text-lg       { font-size: var(--text-lg); }
.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }

.text-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.container-sm {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.section { padding: var(--s24) 0; }

.flex             { display: flex; }
.flex-col         { flex-direction: column; }
.items-center     { align-items: center; }
.justify-center   { justify-content: center; }
.justify-between  { justify-content: space-between; }
.gap-2  { gap: var(--s2); }
.gap-4  { gap: var(--s4); }
.gap-6  { gap: var(--s6); }
.gap-8  { gap: var(--s8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base);
  border-radius: var(--r-sm);
  white-space: nowrap;
  user-select: none;
}

/* Primary — gold filled */
.btn-primary {
  background: var(--gold);
  color: #000000;
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(200, 162, 77, 0.3);
  transform: translateY(-1px);
}
.btn-primary:active { background: var(--gold-dark); transform: translateY(0); }

/* Secondary — gold outline */
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border-md);
}
.btn-secondary:hover {
  background: var(--gold-muted);
  border-color: var(--gold);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-faint); }

/* Sizes */
.btn-sm  { padding: var(--s2) var(--s5); font-size: var(--text-xs); }
.btn-lg  { padding: var(--s4) var(--s12); font-size: var(--text-sm); }
.btn-full { width: 100%; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s5) var(--s8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: background var(--t-base);
}

.navbar__logo {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--s8);
}

.navbar__link {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t-fast);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-base);
}
.navbar__link:hover { color: var(--gold); }
.navbar__link:hover::after { width: 100%; }

/* ── CARD ───────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: var(--s6);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.card:hover {
  border-color: var(--gold-border-md);
  box-shadow: var(--shadow-card);
}

/* ── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-gold    { background: var(--gold-muted); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(76,175,128,0.3); }
.badge-error   { background: var(--error-bg); color: var(--error); border: 1px solid rgba(224,85,85,0.3); }

/* ── DIVIDERS ───────────────────────────────────────────── */
.divider      { width: 100%; height: 1px; background: var(--gold-border); margin: var(--s8) 0; }
.divider-gold { width: 48px; height: 1px; background: var(--gold); margin: var(--s4) 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--gold-border);
  padding: var(--s12) var(--s6);
  text-align: center;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: var(--s4);
}
.footer__copy { color: var(--text-muted); font-size: var(--text-xs); letter-spacing: 0.06em; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulsGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,162,77,0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(200,162,77,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.anim-fadein    { animation: fadeInUp 0.6s var(--ease) both; }
.anim-delay-1   { animation-delay: 0.1s; }
.anim-delay-2   { animation-delay: 0.2s; }
.anim-delay-3   { animation-delay: 0.3s; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--bg); }
::-webkit-scrollbar-thumb      { background: var(--gold-border-md); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .container, .container-sm { padding: 0 var(--s4); }
  .section { padding: var(--s16) 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .navbar__nav { display: none; }
}
