/* ══════════════════════════════════════════════════
   IINL – Indians in the Netherlands
   Main Stylesheet  |  Redesign v5.0  |  2025
   Light Theme · Dark Sidebar · Saffron Accents
══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────── */
:root {
  /* Core Palette */
  --bg:            #f4f6fb;
  --white:         #ffffff;
  --border:        #e4e8f0;
  --border-soft:   #edf0f6;

  /* Text */
  --text-dark:     #0f172a;
  --text-mid:      #475569;
  --text-light:    #94a3b8;
  --text-xlight:   #cbd5e1;

  /* Brand */
  --saffron:       #f97316;
  --saffron-d:     #ea6c0b;
  --saffron-lt:    #fff7ed;
  --saffron-glow:  rgba(249,115,22,.22);
  --gold:          #f59e0b;
  --gold-lt:       #fffbeb;
  --blue:          #3b82f6;
  --blue-lt:       #eff6ff;
  --green:         #22c55e;
  --green-lt:      #f0fdf4;
  --purple:        #8b5cf6;
  --purple-lt:     #f5f3ff;
  --pink:          #ec4899;
  --pink-lt:       #fdf2f8;

  /* Sidebar */
  --sb-bg:         #0f172a;
  --sb-border:     rgba(255,255,255,.07);
  --sb-text:       rgba(255,255,255,.55);
  --sb-text-hover: rgba(255,255,255,.92);
  --sb-active-bg:  rgba(249,115,22,.18);
  --sb-w:          72px;
  --sb-w-open:     240px;

  /* Spacing & Radius */
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow-md:     0 8px 28px rgba(0,0,0,.1);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.13);
  --shadow-xl:     0 32px 80px rgba(0,0,0,.16);

  /* Typography */
  --font-head:     'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Motion */
  --ease:          cubic-bezier(.4,0,.2,1);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);
  --dur-fast:      160ms;
  --dur-base:      260ms;
  --dur-slow:      420ms;

  /* Layout */
  --topbar-h:      64px;
  --max-w:         1280px;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: var(--font-body); }
button { cursor: pointer; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
ul { list-style: none; }

/* ── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── LAYOUT SHELL ───────────────────────────────── */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* Main content shifts right by sidebar */
.main-area {
  flex: 1;
  margin-left: var(--sb-w);
  transition: margin-left var(--dur-slow) var(--ease);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding-top: var(--topbar-h);
}

/* ── CONTAINERS ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 2rem; }
.container-xs { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────── */
.eyebrow {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: .45rem;
}
.section-title {
  font-size: clamp(1.8rem,3.5vw,2.8rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: .65rem;
  letter-spacing: -.02em;
}
.section-desc {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ── SECTION SPACING ────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── GRADIENT TEXT ──────────────────────────────── */
.grad-saffron {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-blue {
  background: linear-gradient(135deg, var(--blue), #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-purple {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── COLOR UTILITIES ────────────────────────────── */
.text-saffron { color: var(--saffron) !important; }
.text-gold    { color: var(--gold) !important; }
.text-blue    { color: var(--blue) !important; }
.text-green   { color: var(--green) !important; }
.text-mid     { color: var(--text-mid) !important; }
.text-light   { color: var(--text-light) !important; }
.bg-white     { background: var(--white) !important; }
.bg-base      { background: var(--bg) !important; }

/* ── BADGE / TAG ────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: .25rem .85rem;
  border: 1px solid transparent;
}
.badge-saffron { background: var(--saffron-lt); color: var(--saffron); border-color: #fed7aa; }
.badge-gold    { background: var(--gold-lt); color: #92400e; border-color: #fde68a; }
.badge-blue    { background: var(--blue-lt); color: var(--blue); border-color: #bfdbfe; }
.badge-green   { background: var(--green-lt); color: #15803d; border-color: #bbf7d0; }
.badge-purple  { background: var(--purple-lt); color: var(--purple); border-color: #ddd6fe; }
.badge-pink    { background: var(--pink-lt); color: var(--pink); border-color: #fbcfe8; }
.badge-dark    { background: var(--text-dark); color: white; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  border-radius: 50px;
  padding: .7rem 1.6rem;
  border: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: white;
  box-shadow: 0 4px 16px var(--saffron-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--saffron-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--text-dark);
  color: white;
}
.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 50%;
  padding: 0; justify-content: center;
}
.btn-icon-sm { width: 32px; height: 32px; border-radius: 50%; padding: 0; justify-content: center; }

/* ── DIVIDER ────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ── CARDS ──────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-hover {
  transition: all var(--dur-base) var(--ease);
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #fed7aa;
}

/* ── FILTER BAR ─────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--saffron-glow);
}

/* ── SEARCH ─────────────────────────────────────── */
.search-wrap { position: relative; }
.search-wrap svg {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  color: var(--text-light);
  pointer-events: none;
}
.search-input {
  width: 240px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .52rem 1rem .52rem 2.4rem;
  font-size: .82rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.search-input::placeholder { color: var(--text-light); }
.search-input:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px var(--saffron-glow); }

/* ── SECTION HEADER ROW ─────────────────────────── */
.section-hdr-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .3rem;
}
.footer-brand-sub {
  font-size: .72rem;
  color: var(--text-light);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-size: .8rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  gap: .5rem;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  font-size: .85rem;
  transition: all var(--dur-fast) var(--ease);
}
.footer-social a:hover { border-color: var(--saffron); color: var(--saffron); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a {
  font-size: .8rem;
  color: var(--text-mid);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col ul a:hover { color: var(--saffron); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copy {
  font-size: .75rem;
  color: var(--text-light);
}
.footer-copy a { color: var(--saffron); }

/* ── GDPR OVERLAY ────────────────────────────────── */
.gdpr-overlay {
  position: fixed; inset: 0;
  background: rgba(10,14,28,.75);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeIn var(--dur-base) var(--ease);
}
.gdpr-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  animation: slideUp var(--dur-slow) var(--ease-spring);
}
.gdpr-header {
  padding: 2.5rem 2.5rem 1.5rem;
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  text-align: center;
}
.gdpr-logo-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px var(--saffron-glow);
}
.gdpr-logo-wrap span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: white;
}
.gdpr-header h2 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: .4rem; }
.gdpr-sub { font-size: .78rem; color: var(--text-light); letter-spacing: .08em; }
.gdpr-body { padding: 1.8rem 2.5rem; }
.gdpr-intro { font-size: .875rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 1.5rem; }
.gdpr-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.gdpr-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.gdpr-item-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.gdpr-item-text strong { display: block; font-size: .84rem; color: var(--text-dark); margin-bottom: .2rem; }
.gdpr-item-text p { font-size: .78rem; color: var(--text-mid); line-height: 1.5; margin: 0; }
.gdpr-legal { font-size: .74rem; color: var(--text-light); line-height: 1.6; }
.gdpr-legal a { color: var(--saffron); }
.gdpr-actions {
  display: flex; gap: .75rem;
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
}
.gdpr-btn-decline {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .75rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.gdpr-btn-decline:hover { border-color: var(--saffron); color: var(--saffron); }

/* ── APP POPUP ───────────────────────────────────── */
.app-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,14,28,.65);
  backdrop-filter: blur(10px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeIn var(--dur-base) var(--ease);
}
.app-popup-panel {
  background: var(--white);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-width: 360px; width: 100%;
  padding: 3rem 2.2rem 2.5rem;
  text-align: center;
  position: relative;
  animation: slideUp var(--dur-slow) var(--ease-spring);
}
.app-popup-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-mid); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--dur-fast) var(--ease);
}
.app-popup-close:hover { background: var(--saffron-lt); color: var(--saffron); }
.app-popup-emoji { font-size: 4rem; line-height: 1; margin-bottom: .75rem; }
.app-popup-panel h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: .4rem; }
.app-popup-tagline { font-size: .85rem; color: var(--text-mid); line-height: 1.55; margin-bottom: 1.4rem; }
.app-popup-features {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.app-popup-features li { font-size: .82rem; color: var(--text-mid); }
.app-popup-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #01875f; color: white;
  border-radius: 14px;
  padding: .85rem 2rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: all var(--dur-base) var(--ease);
  box-shadow: 0 4px 16px rgba(1,135,95,.25);
  margin-bottom: .75rem;
}
.app-popup-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(1,135,95,.35); }
.app-popup-note { font-size: .72rem; color: var(--text-light); }

/* ── MOBILE TOGGLE ───────────────────────────────── */
.mob-menu-btn {
  display: none;
  position: fixed;
  top: 16px; left: 16px;
  z-index: 210;
  width: 42px; height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.mob-menu-btn svg { width: 20px; height: 20px; color: var(--text-dark); }
.sb-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 195;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .main-area { margin-left: var(--sb-w); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --sb-w: 0px; }
  .main-area { margin-left: 0; }
  .mob-menu-btn { display: flex; }
  .sb-overlay.active { display: block; }
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
