/* ============================================
   LSM Soft — Shared Styles
   Used across index.html, contact.html, privacy-policy.html
   ============================================ */

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

:root {
  --blue: #5BA4CF;
  --blue-light: #EAF4FB;
  --blue-dark: #2C6E9E;
  --slate: #1A2332;
  --grey: #6B7280;
  --grey-light: #F4F6F8;
  --white: #FFFFFF;
  --border: #E2E8F0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--slate); background: var(--white); font-size: 16px; line-height: 1.7; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { font-size: 18px; font-weight: 700; color: var(--slate); letter-spacing: -0.3px; text-decoration: none; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--grey); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--slate); }
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--grey-light); border-radius: 20px; padding: 3px;
  border: 1px solid var(--border);
}
.lang-btn {
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 16px; border: none; cursor: pointer;
  background: transparent; color: var(--grey); transition: all 0.2s;
}
.lang-btn.active { background: var(--white); color: var(--slate); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--slate); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--slate); text-decoration: none; cursor: pointer; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .lang-toggle { margin-top: 8px; }

/* FOOTER */
footer {
  background: #111920; padding: 24px 6%;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: start; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); justify-self: end; }
.footer-brand { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); justify-self: start; }
.footer-brand span { color: var(--blue); }
.footer-links-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; justify-self: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-social a { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-social a:hover { color: var(--blue); }
.footer-social svg { width: 18px; height: 18px; }

/* SHARED RESPONSIVE (nav/footer only — page-specific responsive rules live in each page) */
@media (max-width: 768px) {
  .nav-links > a { display: none; }
  .hamburger { display: flex; }
  footer { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy, .footer-brand, .footer-links-wrap { justify-self: unset; align-items: flex-start; }
}