/*
Theme Name: Justice AJB
Theme URI: https://animaljusticebelgium.be
Author: Animal Justice Belgium
Description: Exacte visuele stijl van justice-vzw: navy/rood/cream, Poppins + Inter.
Version: 3.2
Requires PHP: 7.4
Text Domain: justice-ajb
*/

:root{
  --navy:#12213a;
  --navy-dark:#0b1524;
  --red:#d7263d;
  --red-dark:#b31d31;
  --cream:#f7f5f0;
  --gray:#5b6472;
  --line:#e4e2db;
  --green:#2e7d5b;
  --radius:14px;
  --shadow:0 10px 30px rgba(18,33,58,.10);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  color:var(--navy);
  background:var(--cream);
  line-height:1.6;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif; line-height:1.2;}
a{color:inherit;}
img{max-width:100%; display:block;}
.container{max-width:1160px; margin:0 auto; padding:0 24px;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:600;
  font-size:15px; text-decoration:none; border:none; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family:'Inter',sans-serif;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--red); color:#fff; box-shadow:0 8px 20px rgba(215,38,61,.35);}
.btn-primary:hover{background:var(--red-dark);}
.btn-outline{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55);}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-navy{background:var(--navy); color:#fff;}
.btn-navy:hover{background:var(--navy-dark);}
section{padding:88px 0;}
.eyebrow{
  text-transform:uppercase; letter-spacing:.12em; font-size:12.5px;
  font-weight:700; color:var(--red);
}
.section-title{font-size:34px; font-weight:800; margin:10px 0 16px; color:var(--navy);}
.section-lead{color:var(--gray); font-size:16.5px; max-width:640px;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

/* HEADER */
header.site{
  position:sticky; top:0; z-index:100; background:var(--navy-dark);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; max-width:1160px; margin:0 auto;
}
.logo{
  display:flex; align-items:center; gap:10px; color:#fff;
  font-family:'Poppins',sans-serif; font-weight:800; font-size:20px; text-decoration:none;
}
.logo .sub{display:block; font-family:'Inter',sans-serif; font-weight:500; font-size:11px; color:#a7b0c0; letter-spacing:.03em;}
nav.links{display:flex; align-items:center; gap:28px;}
nav.links a{color:#dfe3ea; text-decoration:none; font-size:14.5px; font-weight:500; transition:color .15s;}
nav.links a:hover{color:#fff;}
.nav-actions{display:flex; align-items:center; gap:14px;}
.menu-toggle{display:none; background:none; border:none; color:#fff; font-size:24px; cursor:pointer; line-height:1;}
.mobile-menu{display:none; flex-direction:column; background:var(--navy-dark); border-top:1px solid rgba(255,255,255,.08); padding:6px 24px 22px;}
.mobile-menu.open{display:flex;}
.mobile-menu a{color:#dfe3ea; text-decoration:none; font-size:16px; font-weight:500; padding:13px 2px; border-bottom:1px solid rgba(255,255,255,.08);}
.mobile-menu a:last-of-type{border-bottom:none;}
.mobile-menu .btn{width:100%; justify-content:center; margin-top:14px;}

/* EMERGENCY BAR */
.emergency-bar{background:var(--red); color:#fff; text-align:center; font-size:13.5px; padding:8px 16px; font-weight:600;}
.emergency-bar a{text-decoration:underline; color:#fff;}

/* HERO */
.hero{
  background:
    linear-gradient(160deg, rgba(20,15,12,.93) 0%, rgba(10,8,8,.95) 55%, rgba(0,0,0,.97) 100%),
    url('https://images.unsplash.com/photo-1675701918017-fda8f5bcbf90?auto=format&fit=crop&w=1600&q=60') center 30%/cover no-repeat;
  color:#fff; padding:104px 0 94px; position:relative; overflow:hidden;
  border-bottom:2px solid rgba(215,38,61,.55);
  box-shadow:inset 0 -40px 60px -30px rgba(215,38,61,.15);
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 90px);
  pointer-events:none;
}
.hero::after{
  content:""; position:absolute; right:-160px; top:-160px; width:640px; height:640px;
  background:radial-gradient(circle, rgba(215,38,61,.65), transparent 68%);
}
.hero-glow-left{
  content:""; position:absolute; left:-180px; bottom:-220px; width:520px; height:520px;
  background:radial-gradient(circle, rgba(215,38,61,.35), transparent 70%);
  pointer-events:none;
}
.hero-inner{display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; position:relative; z-index:2;}
.hero-tag{
  display:inline-flex; align-items:center; gap:10px; background:rgba(215,38,61,.15);
  border:1px solid rgba(215,38,61,.5); color:#ff6b78; font-size:12.5px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; padding:6px 14px; border-radius:999px; margin-bottom:20px;
  position:relative; animation:tag-pulse 1.4s ease-in-out infinite;
}
@keyframes tag-pulse{0%,100%{box-shadow:0 0 0 0 rgba(215,38,61,.35); border-color:rgba(215,38,61,.5);} 50%{box-shadow:0 0 0 6px rgba(215,38,61,0); border-color:rgba(215,38,61,.9);}}
.hero-tag .dot{position:relative; width:8px; height:8px; border-radius:50%; background:#ff2d3d; box-shadow:0 0 8px 2px rgba(255,45,61,.85); animation:dot-pulse 1.4s ease-in-out infinite;}
.hero-tag .dot::before{content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; border-radius:50%; background:rgba(255,45,61,.65); transform:translate(-50%,-50%); animation:ring-pulse 1.4s ease-out infinite;}
@keyframes dot-pulse{0%,100%{box-shadow:0 0 6px 2px rgba(255,45,61,.7); opacity:1;} 50%{box-shadow:0 0 14px 5px rgba(255,45,61,1); opacity:.75;}}
@keyframes ring-pulse{0%{width:8px; height:8px; opacity:.7;} 100%{width:30px; height:30px; opacity:0;}}
.hero h1{font-size:50px; font-weight:800; margin-bottom:18px; letter-spacing:-.015em; text-shadow:0 2px 24px rgba(215,38,61,.25);}
.hero h1 span{color:#ff3b4e;}
.hero p{color:#c9beb2; font-size:17px; max-width:520px; margin-bottom:32px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero .btn-primary{box-shadow:0 10px 32px rgba(215,38,61,.55);}
.hero-card{
  background:rgba(255,255,255,.05); border:1px solid rgba(215,38,61,.4);
  border-radius:var(--radius); padding:26px; backdrop-filter:blur(6px);
  position:relative; z-index:2; box-shadow:0 20px 50px -20px rgba(215,38,61,.35);
}
.hero-card h4{font-size:14px; color:#ff6b78; font-weight:700; margin-bottom:14px; text-transform:uppercase; letter-spacing:.06em;}
.hero-steps{list-style:none; display:flex; flex-direction:column; gap:14px;}
.hero-steps li{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:#e9e2d8;}
.step-num{width:26px; height:26px; border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700; flex-shrink:0;}

/* PAGE HERO (binnenpagina's, kleiner dan homepage hero) */
.page-hero{
  background:linear-gradient(160deg, rgba(20,15,12,.93) 0%, rgba(10,8,8,.95) 55%, rgba(0,0,0,.97) 100%),
    url('https://images.unsplash.com/photo-1675701918017-fda8f5bcbf90?auto=format&fit=crop&w=1600&q=60') center 30%/cover no-repeat;
  color:#fff; padding:64px 0 54px; border-bottom:2px solid rgba(215,38,61,.55);
}
.page-hero .eyebrow{color:#ff8a94;}
.page-hero h1{font-size:38px; font-weight:800; margin-bottom:10px;}
.page-hero p{color:#c9beb2; font-size:16px; max-width:640px;}

/* IMPACT STATS */
.stats-strip{background:#fff; border-bottom:1px solid var(--line);}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:44px 0;}
.stat{text-align:center;}
.stat .num{font-family:'Poppins',sans-serif; font-size:32px; font-weight:800; color:var(--red);}
.stat .label{font-size:13px; color:var(--gray); margin-top:4px;}
.stats-note{grid-column:1/-1; text-align:center; font-size:12px; color:#9aa2af; margin-top:-8px;}

/* MISSION / HOW IT WORKS */
.about-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;}
.about-photo{border-radius:18px; overflow:hidden; box-shadow:var(--shadow); position:relative; aspect-ratio:4/3;}
.about-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.how-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:44px;}
.how-card{background:#fff; border-radius:var(--radius); padding:26px 22px; box-shadow:var(--shadow); border-top:4px solid var(--red);}
.how-card .n{font-family:'Poppins',sans-serif; font-weight:800; font-size:26px; color:var(--navy); opacity:.18; margin-bottom:6px;}
.how-card h3{font-size:16.5px; margin-bottom:8px;}
.how-card p{font-size:14px; color:var(--gray);}

/* LEGISLATION BAR */
.legislation-bar{
  margin-top:40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 30px; box-shadow:var(--shadow);
}
.legislation-text h3{font-size:17px; margin-bottom:6px;}
.legislation-text p{font-size:13.5px; color:var(--gray); max-width:420px;}
.legislation-actions{display:flex; gap:12px; flex-wrap:wrap;}

/* GENERIC CONTENT PAGES */
.entry-content{background:#fff;}
.entry-content h2{font-size:26px; margin:36px 0 14px; font-family:'Poppins',sans-serif;}
.entry-content h3{font-size:18px; margin:26px 0 8px; font-family:'Poppins',sans-serif;}
.entry-content p{color:var(--gray); margin-bottom:14px; max-width:720px; font-size:16px;}
.entry-content strong{color:var(--navy); font-weight:700;}
.entry-content ul, .entry-content ol{color:var(--gray); margin:0 0 16px 20px; max-width:720px;}
.entry-content li{margin-bottom:10px;}
.entry-content img{margin:20px 0; border-radius:12px;}
.entry-content iframe{width:100%; aspect-ratio:16/9; height:auto; border:0; border-radius:12px;}
.callout{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; margin:24px 0; max-width:720px; box-shadow:var(--shadow);}
.callout p{margin:0; color:var(--gray); font-size:14px;}

/* REPORT PAGE (meldpunt) */
.report-section{background:var(--navy-dark); color:#fff;}
.report-section .eyebrow{color:#ff8a94;}
.report-section .section-title{color:#fff;}
.report-section .section-lead{color:#b7bfd0;}
.report-grid{display:grid; grid-template-columns:1fr 1.3fr; gap:44px; margin-top:44px; align-items:start;}
.report-info{display:flex; flex-direction:column; gap:18px;}
.info-box{background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius); padding:20px;}
.info-box h4{font-size:14.5px; margin-bottom:6px; color:#fff;}
.info-box p{font-size:13.5px; color:#aeb6c6;}
.info-box.alert{border-color:rgba(215,38,61,.5); background:rgba(215,38,61,.12);}
.info-box.alert h4{color:#ff9aa4;}

.form-card{background:#fff; color:var(--navy); border-radius:18px; padding:34px; box-shadow:0 30px 60px rgba(0,0,0,.35);}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.field{display:flex; flex-direction:column; gap:6px;}
.field.full{grid-column:1/-1;}
label{font-size:13px; font-weight:600; color:var(--navy);}
input[type=text], input[type=email], input[type=date], input[type=time], select, textarea{
  padding:11px 13px; border:1.5px solid var(--line); border-radius:9px; font-size:14.5px;
  font-family:'Inter',sans-serif; background:#fbfaf7; width:100%;
}
input:focus, select:focus, textarea:focus{outline:none; border-color:var(--red);}
textarea{resize:vertical; min-height:90px;}
.checkbox-row{display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--gray); margin:18px 0;}
.checkbox-row input{margin-top:3px;}

/* MEDIA / NEWS */
.media-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:44px;}
.media-card{background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.media-thumb{height:160px; background:linear-gradient(135deg,#1c3157,#12213a) center/cover no-repeat; display:flex; align-items:flex-end; justify-content:flex-start; position:relative;}
.media-thumb::after{content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(18,33,58,.55), transparent 55%);}
.media-body{padding:20px;}
.media-source{font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--red);}
.media-date{font-size:11.5px; color:#9aa2af; margin-left:8px;}
.media-body h3{font-size:16px; margin:8px 0 8px;}
.media-body p{font-size:13.5px; color:var(--gray); margin-bottom:12px;}
.media-body a{font-size:13px; font-weight:700; color:var(--navy); text-decoration:none;}
.media-note{text-align:center; font-size:12.5px; color:#9aa2af; margin-top:24px;}

/* STORIES / VIDEO */
.video-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:44px;}
.video-card{background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.video-frame{position:relative; aspect-ratio:16/9; background:#0e1a2c;}
.video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0; display:block;}
.video-placeholder{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; border:2px dashed rgba(255,255,255,.25); margin:10px; border-radius:10px;
  background:linear-gradient(135deg,#12213a,#0b1524); color:#c7cee0; text-align:center; padding:16px;
}
.video-placeholder .play-ic{width:46px; height:46px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center;}
.video-placeholder span{font-size:12.5px; font-weight:600;}
.video-body{padding:18px 20px;}
.video-body h3{font-size:15.5px; margin-bottom:6px;}
.video-body p{font-size:13.5px; color:var(--gray);}
.stories-channel-cta{
  margin-top:40px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:var(--navy-dark); color:#fff; border-radius:var(--radius); padding:26px 30px;
}
.stories-channel-cta p{color:#c7cee0; font-size:14.5px; margin:0;}

/* Testimonial / witness quote card */
.witness-card{background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:34px; margin-top:44px; max-width:820px;}
.witness-card .who{display:flex; align-items:center; gap:14px; margin-bottom:18px;}
.witness-card .avatar{width:52px; height:52px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Poppins',sans-serif; flex-shrink:0;}
.witness-card .name{font-weight:700; font-size:15px;}
.witness-card .role{font-size:13px; color:var(--gray);}
.witness-card blockquote{font-size:16px; line-height:1.7; color:var(--navy);}

/* MEMBERS / SPONSORS / DONORS */
.msd-section{background:#fff;}
.msd-tabs{display:flex; gap:10px; margin:36px 0 30px; flex-wrap:wrap;}
.msd-tab-panel{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.msd-card{border:1px solid var(--line); border-radius:var(--radius); padding:28px; display:flex; flex-direction:column; gap:12px;}
.msd-card .icon{width:44px; height:44px; border-radius:10px; background:#fdeef0; color:var(--red); display:flex; align-items:center; justify-content:center;}
.msd-card h3{font-size:18px;}
.msd-card p{font-size:13.5px; color:var(--gray); flex-grow:1;}

/* CONTACT */
.contact-section{background:var(--cream);}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:44px; margin-top:40px;}
.contact-details{display:flex; flex-direction:column; gap:20px;}
.contact-item{display:flex; gap:14px; align-items:flex-start;}
.contact-item .ic{width:38px; height:38px; border-radius:9px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.contact-item h4{font-size:14.5px; margin-bottom:2px;}
.contact-item p{font-size:13.5px; color:var(--gray);}
.contact-form{background:#fff; border-radius:var(--radius); padding:30px; box-shadow:var(--shadow);}

/* FOOTER */
footer.site{background:var(--navy-dark); color:#c7cee0; padding:60px 0 24px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;}
.footer-grid h4{color:#fff; font-size:14.5px; margin-bottom:16px;}
.footer-grid ul{list-style:none; display:flex; flex-direction:column; gap:10px;}
.footer-grid a{color:#a7b0c0; text-decoration:none; font-size:13.5px;}
.footer-grid a:hover{color:#fff;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:#8891a3; flex-wrap:wrap; gap:10px;}
.footer-bottom a{color:#8891a3; text-decoration:underline;}

/* PRIVACY / GEGEVENSBESCHERMING (stamp-dossier stijl) */
.privacy-page{background:#151312; color:#e9e2d3; font-family:'Courier New', Courier, monospace;}
.privacy-page .stamp-bar{
  border-bottom:2px solid #8a1f1f; padding:18px 24px; display:flex;
  justify-content:space-between; align-items:center; letter-spacing:2px;
  font-size:12px; text-transform:uppercase; color:#b8853a; flex-wrap:wrap; gap:10px;
}
.privacy-page .stamp-bar .back-link{color:#b8853a; text-decoration:none; font-size:12px; letter-spacing:1px;}
.privacy-page .stamp-bar .mark{border:1px solid #b3281f; color:#b3281f; padding:3px 8px; transform:rotate(-2deg); display:inline-block;}
.privacy-page .privacy-main{max-width:760px; margin:0 auto; padding:60px 24px 100px;}
.privacy-page .dossier-label{color:#b3281f; font-size:12px; letter-spacing:3px; text-transform:uppercase; margin-bottom:8px;}
.privacy-page h1{font-family:Georgia,'Times New Roman',serif; font-size:34px; font-weight:700; color:#e9e2d3; margin:0 0 6px; border-bottom:1px solid #3a352f; padding-bottom:18px;}
.privacy-page .intro{color:#a99f8f; font-size:15px; margin:20px 0 40px; border-left:3px solid #b8853a; padding-left:16px;}
.privacy-page .p-section{margin-bottom:34px; padding-bottom:34px; border-bottom:1px dashed #3a352f;}
.privacy-page .p-section:last-of-type{border-bottom:none;}
.privacy-page h2{font-family:Georgia, serif; font-size:18px; color:#b8853a; text-transform:uppercase; letter-spacing:1px; margin:0 0 12px;}
.privacy-page h2::before{content:"§ "; color:#b3281f;}
.privacy-page p{font-size:15px; color:#e9e2d3; margin:0 0 10px;}
.privacy-page ul{margin:8px 0; padding-left:20px;}
.privacy-page li{margin-bottom:6px; font-size:15px;}
.privacy-page a{color:#b8853a;}
.privacy-page .privacy-footer{text-align:center; font-size:12px; color:#a99f8f; letter-spacing:1px; padding:30px 0; border-top:1px solid #3a352f;}

@media (max-width: 900px){
  .hero-inner, .report-grid, .contact-grid, .about-grid{grid-template-columns:1fr;}
  .stats-grid, .how-grid, .media-grid, .msd-tab-panel, .video-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  nav.links{display:none;}
  .nav-actions > a.btn{display:none;}
  .menu-toggle{display:block;}
}
@media (max-width: 560px){
  .hero h1{font-size:32px;}
  .stats-grid, .how-grid, .media-grid, .msd-tab-panel, .video-grid{grid-template-columns:1fr 1fr;}
  .form-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}
@media (max-width: 480px){
  section{padding:56px 0;}
  .hero{padding:78px 0 56px;}
  .hero h1{font-size:27px;}
  .hero p{font-size:15.5px;}
  .section-title{font-size:24px;}
  .hero-actions{flex-direction:column; align-items:stretch;}
  .hero-actions .btn{justify-content:center; width:100%;}
  .stats-grid, .how-grid, .media-grid, .video-grid{grid-template-columns:1fr;}
  .stories-channel-cta{flex-direction:column; align-items:stretch; text-align:center;}
  .stories-channel-cta .btn{justify-content:center;}
  .nav-wrap{padding:12px 16px;}
  .hero-card{padding:8px;}
  .form-card{padding:22px;}
  .witness-card{padding:22px;}
  .contact-form{padding:22px;}
  .legislation-bar{padding:22px;}
  .legislation-actions{width:100%;}
  .legislation-actions .btn{width:100%; justify-content:center;}
  .msd-card{padding:22px;}
  .info-box{padding:16px;}
  .privacy-page .privacy-main{padding:40px 18px 70px;}
  .privacy-page h1{font-size:26px;}
  .privacy-page .stamp-bar{padding:14px 16px; font-size:11px;}
  .footer-bottom{flex-direction:column; align-items:flex-start;}
}


/* Formulieren: datum/tijd-velden niet breder dan het scherm op iPhone */
.form-card input, .form-card select, .form-card textarea { max-width: 100%; box-sizing: border-box; }
.form-card input[type="date"], .form-card input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; width: 100%; display: block; min-height: 48px; }
.form-card input[type="file"] { padding: 10px; background: transparent; }

/* Menu: labels niet laten afbreken (ook in het Frans) */
header.site nav.links a, header.site .btn { white-space: nowrap; }
header.site .logo { margin-right: 18px; }
