/*
Theme Name: Safe4Sure
Theme URI: https://safe4sure.nl
Author: ReclameCenter
Author URI: https://reclamecenter.nl
Description: Custom WordPress theme voor Safe4Sure professionele beveiliging
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: safe4sure
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark:       #060912;
  --dark-blue:  #0a0e27;
  --mid-blue:   #0d1535;
  --accent:     #4db8ff;
  --white:      #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --font:       'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--white);
  color: var(--dark-blue);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark-blue);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-pill {
  background: var(--white);
  color: var(--dark-blue);
  border-radius: 50px;
  font-size: 13px;
  padding: 9px 22px;
  font-weight: 700;
}
.btn-pill:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-dark {
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 6px;
}
.btn-dark:hover {
  background: var(--mid-blue);
  transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes moveLine {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(200vw) skewX(-15deg); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== GLOW LINES ===== */
.glow-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.glow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(77,184,255,0.6), rgba(255,255,255,0.8), rgba(77,184,255,0.6), transparent);
  animation: moveLine linear infinite;
}
.glow-line:nth-child(1) { top: 20%; width: 30%; animation-duration: 6s; animation-delay: 0s; }
.glow-line:nth-child(2) { top: 50%; width: 20%; animation-duration: 8s; animation-delay: 2s; }
.glow-line:nth-child(3) { top: 75%; width: 25%; animation-duration: 7s; animation-delay: 4s; }
.glow-line:nth-child(4) { top: 88%; width: 15%; animation-duration: 9s; animation-delay: 1s; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title.dark {
  color: var(--dark-blue);
}
/* ===== HEADER ===== */
.site-header {
  background: #0a0e27;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-left { display: flex; align-items: center; gap: 0.8rem; }
.header-logo { height: 44px; width: auto; }
.header-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.15); }
.header-brand { font-size: 17px; font-weight: 700; color: white; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 14px; transition: color 0.3s; }
.nav-links a:hover, .nav-links .current-menu-item a { color: white; font-weight: 600; }
.header-cta { font-size: 13px; padding: 9px 20px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  overflow: hidden;
  background-color: #0a0e27;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,14,39,0.95) 0%, rgba(10,14,39,0.92) 45%, rgba(10,14,39,0.5) 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; max-width: 650px; }
.hero-text h1 { font-size: 3.8rem; font-weight: 700; color: white; margin-bottom: 0.5rem; animation: fadeInLeft 0.9s ease both; }
.hero-tagline { font-size: 1.3rem; color: rgba(255,255,255,0.88); margin-bottom: 1rem; font-weight: 400; animation: fadeInLeft 0.9s ease 0.2s both; }
.hero-desc { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 2rem; animation: fadeInLeft 0.9s ease 0.4s both; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInLeft 0.9s ease 0.6s both; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #0a0e27, #0d1535);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(77,184,255,0.1);
}
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

/* ===== UITSTRALING ===== */
.uitstraling-section { background: #060912; padding: 5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.uitstraling-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.uitstraling-text h2 { font-size: 1.9rem; font-weight: 700; color: white; margin-bottom: 1.2rem; }
.uitstraling-text p { color: rgba(255,255,255,0.7); line-height: 1.85; font-size: 0.95rem; margin-bottom: 1rem; }
.uitstraling-text .sub-label { font-weight: 700; color: white; margin-bottom: 0.5rem; }
.uitstraling-text ul li { color: rgba(255,255,255,0.7); padding: 0.25rem 0 0.25rem 1.2rem; font-size: 0.93rem; position: relative; }
.uitstraling-text ul li::before { content: "•"; position: absolute; left: 0; color: #4db8ff; font-weight: 700; }
.uitstraling-img { width: 100%; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }

/* ===== DIENSTEN ===== */
.diensten-section { background: #060912; padding: 5rem 0; position: relative; }
.diensten-glow-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.diensten-glow-line { position: absolute; height: 1px; background: linear-gradient(to right, transparent, rgba(77,184,255,0.5), transparent); animation: moveLine linear infinite; }
.diensten-glow-line:nth-child(1) { top: 20%; width: 35%; animation-duration: 7s; }
.diensten-glow-line:nth-child(2) { top: 55%; width: 25%; animation-duration: 9s; animation-delay: 3s; }
.diensten-glow-line:nth-child(3) { top: 80%; width: 30%; animation-duration: 6s; animation-delay: 1.5s; }

.diensten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dienst-card { position: relative; border-radius: 14px; overflow: hidden; height: 340px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(77,184,255,0.2); transition: all 0.35s ease; cursor: pointer; }
.dienst-card:hover { transform: translateY(-6px); border-color: rgba(77,184,255,0.7); box-shadow: 0 0 30px rgba(77,184,255,0.18), 0 20px 40px rgba(0,0,0,0.5); }
.dienst-card-img { position: absolute; inset: 0; z-index: 0; }
.dienst-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dienst-card:hover .dienst-card-img img { transform: scale(1.05); }
.dienst-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,9,18,1) 0%, rgba(6,9,18,0.85) 40%, rgba(6,9,18,0.2) 100%); z-index: 1; }
.dienst-card-body { position: relative; z-index: 2; padding: 1.5rem 1.8rem; }
.dienst-card-body h3 { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.dienst-card-body p { font-size: 0.84rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 1rem; }

/* ===== STATS ===== */
.stats-section { background: #060912; padding: 3rem 0; border-top: 1px solid rgba(77,184,255,0.1); position: relative; }
.stats-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.stat-item { text-align: center; flex: 1; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.stat-desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ===== EXTRA TEKST ===== */
.extra-tekst { background: white; padding: 5rem 0; }
.extra-tekst-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.extra-tekst-left h2 { font-size: 1.8rem; font-weight: 700; color: #0a0e27; margin-bottom: 1.5rem; line-height: 1.3; }
.extra-tekst-left p { color: #555; line-height: 1.85; font-size: 0.95rem; margin-bottom: 1.2rem; }
.extra-img { width: 100%; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); margin-bottom: 2rem; }
.kernwaarden h3 { font-size: 1rem; font-weight: 700; color: #0a0e27; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.kw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.kw-item { background: #f4f5f9; color: #0a0e27; font-size: 0.85rem; font-weight: 600; padding: 0.6rem 1rem; border-radius: 4px; text-align: center; border-left: 3px solid #0a0e27; }

/* ===== WAAROM ===== */
.waarom-section { background: white; padding: 5rem 0; }
.waarom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.waarom-inner h2 { font-size: 1.9rem; font-weight: 700; color: #0a0e27; margin-bottom: 1.8rem; }
.waarom-list { display: flex; flex-direction: column; gap: 0.8rem; }
.waarom-item { display: flex; align-items: center; gap: 1rem; font-size: 0.93rem; color: #444; }
.waarom-check { color: #0a0e27; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.waarom-img { width: 100%; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* ===== WERKWIJZE ===== */
.werkwijze-section {
  background: #0a0e27;
  background-image: url('../images/hero-monitoring.jpg');
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  position: relative;
}
.werkwijze-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,14,39,0.97) 30%, rgba(10,14,39,0.85) 100%);
}
.werkwijze-section .section-title, .wsteps { position: relative; z-index: 2; }
.wsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.wstep { text-align: center; }
.wstep-num { font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.12); line-height: 1; display: block; letter-spacing: -2px; }
.wstep-line { width: 40px; height: 3px; background: rgba(255,255,255,0.35); margin: 0.8rem auto 1rem; border-radius: 2px; }
.wstep h4 { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.wstep p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ===== DISCRIMINATIE ===== */
.discriminatie-section { background: #060912; padding: 5rem 0; }
.discriminatie-inner { display: grid; grid-template-columns: 0.75fr 1fr; gap: 4rem; align-items: center; }
.discriminatie-img-wrap { border-radius: 16px; overflow: hidden; max-width: 420px; }
.discriminatie-img-wrap img { width: 100%; height: auto; display: block; }
.discriminatie-tekst h2 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 1.5rem; line-height: 1.2; }
.discriminatie-tekst h2 span { color: #d4a843; }
.discriminatie-tekst p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1.2rem; }
.discriminatie-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.discriminatie-tag { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: #f4f5f9; padding: 5rem 0; text-align: center; }
.cta-banner h2 { font-size: 2rem; font-weight: 700; color: #0a0e27; margin-bottom: 2rem; }
.cta-sub { font-size: 1.1rem; color: #666; margin-bottom: 0.8rem; font-style: italic; }

/* ===== CONTACT ===== */
.contact-section { background: white; padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form-wrap h3 { font-size: 1.1rem; font-weight: 700; color: #0a0e27; margin-bottom: 1.5rem; }
.s4s-form .form-group { margin-bottom: 1.2rem; }
.s4s-form label { display: block; margin-bottom: 0.5rem; color: #0a0e27; font-weight: 500; font-size: 0.9rem; }
.s4s-form input, .s4s-form textarea, .s4s-form select { width: 100%; padding: 11px 14px; border: 1.5px solid #e0e0e0; border-radius: 6px; font-family: var(--font); font-size: 13px; transition: border 0.3s; background: white; color: #1a1a1a; }
.s4s-form input:focus, .s4s-form textarea:focus, .s4s-form select:focus { outline: none; border-color: #0a0e27; }
.s4s-form textarea { min-height: 120px; resize: vertical; }
.form-message { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 6px; font-size: 0.9rem; display: none; }
.form-message.success { display: block; background: #d4edda; color: #155724; }
.form-message.error { display: block; background: #f8d7da; color: #721c24; }
.contact-info h3 { font-size: 1.1rem; font-weight: 700; color: #0a0e27; margin-bottom: 1.5rem; }
.contact-detail { margin-bottom: 1.2rem; }
.contact-detail strong { display: block; color: #0a0e27; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.2rem; }
.contact-detail p { color: #555; font-size: 0.93rem; line-height: 1.7; }

/* ===== VACATURES ===== */
.vacatures-section { background: #f4f5f9; padding: 5rem 0; }
.vacancy-card { background: white; border-radius: 10px; padding: 2.2rem; margin-bottom: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.07); max-width: 760px; margin-left: auto; margin-right: auto; }
.vacancy-card h3 { font-size: 1.15rem; font-weight: 700; color: #0a0e27; margin-bottom: 0.4rem; }
.vacancy-meta { font-size: 0.84rem; color: #999; margin-bottom: 1.5rem; }
.vacancy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.vacancy-col h4 { font-size: 0.88rem; font-weight: 600; color: #0a0e27; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.vacancy-col ul { list-style: none; }
.vacancy-col ul li { font-size: 0.87rem; color: #555; padding: 0.22rem 0 0.22rem 1.2rem; position: relative; }
.vacancy-col ul li::before { content: "✓"; position: absolute; left: 0; color: #0a0e27; font-weight: 700; }
.sollicit-form { background: white; border-radius: 10px; padding: 2.5rem; max-width: 620px; margin: 3rem auto 0; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.sollicit-form h3 { font-size: 1.15rem; font-weight: 700; color: #0a0e27; margin-bottom: 1.5rem; }

/* ===== FOOTER ===== */
.site-footer { background: #0a0e27; color: white; padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-bottom: 3rem; }
.footer-col h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; color: rgba(255,255,255,0.9); }
.footer-col p, .footer-col a, .footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); display: block; margin-bottom: 0.4rem; line-height: 1.7; }
.footer-col a:hover, .footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-logo { height: 44px; margin-bottom: 1rem; }
.footer-slogan { font-style: italic; margin-top: 0.5rem; }
.footer-bottom { background: #07091c; color: rgba(255,255,255,0.35); text-align: center; padding: 1rem; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }

/* ===== ANIMATIONS ON SCROLL ===== */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .uitstraling-inner, .extra-tekst-inner, .waarom-inner, .discriminatie-inner, .contact-grid { grid-template-columns: 1fr; }
  .werkwijze-steps, .wsteps { grid-template-columns: repeat(3, 1fr); }
  .diensten-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 0 1.5rem; }
  .header-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #0a0e27; padding: 1rem 2rem; flex-direction: column; }
  .header-nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 1rem; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .diensten-grid { grid-template-columns: 1fr; }
  .wsteps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .vacancy-cols { grid-template-columns: 1fr; }
  .kw-grid { grid-template-columns: repeat(2, 1fr); }
}

