/*
Theme Name: YogaaLife
Theme URI: https://YogaaLife.online
Author: YogaaLife
Author URI: https://YogaaLife.online
Description: A premium one-page WordPress theme for YogaaLife, a Greenwich Village yoga studio. Smooth-scroll navigation, six image-led services, and a refined cream-and-sage design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yogaalife
Tags: one-page, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

:root {
	--cream: #f7f1e8;
	--cream-dark: #efe6d8;
	--paper: #fbf8f3;
	--sage: #6b7f6a;
	--sage-deep: #3d4f46;
	--sage-soft: #8a9a84;
	--terracotta: #c4785a;
	--terracotta-deep: #a85d40;
	--gold: #b8956a;
	--charcoal: #2c2a26;
	--ink: #3a3732;
	--muted: #6e6a63;
	--white: #ffffff;
	--header-h: 88px;
	--radius: 18px;
	--shadow: 0 18px 50px rgba(44, 42, 38, 0.12);
	--font-serif: "Cormorant Garamond", "Times New Roman", serif;
	--font-sans: "Outfit", system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

#about,
#services,
#contact {
	scroll-margin-top: 12px;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
	font-family: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wrap {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.section {
	padding: 112px 0;
}

.eyebrow {
	display: inline-block;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 500;
	color: var(--terracotta);
	margin: 0 0 14px;
}

h1,
h2,
h3,
.serif {
	font-family: var(--font-serif);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--charcoal);
}

.section-title {
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	line-height: 1.05;
	margin: 0 0 18px;
}

.lede {
	font-size: 1.12rem;
	color: var(--muted);
	max-width: 38rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--terracotta);
	color: var(--white);
	box-shadow: 0 10px 28px rgba(196, 120, 90, 0.28);
}

.btn-primary:hover {
	background: var(--terracotta-deep);
}

.btn-ghost {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
	background: var(--white);
	color: var(--charcoal);
}

.btn-dark {
	background: var(--sage-deep);
	color: var(--white);
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
	background: rgba(251, 248, 243, 0.97);
	backdrop-filter: blur(18px);
	box-shadow: 0 8px 30px rgba(44, 42, 38, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.site-logo {
	font-family: var(--font-serif);
	font-size: 1.7rem;
	font-weight: 500;
	color: var(--white);
	letter-spacing: 0.02em;
}

.site-header.is-scrolled .site-logo,
.site-header.menu-open .site-logo {
	color: var(--charcoal);
}

.custom-logo-link img,
.custom-logo {
	height: 42px;
	width: auto;
}

body:not(.home) .site-header {
	background: rgba(251, 248, 243, 0.96);
	backdrop-filter: blur(16px);
	box-shadow: 0 8px 30px rgba(44, 42, 38, 0.08);
}

body:not(.home) .site-logo,
body:not(.home) .nav-list a {
	color: var(--charcoal);
}

body:not(.home) .menu-toggle span {
	background: var(--charcoal);
}

.nav-list {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.86);
	position: relative;
}

.site-header.is-scrolled .nav-list a,
.site-header.menu-open .nav-list a {
	color: var(--ink);
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 1px;
	background: var(--terracotta);
	transition: width 0.35s var(--ease);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	margin: 6px auto;
	background: var(--white);
	transition: transform 0.3s var(--ease), opacity 0.3s;
}

.site-header.is-scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
	background: var(--charcoal);
}

/* Hero */
.hero {
	position: relative;
	min-height: 100vh;
	display: grid;
	place-items: end start;
	color: var(--white);
	overflow: hidden;
}

.hero-media,
.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(44, 42, 38, 0.28) 0%, rgba(44, 42, 38, 0.18) 40%, rgba(44, 42, 38, 0.72) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 0 0 110px;
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.hero h1 {
	color: var(--white);
	font-size: clamp(3.2rem, 8vw, 7.2rem);
	line-height: 0.92;
	margin: 0 0 22px;
	max-width: 10ch;
}

.hero p {
	max-width: 34rem;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.86);
	margin: 0 0 32px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-meta {
	display: flex;
	gap: 28px;
	margin-top: 48px;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 72px;
	align-items: center;
}

.about-image {
	position: relative;
}

.about-image img {
	width: 100%;
	height: 640px;
	object-fit: cover;
	border-radius: 28px;
}

.about-image::after {
	content: "";
	position: absolute;
	inset: 28px -22px -22px 28px;
	border: 1px solid var(--gold);
	border-radius: 28px;
	z-index: -1;
}

.about-copy .lede {
	margin-bottom: 24px;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 36px;
}

.stat {
	padding: 18px 0 0;
	border-top: 1px solid var(--cream-dark);
}

.stat strong {
	display: block;
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 500;
	color: var(--sage-deep);
}

.stat span {
	font-size: 13px;
	color: var(--muted);
}

/* Services */
.services {
	background: var(--cream);
}

.services-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 32px;
	margin-bottom: 56px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.service-card {
	background: var(--white);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.45s var(--ease);
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.service-card .card-body {
	padding: 26px 26px 30px;
}

.service-card h3 {
	font-size: 1.7rem;
	margin: 0 0 10px;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
}

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: start;
}

.contact-card {
	background: var(--sage-deep);
	color: var(--cream);
	padding: 48px 40px;
	border-radius: 28px;
	min-height: 100%;
}

.contact-card h2 {
	color: var(--white);
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
}

.contact-list li {
	margin: 0 0 22px;
}

.contact-list span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 4px;
}

.contact-list a {
	color: var(--cream);
}

.hours {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(247, 241, 232, 0.18);
	font-size: 0.95rem;
	color: rgba(247, 241, 232, 0.8);
}

.contact-form {
	background: var(--white);
	padding: 44px 40px;
	border-radius: 28px;
	box-shadow: var(--shadow);
}

.form-row {
	margin-bottom: 18px;
}

.contact-form label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 8px;
	color: var(--muted);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--cream-dark);
	background: var(--paper);
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 16px;
	color: var(--charcoal);
}

.contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--sage);
	border-color: transparent;
}

.form-status {
	min-height: 1.4em;
	margin: 12px 0 0;
	font-size: 0.95rem;
}

.form-status.is-ok {
	color: var(--sage-deep);
}

.form-status.is-err {
	color: var(--terracotta-deep);
}

/* Footer */
.site-footer {
	background: var(--charcoal);
	color: rgba(247, 241, 232, 0.72);
	padding: 36px 0;
	font-size: 14px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.site-footer a {
	color: var(--cream);
}

.to-top {
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 12px;
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Inner pages */
.page-shell {
	padding: calc(var(--header-h) + 64px) 0 80px;
}

/* Responsive */
@media (max-width: 980px) {
	.about-grid,
	.contact-grid,
	.service-grid {
		grid-template-columns: 1fr;
	}

	.about-image img {
		height: 420px;
	}

	.services-head {
		flex-direction: column;
		align-items: start;
	}

	.menu-toggle {
		display: block;
		position: relative;
		z-index: 120;
	}

	.site-nav {
		display: none;
	}

	.site-header.menu-open {
		min-height: 100vh;
		background: var(--paper);
		align-items: flex-start;
	}

	.site-header.menu-open .header-inner {
		width: 100%;
		height: auto;
		flex-wrap: wrap;
		align-content: flex-start;
		padding-inline: 24px;
	}

	.site-header.menu-open .site-nav {
		display: flex;
		width: calc(100% + 48px);
		margin-inline: -24px;
		flex: 1 1 100%;
		align-items: center;
		justify-content: center;
		min-height: calc(100vh - var(--header-h));
		background: var(--paper);
	}

	.nav-list {
		flex-direction: column;
		align-items: center;
		gap: 28px;
	}

	.nav-list a {
		font-size: 18px;
		color: var(--charcoal) !important;
	}

	.site-header.menu-open .menu-toggle span:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	.site-header.menu-open .menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.site-header.menu-open .menu-toggle span:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}
}

@media (max-width: 640px) {
	.section {
		padding: 80px 0;
	}

	.hero-meta,
	.about-stats {
		grid-template-columns: 1fr;
		display: grid;
		gap: 12px;
	}

	.hero-meta {
		display: grid;
	}

	.contact-form,
	.contact-card {
		padding: 32px 24px;
	}

	.wrap,
	.header-inner,
	.hero-content {
		width: min(1180px, calc(100% - 32px));
	}
}
