/*
Theme Name: Zichtbaar Marketing
Theme URI: https://example.com/zichtbaar-marketing
Author: Zichtbaar Marketing
Author URI: https://example.com
Description: Classic WordPress theme (geen block theme) met Home als bewerkbare pagina, menu, contactformulier en juridische pagina's.
Version: 1.4.20250909
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zichtbaar-marketing
Tags: classic-theme, marketing, clean, responsive
*/

:root { 
  --orange:#f97316; 
  --blue:#2563eb; 
  --bg:#fff; 
  --ink:#0f172a; 
  --muted:#475569; 
}
* { box-sizing:border-box; }
body { 
  margin:0; 
  font-family: system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,'Apple Color Emoji','Segoe UI Emoji'; 
  color:var(--ink); 
  background:var(--bg); 
  line-height:1.65; 
}
a { color:var(--blue); text-decoration:none; }
a:hover { text-decoration:underline; }
.container { max-width:1280px; margin:0 auto; padding:0 24px; }

/* ===== HEADER ===== */
header.site-header { 
  position:sticky; 
  top:0; 
  z-index:50; 
  background:rgba(255,255,255,.9); 
  backdrop-filter:blur(10px); 
  border-bottom:1px solid #e5e7eb; 
}
.header-top { display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px; }
.brand { font-weight:800; font-size:26px; letter-spacing:.3px; display:flex; align-items:center; gap:8px; }
.brand .z { color:var(--orange); }
.brand .m { color:var(--blue); }
nav.primary ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap: 10px 18px; }
nav.primary li a { display:block; padding:10px 0; font-weight:600; color: var(--ink); }
nav.primary li.current-menu-item > a, nav.primary li a:hover { color: var(--blue); }
.header-right { display:flex; align-items:center; gap: 12px; }
.header-right .search form { display:flex; align-items:center; gap:8px; }
.header-right input[type="search"] { padding:10px 12px; border:1px solid #e5e7eb; border-radius:12px; min-width: 240px; }

/* ===== BUTTONS ===== */
.btn { display:inline-block; padding: 10px 16px; border-radius: 999px; font-weight:700; border:1px solid var(--blue); }
.btn-primary { background: var(--blue); color:#fff; }
.btn-primary:hover { filter: brightness(0.95); text-decoration: none; }

/* ===== HERO ===== */
.hero { 
  position: relative; 
  color:#fff; 
  height: 400px; /* vaste hoogte voor alle pagina's */
  display:flex; 
  align-items:center; 
  justify-content:center; 
  background-size: cover; 
  background-position: center;
}
.hero .overlay { 
  position:absolute; 
  inset:0; 
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)); 
}
.hero .content { 
  position:relative; 
  z-index:2; 
  padding: 60px 0; 
  text-align:center; 
  max-width:800px; 
  margin:0 auto;
}
.hero h1 { font-size: 44px; margin: 0 0 8px; }
.hero p { font-size: 18px; max-width: 760px; opacity:.9; }
.hero .cta { margin-top: 16px; }

/* ===== SECTIONS & GRID ===== */
.section { padding: 18px 0; }
.grid { display:grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== GENERIC CARD ===== */
.card { 
  background:#fff; 
  border:1px solid #e5e7eb; 
  border-radius:16px; 
  padding: 18px; 
  display:flex; 
  flex-direction:column; 
}
.card h3 { margin-top:0; }
.card .card-actions { margin-top: auto; }
.card .btn { width:100%; text-align:center; }

/* ✅ Afbeeldingen in cards */
.card-media img {
  width: 100%;
  height: 220px;          
  object-fit: cover;      
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ===== FOOTER ===== */
footer.site-footer { border-top: 1px solid #e5e7eb; padding: 28px 0; background:#fafafa; margin-top: 40px; }
.footer-grid { display:grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer small { color:var(--muted); }

table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #e5e7eb; padding: 8px; text-align:left; }

/* ===== BLOG GRID ===== */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
  text-decoration: none;
}

.blog-title:hover {
  text-decoration: underline;
}

.blog-text {
  font-size: 14px;
  color: #555;
  flex: 1;
}

.blog-meta {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}
