/*
Theme Name:        GetBright Portaal
Theme URI:         https://www.getbright.nl
Author:            GetBright
Description:       Thema voor de losse klantportaal-installatie, in de stijl van getbright.nl. Werkt samen met de plugin GetBright DNS Portaal.
Version:           1.0.1
Requires at least: 6.2
Requires PHP:      8.0
Text Domain:       getbright-portal
*/

/* =========================================================
   Huisstijl – pas hier kleuren en lettertype aan.
   ======================================================= */
:root {
	--gbt-pink: #E6007E;
	--gbt-pink-deep: #B8005F;
	--gbt-pink-wash: #FDEAF4;
	--gbt-ink: #1B1B1F;
	--gbt-muted: #5E5E66;
	--gbt-line: #E6E3E0;
	--gbt-sand: #F6F4F2;
	--gbt-white: #FFFFFF;

	/* Zet hier het lettertype van getbright.nl, en laad het zelf-gehost via @font-face. */
	--gbt-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--gbt-wrap: 1180px;
	--gbt-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--gbt-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--gbt-ink);
	background: var(--gbt-white);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--gbt-pink); }
:focus-visible { outline: 2px solid var(--gbt-pink); outline-offset: 3px; }

.gbt-wrap {
	width: 100%;
	max-width: calc(var(--gbt-wrap) + 2 * var(--gbt-gutter));
	margin: 0 auto;
	padding: 0 var(--gbt-gutter);
}

.gbt-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--gbt-ink); color: #fff; padding: .75rem 1rem;
}
.gbt-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.gbt-header {
	background: var(--gbt-white);
	border-bottom: 1px solid var(--gbt-line);
}
.gbt-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	min-height: 84px;
}
.gbt-brand {
	display: inline-flex; align-items: center; gap: .875rem;
	text-decoration: none; color: var(--gbt-ink);
}
.gbt-brand:hover { color: var(--gbt-ink); }
.gbt-brand__logo { display: block; height: 40px; width: auto; }
.gbt-brand__word { font-size: 1.625rem; font-weight: 800; letter-spacing: -.03em; }
.gbt-brand__tag {
	font-size: .875rem; line-height: 1.25; color: var(--gbt-muted);
	padding-left: .875rem; border-left: 1px solid var(--gbt-line);
}
.gbt-brand__tag em { font-style: italic; color: var(--gbt-pink); }

.gbt-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: .25rem 1.75rem;
}
.gbt-nav__list a {
	display: block; padding: .5rem 0;
	font-weight: 600; font-size: .9375rem; text-decoration: none;
	border-bottom: 2px solid transparent;
}
.gbt-nav__list a:hover { color: var(--gbt-ink); border-bottom-color: var(--gbt-pink); }

.gbt-mobile { display: none; position: relative; }
.gbt-mobile summary {
	list-style: none; cursor: pointer;
	font-weight: 600; font-size: .9375rem;
	padding: .5rem 1rem; border: 1px solid var(--gbt-line); border-radius: 999px;
}
.gbt-mobile summary::-webkit-details-marker { display: none; }
.gbt-mobile[open] summary { border-color: var(--gbt-ink); }
.gbt-mobile__list {
	position: absolute; right: 0; top: calc(100% + .5rem); z-index: 50;
	list-style: none; margin: 0; padding: .5rem 0; min-width: 220px;
	background: var(--gbt-white); border: 1px solid var(--gbt-line); border-radius: 8px;
	box-shadow: 0 12px 32px rgba(27, 27, 31, .12);
}
.gbt-mobile__list a { display: block; padding: .625rem 1.125rem; text-decoration: none; font-weight: 600; }

/* ---------- Pagina ---------- */
.gbt-main { flex: 1 0 auto; }

.gbt-intro {
	background: var(--gbt-sand);
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.gbt-intro__title {
	margin: 0;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.035em;
	max-width: 18ch;
}
.gbt-intro__lead { margin: 1rem 0 0; max-width: 56ch; color: var(--gbt-muted); font-size: 1.125rem; }

.gbt-content { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.gbt-content > * { max-width: 72ch; }
.gbt-content > .gbdns, .gbt-content > .wp-block-shortcode, .gbt-content > div { max-width: none; }

.gbt-button {
	display: inline-block; padding: .8rem 1.5rem; border-radius: 999px;
	background: var(--gbt-pink); color: #fff; font-weight: 700; text-decoration: none;
}
.gbt-button:hover { background: var(--gbt-pink-deep); color: #fff; }

/* ---------- Footer ---------- */
.gbt-footer {
	background: var(--gbt-ink);
	color: rgba(255, 255, 255, .78);
	font-size: .9375rem;
	padding-top: clamp(2.5rem, 6vw, 4rem);
}
.gbt-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.gbt-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gbt-pink); text-underline-offset: 4px; }
.gbt-footer__grid {
	display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
	padding-bottom: 2.5rem;
}
.gbt-footer__brand { margin: 0 0 1rem; color: #fff; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.gbt-footer__contact p { margin: 0 0 1rem; }
.gbt-footer__title {
	margin: 0 0 .875rem; color: #fff;
	font-size: .9375rem; font-weight: 700;
}
.gbt-footer__list { list-style: none; margin: 0; padding: 0; }
.gbt-footer__list li { margin: 0 0 .5rem; }
.gbt-footer__bar {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: .8125rem;
}
.gbt-footer__bar p { margin: 0; }
.gbt-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

/* ---------- Het DNS-portaal laten aansluiten op het thema ---------- */
.gbdns {
	--gb-pink: var(--gbt-pink);
	--gb-pink-deep: var(--gbt-pink-deep);
	--gb-pink-wash: var(--gbt-pink-wash);
	--gb-ink: var(--gbt-ink);
	--gb-muted: var(--gbt-muted);
	--gb-line: var(--gbt-line);
	--gb-mist: var(--gbt-sand);
	font-family: var(--gbt-font);
	max-width: none;
}
.gbt-content .gbdns .gbdns__btn--outline,
.gbt-content .gbdns .gbdns__btn--primary,
.gbt-content .gbdns--login input[type="submit"] { border-radius: 999px; padding-left: 1.375rem; padding-right: 1.375rem; }
.gbt-content .gbdns--login { max-width: 440px; margin-left: 0; }
.gbt-content .gbdns--gate { max-width: 520px; margin-left: 0; }
/* De paginatitel en intro van het thema vertellen al wat hier kan. */
.gbt-content .gbdns--login > .gbdns__title,
.gbt-content .gbdns--login > .gbdns__lead { display: none; }
.gbt-content .gbdns__head .gbdns__title { font-size: 1.375rem; }

/* ---------- Mobiel ---------- */
@media (max-width: 1020px) {
	.gbt-nav { display: none; }
	.gbt-mobile { display: block; }
}
@media (max-width: 760px) {
	.gbt-footer__grid { grid-template-columns: 1fr 1fr; }
	.gbt-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.gbt-header__inner { min-height: 68px; }
	.gbt-brand__tag { display: none; }
	.gbt-footer__grid { grid-template-columns: 1fr; }
}
