/* ═══════════════════════════════════════════════
   NSK Aviation Supply — Base Styles
   Version 2.0 | Stuttgart, Germany
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Mono:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  /* Colors */
  --navy:        #09162a;
  --navy-mid:    #0f1e35;
  --navy-light:  #132540;
  --navy-card:   #0d1c33;
  --gold:        #c9a55c;
  --gold-light:  #e2c882;
  --gold-dim:    #8a6e3a;
  --gold-glow:   rgba(201,165,92,0.15);
  --white:       #f6f3ee;
  --off-white:   #ddd8ce;
  --grey:        #7e8ea4;
  --grey-light:  #a8b4c4;
  --text:        #bcc5d2;
  --border:      rgba(201,165,92,0.12);
  --border-hover:rgba(201,165,92,0.35);

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1320px;
  --gutter:      clamp(20px, 4vw, 60px);

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    0.2s;
  --dur-mid:     0.4s;
  --dur-slow:    0.8s;

  /* Shadows */
  --shadow-gold: 0 0 60px rgba(201,165,92,0.08);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.35);
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: var(--font-sans);
  font-size: inherit;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── SECTION BASE ── */
.section {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

/* ── TYPOGRAPHY HELPERS ── */
.label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-mono);
}

.display {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.display em {
  font-style: italic;
  color: var(--gold);
}

.display-sm {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
}

.body-lg {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--grey-light);
  line-height: 1.8;
}

.body-sm {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201,165,92,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--grey-light);
  border: 1px solid var(--border);
  padding: 12px 24px;
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--white);
}

/* ── CARDS ── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

/* ── DIVIDERS ── */
.divider {
  width: 48px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ── UTILITY ── */
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }
.text-grey   { color: var(--grey); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── SELECTION ── */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
