/* AngstInfo.nl - Modern, calming, mobile-first CSS */

:root {
  --primary: #0f766e;
  --primary-dark: #0d5c56;
  --primary-light: #14b8a6;
  --accent: #7c3aed;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.nav > a, .nav-dropdown-btn {
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav > a:hover, .nav > a.active,
.nav-dropdown.active-parent > .nav-dropdown-btn,
.nav-dropdown-btn:hover {
  background: #f0fdfa;
  color: var(--primary);
}
.nav-dropdown { position: relative; }
.nav-dropdown .caret { font-size: 0.7rem; opacity: 0.7; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  z-index: 1100;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: #f0fdfa;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; border-radius: 8px;
}
.menu-toggle:hover { background: #f1f5f9; }
.menu-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 65px; left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column; padding: 1rem; gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: 0.3s ease;
    align-items: stretch;
  }
  .nav.open {
    transform: translateY(0); opacity: 1; visibility: visible;
  }
  .nav > a, .nav-dropdown-btn {
    width: 100%; padding: 0.85rem 1rem; text-align: left; justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 0.25rem 0.75rem;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }
}

/* Ban banner */
.ban-banner {
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.92rem;
  padding: 0.75rem 1.25rem;
}
.ban-banner a { font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgb(20 184 166 / 0.2);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.form-check input { width: 1.1rem; height: 1.1rem; }

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert-success { background: #ecfdf5; border: 1px solid #99f6e4; color: #0f766e; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-info { background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; }
.alert-warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  object-fit: cover;
  width: 100%;
  display: block;
}
.blog-card-body { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card h2, .blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text); }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.blog-card .read-more { margin-top: 0.85rem; font-weight: 600; color: var(--primary); font-size: 0.92rem; }

.blog-article .cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}
.blog-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.blog-article .content img {
  border-radius: 10px;
  margin: 1.25rem 0;
}
.comments-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-author { font-weight: 600; }
.comment-date { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }
.comment-body { margin-top: 0.4rem; color: var(--text); }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-top: 2.5rem;
}
.pagination a, .pagination span {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
  background: var(--primary); color: white; border-color: var(--primary);
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: #0f172a; color: #e2e8f0;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 0.15);
}
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  justify-content: space-between;
}
.cookie-banner p { font-size: 0.92rem; flex: 1; min-width: 220px; margin: 0; color: #cbd5e1; }
.cookie-banner a { color: #5eead4; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-ghost {
  background: transparent; color: #e2e8f0; border: 1px solid #334155;
}
.btn-ghost:hover { background: #1e293b; color: white; }

/* Admin */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: #0f172a; color: #cbd5e1;
  padding: 1.5rem 0; flex-shrink: 0;
}
.admin-sidebar .brand {
  padding: 0 1.25rem 1.5rem;
  font-weight: 700; color: white; font-size: 1.1rem;
  border-bottom: 1px solid #1e293b; margin-bottom: 1rem;
}
.admin-sidebar a {
  display: block; padding: 0.65rem 1.25rem;
  color: #94a3b8; font-weight: 500; font-size: 0.95rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: #1e293b; color: white;
}
.admin-main { flex: 1; background: var(--bg); }
.admin-top {
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
}
.admin-content { padding: 1.5rem; max-width: 1100px; }
.admin-content h1 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.stat-card .num { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat-card .lbl { color: var(--text-muted); font-size: 0.9rem; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th, table.data td {
  padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
}
table.data th { background: #f8fafc; font-weight: 600; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.data tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-ok { background: #ecfdf5; color: #0f766e; }
.badge-warn { background: #fff7ed; color: #c2410c; }
.badge-muted { background: #f1f5f9; color: #64748b; }
.badge-danger { background: #fef2f2; color: #b91c1c; }
.btn-danger { background: #b91c1c; }
.btn-danger:hover { background: #991b1b; }
.btn-secondary { background: #64748b; }
.btn-secondary:hover { background: #475569; color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.admin-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
@media (max-width: 800px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 0.75rem 0; }
  .admin-sidebar .brand { padding-bottom: 0.75rem; }
}

.hero {
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfdf5 40%, #f8fafc 100%);
  padding: 4rem 1.25rem 3.5rem; text-align: center;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 800; line-height: 1.25; margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.15rem; color: var(--text-muted);
  margin-bottom: 2rem; max-width: 620px; margin-left: auto; margin-right: auto;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: white;
  padding: 0.85rem 1.6rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--bg-card); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 1.85rem; font-weight: 700; margin-bottom: 0.75rem; text-align: center; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; background: #f0fdfa; color: var(--primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.page-header {
  background: linear-gradient(160deg, #f0fdfa, #f8fafc);
  padding: 3rem 1.25rem 2.5rem; text-align: center;
}
.page-header h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 0.75rem; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.content { max-width: 800px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.content h2 { font-size: 1.5rem; margin: 2.25rem 0 1rem; color: var(--primary-dark); }
.content h3 { font-size: 1.2rem; margin: 1.75rem 0 0.75rem; }
.content p { margin-bottom: 1.1rem; }
.content ul, .content ol { margin: 0 0 1.25rem 1.4rem; }
.content li { margin-bottom: 0.5rem; }
.content blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 1rem 1.25rem; background: #f0fdfa;
  border-radius: 0 10px 10px 0; margin: 1.5rem 0;
}
.disclaimer {
  background: #fff7ed; border: 1px solid #fed7aa;
  border-radius: var(--radius); padding: 1.25rem; margin: 2rem 0;
  font-size: 0.95rem; color: #9a3412;
}
.tip-box {
  background: #f0fdfa; border: 1px solid #99f6e4;
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.tip-box strong { color: var(--primary-dark); }

.footer { background: #0f172a; color: #cbd5e1; padding: 3rem 1.25rem 1.5rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer h4 { color: white; margin-bottom: 1rem; font-size: 1.05rem; }
.footer a { color: #94a3b8; display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding-top: 1.5rem;
  text-align: center; font-size: 0.9rem; color: #64748b;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (max-width: 600px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 2.5rem 1rem; }
}