/*
Theme Name: Bazuinkerk Kampen
Theme URI: https://www.bazuinkerk.nl
Author: Anne Holsappel
Description: Een rustig en toegankelijk WordPress-thema voor de Bazuinkerk in Kampen, met livestream, kerkdiensten en contactinformatie.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bazuinkerk
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: church, custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

:root {
  --navy: #0d2a4a;
  --navy-2: #163b63;
  --gold: #c9973c;
  --sand: #f5f0e8;
  --cream: #fbfaf7;
  --ink: #1e2832;
  --muted: #66717d;
  --white: #ffffff;
  --border: #e3ddd3;
  --shadow: 0 18px 45px rgba(13, 42, 74, 0.10);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--gold); }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,42,74,.08);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 14px; }
.custom-logo { max-height: 58px; width: auto; }
.site-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.1; }
.site-title a { text-decoration: none; color: var(--navy); }
.site-description { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.main-navigation ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: var(--navy); text-decoration: none; font-weight: 650; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--gold); }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; border-radius: 10px; padding: 10px 14px; font-weight: 700; }

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 32%, rgba(255,255,255,.38) 58%, rgba(255,255,255,.05) 78%);
}
.hero-content { position: relative; z-index: 1; max-width: 610px; padding: 100px 0; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; font-weight: 800; }
.hero h1, .section-title, .entry-title { font-family: Georgia, "Times New Roman", serif; color: var(--navy); }
.hero h1 { margin: 12px 0 22px; font-size: clamp(3rem, 6vw, 5.3rem); line-height: 1.02; }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 540px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 10px; text-decoration: none; font-weight: 800; border: 2px solid transparent; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-2); color: white; }
.btn-secondary { background: rgba(255,255,255,.88); border-color: var(--navy); color: var(--navy); }

.section { padding: 88px 0; }
.section-soft { background: var(--sand); }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-title { margin: 0 0 12px; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.1; }
.section-intro { color: var(--muted); font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; }

.video-wrap { aspect-ratio: 16/9; background: #0a1622; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; }
.video-placeholder { height: 100%; display: grid; place-items: center; padding: 30px; text-align: center; color: white; }

.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.service-list li:last-child { border-bottom: 0; }
.service-list strong { color: var(--navy); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 9px 0; }
.contact-list a { text-decoration: none; font-weight: 700; }

.site-footer { background: var(--navy); color: white; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h2, .site-footer h3 { color: white; margin-top: 0; }
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: #f3d391; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); font-size: .92rem; }

.content-area { padding: 70px 0; }
.entry-content { max-width: 850px; }
.entry-title { font-size: clamp(2.2rem, 5vw, 4rem); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; background: white; padding: 12px; z-index: 9999; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-navigation { position: absolute; top: 84px; left: 20px; right: 20px; display: none; background: white; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 620px; background-position: 58% center; }
  .hero::before { background: rgba(255,255,255,.80); }
  .hero-content { max-width: 680px; padding: 80px 0; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 74px; }
  .main-navigation { top: 74px; }
  .site-description { display: none; }
  .section { padding: 64px 0; }
  .card { padding: 24px; }
  .hero h1 { font-size: 3rem; }
  .button-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

.kdgm-responsive-player{
    position:relative;
    width:100%;
    padding-bottom:56.50%;
    height:0;
    overflow:hidden;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.kdgm-responsive-player iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
}
