/*
Theme Name: Larimar
Theme URI: https://larimar.nl
Author: Larimar
Author URI: https://larimar.nl
Description: Rustig, warm blocktheme voor Larimar — praktijk voor craniosacraal therapie en ademcoaching in Borne. Volledig opgebouwd met Gutenberg blocks (Full Site Editing): header, footer en alle secties zijn direct te bewerken in de Site Editor.
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Version: 3.12.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: larimar
Tags: full-site-editing, block-theme, custom-colors, custom-menu

Larimar is a block theme. Colors, typography and layout are defined in theme.json.
This file only exists to satisfy WordPress' theme requirements and small overrides.
*/

/* Hard reset: eliminates any residual browser-default or theme spacing at the
   very top/edges of the page, which could otherwise show as a thin stripe of
   background color above the fixed header. */
html,
body {
	margin: 0 !important;
	padding: 0 !important;
}

/* ---------- Header: transparent over the hero, solidifies once you scroll past it ----------
   Uses position:fixed rather than sticky — sticky silently stops working if ANY ancestor
   anywhere on the page has overflow:hidden (a common but invisible conflict with plugins
   or other CSS), whereas fixed is anchored to the viewport and isn't affected by that. */
.larimar-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.larimar-header.is-scrolled {
	background-color: rgba(246, 247, 246, 0.92);
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 0 rgba(16, 104, 124, 0.08);
}

/* Pages without a full-bleed hero (privacy policy, etc.) need top padding so
   their content doesn't start hidden underneath the fixed header. */
body:not(.home) main {
	padding-top: 5.5rem;
}

.larimar-header a {
	color: #10687C;
	text-decoration: none;
}

.larimar-header .wp-block-navigation-item a:hover {
	color: #5C8E98;
}

.larimar-header .wp-block-navigation-item.is-style-fill a {
	background-color: #5C8E98;
	color: #fff;
	padding: 0.5em 1.3em;
	border-radius: 999px;
}

.larimar-header .wp-block-navigation-item.is-style-fill a:hover {
	background-color: #10687C;
	color: #fff;
}

/* Mobile menu: a compact dropdown panel under the header, not a full-screen overlay */
.larimar-header .wp-block-navigation {
	position: relative;
}

.larimar-header .wp-block-navigation__responsive-container-open {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 999px;
	padding: 6px;
	color: #10687C;
}

.larimar-header .wp-block-navigation__responsive-container-open svg,
.larimar-header .wp-block-navigation__responsive-container-close svg {
	fill: #10687C;
}

@media (max-width: 782px) {
	.larimar-header .wp-block-navigation__responsive-container.is-menu-open {
		position: absolute;
		top: calc(100% + 8px);
		right: 1rem;
		left: auto;
		width: min(280px, 90vw);
		height: auto;
		max-height: 70vh;
		overflow-y: auto;
		background-color: #F6F7F6;
		border-radius: 14px;
		box-shadow: 0 12px 32px rgba(16, 104, 124, 0.18);
		padding: 0.5rem 0;
		inset: auto 1rem auto auto;
	}

	.larimar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 0.5rem 1.25rem 1.25rem;
	}

	.larimar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
		color: #10687C;
		padding: 0.6rem 0;
	}

	.larimar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.is-style-fill a {
		display: inline-block;
		margin-top: 0.5rem;
	}
}

/* Logo lockup: icon + wordmark, tagline underneath (as in the brand logo) */
.larimar-logo img {
	max-height: 46px;
	width: auto;
	display: block;
}

.larimar-logo-tagline {
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: #5C8E98;
	margin-top: 0.1rem;
}

/* ---------- Hero ---------- */
.larimar-hero {
	min-height: 82vh;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	position: relative;
}

.larimar-hero + * {
	margin-top: 0 !important;
}

/* A light, narrow wash behind the text only — keeps the photo clear and visible
   everywhere else, instead of washing out the whole image. */
.larimar-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(246,247,246,0.35) 0%, rgba(246,247,246,0.12) 30%, rgba(246,247,246,0) 50%);
	pointer-events: none;
}

.larimar-hero-textbox {
	padding: 2.25rem 2.5rem;
}

.larimar-hero-textbox h1,
.larimar-hero-textbox p {
	text-shadow: 0 1px 16px rgba(255,255,255,0.85), 0 1px 3px rgba(255,255,255,0.6);
}

@media (max-width: 782px) {
	.larimar-hero {
		min-height: 64vh;
		padding-top: 5rem;
	}
	.larimar-hero::after {
		background: linear-gradient(180deg, rgba(246,247,246,0.25) 0%, rgba(246,247,246,0.45) 70%);
	}
	.larimar-hero-textbox {
		padding: 1.5rem 1.5rem;
	}
}

/* ---------- Section eyebrow + wavy underline accent under headings ---------- */
.larimar-eyebrow {
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5C8E98;
	margin-bottom: 0.3rem;
}

.larimar-wave-accent {
	display: block;
	margin: 0.6rem auto 0;
	color: #AFD3D6;
}

.larimar-wave-accent.is-left {
	margin: 0.6rem 0 0;
}

/* ---------- Icon circle (feature grid items) ---------- */
.larimar-icon-circle {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background-color: #EAF1F4;
	color: #10687C;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}

.larimar-feature-item {
	text-align: center;
	padding: 0 0.5rem;
}

.larimar-feature-item h3,
.larimar-feature-item h4 {
	margin-bottom: 0.4rem;
}

/* ---------- Clickable feature item that toggles a collapsible section ---------- */
.larimar-toggle-trigger {
	cursor: pointer;
	border-radius: 12px;
	transition: background-color 0.2s ease;
}

.larimar-toggle-trigger:hover,
.larimar-toggle-trigger:focus-visible {
	background-color: rgba(16, 104, 124, 0.06);
	outline: none;
}

.larimar-toggle-trigger h3 {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.larimar-toggle-chevron {
	transition: transform 0.3s ease;
	flex: 0 0 auto;
}

.larimar-toggle-trigger.is-open .larimar-toggle-chevron {
	transform: rotate(180deg);
}

.larimar-collapsible {
	overflow: hidden;
	transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
}

.larimar-collapsible.is-collapsed {
	max-height: 0 !important;
	opacity: 0;
	margin-top: 0 !important;
	pointer-events: none;
}

.larimar-collapsible:not(.is-collapsed) {
	max-height: 2400px;
	opacity: 1;
}

/* ---------- Voor-wie style icon list (icon left, text left-aligned, no circle) ---------- */
.larimar-icon-row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 0.75rem 0;
}

.larimar-icon-row .larimar-icon-mark {
	flex: 0 0 auto;
	color: #10687C;
	margin-top: 0.15rem;
}

.larimar-icon-row strong {
	display: block;
	color: #10687C;
	font-weight: 600;
}

.larimar-icon-plain {
	color: #10687C;
	display: flex;
	justify-content: center;
	margin-bottom: 0.6rem;
}

/* ---------- Service / content cards (cranio, ademwerk) ---------- */
.larimar-card {
	background-color: #fff;
	border-radius: 16px;
	overflow: hidden;
}

.larimar-card .wp-block-cover {
	border-radius: 0;
}

.larimar-card-equal {
	height: 100%;
	box-sizing: border-box;
}

.larimar-card-photo {
	margin: 0;
	height: 100%;
}

.larimar-card-photo img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	display: block;
}

@media (max-width: 782px) {
	.larimar-card-photo img {
		min-height: 220px;
	}
}

/* ---------- Testimonial / quote cards ---------- */
.larimar-quote-card {
	background-color: #fff;
	border-radius: 14px;
	padding: 1.75rem;
}

.larimar-quote-mark {
	color: #AFD3D6;
	margin-bottom: 0.5rem;
}

/* ---------- CTA band ---------- */
.larimar-cta-band {
	background: linear-gradient(120deg, #AFD3D6 0%, #cfe6e8 100%);
	border-radius: 20px;
	overflow: hidden;
}

.larimar-cta-photo {
	margin: 0;
	height: 100%;
}

.larimar-cta-photo img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

@media (max-width: 782px) {
	.larimar-cta-photo img {
		min-height: 200px;
	}
}

/* ---------- Footer: slim bar like the reference ---------- */
.larimar-footer {
	background-color: #EDF3F5;
}

.larimar-footer a {
	color: #10687C;
}

.larimar-footer-logo img {
	max-height: 40px;
	width: auto;
}

.larimar-footer-meta {
	color: #5b6b70;
}

.larimar-assoc-badges {
	gap: 0.65rem;
}

.larimar-assoc-logo {
	margin: 0;
	display: flex;
	align-items: center;
}

.larimar-assoc-logo img {
	display: block;
	height: 20px;
	width: auto;
	max-width: none;
}

.larimar-footer-building-thumb img {
	border-radius: 8px;
	display: block;
	object-fit: cover;
}

/* ---------- Cookie banner (simple/decorative — no script blocking) ---------- */
.larimar-cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 200;
	max-width: 640px;
	margin: 0 auto;
	background-color: #F6F7F6;
	border: 1.5px solid #10687C;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(16, 104, 124, 0.18);
	padding: 1.25rem 1.5rem;
	display: none;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.larimar-cookie-banner.is-visible {
	display: flex;
}

.larimar-cookie-banner p {
	margin: 0;
	font-size: 0.92rem;
	flex: 1 1 260px;
	color: #33444A;
}

.larimar-cookie-banner a {
	color: #10687C;
}

.larimar-cookie-accept {
	flex: 0 0 auto;
	background-color: #5C8E98;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.55em 1.5em;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.larimar-cookie-accept:hover,
.larimar-cookie-accept:focus-visible {
	background-color: #10687C;
}

@media (max-width: 480px) {
	.larimar-cookie-banner {
		left: 0.5rem;
		right: 0.5rem;
		bottom: 0.5rem;
		padding: 1rem 1.15rem;
	}
}
