/* ============================================
   SUBPAGE STYLES
   Shared stylesheet for /privatlivspolitik and /servicevilkaar
   ============================================ */

:root {
  --navy: #1a365d;
  --navy-dark: #0f2440;
  --navy-light: #2b4c7e;
  --grad-left: #b3d9f2;
  --white: #ffffff;
  --cream: #edf4fa;
  --text-dark: #2D2D2D;
  --text-muted: #555555;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.nav-logo:hover { text-decoration: none; }

.nav-logo-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-center a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-center a:hover { color: var(--navy); text-decoration: none; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(26,54,93,0.25);
  text-decoration: none;
}

/* === Page Header === */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 7.5rem 1.5rem 3.5rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.page-header .updated {
  margin-top: 0.5rem;
  font-size: 14px;
  opacity: 0.6;
}

.hero-accent {
  height: 4px;
  background: linear-gradient(to right, var(--grad-left), #dce8f5);
}

/* === Content === */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  min-height: 50vh;
}

.content h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #dde9f5;
}

.content h2:first-child { margin-top: 0; }

.content p {
  margin-bottom: 1rem;
  line-height: 1.85;
}

.content ul, .content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content li { margin-bottom: 0.4rem; }
.content strong { color: var(--text-dark); }

.content a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--grad-left);
}

.content a:hover {
  color: var(--navy-light);
  text-decoration: none;
}

/* === Footer === */
.site-footer {
  background: var(--navy);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .nav-container { height: 60px; }
  .nav-center { display: none; }
  .cta-btn { padding: 10px 20px; font-size: 13px; }
  .page-header { padding: 5.5rem 1.25rem 2rem; }
  .page-header h1 { font-size: 1.6rem; }
  .content { padding: 2rem 1.25rem 3rem; }
  .content h2 { font-size: 1.15rem; }
  .footer-links { flex-direction: column; gap: 6px; }
}
