/*
 * Front Page Styles - Principles of Clarity
 * Modern full-height sections with polished design
 */

/* === VARIABLES === */
:root {
	/* Colors - Mindfulness & Tranquility palette */
	--poc-primary: #5a7d7c;          /* Sage green - grounding & balanced */
	--poc-primary-dark: #3d5958;     /* Deep forest - stability */
	--poc-primary-light: #7a9e9d;    /* Soft teal - peace */
	--poc-secondary: #b8a58f;        /* Warm sand - earthiness */
	--poc-accent: #d4a373;           /* Terracotta - warmth & compassion */
	--poc-text: #3a4543;             /* Deep charcoal - readability */
	--poc-text-light: #6b7c7a;       /* Muted green-gray */
	--poc-bg: #fafaf8;               /* Soft off-white - calm */
	--poc-bg-alt: #f4f3f0;           /* Warm light beige */
	--poc-border: #e5e3df;

	/* Typography - Mindful & Elegant */
	--poc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--poc-font-serif: 'Lora', 'Merriweather', Georgia, serif;
	--poc-font-display: 'Playfair Display', 'Lora', Georgia, serif;

	/* Spacing Scale */
	--poc-space-xs: 0.5rem;
	--poc-space-sm: 1rem;
	--poc-space-md: 1.5rem;
	--poc-space-lg: 2.5rem;
	--poc-space-xl: 4rem;
	--poc-space-2xl: 6rem;

	/* Layout */
	--poc-container: 1200px;
	--poc-container-narrow: 800px;
	--poc-gutter: 2rem;

	/* Effects */
	--poc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--poc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
	--poc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
	--poc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

@media (max-width: 768px) {
	:root {
		--poc-space-lg: 2rem;
		--poc-space-xl: 3rem;
		--poc-space-2xl: 4rem;
		--poc-gutter: 1.5rem;
	}
}

/* === HEADER ADJUSTMENTS === */
/* Make Blocksy header more compact */
header.site-header,
.Header {
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
}

.site-branding,
.Header-branding {
	font-size: 1.25rem !important;
}

/* === BASE RESETS === */
.poc-front-page {
	font-family: var(--poc-font-sans);
	color: var(--poc-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.poc-front-page *,
.poc-front-page *::before,
.poc-front-page *::after {
	box-sizing: border-box;
}

.poc-front-page img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* === CONTAINERS === */
.poc-container {
	max-width: var(--poc-container);
	margin: 0 auto;
	padding: 0 var(--poc-gutter);
}

.poc-container--narrow {
	max-width: var(--poc-container-narrow);
}

/* === HERO SECTIONS === */
.poc-hero-section {
	position: relative;
	min-height: calc(100vh - 120px); /* Subtract header height */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	scroll-snap-align: start;
}

@media (max-width: 768px) {
	.poc-hero-section {
		min-height: calc(100vh - 80px); /* Smaller header on mobile */
	}
}

.poc-hero-section__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: linear-gradient(135deg, #5a7d7c 0%, #7a9e9d 100%);
}

.poc-hero-section__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	/* Ensure full coverage on all devices */
	min-width: 100%;
	min-height: 100%;
}

.poc-hero-section__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* Subtle dark gradient for text readability, no color tint */
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.3) 0%,
		rgba(0, 0, 0, 0.2) 50%,
		rgba(0, 0, 0, 0.4) 100%
	);
	z-index: 2;
}

.poc-hero-section__content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: var(--poc-container);
	padding: var(--poc-gutter);
	text-align: center;
}

.poc-hero-section__content--left {
	text-align: left;
	padding-left: calc(var(--poc-gutter) * 2);
}

.poc-hero-section__content--right {
	text-align: right;
	padding-right: calc(var(--poc-gutter) * 2);
}

.poc-hero-section__content--center {
	text-align: center;
}

/* Text alignment via customizer */
.poc-hero-section--align-left .poc-hero-section__content {
	text-align: left;
	padding-left: calc(var(--poc-gutter) * 2);
	padding-right: var(--poc-gutter);
}

.poc-hero-section--align-left .poc-hero-section__text {
	margin-left: 0;
	margin-right: auto;
}

.poc-hero-section--align-center .poc-hero-section__content {
	text-align: center;
	padding-left: var(--poc-gutter);
	padding-right: var(--poc-gutter);
}

.poc-hero-section--align-center .poc-hero-section__text {
	margin-left: auto;
	margin-right: auto;
}

.poc-hero-section--align-right .poc-hero-section__content {
	text-align: right;
	padding-left: var(--poc-gutter);
	padding-right: calc(var(--poc-gutter) * 2);
}

.poc-hero-section--align-right .poc-hero-section__text {
	margin-left: auto;
	margin-right: 0;
}

@media (max-width: 768px) {
	.poc-hero-section__content--left,
	.poc-hero-section__content--right,
	.poc-hero-section--align-left .poc-hero-section__content,
	.poc-hero-section--align-right .poc-hero-section__content {
		text-align: center;
		padding-left: var(--poc-gutter);
		padding-right: var(--poc-gutter);
	}

	.poc-hero-section--align-left .poc-hero-section__text,
	.poc-hero-section--align-right .poc-hero-section__text {
		margin-left: auto;
		margin-right: auto;
	}
}

.poc-hero-section__text {
	max-width: 700px;
	margin: 0 auto;
}

/* Light text (default) */
.poc-hero-section__text,
.poc-hero-section__eyebrow,
.poc-hero-section__title,
.poc-hero-section__subtitle,
.poc-hero-section__description {
	color: #ffffff;
}

/* Dark text option */
.poc-hero-section--text-dark .poc-hero-section__text,
.poc-hero-section--text-dark .poc-hero-section__eyebrow,
.poc-hero-section--text-dark .poc-hero-section__title,
.poc-hero-section--text-dark .poc-hero-section__subtitle,
.poc-hero-section--text-dark .poc-hero-section__description,
.poc-hero-section--text-dark .poc-hero-section__description p {
	color: var(--poc-text);
}

/* Adjust button colors for dark text sections */
.poc-hero-section--text-dark .poc-btn--primary {
	color: #ffffff;
	background-color: var(--poc-primary);
	border-color: var(--poc-primary);
}

.poc-hero-section--text-dark .poc-btn--primary:hover {
	background-color: var(--poc-accent);
	border-color: var(--poc-accent);
}

.poc-hero-section__content--left .poc-hero-section__text {
	margin-left: 0;
	margin-right: auto;
}

.poc-hero-section__content--right .poc-hero-section__text {
	margin-left: auto;
	margin-right: 0;
}

.poc-hero-section__text--large {
	max-width: 900px;
}

.poc-hero-section__eyebrow {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: var(--poc-space-md);
	opacity: 0.95;
}

.poc-hero-section__title {
	font-family: var(--poc-font-display);
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: var(--poc-space-md);
	letter-spacing: -0.01em;
}

.poc-hero-section__subtitle {
	font-family: var(--poc-font-serif);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 300;
	line-height: 1.3;
	margin-bottom: var(--poc-space-xl);
	opacity: 0.95;
}

.poc-hero-section__description {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	line-height: 1.7;
	margin-bottom: var(--poc-space-xl);
	opacity: 0.95;
}

.poc-hero-section__description p {
	margin-bottom: var(--poc-space-md);
}

.poc-hero-section__description p:last-child {
	margin-bottom: 0;
}

/* Scroll Indicator */
.poc-hero-section__scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	animation: bounceDown 2s infinite;
}

.poc-hero-section__scroll-indicator svg {
	width: 24px;
	height: 24px;
}

@keyframes bounceDown {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

@media (max-width: 768px) {
	.poc-hero-section__scroll-indicator {
		display: none;
	}
}

/* === BUTTONS === */
.poc-btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	transition: all var(--poc-transition);
	white-space: nowrap;
}

.poc-btn--primary {
	color: var(--poc-primary-dark);
	background-color: #ffffff;
	border-color: #ffffff;
}

.poc-btn--primary:hover {
	background-color: var(--poc-accent);
	border-color: var(--poc-accent);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.poc-btn--outline {
	color: var(--poc-primary);
	background-color: transparent;
	border-color: var(--poc-primary);
}

.poc-btn--outline:hover {
	color: #ffffff;
	background-color: var(--poc-primary);
	transform: translateY(-2px);
	box-shadow: var(--poc-shadow-md);
}

.poc-btn--small {
	padding: 0.75rem 1.75rem;
	font-size: 0.875rem;
}

.poc-btn:focus-visible {
	outline: 3px solid var(--poc-accent);
	outline-offset: 3px;
}

/* === WORKSHOPS SECTION === */
.poc-workshops-section {
	padding: var(--poc-space-2xl) 0;
	background-color: var(--poc-bg);
}

.poc-section-header {
	text-align: center;
	max-width: 900px;
	margin: 0 auto var(--poc-space-2xl);
}

.poc-section-title {
	font-family: var(--poc-font-serif);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 400;
	color: var(--poc-primary);
	margin-bottom: var(--poc-space-lg);
	letter-spacing: -0.02em;
}

.poc-section-intro {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--poc-text-light);
}

.poc-section-intro p {
	margin-bottom: var(--poc-space-md);
}

.poc-section-intro p:last-child {
	margin-bottom: 0;
}

.poc-workshops-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--poc-space-lg);
	max-width: 900px;
	margin: 0 auto;
}

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

@media (max-width: 600px) {
	.poc-workshops-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
	}
}

/* === WORKSHOP CARDS === */
.poc-workshop-card {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--poc-shadow-sm);
	transition: all var(--poc-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.poc-workshop-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--poc-shadow-lg);
}

.poc-workshop-card__image-wrapper {
	position: relative;
	overflow: hidden;
	background-color: var(--poc-bg-alt);
}

.poc-workshop-card__image-link {
	display: block;
}

.poc-workshop-card__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform var(--poc-transition);
}

.poc-workshop-card:hover .poc-workshop-card__image {
	transform: scale(1.08);
}

.poc-workshop-card__content {
	padding: var(--poc-space-sm) var(--poc-space-md) var(--poc-space-md);
	flex: 1;
	display: flex;
	flex-direction: column;
}

.poc-workshop-card__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--poc-primary);
	margin-bottom: var(--poc-space-xs);
	line-height: 1.3;
}

.poc-workshop-card__date {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--poc-secondary);
	margin-bottom: var(--poc-space-sm);
}

.poc-workshop-card__desc {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--poc-text-light);
	margin-bottom: var(--poc-space-md);
	flex: 1;
}

.poc-workshop-card .poc-btn {
	align-self: flex-start;
	margin-top: auto;
}

/* === TESTIMONIALS SECTION === */
.poc-testimonials-section {
	padding: calc(var(--poc-space-2xl) * 1.5) 0;
	background: var(--poc-bg);
}

.poc-testimonials-title {
	text-align: center;
	margin-bottom: var(--poc-space-2xl);
	color: var(--poc-text);
	opacity: 0.8;
}

.poc-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--poc-space-xl) var(--poc-space-2xl);
	max-width: 1100px;
	margin: 0 auto;
}

.poc-testimonial-card {
	background: transparent;
	padding: 0;
	border: none;
	box-shadow: none;
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
	gap: var(--poc-space-md);
}

.poc-testimonial-quote {
	margin: 0;
	padding: 0;
	border: none;
	border-left: none;
	font-style: normal;
}

.poc-testimonial-quote p {
	font-family: var(--poc-font-serif);
	font-size: clamp(1.0625rem, 2vw, 1.1875rem);
	line-height: 1.9;
	color: var(--poc-text-light);
	margin: 0;
	position: relative;
	padding-left: 1.5rem;
	font-style: italic;
}

.poc-testimonial-quote p::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 2px;
	height: calc(100% - 1rem);
	background: linear-gradient(to bottom,
		var(--poc-text-light) 0%,
		transparent 100%);
	opacity: 0.2;
}

.poc-testimonial-name {
	font-family: var(--poc-font-sans);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 500;
	color: var(--poc-primary);
	margin-top: var(--poc-space-xs);
	padding-left: 1.5rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	opacity: 0.7;
}

.poc-testimonial-name::before {
	content: '— ';
	opacity: 0.5;
}

@media (max-width: 968px) {
	.poc-testimonials-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: var(--poc-space-md);
	}
}

@media (max-width: 600px) {
	.poc-testimonials-grid {
		grid-template-columns: 1fr;
		gap: var(--poc-space-lg);
	}

	.poc-testimonial-quote p {
		font-size: 1.0625rem;
		padding-left: 1.25rem;
	}

	.poc-testimonial-name {
		padding-left: 1.25rem;
	}
}

/* === NEWSLETTER SECTION === */
.poc-newsletter-section {
	padding: var(--poc-space-2xl) 0;
	background: linear-gradient(
		135deg,
		var(--poc-primary-dark) 0%,
		var(--poc-primary) 50%,
		var(--poc-primary-light) 100%
	);
	color: #ffffff;
}

.poc-newsletter-content {
	text-align: center;
}

.poc-newsletter-title {
	font-family: var(--poc-font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	margin-bottom: var(--poc-space-md);
	letter-spacing: -0.02em;
}

.poc-newsletter-description {
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: var(--poc-space-xl);
	opacity: 0.95;
}

.poc-newsletter-form__group {
	display: flex;
	align-items: center;
	gap: var(--poc-space-sm);
	max-width: 600px;
	margin: 0 auto;
}

@media (max-width: 600px) {
	.poc-newsletter-form__group {
		flex-direction: column;
	}
}

.poc-newsletter-form__input {
	flex: 1;
	padding: 1rem 1.5rem;
	font-size: 1rem;
	font-family: var(--poc-font-sans);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.15);
	color: #ffffff !important;
	transition: all var(--poc-transition);
	backdrop-filter: blur(8px);
}

.poc-newsletter-form__input::placeholder {
	color: rgba(255, 255, 255, 0.7) !important;
}

.poc-newsletter-form__input::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.7) !important;
}

.poc-newsletter-form__input::-moz-placeholder {
	color: rgba(255, 255, 255, 0.7) !important;
}

.poc-newsletter-form__input:-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.7) !important;
}

.poc-newsletter-form__input:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.6);
	background-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.poc-newsletter-form .poc-btn--primary {
	flex-shrink: 0;
}

/* === SMOOTH SCROLLING === */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.poc-front-page {
		scroll-snap-type: y proximity;
	}
}

/* === ACCESSIBILITY === */
.poc-front-page a:focus-visible,
.poc-front-page button:focus-visible,
.poc-front-page input:focus-visible {
	outline: 3px solid var(--poc-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* === LOADING STATES === */
.poc-hero-section__image {
	animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* === PRINT STYLES === */
@media print {
	.poc-hero-section {
		min-height: auto;
		page-break-inside: avoid;
	}

	.poc-hero-section__overlay {
		opacity: 0.3;
	}

	.poc-hero-section__scroll-indicator,
	.poc-newsletter-section {
		display: none;
	}

	.poc-btn {
		border: 2px solid var(--poc-primary);
		color: var(--poc-primary);
		background: transparent;
	}
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
	/* Optional: Add dark mode overrides if needed */
	/* The hero sections work well in both modes due to overlays */
}

/* === HIDE BLOCKSY FOOTER CREDITS === */
footer [class*="ct-"] [class*="copyright"] {
	display: none !important;
}

footer .footer-copyright,
footer .ct-footer-copyright {
	display: none !important;
}
