/*
Theme Name: Hotting Computers
Theme URI: https://hottingcomputers.nl
Author: Hotting Computers
Description: Blokkenthema (full site editing) voor Hotting Computers: computerhulp en webdesign uit Urk.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotting-computers
*/

/* ---------- basis ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
a { text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; width: 100%; }
.center { text-align: center; }
.lead { font-size: 20px; line-height: 1.6; margin: 22px auto 34px; max-width: 680px; }
.eyebrow { margin: 0 0 12px; color: var(--wp--preset--color--rood); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.band-soft { background: var(--wp--preset--color--zacht); }
.band-navy { background: var(--wp--preset--color--marine); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.hero { background: linear-gradient(180deg, #eef2f9, #f9fbfe); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none;
  background:
    radial-gradient(120% 100% at 20% 100%, rgba(142,11,18,.10) 0 38%, transparent 38.5%),
    radial-gradient(120% 110% at 60% 110%, rgba(25,49,94,.09) 0 45%, transparent 45.5%); }
.hero .wrap { position: relative; z-index: 1; max-width: 900px; padding-top: 96px; padding-bottom: 112px; text-align: center; }
.page-hero .wrap { max-width: 860px; padding-top: 64px; padding-bottom: 64px; text-align: center; }
.page-hero h1 { font-size: 46px; }
.page-hero .lead { margin: 18px auto 0; }

/* ---------- knoppen ---------- */
.btn, .wp-block-button__link { display: inline-block; padding: 14px 26px; border-radius: 6px; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; }
.btn-red .wp-block-button__link, a.btn-red { background: var(--wp--preset--color--rood); color: #fff; }
.btn-navy .wp-block-button__link { background: var(--wp--preset--color--marine); color: #fff; }
.btn-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--marine); border: 2px solid var(--wp--preset--color--marine); }
.wp-block-buttons.cta { justify-content: center; gap: 14px; }

/* ---------- kop ---------- */
.site-header { border-bottom: 1px solid var(--wp--preset--color--rand); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.header-inner .logo img { height: 56px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 28px; }
.site-header .wp-block-navigation { font-weight: 600; font-size: 17px; }
.site-header .wp-block-navigation .wp-block-navigation-item__content { padding: 4px 0; }
.site-header a.btn { padding: 10px 20px; }

/* ---------- blokken en kaarten ---------- */
.section { padding-top: 80px; padding-bottom: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.cols-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--wp--preset--color--rand); border-radius: 12px; padding: 28px; box-shadow: 0 8px 24px rgba(25,49,94,.08); }
.card h3 { font-size: 23px; margin: 0 0 8px; }
.card p { line-height: 1.6; margin: 0; }
.card-soft { background: var(--wp--preset--color--zacht); padding: 40px; display: flex; gap: 12px 40px; flex-wrap: wrap; align-items: center; }
.card-soft > * { flex: 1 1 320px; min-width: 0; }
.card-soft h2 { font-size: 32px; margin: 0 0 12px; }
.card-soft p { font-size: 18px; line-height: 1.6; }
.card-soft ul { margin: 0; padding-left: 22px; font-size: 18px; line-height: 2; }
.card-soft .btn-red { margin-top: 8px; }
.ico { width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--marine); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--rood); color: #fff; font: 700 20px/1 var(--wp--preset--font-family--lora); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step .num { margin: 0 auto 14px; }
.step h3 { font-size: 21px; margin: 0 0 6px; }
.step p { line-height: 1.6; margin: 0; }
.stats .wrap { padding-top: 40px; padding-bottom: 40px; text-align: center; }
.bignum { font-family: var(--wp--preset--font-family--lora); font-size: 56px; font-weight: 700; line-height: 1.2; margin: 0; color: #fff; }
.stat-label { font-size: 18px; margin: 0; color: #fff; }
.h2-center { text-align: center; margin-bottom: 40px; }
.sub-center { text-align: center; font-size: 18px; margin: 12px 0 40px; }
.two-col { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.two-col > * { flex: 1 1 320px; min-width: 0; }
.two-col h2 { font-size: 32px; margin: 0 0 12px; }
.two-col p { font-size: 18px; line-height: 1.6; }
.two-col ul { margin: 0; padding-left: 22px; font-size: 18px; line-height: 2; }
.contact-info { font-size: 18px; line-height: 1.8; }
.contact-info p { margin: 0 0 1em; }
.contact-info a { font-weight: 700; }
.site-card { padding: 0; overflow: hidden; }
.site-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; display: block; }
.site-card .pad { padding: 20px 24px; }
.site-card h3 { font-size: 21px; margin: 0; }
.site-card p { margin: 6px 0 0; line-height: 1.5; }
.site-card p.more { margin-top: 12px; font-weight: 600; }
.site-card p.more a { color: var(--wp--preset--color--rood); }
.eset { background: var(--wp--preset--color--zacht); text-align: center; padding: 28px 24px; }
.eset img { height: 46px; width: auto; }
.site-footer { background: var(--wp--preset--color--marine); color: #fff; text-align: center; padding: 24px; font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: underline; }
.formulier { min-height: 120px; }
.cta-band .wrap { padding-top: 48px; padding-bottom: 48px; text-align: center; }
.cta-band h2 { font-size: 30px; margin: 0; }
.cta-band p { font-size: 18px; margin: 12px 0 22px; }
.entry-wrap { padding-top: 64px; padding-bottom: 64px; }

/* formulieren (Contact Form 7, WPForms e.d.) */
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #b9c3d6; border-radius: 6px; font: inherit; margin: 4px 0 14px; }
label { font-weight: 600; font-size: 15px; }
input[type="submit"], button[type="submit"] { background: var(--wp--preset--color--marine); color: #fff; border: 0; border-radius: 6px; padding: 14px 26px; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; }

/* ---------- telefoon ---------- */
@media (max-width: 760px) {
  .header-right { gap: 14px; }
  .tel { display: none; }
  .header-inner .logo img { height: 44px; }
  h1 { font-size: 34px !important; line-height: 1.2 !important; }
  h2 { font-size: 26px !important; }
  .page-hero h1 { font-size: 34px !important; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .section { padding-top: 48px; }
  .card { padding: 24px; }
  .card-soft { padding: 28px 24px; }
  .bignum { font-size: 44px; }
}

/* aanvullingen */
.pad-b { padding-bottom: 80px; }
.section.wrap { box-sizing: border-box; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.card-soft.solo { display: block; }
.band-navy .btn-red .wp-block-button__link { background: var(--wp--preset--color--rood); }
.btn-red-wrap { margin-top: 8px; }
.hero h1 { text-wrap: balance; }
.wp-block-buttons.cta.is-layout-flex { justify-content: center; }
.band-navy.cta-band .wp-block-buttons { justify-content: center; }
.h2-center:has(+ .sub-center) { margin-bottom: 12px; }
.hero-soft { background: linear-gradient(180deg, #eef2f9, #f9fbfe); }
.site-card figure, .site-card .wp-block-image { margin: 0; }
.site-card img { max-width: none; }

/* menu: ruimte tussen de items */
.site-header .wp-block-navigation { --wp--style--block-gap: 28px; gap: 28px; }
.site-header .wp-block-navigation__container, .site-header .wp-block-page-list { gap: 28px; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list { gap: 16px; }

/* contactpagina: tekst links op dezelfde hoogte als de bovenkant van het formulier */
.two-col > .contact-info { align-self: flex-start; margin-top: 0; }
.two-col > .contact-info > :first-child { margin-top: 0; }
