/* ══════════════════════════════════════════════════════════════════════
   base.css — vars, reset, body, layout, scrollbar, utility
   Folosit de: index.html, panel.html, admin.html
   ══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════
   Multi-company design system
   Distinct visual identity per logistics brand
   ══════════════════════════════════════════════════════════════════════ */

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

/* ── CSS Variables ──────────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --accent-glow: rgba(99, 102, 241, 0.3);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(99, 102, 241, 0.3);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --font-body: 'Manrope', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  /* Safe area pentru iPhone în mod PWA standalone: evita suprapunere
     cu Dynamic Island / notch (sus) și Home Indicator (jos). În browser
     normal `env(safe-area-inset-*)` returnează 0, deci nu afectează. */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Background gradient animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body[data-company="vinko"]::before {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(77, 163, 255, 0.14) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 22%, rgba(124, 129, 255, 0.11) 0%, transparent 46%),
    linear-gradient(180deg, rgba(7, 18, 35, 0.35), rgba(7, 18, 35, 0));
}

body[data-company="aventus"]::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 122, 61, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(255, 209, 102, 0.12) 0%, transparent 28%),
    linear-gradient(135deg, rgba(80, 25, 15, 0.35), rgba(27, 13, 13, 0));
}

body[data-company="welvaart"]::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(65, 196, 170, 0.15) 0%, transparent 38%),
    radial-gradient(circle at 78% 24%, rgba(214, 242, 163, 0.12) 0%, transparent 30%),
    linear-gradient(160deg, rgba(7, 25, 24, 0.28), rgba(7, 25, 24, 0));
}

a { color: var(--accent-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-secondary); }

/* ── Layout Utilities ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-sm { max-width: 600px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-md { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }


/* ── Scrollbar (ex linii 3595-3603) ──────────────────────────────── */
/* ── Scrollbar ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }


/* ── Utility (ex linii 4688-4723) ────────────────────────────────── */
/* ── Utility ──────────────────────────────────────────────────── */
body[data-company="welvaart"] .wlv-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wlv-gold);
  margin-bottom: 16px;
}
body[data-company="welvaart"] .wlv-section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--wlv-gold);
}

body[data-company="welvaart"] .wlv-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--wlv-navy);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

body[data-company="welvaart"] .wlv-sub {
  font-size: 1rem;
  color: var(--wlv-text-muted);
  line-height: 1.7;
  max-width: 540px;
}

