/*
Theme Name: MECA TECH
Theme URI: https://meca-tech.nl
Author: MECA TECH
Description: Professioneel thema voor MECA TECH - HSE | Consultancy | Tech
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: mecatech
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background: #fff; color: #1a1a2e; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #4a6cf7; text-decoration: none; }
ul { list-style: none; }
p { margin-bottom: 1rem; }

/* ── VARIABLES ── */
:root {
  --navy: #050a30;
  --accent: #4a6cf7;
  --white: #ffffff;
  --gray-100: #f5f7ff;
  --gray-200: #e8ecf8;
  --gray-500: #8892b0;
  --text-dark: #ccd6f6;
  --radius: 8px;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #4a6cf7; margin-bottom: 0.75rem; }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 90px 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--gray { background: var(--gray-100); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all 0.25s; text-decoration: none; }
.btn-primary { background: #4a6cf7; color: #fff; border-color: #4a6cf7; }
.btn-primary:hover { background: #2d4fd6; border-color: #2d4fd6; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ── HEADER / NAV ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(5,10,48,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-logo { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; text-decoration: none; }
.site-nav ul { display: flex; align-items: center; gap: 2.5rem; }
.site-nav a { color: rgba(255,255,255,0.72); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.25s; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.site-nav .btn { padding: 0.55rem 1.3rem; font-size: 0.82rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; }

/* ── HERO ── */
.hero { background: var(--navy); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding-top: 70px; }
.hero-tagline { display: inline-flex; align-items: center; background: rgba(74,108,247,0.12); border: 1px solid rgba(74,108,247,0.3); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.75rem; font-weight: 700; color: #4a6cf7; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-content h1 { color: #fff; max-width: 760px; margin-bottom: 1.25rem; }
.hero-content h1 em { font-style: normal; color: #4a6cf7; }
.hero-sub { font-size: 1.1rem; color: var(--text-dark); max-width: 540px; margin-bottom: 2.25rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item .stat-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-item .stat-num span { color: #4a6cf7; }
.stat-item .stat-label { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── HDD BANNER ── */
.hdd-banner { background: #0b1550; background: linear-gradient(135deg, #0b1550 0%, #0d1a5e 100%); border-top: 1px solid rgba(74,108,247,0.3); border-bottom: 1px solid rgba(74,108,247,0.3); padding: 1.6rem 0; }
.hdd-banner .hdd-inner { display: flex !important; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.hdd-left { display: flex; align-items: center; gap: 1.1rem; }
.hdd-icon { width: 50px; height: 50px; background: rgba(74,108,247,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.hdd-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.hdd-sub { font-size: 0.82rem; color: #ccd6f6; margin: 0; }
.hdd-btn { white-space: nowrap; flex-shrink: 0; }

/* ── DIENSTEN ── */
.diensten-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.dienst-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.75rem; transition: all 0.25s; position: relative; overflow: hidden; }
.dienst-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #4a6cf7; transform: scaleX(0); transition: transform 0.25s; }
.dienst-card:hover { border-color: rgba(74,108,247,0.3); box-shadow: 0 12px 40px rgba(74,108,247,0.1); transform: translateY(-4px); }
.dienst-card:hover::before { transform: scaleX(1); }
.dienst-icon { width: 48px; height: 48px; background: rgba(74,108,247,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.dienst-card h3 { color: var(--navy); margin-bottom: 0.6rem; }
.dienst-card p { color: #555; font-size: 0.92rem; line-height: 1.7; margin-bottom: 0; }

/* ── OVER ONS ── */
.over-ons-content h2 { color: var(--navy); margin-bottom: 1rem; }
.over-ons-content p { color: #444; font-size: 0.97rem; }
.values-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; }
.values-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; color: #333; }
.values-list li::before { content: '✓'; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; min-width: 20px; background: #4a6cf7; color: #fff; border-radius: 50%; font-size: 0.65rem; font-weight: 700; margin-top: 3px; }
.over-ons-visual { background: var(--navy); border-radius: 14px; padding: 2.5rem; display: flex; flex-direction: column; gap: 0; }
.value-block { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.4rem; margin-bottom: 1.4rem; }
.value-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.value-block .num { font-size: 2.4rem; font-weight: 800; color: #4a6cf7; line-height: 1; }
.value-block .label { font-size: 0.82rem; color: var(--text-dark); margin-top: 0.25rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { color: #fff; margin-bottom: 0.9rem; }
.contact-info p { color: var(--text-dark); margin-bottom: 1.75rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-dark); font-size: 0.92rem; }
.contact-details .icon { width: 34px; height: 34px; background: rgba(74,108,247,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.contact-form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 2.25rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.45rem; letter-spacing: 0.03em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 0.8rem 1rem; color: #fff; font-family: inherit; font-size: 0.92rem; transition: border-color 0.25s; outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #4a6cf7; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); }

/* ── FOOTER ── */
.site-footer { background: #02061f; color: var(--text-dark); padding: 2.5rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 1.25rem; }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.footer-tagline { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.25rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { color: var(--gray-500); font-size: 0.82rem; text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 1.25rem; text-align: center; font-size: 0.78rem; color: var(--gray-500); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 65px 0; }
  .site-nav ul { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 999; }
  .site-nav ul.open { display: flex; }
  .site-nav a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hdd-inner { flex-direction: column; align-items: flex-start; }
  .hdd-btn { width: 100%; justify-content: center; }
}
