/*
Theme Name: MOMO Theaterwerkplaats
Theme URI: https://www.momotheaterwerkplaats.nl
Author: MOMO Theaterwerkplaats
Author URI: https://www.momotheaterwerkplaats.nl
Description: Modern block theme (Full Site Editing) voor Stichting MOMO Theaterwerkplaats: een warme, toegankelijke en theatrale uitstraling voor een creatieve dagbesteding en theatergroep. Bevat een voorpagina-patroon, header, footer en sjablonen voor pagina's, berichten en 404.
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: momo-theaterwerkplaats
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks, accessibility-ready, translation-ready
*/

/* Basis ------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent-2);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Header ----------------------------------------------------------- */
.momo-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(43, 27, 61, 0.08);
	backdrop-filter: saturate(1.4) blur(10px);
	background-color: rgba(255, 248, 238, 0.92);
}
.admin-bar .momo-header { top: var(--wp-admin--admin-bar--height, 32px); }

.momo-header .wp-block-navigation a { text-decoration: none; font-weight: 600; }
.momo-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.momo-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--accent); }
.momo-header .wp-block-navigation__submenu-container {
	border-radius: 12px;
	border: 1px solid rgba(43, 27, 61, 0.1);
	box-shadow: 0 12px 30px rgba(43, 27, 61, 0.12);
	padding: 0.4rem;
}

/* Knoppen ---------------------------------------------------------- */
.wp-block-button__link {
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(43, 27, 61, 0.22); }

/* Kaarten ---------------------------------------------------------- */
.momo-card,
.is-style-momo-card {
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
	box-shadow: 0 2px 0 rgba(43, 27, 61, 0.06), 0 10px 30px rgba(43, 27, 61, 0.07);
}
.momo-card:hover,
.is-style-momo-card:hover { transform: translateY(-4px); box-shadow: 0 2px 0 rgba(43, 27, 61, 0.06), 0 18px 38px rgba(43, 27, 61, 0.14); }

/* Hero: theaterlicht ----------------------------------------------- */
.momo-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.momo-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
	background: radial-gradient(circle at center, rgba(244, 185, 66, 0.55), rgba(244, 185, 66, 0) 65%);
	z-index: -1;
	pointer-events: none;
}
.momo-hero::after {
	content: "";
	position: absolute;
	inset: auto auto -25% -10%;
	width: 45vw; height: 45vw; max-width: 560px; max-height: 560px;
	background: radial-gradient(circle at center, rgba(228, 87, 46, 0.45), rgba(228, 87, 46, 0) 65%);
	z-index: -1;
	pointer-events: none;
}

/* Eyebrow-tekst ---------------------------------------------------- */
.momo-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
}

/* Gordijnrand als sectiescheiding ---------------------------------- */
.is-style-momo-curtain {
	height: 18px;
	border: 0;
	background:
		radial-gradient(circle at 12px 0, var(--wp--preset--color--accent) 11px, transparent 12px) 0 0 / 24px 18px repeat-x;
}

/* Afbeeldingen ----------------------------------------------------- */
.wp-block-image img, .wp-block-post-featured-image img { border-radius: 16px; }

/* Footer ----------------------------------------------------------- */
.momo-footer a { text-decoration: none; }
.momo-footer a:hover { text-decoration: underline; }

/* Toegankelijkheid: minder beweging --------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
