/*
Theme Name: Spa Theme
Theme URI: https://g-massage-web.local
Author: Spa Theme
Author URI: https://g-massage-web.local
Description: Minimal classic theme providing header + footer only. All page content is built with Elementor.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: spa-theme
*/

/* ===== RESET ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
	line-height: 1.5;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
}

/* ===== LAYOUT ===== */
#main {
	width: 100%;
}

.site-content {
	width: 100%;
}

/* ===== BOXED CONTAINER (matches Elementor default 1140px boxed width) ===== */
.site-header-inner,
.footer-inner {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* ===== HEADER ===== */
.site-header {
	background: #ffffff;
	position: relative;
	z-index: 100;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.site-header .site-branding a {
	display: flex;
	align-items: center;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.site-header .site-branding img {
	max-height: 48px;
	width: auto;
}

.site-header .primary-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-header .primary-nav ul {
	display: flex;
	gap: 1.75rem;
}

.site-header .primary-nav a {
	font-size: 0.95rem;
	font-weight: 500;
}

.site-header .primary-nav a:hover {
	opacity: 0.7;
}

.header-cta {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	background: #163832;
	color: #f3ece0;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}

.header-cta:hover {
	background: #0e2622;
	color: #f3ece0;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #1a1a1a;
}

@media (max-width: 768px) {
	.site-header-inner {
		flex-wrap: wrap;
		padding-top: 1rem;
		padding-bottom: 1rem;
		padding-left: 16px;
		padding-right: 16px;
	}

	.site-branding {
		order: 1;
	}

	.menu-toggle {
		display: flex;
		order: 3;
	}

	.primary-nav {
		order: 4;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	.primary-nav.is-open {
		max-height: 400px;
	}

	.site-header .primary-nav ul {
		flex-direction: column;
		gap: 0;
		width: 100%;
		padding-top: 1rem;
	}

	.site-header .primary-nav li {
		border-top: 1px solid #eee;
	}

	.site-header .primary-nav a {
		display: block;
		padding: 0.85rem 0;
	}

	.header-cta {
		order: 2;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ===== FOOTER ===== */
.site-footer {
	background: #0e2622;
	color: #f3ece0;
}

.footer-cta {
	background: #ffffff;
	text-align: center;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.footer-cta .eyebrow {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #4a5a55;
	margin-bottom: 1.5rem;
}

.footer-cta h2 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(2.25rem, 6vw, 4rem);
	line-height: 1.15;
	margin: 0 0 1.5rem;
	color: #163832;
}

.footer-cta p {
	max-width: 36rem;
	margin: 0 auto;
	color: #555555;
	font-size: 1.05rem;
}

.footer-bar {
	border-top: 1px solid rgba(243, 236, 224, 0.15);
	font-size: 0.9rem;
}

.footer-bar .footer-inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	gap: 1rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.footer-bar .footer-site-name {
	font-weight: 700;
	text-align: left;
}

.footer-bar .footer-site-name img,
.footer-bar .custom-logo-link img,
.footer-bar .custom-logo {
	max-height: 32px;
	width: auto;
	display: block;
}

.footer-bar .footer-tagline {
	text-align: center;
	color: #cdded8;
}

.footer-bar .footer-copyright {
	text-align: right;
	color: #cdded8;
}

@media (max-width: 768px) {
	.footer-cta {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.footer-cta .footer-inner,
	.footer-bar .footer-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.footer-bar .footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.footer-bar .footer-site-name,
	.footer-bar .footer-tagline,
	.footer-bar .footer-copyright {
		text-align: center;
	}
}

/* ===== PAGE TEMPLATES ===== */
.page-container {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	padding-top: 3rem;
	padding-bottom: 3rem;
	box-sizing: border-box;
}

.page-container .page-title {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(2rem, 5vw, 3rem);
	color: #163832;
	margin: 0 0 1.5rem;
}

/* About Us — intro/story copy */
.about-story {
	max-width: 760px;
	margin-top: 1rem;
}

.about-story p {
	color: #4a5a55;
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 1.1rem;
}

.about-story p:last-child {
	margin-bottom: 0;
}

/* About Us — values cards */
.about-values {
	margin-top: 3rem;
}

.about-values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.about-values-card {
	background: #f3ece0;
	border-radius: 12px;
	padding: 1.75rem;
}

.about-values-card h3 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 600;
	font-size: 1.35rem;
	color: #163832;
	margin: 0 0 0.6rem;
}

.about-values-card p {
	color: #4a5a55;
	font-size: 0.95rem;
	margin: 0;
}

/* Contact Us — contact details */
.contact-details {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.contact-details-item {
	background: #f3ece0;
	border-radius: 12px;
	padding: 1.75rem;
}

.contact-details-item h3 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 600;
	font-size: 1.1rem;
	color: #163832;
	margin: 0 0 0.6rem;
}

.contact-details-item p {
	color: #4a5a55;
	font-size: 0.95rem;
	margin: 0;
	word-break: break-word;
}

.contact-details-item a {
	color: #163832;
	font-weight: 600;
	text-decoration: underline;
}

/* Contact Us — responsive map embed */
.contact-map {
	margin-top: 3rem;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
}

.contact-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 768px) {
	.page-container {
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.about-values-grid,
	.contact-details {
		grid-template-columns: 1fr;
	}

	.contact-map {
		aspect-ratio: 4 / 3;
	}
}
