/* Dar D'Art Luz — Welcome / Guest Info page styling */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
	--ocre: #FFD60A;
	--or: #FFD60A;
	--bleu: #1E5C8E; /* Essaouira blue */
	--bleu-deep: #0F3D63;
	--charbon: #3D4528;
	--ivoire: #F5EFE0;
	--ivoire-dim: #EDE4D0;
	--blanc: #FDFBF7;
	--gris: #6E665C;
	--green-wa: #25D366;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 8px 32px rgba(61,69,40,.08);
	--shadow-card: 0 2px 14px rgba(61,69,40,.06);
}
html { font-size: 16px; scroll-behavior: smooth; }
body.welcome-page {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: var(--ivoire);
	color: var(--charbon);
	line-height: 1.6;
	min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Hide the floating site-wide language switcher injected by inc/i18n.php */
body.welcome-page #darluz-lang-switcher { display: none !important; }

/* Hero */
.welcome-hero {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5rem 1.5rem 3rem;
	overflow: hidden;
	color: var(--blanc);
	text-align: center;
}
.welcome-hero-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	filter: brightness(.55) saturate(1.05);
}
.welcome-hero-bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(61,69,40,.55) 0%, rgba(61,69,40,.7) 100%);
}
.welcome-hero-inner { position: relative; z-index: 1; }
.welcome-logo { display: inline-block; margin-bottom: .8rem; }
.welcome-logo svg { display: block; margin: 0 auto; }
.welcome-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2rem, 6vw, 3rem);
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--or);
	margin-bottom: .4rem;
}
.welcome-tag {
	font-size: .85rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(253,251,247,.78);
}

/* Lang switcher - top floating */
.welcome-lang-switcher {
	position: fixed; top: 1rem; right: 1rem; z-index: 100;
	display: flex; gap: 0;
	background: rgba(61,69,40,.85); backdrop-filter: blur(10px);
	border: 1px solid rgba(255,214,10,.3);
	border-radius: 999px; padding: 3px;
	box-shadow: var(--shadow);
}
.welcome-lang-switcher a {
	padding: 6px 14px;
	font-size: .72rem; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	color: rgba(245,239,224,.6);
	border-radius: 999px;
	transition: all .25s;
}
.welcome-lang-switcher a:hover { color: rgba(245,239,224,.95); }
.welcome-lang-switcher a.is-active { background: var(--or); color: var(--charbon); }

/* Main */
.welcome-main {
	max-width: 720px; margin: -1.5rem auto 0;
	padding: 0 1rem 6rem;
	position: relative; z-index: 2;
}

/* Cards */
.welcome-card {
	background: var(--blanc);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: 1.6rem 1.4rem;
	margin-bottom: 1.2rem;
	border: 1px solid rgba(255,214,10,.08);
}
.welcome-card-head {
	display: flex; align-items: center; gap: .65rem;
	margin-bottom: 1rem;
	color: var(--bleu);
}
.welcome-card-head h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--charbon);
}
.welcome-card--menu .welcome-card-head h2 { color: var(--charbon); }

/* WiFi card */
.welcome-card--wifi {
	background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-deep) 100%);
	color: var(--blanc);
	border: none;
}
.welcome-card--wifi .welcome-card-head { color: var(--blanc); }
.welcome-card--wifi .welcome-card-head h2 { color: var(--blanc); }
.welcome-wifi-grid {
	display: grid; grid-template-columns: 1fr auto;
	gap: 1.5rem; align-items: center;
}
.welcome-wifi-info { display: flex; flex-direction: column; gap: .8rem; }
.welcome-wifi-row { display: flex; flex-direction: column; gap: .25rem; }
.welcome-wifi-key {
	font-size: .7rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	opacity: .65;
}
.welcome-wifi-val {
	font-size: 1.25rem; font-weight: 500;
	font-family: 'Playfair Display', serif;
}
.welcome-wifi-pwd {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .55rem .9rem;
	background: rgba(255,255,255,.14);
	border: 1px dashed rgba(255,255,255,.4);
	border-radius: var(--radius-sm);
	font-size: 1.1rem; font-weight: 600;
	color: var(--blanc);
	letter-spacing: .04em;
	transition: all .2s;
	align-self: flex-start;
}
.welcome-wifi-pwd:hover { background: rgba(255,255,255,.22); }
.welcome-wifi-pwd code { font-family: 'JetBrains Mono', 'Menlo', monospace; }
.welcome-wifi-pwd.is-copied { background: rgba(37,211,102,.3); border-color: rgba(37,211,102,.7); }
.welcome-wifi-qr {
	display: flex; flex-direction: column; align-items: center; gap: .4rem;
	background: var(--blanc);
	padding: .8rem;
	border-radius: var(--radius-sm);
}
.welcome-wifi-qr img { width: 140px; height: 140px; }
.welcome-wifi-qr span {
	font-size: .68rem; font-weight: 500;
	color: var(--gris);
	text-align: center;
	letter-spacing: .04em;
}
@media (max-width: 540px) {
	.welcome-wifi-grid { grid-template-columns: 1fr; }
	.welcome-wifi-qr { justify-self: center; }
}

/* Rules */
.welcome-rules {
	list-style: none;
	display: flex; flex-direction: column; gap: .8rem;
}
.welcome-rules li {
	position: relative;
	padding-left: 1.7rem;
	font-size: .95rem;
	color: var(--charbon);
	line-height: 1.6;
}
.welcome-rules li::before {
	content: ''; position: absolute;
	left: 0; top: .65rem;
	width: 1.1rem; height: 1px;
	background: var(--or);
}

/* Split (services + breakfast) */
.welcome-split {
	display: grid; grid-template-columns: 2fr 1fr; gap: 2rem;
}
@media (max-width: 540px) {
	.welcome-split { grid-template-columns: 1fr; gap: 1.5rem; }
}
.welcome-prose { font-size: .95rem; color: var(--charbon); line-height: 1.7; }
.welcome-hours {
	font-family: 'Playfair Display', serif;
	font-size: 1.3rem; color: var(--bleu);
	font-weight: 600;
}

/* Menu */
.welcome-card--menu { background: var(--blanc); }
.welcome-menu-notice {
	font-size: .82rem;
	color: var(--gris);
	font-style: italic;
	margin-bottom: 1.4rem;
	padding: .7rem 1rem;
	background: var(--ivoire);
	border-left: 3px solid var(--or);
	border-radius: var(--radius-sm);
}
.welcome-menu-block { margin-bottom: 1.6rem; }
.welcome-menu-block:last-child { margin-bottom: 0; }
.welcome-menu-block-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem; font-weight: 600;
	color: var(--ocre);
	margin-bottom: .6rem;
	padding-bottom: .35rem;
	border-bottom: 1px solid var(--ivoire-dim);
}
.welcome-menu-list { list-style: none; display: flex; flex-direction: column; }
.welcome-menu-list li {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 1rem;
	padding: .5rem 0;
	border-bottom: 1px dashed rgba(61,69,40,.06);
}
.welcome-menu-list li:last-child { border-bottom: none; }
.welcome-menu-name { font-size: .95rem; color: var(--charbon); flex: 1; }
.welcome-menu-price {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 1rem;
	color: var(--bleu);
	white-space: nowrap;
}

/* Useful numbers */
.welcome-numbers { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.welcome-number a {
	display: flex; align-items: center; gap: 1rem;
	padding: .9rem 1rem;
	border-radius: var(--radius-sm);
	background: var(--ivoire);
	transition: all .2s;
	border: 1px solid rgba(255,214,10,.1);
}
.welcome-number a:hover {
	background: var(--ivoire-dim);
	transform: translateY(-1px);
}
.welcome-number-icon {
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--blanc);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	color: var(--bleu);
}
.welcome-number--whatsapp .welcome-number-icon {
	background: var(--green-wa); color: var(--blanc);
}
.welcome-number-info { display: flex; flex-direction: column; gap: 0; flex: 1; }
.welcome-number-label {
	font-size: .85rem; color: var(--gris); font-weight: 500;
}
.welcome-number-value {
	font-family: 'Playfair Display', serif;
	font-size: 1.15rem; font-weight: 600; color: var(--charbon);
	letter-spacing: .02em;
}

/* WhatsApp floating button */
.welcome-wa-float {
	position: fixed;
	bottom: 1.5rem; right: 1.5rem;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: var(--green-wa);
	color: var(--blanc);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 24px rgba(37,211,102,.4);
	transition: transform .2s;
	z-index: 50;
}
.welcome-wa-float:hover { transform: scale(1.08); }

/* Footer */
.welcome-footer {
	max-width: 720px; margin: 0 auto;
	padding: 2rem 1.5rem 6rem;
	text-align: center;
	font-size: .82rem;
	color: var(--gris);
}
.welcome-footer p { margin-bottom: .3rem; }
.welcome-footer a { color: var(--bleu); }
.welcome-footer a:hover { text-decoration: underline; }

/* Print */
@media print {
	.welcome-lang-switcher, .welcome-wa-float { display: none; }
	body.welcome-page { background: white; }
	.welcome-card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
	.welcome-hero { min-height: auto; padding: 1rem; }
	.welcome-hero-bg { display: none; }
	.welcome-title, .welcome-tag, .welcome-card-head, .welcome-card-head h2 { color: black !important; }
}

/* ============== SERVICE PHOTOS (frontend) ============== */
.welcome-service-photos {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: .8rem;
}
.welcome-service-photo {
	margin: 0;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	overflow: hidden;
}
.welcome-service-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.welcome-service-photo figcaption {
	padding: .45rem .65rem;
	font-size: .78rem;
	color: rgba(255,255,255,.78);
	font-family: var(--font-sans, inherit);
}
@media print {
	.welcome-service-photos { gap: .4rem; }
	.welcome-service-photo {
		background: transparent !important;
		border-color: rgba(0,0,0,.15) !important;
		break-inside: avoid;
	}
	.welcome-service-photo figcaption { color: #333 !important; }
}

/* ============== CUSTOM SECTIONS (frontend) ============== */
.welcome-card--custom .welcome-prose {
	white-space: pre-line;
}
