/* Site Theme: alarmsysteem-beveiliging-huis.nl — "Dynamic alert" */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #111827;
  --theme-bg-alt: #1F2937;
  --theme-bg-elevated: #374151;
  --theme-text: #D1D5DB;
  --theme-text-light: #9CA3AF;
  --theme-heading: #FFFFFF;
  --theme-accent: #7C3AED;
  --theme-accent-hover: #6D28D9;
  --theme-accent-light: rgba(124, 58, 237, 0.12);
  --theme-accent-glow: rgba(124, 58, 237, 0.3);
  --theme-card-bg: #1F2937;
  --theme-card-border: #374151;
  --theme-font-heading: 'Barlow Condensed', -apple-system, sans-serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 0.375rem;
  --theme-radius-lg: 0.5rem;
  --theme-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --theme-shadow-hover: 0 8px 24px rgba(220, 38, 38, 0.1);
  --theme-transition: 0.25s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Hero — dark with red alert accents */
.hero-section {
  background: linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg-alt) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
}

/* Alert pulse on hero border */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme-accent);
  animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 8px var(--theme-accent-light); }
  50% { opacity: 1; box-shadow: 0 0 20px var(--theme-accent-glow); }
}

.hero-section h1 {
  color: #FFFFFF;
  font-size: 3rem;
  font-weight: 800;
}

.hero-section p {
  color: var(--theme-text-light);
}

/* Shield pulse micro-interaction */
@keyframes shieldPulse {
  0% { transform: scale(1); }
  15% { transform: scale(1.08); }
  30% { transform: scale(1); }
  45% { transform: scale(1.04); }
  60%, 100% { transform: scale(1); }
}

.icon-shield, .fa-shield, [class*="shield"],
.hero-section .text-red-600,
.hero-section .text-red-500 {
  animation: shieldPulse 3s ease-in-out infinite;
}

/* Cards — dark alert */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg) !important;
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  transition: all var(--theme-transition);
  color: var(--theme-text);
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  border-color: var(--theme-accent);
  transform: translateY(-2px);
}

/* Red left border indicator on hover */
.card {
  position: relative;
  border-left: 3px solid transparent;
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition), transform var(--theme-transition);
}

.card:hover {
  border-left-color: var(--theme-accent);
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

section:nth-child(odd) {
  background-color: var(--theme-bg);
}

/* Buttons — alert red */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-family: var(--theme-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  box-shadow: 0 4px 16px var(--theme-accent-glow);
  transform: translateY(-1px);
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
  font-weight: 800;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: #FCA5A5;
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: #fff;
}

/* Form inputs */
input, select, textarea {
  background: var(--theme-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  color: var(--theme-text);
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 2px var(--theme-accent-light);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: var(--theme-text-light);
}

/* Dividers */
hr {
  border: none;
  height: 1px;
  background: var(--theme-card-border);
}

/* Footer */
footer {
  background-color: #0D1117 !important;
  border-top: 2px solid var(--theme-accent);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 2.25rem; }
  .card:hover { transform: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3.5rem; }
}


/* === Nav & Template Color Harmonization === */
nav a[href="#devis-form"] {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border-color: var(--theme-accent) !important;
}
nav a[href="#devis-form"]:hover {
  background-color: var(--theme-accent-hover) !important;
  border-color: var(--theme-accent-hover) !important;
}

