/* =========================================================
   Shanti Massage Maspalomas — shared stylesheet
   Design mirrors the source site (WordPress Twenty Seventeen
   theme): full-bleed hero header image with dark gradient
   overlay, monochrome white/near-black palette, Libre Franklin
   typeface, uppercase letter-spaced navigation, panel sections
   on the homepage, single centered content column on inner
   pages, two-column footer.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&display=swap");

:root {
	--color-text: #333;
	--color-heading: #222;
	--color-muted: #767676;
	--color-bg: #fff;
	--color-bg-alt: #fafafa;
	--color-border: #eee;
	--color-dark: #191e23;
	--font-body: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--content-max: 700px;
	--wide-max: 1100px;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-heading);
	text-decoration: underline;
	text-decoration-color: #ccc;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: #000;
	text-decoration-color: #000;
}

.wrap {
	max-width: var(--wide-max);
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #fff;
	color: #000;
	padding: 10px 16px;
	z-index: 1000;
}

.skip-link:focus {
	left: 10px;
	top: 10px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ---------------------------------------------------------
   Header / hero
   --------------------------------------------------------- */

.site-header {
	position: relative;
	color: #fff;
}

.custom-header {
	position: relative;
}

.custom-header-media {
	position: relative;
	overflow: hidden;
}

.custom-header-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.55) 100%);
}

.custom-header-media img {
	width: 100%;
	height: 62vh;
	min-height: 340px;
	max-height: 620px;
	object-fit: cover;
	object-position: center 30%;
}

.home .custom-header-media img,
.front-page .custom-header-media img {
	height: 72vh;
	max-height: 780px;
}

.site-branding {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding-bottom: 2.2em;
}

.site-branding .wrap {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.site-title,
.site-title a,
.site-branding p.site-title a {
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	margin: 0;
	font-size: clamp(1.6em, 4vw, 2.6em);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-title a:hover {
	color: #fff;
	opacity: 0.85;
}

/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.navigation-top {
	position: relative;
	z-index: 3;
	background: var(--color-dark);
}

.main-navigation .wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.main-navigation .menu-top-menu-container {
	width: 100%;
}

.main-navigation ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.main-navigation li {
	position: relative;
	margin: 0;
}

.main-navigation ul.menu > li > a {
	display: block;
	padding: 1em 1.1em;
	color: #fff;
	text-decoration: none;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li > a[aria-current="page"] {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.main-navigation ul.menu > li.lang-item {
	display: flex;
	align-items: center;
}

.main-navigation ul.menu > li.lang-item > a {
	padding: 1em 0.6em;
}

.main-navigation img.mltlngg-lang {
	width: 18px;
	height: auto;
	vertical-align: middle;
	display: block;
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	color: #fff;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 1em 1.1em;
	cursor: pointer;
}

.menu-toggle svg {
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 6px;
	fill: currentColor;
}

.menu-toggle .icon-close {
	display: none;
}

.menu-scroll-down {
	display: none;
}

@media (max-width: 700px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation .wrap {
		flex-wrap: wrap;
	}

	.main-navigation .menu-top-menu-container {
		display: none;
		width: 100%;
	}

	.main-navigation.toggled .menu-top-menu-container {
		display: block;
	}

	.main-navigation ul.menu {
		flex-direction: column;
		align-items: stretch;
	}

	.main-navigation ul.menu > li > a {
		padding: 0.9em 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.main-navigation ul.menu > li.lang-item > a {
		padding: 0.9em 0.6em;
	}
}

/* ---------------------------------------------------------
   Page-level headers (inner pages, non-front)
   --------------------------------------------------------- */

.site-header.inner .custom-header-media img {
	height: 40vh;
	min-height: 220px;
	max-height: 380px;
}

/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.site-content {
	padding: 3.5em 0 1em;
}

.page-content-wrap {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 24px;
}

.entry-header {
	margin-bottom: 1em;
}

.entry-title {
	font-size: 2em;
	font-weight: 700;
	color: var(--color-heading);
	margin: 0 0 0.6em;
}

.entry-content p {
	margin: 0 0 1.3em;
}

.entry-content a {
	font-weight: 600;
}

/* ---------------------------------------------------------
   Homepage panels
   --------------------------------------------------------- */

.panel {
	border-bottom: 1px solid var(--color-border);
}

.panel .panel-content {
	padding: 3.5em 0;
}

.panel-content .wrap {
	max-width: 1000px;
}

.panel .entry-title {
	text-transform: uppercase;
	font-size: 0.85em;
	letter-spacing: 0.18em;
	color: var(--color-muted);
	font-weight: 700;
	margin-bottom: 1.5em;
}

.about-photo {
	float: left;
	width: 260px;
	max-width: 40%;
	margin: 0 2em 1em 0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.about-text::after {
	content: "";
	display: block;
	clear: both;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 2.5em;
	clear: both;
}

.gallery figure {
	margin: 0;
	overflow: hidden;
	border-radius: 2px;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 4;
	transition: transform 0.4s ease;
}

.gallery a:hover img {
	transform: scale(1.04);
}

@media (max-width: 800px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.about-photo {
		float: none;
		width: 100%;
		max-width: 260px;
		margin: 0 auto 1.5em;
	}
}

.panel-cta {
	position: relative;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.panel-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 14, 0.72);
}

.panel-cta .panel-content {
	position: relative;
	z-index: 1;
}

.panel-cta .entry-title {
	color: #eee;
}

.panel-cta .entry-content {
	font-size: 1.15em;
}

.panel-cta a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.6);
}

.panel-cta a:hover {
	text-decoration-color: #fff;
}

/* ---------------------------------------------------------
   Massages / price list
   --------------------------------------------------------- */

.price-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 2.5em;
	list-style: none;
	margin: 0 0 2.2em;
	padding: 1.2em 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	font-weight: 600;
	color: var(--color-heading);
}

.treatment {
	margin-bottom: 2em;
}

.treatment h2 {
	font-size: 1.15em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-heading);
	margin: 0 0 0.5em;
}

.treatment p {
	margin: 0;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
	background: var(--color-dark);
	color: #cfcfcf;
	margin-top: 2em;
}

.site-footer .wrap {
	padding-top: 3em;
	padding-bottom: 2em;
}

.widget-area {
	display: flex;
	flex-wrap: wrap;
	gap: 3em;
	padding-bottom: 2em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.widget-column {
	flex: 1 1 260px;
}

.widget-title {
	color: #fff;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 700;
	margin: 0 0 1em;
}

.widget-column p {
	margin: 0 0 0.6em;
}

.widget-column a {
	color: #cfcfcf;
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.widget-column a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.social-navigation ul {
	list-style: none;
	display: flex;
	gap: 1em;
	margin: 1.6em 0 0;
	padding: 0;
}

.social-navigation a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}

.social-navigation a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.social-navigation svg {
	width: 16px;
	height: 16px;
	fill: #fff;
}

.site-info {
	margin-top: 1.6em;
	font-size: 0.8em;
	color: #888;
}

.site-info a {
	color: #999;
	text-decoration-color: #555;
}
