/* =====================================================
   shared.css — styles common to all pages
   ===================================================== */

:root {
  --brand-1: #2d1457;
  --brand-2: #6d28d9;
  --brand-3: #a855f7;
  --soft:    #f7f2ff;
  --ink:     #1f2937;
}

html { scroll-behavior: smooth; }
body { font-family: 'Rubik', sans-serif; color: var(--ink); line-height: 1.65; }

/* ----- Navbar ----- */
.navbar {
  background: linear-gradient(90deg, rgba(45,20,87,.96) 0%, rgba(109,40,217,.94) 60%, rgba(168,85,247,.92) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 26px rgba(45,20,87,.35);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .4px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  padding: 4px;
}

/* ----- Language Switch ----- */
.lang-switch { display: inline-flex; gap: 6px; margin-left: 14px; }
.lang-switch .btn {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .78rem;
  line-height: 1.1;
  border-color: rgba(255,255,255,.55);
}
.lang-switch .btn.active { background: #fff; color: var(--brand-1); border-color: #fff; }

/* ----- Section helpers ----- */
.section-soft { background: var(--soft); }

.section-title small {
  color: var(--brand-2);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
.section-title h2 { font-weight: 700; margin-bottom: 10px; color: var(--brand-1); }

/* ----- Skip link (accessibility) ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 12px;
  top: 10px;
  width: auto;
  height: auto;
  z-index: 9999;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-1);
  padding: 8px 10px;
  text-decoration: none;
}

/* ----- Google Translate (hide widget UI) ----- */
#google_translate_element { display: none; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
