/*
Theme Name: Alpha & Omega Building Constructions
Theme URI: https://alphaomega-bc.com/
Author: Alpha & Omega Building Constructions
Description: Maatwerk thema voor Alpha & Omega Building Constructions — aanbouw, dakwerken, vloeren, montage en verhuizingen. Bevat homepage met diensten, dienstpagina's, offerteformulier en WhatsApp-knop.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: alpha-omega
*/

:root {
  --navy: #24405f;
  --navy-dark: #172c45;
  --gold: #c9a256;
  --gold-light: #d9b56a;
  --gold-dark: #ab8438;
  --bg: #ffffff;
  --muted: #f5f6f8;
  --muted-fg: #5d6b7d;
  --border: #e2e6ec;
  --radius: 8px;
  --shadow-card: 0 10px 40px -15px rgba(36, 64, 95, 0.25);
  --shadow-elegant: 0 20px 60px -20px rgba(36, 64, 95, 0.4);
  --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  --gradient-hero: linear-gradient(135deg, rgba(23, 44, 69, 0.92), rgba(36, 64, 95, 0.85));
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #22303f;
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--muted { background: var(--muted); }
.section--navy { background: var(--navy); color: #fff; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.h2 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-top: 12px; }
.section--navy .h2 { color: #fff; }
.lead { margin-top: 16px; color: var(--muted-fg); }
.section--navy .lead { color: rgba(255,255,255,0.8); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 560px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: transform .2s ease, background-color .2s, border-color .2s, color .2s;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background-image: var(--gradient-gold); color: #22303f; box-shadow: var(--shadow-card); }
.btn--outline { border: 2px solid rgba(36,64,95,0.25); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--ghost-light { border: 2px solid rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); }
.btn--sm { padding: 12px 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__name { font-size: 1rem; font-weight: 700; color: var(--navy); display: block; }
.brand__sub { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; color: var(--muted-fg); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 0.875rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; padding-bottom: 20px; }
.mobile-nav a { padding: 8px 0; font-weight: 500; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 85vh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background-image: var(--gradient-hero); }
.hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(201,162,86,0.4); border-radius: 999px;
  padding: 8px 16px; font-size: 0.875rem; color: var(--gold);
}
.hero h1 { margin-top: 24px; max-width: 40rem; font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 700; color: #fff; }
.hero h1 span { display: block; margin-top: 8px; color: var(--gold); }
.hero p { margin-top: 24px; max-width: 34rem; font-size: 1.125rem; color: rgba(255,255,255,0.85); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Grids & cards */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.mt-12 { margin-top: 48px; }
.mt-10 { margin-top: 40px; }
.mt-8 { margin-top: 32px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card__img { width: 100%; height: 208px; object-fit: cover; }
.card__body { padding: 24px; }
.card__title { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.card__price { margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: var(--gold-dark); }
.card__text { margin-top: 12px; font-size: 0.875rem; color: var(--muted-fg); }
.card__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.reason__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background-image: var(--gradient-gold); color: #22303f; font-size: 1.25rem;
}
.reason h3 { margin-top: 16px; font-size: 1rem; }
.reason p { margin-top: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.regions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.region {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  padding: 16px 24px; font-size: 0.875rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-card);
}
.region span { color: var(--gold); }

/* Contact */
.contact-list { margin-top: 32px; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ico { color: var(--gold); font-size: 1.1rem; line-height: 1.4; }
.contact-list strong { display: block; font-size: 0.875rem; color: var(--navy); }
.contact-list a, .contact-list p { font-size: 0.875rem; color: var(--muted-fg); }
.contact-list a:hover { color: var(--gold-dark); }

.form {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 32px; box-shadow: var(--shadow-card); display: grid; gap: 20px;
}
.form label { display: grid; gap: 8px; font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; font: inherit; font-size: 0.875rem; font-weight: 400; color: #22303f;
  background: #fff; outline: none; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form .btn { justify-content: center; }
.notice { border-radius: var(--radius); padding: 14px 16px; font-size: 0.875rem; }
.notice--ok { background: #e8f5ec; color: #1c5b32; }
.notice--err { background: #fdeaea; color: #8a2020; }

/* Service page */
.page-hero { position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--gold); }
.badge-price {
  display: inline-block; margin-top: 32px; border-radius: 999px;
  background-image: var(--gradient-gold); padding: 6px 16px;
  font-size: 0.875rem; font-weight: 600; color: #22303f;
}
.page-hero h1 { margin-top: 16px; max-width: 48rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: #fff; }
.page-hero p { margin-top: 16px; max-width: 34rem; font-size: 1.125rem; color: rgba(255,255,255,0.85); }

.panel { border: 1px solid var(--border); border-radius: 12px; background: var(--muted); padding: 32px; }
.panel h3 { font-weight: 700; color: var(--navy); }
.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 0.875rem; color: var(--muted-fg); }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.step { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 24px; box-shadow: var(--shadow-card); }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.step p { margin-top: 8px; font-size: 0.875rem; color: var(--muted-fg); }
.faq { display: grid; gap: 16px; margin-top: 32px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 20px; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin-top: 12px; font-size: 0.875rem; color: var(--muted-fg); }
.video-wrap { margin-top: 32px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-elegant); }
.other-card { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 24px; box-shadow: var(--shadow-card); transition: transform .2s; }
.other-card:hover { transform: translateY(-4px); }
.other-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.other-card p { margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--gold-dark); }
.back-home { padding: 40px 0; text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.back-home a:hover { color: var(--gold-dark); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #fff; }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 0; }
.site-footer h2 { margin: 0 0 16px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.site-footer li, .site-footer p { font-size: 0.875rem; opacity: 0.8; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .container { padding-top: 24px; padding-bottom: 24px; text-align: center; font-size: 0.75rem; opacity: 0.7; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background-image: var(--gradient-gold); color: #22303f;
  box-shadow: var(--shadow-elegant);
}
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
