/* -------------------------------
   Fancy Prikbord – Nieuwe Styling
   ------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #f7f9fc;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #3b82f6;   /* blauw */
  --accent-hover: #2563eb;
  --danger: #ef4444;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.poster{
	color: white;
}

/* ---------------- Navbar ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.actions a, .button {
  display: inline-block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s ease, transform .1s ease;
}

.actions a:hover, .button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---------------- Layout ---------------- */
.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px;
}

/* ---------------- Grid & Cards ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* --- Detailpagina fixes --- */

/* Hoofdafbeelding altijd passend */
.card .thumb img {
  width: 100%;
	max-width: 600px;
  height: 400px;
  object-fit: contain;   /* hele afbeelding tonen */
  background: #fff;   /* donkerblauwe achtergrond achter beeld */
}

/* Tekst in advertentie-detail wit maken */
.card.view-page .content {
  color: #fff;
}

.card.view-page .title,
.card.view-page .desc,
.card.view-page .meta {
  color: #fff;            /* alles wit */
}

.card.view-page .meta {
  opacity: 0.85;          /* iets subtieler */
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}



.card .content {
  padding: 14px;
}

.card .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.card .desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .meta {
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- Form ---------------- */
.form-card {
  max-width: 720px;
  margin: 24px auto;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="number"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

textarea {
  resize: vertical;
}

.help {
  color: var(--muted);
  font-size: 12px;
}

.error {
  color: var(--danger);
  font-weight: 600;
}

.success {
  color: green;
  font-weight: 600;
}

/* ---------------- Footer ---------------- */
footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 60px;                  /* even dik als de navbar */
  background: #ffffffcc;             /* zelfde achtergrond als header */
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 14px;
  color: var(--muted);
  padding: 0 16px;
}