﻿:root {
	--bg: #fefefe;
	--fg: #222;
	--muted: #555;
	--brand: #ff6aa2;
	--brand-2: #009fe3;
	--card: #ffffff;
	--radius: 18px;
	--maxw: 1200px;
	/* ✅ let op de ; aan het einde van elke regel */
	--hero-image-1: url('/images/es-vedra-2.jpg'); /* Ocean wave beach */
	--hero-image-2: url('/images/hero/photo-1696026382047-0851e73edde4.avif'); /* Sunset coast */
	--hero-image-3: url('/images/hero/photo-1696026382047-0851e73edde4.avif'); /* Palm silhouette */
	--hero-image-4: url('/images/es-vedra-1.jpg'); /* Warm sunset */
	--hero-image: url('/images/es-vedra-1.jpg');
	--hero-image-beach: url('/images/beaches.jpg');
	--text: #1f2937; /* slate-800 */
	--border: #e5e7eb; /* gray-200 */
	--accent: #00b5ad; /* jouw merkaccent */
	--shadow: 0 20px 40px rgba(0,0,0,.18);
}


@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f172a; /* slate-950 */
		--text: #e5e7eb; /* gray-200 */
		--border: #243044; /* donker randje */
		--shadow: 0 20px 50px rgba(0,0,0,.6);
	}
}

/* Option: accent per dialog (bv. #langDialog) */
/* #langDialog { --accent:#00b5ad; } */

dialog {
	color-scheme: light dark;
	border: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	border-radius: 14px;
	width: min(92vw, 460px);
	box-shadow: var(--shadow);
	/* subtiele binnenkomst */
	transform: translateY(6px) scale(.98);
	opacity: 0;
	transition: transform .18s ease, opacity .18s ease;
}

	dialog[open] {
		transform: translateY(0) scale(1);
		opacity: 1;
	}

	dialog::backdrop {
		background: rgba(15,23,42,.55); /* slate-900 ~60% */
		backdrop-filter: blur(3px);
	}

	/* Header (h2) */
	dialog h2 {
		font-size: 1.25rem;
		line-height: 1.2;
		margin: 0;
		padding: 16px 18px;
		border-bottom: 1px solid var(--border);
	}

	/* Inhoud / knoppenraster */
	dialog form[method="dialog"] {
		display: flex;
		gap: 10px;
		padding: 16px 18px 18px;
	}

@media (max-width: 420px) {
	dialog form[method="dialog"] {
	}
}

/* Knoppen */
dialog button {
	appearance: none;
	border: 1px solid var(--border);
	background: transparent;
	padding: .7rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, transform .06s ease;
}

	dialog button:hover {
		border-color: rgba(0,0,0,.12);
		background: rgba(0,0,0,.04);
	}

@media (prefers-color-scheme: dark) {
	dialog button:hover {
		border-color: rgba(255,255,255,.18);
		background: rgba(255,255,255,.06);
	}
}

dialog button:active {
	transform: translateY(1px);
}

dialog button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent);
	outline-offset: 2px;
}

/* Maak taalkeuzes net iets opvallender (buttons met value=...) */
dialog button[value] {
	border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
	background: color-mix(in srgb, var(--accent) 12%, transparent);
}

	dialog button[value]:hover {
		background: color-mix(in srgb, var(--accent) 22%, transparent);
	}

/* Optionele sluitknop rechtsboven (als je die toevoegt) */
.dialog-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	color: var(--text);
	border-radius: 8px;
	opacity: .75;
	cursor: pointer;
}

	.dialog-close:hover {
		opacity: 1;
		background: rgba(0,0,0,.06);
	}

@media (prefers-color-scheme: dark) {
	.dialog-close:hover {
		background: rgba(255,255,255,.08);
	}
}

/* Mindful motion */
@media (prefers-reduced-motion: reduce) {
	dialog, dialog[open] {
		transition: none;
	}
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui;
	color: var(--fg);
	background: var(--bg);
}

a {
	color: inherit;
	text-decoration: none
}

img {
	max-width: 100%;
	display: block
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding: clamp(16px, 3vw, 28px)
}

/* Header */
header {
	position: sticky;
	top: 0;
	background: rgba(255,255,255,.9);
	border-bottom: 1px solid rgba(0,0,0,.06);
	z-index: 9999;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between
}

.brand {
	display: flex;
	gap: .6rem;
	align-items: center;
	font-weight: 700;
	color: var(--brand-2)
}

.logo {
	width: 36px;
	aspect-ratio: 1;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2))
}

.lang {
	display: flex;
	gap: .5rem
}

	.lang a.active {
		font-weight: 600
	}


/* Full-bleed hero met overlay + cover blijft */
.hero {
	position: relative;
	width: 100%;
	background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.12)), var(--hero-image) center/cover no-repeat;
}
	.hero.hero--beaches {
		background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.12)), var(--hero-image-beach) center/cover no-repeat;
	}
	

	/* Minder verticale padding binnenin */
	.hero > .container {
		padding-block: clamp(28px, 6vw, 72px);
	}

/* Compactere minimale hoogte */
.hero-inner {
	min-height: clamp(280px, 42svh, 480px);
}

/* Op grotere schermen nóg iets compacter */
@media (min-width: 1000px) {
	.hero-inner {
		min-height: clamp(260px, 36svh, 440px);
	}
}

.title {
	color: #fff;
	font-size: 2.75rem;
}

.subtitle {
	color: rgba(255,255,255,.92);
	font-size: 1.5rem;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 3vw, 32px);
	align-items: center;
}


.cta {
	margin-top: 1.2rem;
	display: flex;
	gap: .8rem;
	flex-wrap: wrap
}

.btn {
	padding: .9rem 1.1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff;
	font-weight: 700
}

/* USP highlights in de hero */
.usp-highlights {
	list-style: none;
	padding: 0;
	margin: .75rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem .6rem;
}

	.usp-highlights li {
		display: flex;
		align-items: center;
		padding: .45rem .7rem;
		border-radius: 999px;
		font-weight: 600;
		font-size: .95rem;
		line-height: 1;
		background: rgba(255,255,255,.92);
		border: 1px solid rgba(0,0,0,.12);
		color: #222;
	}

@media (max-width: 640px) {
	.usp-highlights li {
		font-size: .9rem;
	}
}


.hero-card {
	display: none;
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255,106,162,.2), rgba(0,159,227,.2));
	padding: 10px;
}

.hero-media {
	border-radius: calc(var(--radius) - 6px);
	background: url('') center/cover no-repeat, linear-gradient(135deg, #d6f0ff, #fff);
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: end start;
	overflow: hidden;
	position: relative;
}

.hero-badge {
	background: rgba(255,255,255,.9);
	padding: .6rem .8rem;
	border-radius: 999px;
	margin: 12px;
	border: 1px solid rgba(0,0,0,.08);
	font-weight: 600;
	display: flex;
	gap: .6rem;
	align-items: center;
	color: var(--brand-2)
}

/* Grid blocks */
.pillars {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(12px, 2vw, 20px)
}

.card {
	grid-column: span 6;
	border: 1px solid rgba(0,0,0,.06);
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow)
}

.card-media {
	aspect-ratio: 16/10;
	background: linear-gradient(135deg, rgba(255,106,162,.25), rgba(0,159,227,.25));
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 700;
	letter-spacing: .5px
}

	.card-media.beaches {
		background-image: url(/images/beaches.jpg);
		background-position: center center;
		background-size: 150%;
	}
	.card-media.spirit {
		background-image: url(/images/es-vedra-2.jpg);
		background-position: center center;
		background-size: 150%;
	}
	.card-media.sightseeing {
		background-image: url(/images/sightseeing.jpg);
		background-position: center center;
		background-size: 150%;
	}
	.card-media.travel {
		background-image: url(/images/travel.jpeg);
		background-position: center center;
		background-size: 150%;
	}
	.card-media.food {
		background-image: url(/images/coffee.jpg);
		background-position: center 57%;
		background-size: 103%;
	}

	.card-media.nightlife {
		background-image: url(/images/night-life-ibiza.png);
		background-position: center 57%;
		background-size: 103%;
	}

.card-body {
	padding: 16px 18px 20px
}

.card h3 {
	margin: .2rem 0 .4rem;
	font-size: clamp(20px, 2.4vw, 26px)
}

.card p {
	margin: 0 0 .8rem;
	color: var(--muted)
}

.chip {
	display: inline-flex;
	padding: .45rem .75rem;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.14);
	font-size: .9rem;
	background: #f9f9f9
}

/* Mini agenda */
.extras {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: clamp(12px, 2vw, 20px)
}

.agenda {
	border: 1px solid rgba(0,0,0,.06);
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow)
}

	.agenda h3 {
		margin: 0;
		padding: 16px 18px;
		border-bottom: 1px solid rgba(0,0,0,.06);
		color: var(--brand-2)
	}

	.agenda ul {
		list-style: none;
		margin: 0;
		padding: 12px 18px 18px;
		display: grid;
		gap: 12px
	}

.event {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	border: 1px dashed rgba(0,0,0,.1);
	border-radius: 12px;
	background: #fafafa
}

.date {
	font-weight: 700;
	color: var(--brand)
}

/* Newsletter */
.newsletter {
	border: 1px solid rgba(0,0,0,.06);
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow)
}

	.newsletter h3 {
		margin: 0;
		padding: 16px 18px;
		border-bottom: 1px solid rgba(0,0,0,.06);
		color: var(--brand-2)
	}

	.newsletter .body {
		padding: 16px 18px 20px
	}

	.newsletter .note {
		margin: .6rem 0 0;
		color: var(--muted);
		font-size: .9rem
	}

.input-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap
}

input[type=email] {
	flex: 1 1 220px;
	padding: .9rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.18);
	background: #fff;
	color: var(--fg)
}

/* Footer */
footer {
	margin-top: 40px;
	border-top: 1px solid rgba(0,0,0,.06);
	background: #fff;
	padding: 20px
}

/* Responsive */
@media (max-width: 960px) {
	.hero-inner {
		grid-template-columns: 1fr
	}

	.card {
		grid-column: span 12
	}
}

/* basic helpers */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

.lang-form {
	display: grid;
	gap: .75rem;
}

#langSelect {
	padding: .7rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-size: 1rem;
}

.enhanced {
	display: grid;
	gap: .5rem;
}

#langSearch {
	padding: .7rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-size: 1rem;
}

.lang-list {
	max-height: 320px;
	overflow: auto;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: .25rem;
	background: #fff
}

.lang-item {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .55rem .7rem;
	border-radius: .6rem;
	cursor: pointer
}

	.lang-item:hover {
		background: #f5f7fa
	}

	.lang-item[aria-selected="true"] {
		outline: 2px solid #00b5ad;
		outline-offset: 1px
	}

.lang-flag {
	font-size: 1.1rem;
	width: 1.4rem;
	display: inline-flex;
	justify-content: center
}

.lang-name {
	font-weight: 600
}

.lang-meta {
	color: #6b7280;
	font-size: .9rem
}

.actions {
	display: flex;
	justify-content: flex-end;
	gap: .5rem;
	margin-top: .25rem
}

.btn-primary {
	background: #00b5ad;
	color: #fff;
	border: 0;
	padding: .65rem 1rem;
	border-radius: .7rem;
	font-weight: 600;
	cursor: pointer
}

.btn-secondary {
	background: transparent;
	border: 1px solid #e5e7eb;
	padding: .65rem 1rem;
	border-radius: .7rem;
	cursor: pointer
}

@media (prefers-color-scheme: dark) {
	#langSelect, #langSearch, .lang-list {
		background: #0f172a;
		color: #e5e7eb;
		border-color: #243044
	}

	.lang-item:hover {
		background: rgba(255,255,255,.06)
	}

	.btn-secondary {
		border-color: #243044;
		color: #e5e7eb
	}
}

/* Stranden grid: 3-up desktop, 2-up tablet, 1-up mobiel */
.beaches-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(12px, 2vw, 20px);
}

	.beaches-grid .card {
		grid-column: span 4;
	}
/* 12/3 = 4 */

@media (max-width: 960px) {
	.beaches-grid .card {
		grid-column: span 6;
	}
	/* 12/2 = 6 */
}

@media (max-width: 620px) {
	.beaches-grid .card {
		grid-column: span 12;
	}
	/* 1 kolom */
}

/* Compactere kaartdetails */
.card .meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem .45rem;
	margin-top: .55rem;
}

.badge, .chip-quiet {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .38rem .6rem;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.12);
	background: #f9f9f9;
	font-size: .88rem;
	line-height: 1;
}

	.badge i {
		font-style: normal;
		opacity: .7;
	}
/* voor mini-icoontjes via tekst */
.card .stars {
	font-size: .95rem;
	letter-spacing: .04em;
}

.card .line {
	display: flex;
	gap: .5rem;
	align-items: center;
	color: var(--muted);
	margin-top: .3rem;
	font-size: .95rem;
}

/* 1 kolom */
.card-link {
	display: block;
}

.breadcrumbs {
	font-size: .95rem;
	color: var(--muted);
	margin: 0 0 8px;
}

	.breadcrumbs a {
		text-decoration: underline;
		text-underline-offset: 2px
	}

#filters select, #filters input[type="search"] {
	padding: .7rem 1rem;
	border: 1px solid var(--border);
	border-radius: 10px
}