/*
 Theme Name:   Rotterdam Schiphol Taxi
 Description:  Child theme voor Rotterdam Schiphol Taxi (GeneratePress)
 Template:     generatepress
 Version:      1.0.2
 Text Domain:  rstaxi
*/

/* ==========================================================
   1. Basis
   ========================================================== */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/roboto-latin-wght-normal.woff2") format("woff2");
}

:root {
	--rst-navy: #0E2236;
	--rst-navy-2: #17324D;
	--rst-green: #14834D;
	--rst-green-dark: #0F6B3E;
	--rst-green-light: #3CCB7F;
	--rst-mint: #EAF7F0;
	--rst-grey: #F4F6F8;
	--rst-line: #E1E6EB;
	--rst-text: #1B2733;
	--rst-muted: #556372;
	--rst-radius: 14px;
	--rst-shadow: 0 6px 24px rgba(14, 34, 54, .08);
	--rst-shadow-hover: 0 14px 34px rgba(14, 34, 54, .14);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--rst-navy); letter-spacing: -.01em; }
a { text-underline-offset: 3px; }
::selection { background: var(--rst-green-light); color: var(--rst-navy); }

/* ==========================================================
   2. Header + navigatie
   ========================================================== */
.site-header .site-logo img { width: 300px; height: auto; }
.site-header .inside-header { padding-top: 16px; padding-bottom: 16px; }
.main-navigation .main-nav ul li a { font-weight: 500; }

/* Menu-knop "Rit aanvragen" */
.main-navigation .main-nav ul li.rst-menu-cta > a {
	background: var(--rst-green);
	color: #fff !important;
	border-radius: 999px;
	line-height: 44px;
	padding-left: 22px;
	padding-right: 22px;
	margin-left: 12px;
	transition: background .2s ease;
}
.main-navigation .main-nav ul li.rst-menu-cta > a:hover,
.main-navigation .main-nav ul li.rst-menu-cta > a:focus { background: var(--rst-green-dark); }
.main-navigation .main-nav ul li.rst-menu-cta { display: flex; align-items: center; }
.main-navigation .main-nav ul li.rst-menu-cta[class*="current-menu-"] > a { background: var(--rst-green) !important; color: #fff !important; }

/* Transparante header (GP header-element met merge) */
.header-wrap .site-header { background: transparent; }
.header-wrap .site-header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(14, 34, 54, .55) 0%, rgba(14, 34, 54, 0) 100%);
	pointer-events: none;
}
.header-wrap { z-index: 50; }
.header-wrap .site-header { position: relative; z-index: 1; }

@media (max-width: 768px) {
	.site-header .site-logo img { width: 230px; }
	.main-navigation .menu-toggle { color: #fff; }
	.main-navigation.toggled .main-nav > ul {
		background: var(--rst-navy);
		border-radius: 0 0 var(--rst-radius) var(--rst-radius);
		padding: 8px 0 16px;
		box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
	}
	.main-navigation .main-nav ul li.rst-menu-cta { padding: 8px 20px 0; }
	.main-navigation .main-nav ul li.rst-menu-cta > a { margin-left: 0; justify-content: center; width: 100%; text-align: center; }
}
@media (max-width: 420px) {
	.site-header .site-logo img { width: 200px; }
}

/* ==========================================================
   3. Hero (GP header-elementen)
   ========================================================== */
.rst-hero { position: relative; isolation: isolate; color: #fff; }
.rst-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(95deg, rgba(14, 34, 54, .92) 0%, rgba(14, 34, 54, .72) 45%, rgba(14, 34, 54, .25) 100%);
}
.rst-hero h1 { color: #fff; margin-bottom: 18px; max-width: 760px; }
.rst-hero p { max-width: 640px; }
.rst-hero .rst-hero__lead { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .9); margin-bottom: 30px; }
.rst-hero a:not(.rst-btn) { color: var(--rst-green-light); }
.rst-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rst-green-light);
	margin-bottom: 14px;
}
.rst-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.rst-hero .rst-eyebrow a { color: var(--rst-green-light); text-decoration: none; }
.rst-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.rst-hero__usps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; }
.rst-hero__usps li { display: flex; align-items: center; gap: 8px; margin: 0; }
.rst-hero__usps li::before {
	content: "";
	width: 20px; height: 20px; flex: 0 0 20px;
	border-radius: 50%;
	background: var(--rst-green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%230E2236'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rst-hero--page .rst-hero__lead { margin-bottom: 0; }
.rst-hero--post h1 { font-size: 44px; max-width: 900px; }
@media (max-width: 768px) {
	.rst-hero::before { background: linear-gradient(180deg, rgba(14, 34, 54, .85) 0%, rgba(14, 34, 54, .75) 100%); }
	.rst-hero .rst-hero__lead { font-size: 17px; }
	.rst-hero--post h1 { font-size: 31px; }
	.rst-hero__usps { flex-direction: column; gap: 8px; }
}

/* ==========================================================
   4. Knoppen
   ========================================================== */
.rst-btn,
a.rst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--rst-green);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	padding: 15px 28px;
	border-radius: 999px;
	text-decoration: none;
	border: 2px solid var(--rst-green);
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.rst-btn:hover, .rst-btn:focus { background: var(--rst-green-dark); border-color: var(--rst-green-dark); color: #fff; transform: translateY(-1px); }
.rst-btn--ghost, a.rst-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.rst-btn--ghost:hover, .rst-btn--ghost:focus { background: #fff; border-color: #fff; color: var(--rst-navy); }
.rst-btn--navy, a.rst-btn--navy { background: var(--rst-navy); border-color: var(--rst-navy); }
.rst-btn--navy:hover, .rst-btn--navy:focus { background: var(--rst-navy-2); border-color: var(--rst-navy-2); }
.rst-link-arrow { font-weight: 700; text-decoration: none; color: var(--rst-green); }
.rst-link-arrow::after { content: " →"; transition: margin .2s ease; }
.rst-link-arrow:hover::after { margin-left: 4px; }

/* ==========================================================
   5. Secties en componenten (GenerateBlocks)
   ========================================================== */
.rst-section-head { max-width: 720px; margin-bottom: 44px; }
.rst-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.rst-section-head p { color: var(--rst-muted); font-size: 18px; margin-bottom: 0; }
.rst-section-head p.rst-kicker { color: var(--rst-green); font-size: 14px; margin-bottom: 10px; }
.rst-kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rst-green); margin-bottom: 10px; }
.rst-dark .rst-kicker { color: var(--rst-green-light); }
.rst-dark, .rst-dark h2, .rst-dark h3 { color: #fff; }
.rst-dark p { color: rgba(255, 255, 255, .82); }

.rst-img-round img, .rst-img-round { border-radius: var(--rst-radius); }
.wp-block-image.rst-img-round img { box-shadow: var(--rst-shadow); display: block; width: 100%; height: auto; }
.wp-block-image.rst-img-round { margin-bottom: 0; }

.rst-checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.rst-checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.rst-checklist li::before {
	content: "";
	position: absolute; left: 0; top: 3px;
	width: 21px; height: 21px; border-radius: 50%;
	background: var(--rst-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%2314834D'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Kaarten */
.rst-card {
	background: #fff;
	border: 1px solid var(--rst-line);
	border-radius: var(--rst-radius);
	box-shadow: var(--rst-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.rst-card:hover { transform: translateY(-3px); box-shadow: var(--rst-shadow-hover); }
.rst-card h3 { font-size: 21px; margin-bottom: 10px; }
.rst-card p { color: var(--rst-muted); font-size: 16px; }
.rst-card p:last-child { margin-bottom: 0; }
.rst-icon {
	width: 54px; height: 54px;
	border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rst-mint);
	color: var(--rst-green);
	margin-bottom: 18px;
}
.rst-icon svg { width: 28px; height: 28px; }
.rst-dark .rst-icon { background: rgba(60, 203, 127, .14); color: var(--rst-green-light); }

/* Stappen */
.rst-step-nr {
	width: 46px; height: 46px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rst-green); color: #fff; font-weight: 800; font-size: 19px;
	margin-bottom: 16px;
}

/* Route-cijfers */
.rst-stat { border-left: 3px solid var(--rst-green-light); padding-left: 18px; }
.rst-stat strong { display: block; font-size: 30px; line-height: 1.1; color: #fff; margin-bottom: 4px; }
.rst-stat span { color: rgba(255, 255, 255, .78); font-size: 15px; }

/* Werkgebied-chips */
.rst-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rst-chips li { margin: 0; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--rst-line); font-weight: 500; font-size: 15px; color: var(--rst-navy); }
.rst-dark .rst-chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* Dienstnavigatie */
.rst-service-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.rst-service-nav li { margin: 0; }
.rst-service-nav a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--rst-mint); color: var(--rst-navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.rst-service-nav a:hover { background: var(--rst-green); color: #fff; }
.rst-anchor { scroll-margin-top: 30px; }

/* CTA-blok */
.rst-cta h2 { color: #fff; }
.rst-cta p { color: rgba(255, 255, 255, .85); }

/* Blogkaarten (GB Query Loop) */
.rst-post-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.rst-post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rst-grey); }
.rst-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.rst-post-card:hover .rst-post-card__img img { transform: scale(1.04); }
.rst-post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.rst-post-card__cat, .rst-post-card__cat a { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rst-green); text-decoration: none; margin-bottom: 8px; }
.rst-post-card__title { font-size: 20px; line-height: 1.35; margin-bottom: 10px; }
.rst-post-card__title a { color: var(--rst-navy); text-decoration: none; }
.rst-post-card__title a:hover { color: var(--rst-green); }
.rst-post-card__excerpt { color: var(--rst-muted); font-size: 15px; margin-bottom: 16px; }
.rst-post-card .rst-link-arrow { margin-top: auto; font-size: 15px; }

/* ==========================================================
   6. FAQ-accordeon (Yoast FAQ-blok)
   ========================================================== */
.wp-block-yoast-faq-block { display: grid; gap: 12px; }
.wp-block-yoast-faq-block .schema-faq-section {
	background: #fff;
	border: 1px solid var(--rst-line);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wp-block-yoast-faq-block .schema-faq-section.is-open { border-color: var(--rst-green); box-shadow: var(--rst-shadow); }
.rst-faq-q {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: transparent;
	border: 0;
	padding: 18px 22px;
	text-align: left;
	font: inherit;
	font-weight: 700;
	font-size: 17px;
	color: var(--rst-navy);
	cursor: pointer;
}
.rst-faq-q:hover, .rst-faq-q:focus { background: var(--rst-grey); color: var(--rst-navy); }
.rst-faq-q:focus-visible { outline: 2px solid var(--rst-green); outline-offset: -2px; }
.rst-faq-q::after {
	content: "";
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
	background: var(--rst-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z' fill='%2314834D'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .25s ease;
}
.is-open > .rst-faq-q::after { transform: rotate(180deg); }
.wp-block-yoast-faq-block .schema-faq-answer { margin: 0; padding: 0 22px 20px; color: var(--rst-muted); }
.rst-faq-ready .schema-faq-section:not(.is-open) .schema-faq-answer { display: none; }
.rst-faq-ready .schema-faq-question { display: none; }
.rst-dark .wp-block-yoast-faq-block .schema-faq-section { background: #fff; }

/* ==========================================================
   7. Blogberichten
   ========================================================== */
.single-post .entry-content { font-size: 18px; }
.single-post .entry-content h2 { font-size: 30px; margin-top: 44px; }
.single-post .entry-content h3 { font-size: 22px; margin-top: 28px; }
.single-post .entry-content figure.wp-block-image img { border-radius: var(--rst-radius); }
.single-post .entry-content figure.wp-block-image { margin: 32px 0; }
.rst-kort {
	background: var(--rst-mint);
	border-left: 4px solid var(--rst-green);
	border-radius: 0 var(--rst-radius) var(--rst-radius) 0;
	padding: 24px 28px;
	margin-bottom: 34px;
}
.rst-kort h2 { font-size: 20px !important; margin: 0 0 10px !important; }
.rst-kort ul { margin: 0 0 0 20px; }
.rst-kort li { margin-bottom: 6px; }
.rst-kort li:last-child { margin-bottom: 0; }
.single-post .wp-block-yoast-faq-block { margin-top: 18px; }
.rst-post-cta {
	margin-top: 48px;
	background: var(--rst-navy);
	color: #fff;
	border-radius: var(--rst-radius);
	padding: 34px 36px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.rst-post-cta h2 { color: #fff; font-size: 24px !important; margin: 0 0 6px !important; }
.rst-post-cta p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 16px; }
.single-post .entry-meta, .single-post footer.entry-meta { font-size: 15px; }
.post-navigation .nav-previous, .post-navigation .nav-next { font-weight: 600; }

/* Blogoverzicht (GP blog-kolommen) */
.blog .site-main article .inside-article,
.archive .site-main article .inside-article {
	background: #fff;
	border: 1px solid var(--rst-line);
	border-radius: var(--rst-radius);
	box-shadow: var(--rst-shadow);
	overflow: hidden;
	padding: 0 0 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.blog .post-image, .archive .post-image { margin: 0 0 20px !important; aspect-ratio: 16 / 10; overflow: hidden; }
.blog .post-image img, .archive .post-image img { width: 100%; height: 100%; object-fit: cover; }
.blog .entry-header, .archive .entry-header,
.blog .entry-summary, .archive .entry-summary,
.blog footer.entry-meta, .archive footer.entry-meta { padding-left: 24px; padding-right: 24px; }
.blog h2.entry-title, .archive h2.entry-title { font-size: 21px; line-height: 1.35; }
.blog h2.entry-title a, .archive h2.entry-title a { color: var(--rst-navy); }
.blog .entry-summary, .archive .entry-summary { color: var(--rst-muted); font-size: 16px; }
.blog .read-more-container, .archive .read-more-container { margin-top: auto; }
.blog footer.entry-meta, .archive footer.entry-meta { margin-top: auto; font-size: 14px; }
.generate-columns-container .generate-columns { margin-bottom: 30px; }
.blog .paging-navigation, .archive .paging-navigation { margin-top: 10px; }

/* ==========================================================
   8. Gravity Forms
   ========================================================== */
.rst-form-wrap { background: #fff; border: 1px solid var(--rst-line); border-radius: var(--rst-radius); box-shadow: var(--rst-shadow); }
.gform_wrapper.gravity-theme .gfield_label { font-weight: 600; color: var(--rst-navy); font-size: 15px; }
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
	border: 1px solid #C9D2DB;
	border-radius: 10px;
	padding: 12px 14px !important;
	font-size: 16px;
	background: #fff;
}
.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus { outline: 2px solid var(--rst-green); outline-offset: 0; border-color: var(--rst-green); }
.gform_wrapper.gravity-theme .gform_footer input[type=submit],
.gform_wrapper.gravity-theme .gform_footer button {
	background: var(--rst-green);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 17px;
	padding: 15px 34px;
	border: 0;
	cursor: pointer;
}
.gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover { background: var(--rst-green-dark); }
.gform_wrapper.gravity-theme .gfield_required { color: var(--rst-green); }
.gform_wrapper.gravity-theme .ginput_container input:not([type=radio]):not([type=checkbox]):not([type=submit]),
.gform_wrapper.gravity-theme .ginput_container select,
.gform_wrapper.gravity-theme .ginput_container textarea { width: 100%; max-width: 100%; }
.gform_wrapper.gravity-theme .ginput_container_time input { width: 64px !important; }
.gform_wrapper.gravity-theme .ginput_container_date { display: flex; align-items: center; gap: 8px; }
.gform_wrapper.gravity-theme .gfield_required, .gform_wrapper.gravity-theme .gfield_required_text { color: var(--rst-green) !important; font-weight: 500; }
.gform_confirmation_message { background: var(--rst-mint); border-radius: 12px; padding: 20px; font-weight: 600; color: var(--rst-navy); }

/* ==========================================================
   9. Footer (GP blokelement)
   ========================================================== */
.rst-footer, .rst-footer p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.rst-footer h2, .rst-footer h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.rst-footer ul { list-style: none; margin: 0; padding: 0; }
.rst-footer li { margin-bottom: 9px; }
.rst-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.rst-footer a:hover { color: var(--rst-green-light); }
.rst-footer__logo img { width: 280px; height: auto; display: block; }
.rst-footer__bottom, .rst-footer__bottom p { font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Terug naar boven */
.generate-back-to-top { background: var(--rst-green); border-radius: 50%; }
.generate-back-to-top:hover { background: var(--rst-green-dark); }

/* ==========================================================
   10. Overig
   ========================================================== */
.rst-legal h2 { font-size: 26px; margin-top: 36px; }
.rst-legal h2:first-child { margin-top: 0; }
.error404 .site-main, .search .site-main { padding-top: 40px; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
