/**
 * Front Page Styles
 */

:root {
	/* Elegancka, naturalna kolorystyka inspirowana jogą - ciepłe, ziemiste tony */
	--strefa-primary: #8B7355; /* Ciepły, ziemisty brąz */
	--strefa-primary-dark: #6B5A47; /* Głębszy brąz */
	--strefa-primary-light: #A68B6F; /* Jaśniejszy brąz */
	--strefa-primary-lighter: #C4B5A0; /* Bardzo jasny beż */
	--strefa-primary-lightest: #E8E0D6; /* Kremowy beż */
	--strefa-accent: #D4A574; /* Ciepły, złoty akcent */
	--strefa-accent-light: #E8C9A0; /* Jaśniejszy akcent */
	--strefa-accent-dark: #B8935F; /* Ciemniejszy akcent */
	--strefa-secondary: #9A8B7A; /* Szaro-brązowy */
	--strefa-text: #2C2416; /* Ciepły, ciemny brąz */
	--strefa-text-light: #6B5F52; /* Średni szaro-brąz */
	--strefa-text-lighter: #9A8F85; /* Jasny szaro-brąz */
	--strefa-bg: #FDFBF8; /* Ciepłe, kremowe białe */
	--strefa-bg-light: #FAF7F2; /* Bardzo jasny beż */
	--strefa-bg-lighter: #F5F1EA; /* Jasny beż */
	--strefa-border: #E5DDD3; /* Ciepłe, beżowe obramowania */
	--strefa-shadow: rgba(139, 115, 85, 0.08); /* Ciepłe cienie */
	--strefa-shadow-hover: rgba(139, 115, 85, 0.15);
	--strefa-shadow-card: rgba(139, 115, 85, 0.1);
}

/* Hide header and footer on front page */
body.home .site-header,
body.home .site-footer {
	display: none !important;
}

body.home #page {
	margin: 0;
	padding: 0;
}

body.home #content {
	padding: 0;
	margin: 0;
}

/* Front Page Main */
.front-page-main {
	padding: 0;
	margin: 0;
}

.front-container {
	max-width: 75rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Full Page Hero with Background Image */
.front-hero-full {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--strefa-bg, #FDFBF8);
	padding: 4rem 1.5rem;
}

.front-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	z-index: 1;
	animation: backgroundZoom 20s ease-in-out infinite;
	transform-origin: center center;
}

@keyframes backgroundZoom {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.front-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(44, 36, 22, 0.55) 0%, rgba(107, 90, 71, 0.65) 50%, rgba(44, 36, 22, 0.55) 100%);
	backdrop-filter: blur(0.5px);
}

.front-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(44, 36, 22, 0.4) 0%, rgba(107, 90, 71, 0.5) 100%);
	z-index: 2;
	pointer-events: none;
}

.front-hero-decor {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	z-index: 3;
	pointer-events: none;
	animation: float 20s ease-in-out infinite;
}

.front-hero-decor::before,
.front-hero-decor::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: var(--strefa-accent, #D4A574);
	filter: blur(80px);
}

.front-hero-decor::before {
	top: 5rem;
	left: 2.5rem;
	width: 18rem;
	height: 18rem;
	animation: pulse 8s ease-in-out infinite;
}

.front-hero-decor::after {
	bottom: 5rem;
	right: 2.5rem;
	width: 24rem;
	height: 24rem;
	animation: pulse 12s ease-in-out infinite;
	animation-delay: -4s;
}

.front-hero-container {
	max-width: 100%;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 4rem;
	min-height: 100vh;
	padding: 2rem 1.5rem;
	align-items: center;
	justify-content: center;
	opacity: 0;
	animation: fadeInContent 1.2s ease-out 5.2s forwards;
}

@keyframes fadeInContent {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Options Grid - large cards like Strefa Online */
.front-options-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	margin-bottom: 2rem;
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.5rem;
}

.front-option-card {
	position: relative;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 1.5rem;
	padding: 3rem 2.5rem;
	text-align: left;
	text-decoration: none;
	color: var(--strefa-text, #2C2416);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: 0 0.5rem 2rem rgba(139, 115, 85, 0.12);
	border: 0.125rem solid rgba(255, 255, 255, 0.8);
	overflow: hidden;
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(50px) scale(0.95);
	animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	min-height: 24rem;
}

.front-option-online {
	animation-delay: 5.4s;
}

.front-option-stationary {
	animation-delay: 5.6s;
}

@keyframes cardEntrance {
	0% {
		opacity: 0;
		transform: translateY(50px) scale(0.95) rotateY(-5deg);
	}
	60% {
		transform: translateY(-10px) scale(1.02) rotateY(2deg);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotateY(0deg);
	}
}

.front-option-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(139, 115, 85, 0.06) 0%, rgba(212, 165, 116, 0.03) 100%);
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 0;
}

.front-option-card:hover {
	transform: translateY(-1rem) scale(1.02) rotateY(2deg);
	box-shadow: 0 1.5rem 4rem rgba(139, 115, 85, 0.25);
	border-color: var(--strefa-primary-lightest, #E8E0D6);
	background: rgba(255, 255, 255, 1);
}

.front-option-card:hover::after {
	opacity: 1;
	transform: scale(1.1);
}

.front-option-card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
	pointer-events: none;
	z-index: 0;
}

.front-option-card:hover::before {
	opacity: 1;
}

.front-option-card:hover .front-option-title {
	color: var(--strefa-primary, #8B7355);
}

.front-option-card:hover .front-option-icon {
	transform: scale(1.15) rotate(5deg);
	box-shadow: 0 0.5rem 1.5rem rgba(139, 115, 85, 0.4);
}

.front-option-card:hover .front-option-icon i {
	transform: rotate(-5deg) scale(1.1);
}

.front-option-card:hover .front-option-title {
	transform: translateX(5px);
	color: var(--strefa-primary, #8B7355);
}

.front-option-card:hover .strefa-btn {
	transform: translateX(5px);
	box-shadow: 0 0.375rem 1rem rgba(139, 115, 85, 0.3);
}

.front-option-icon {
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, var(--strefa-primary, #8B7355) 0%, var(--strefa-accent-dark, #B8935F) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
	transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	z-index: 1;
	box-shadow: 0 0.25rem 0.75rem rgba(139, 115, 85, 0.2);
	animation: iconFloat 3s ease-in-out infinite;
}

.front-option-online .front-option-icon {
	animation-delay: 0s;
}

.front-option-stationary .front-option-icon {
	animation-delay: 1.5s;
}

@keyframes iconFloat {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-8px) rotate(2deg);
	}
}

.front-option-icon i {
	font-size: 2.25rem;
	color: #ffffff;
	transition: all 0.4s ease;
}

.front-option-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--strefa-text, #2C2416);
	margin: 0 0 1rem 0;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	z-index: 1;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.front-option-description {
	font-family: "Lato", sans-serif;
	font-size: 1.125rem;
	color: var(--strefa-text-light, #6B5F52);
	margin: 0 0 2rem 0;
	line-height: 1.6;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	font-weight: 300;
	flex-grow: 1;
}

.front-option-card .strefa-btn {
	margin-top: auto;
	width: 100%;
	position: relative;
	z-index: 1;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
}

.front-option-card .strefa-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.front-option-card .strefa-btn:hover::before {
	left: 100%;
}

/* Import button styles from Strefa Online */
.strefa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.375rem;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 1rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 0.02em;
}

.strefa-btn-primary {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
	box-shadow: 0 0.125rem 0.5rem var(--strefa-shadow, rgba(139, 115, 85, 0.08));
}

.strefa-btn-primary:hover {
	background: var(--strefa-primary-dark, #6B5A47);
	transform: translateY(-0.0625rem);
	box-shadow: 0 0.25rem 0.75rem var(--strefa-shadow, rgba(139, 115, 85, 0.08));
}

.strefa-btn-outline {
	background: transparent;
	color: var(--strefa-primary, #8B7355);
	border: 0.125rem solid var(--strefa-primary, #8B7355);
}

.strefa-btn-outline:hover {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
	transform: translateY(-0.125rem);
}

.strefa-btn-arrow {
	transition: transform 0.3s ease;
}

.strefa-btn:hover .strefa-btn-arrow {
	transform: translateX(0.25rem);
}

/* Mission Section */
.front-mission-content {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
	background: rgba(255, 255, 255, 0.95);
	padding: 3rem 2.5rem;
	border-radius: 1rem;
	backdrop-filter: blur(10px);
	box-shadow: 0 0.5rem 2rem rgba(139, 115, 85, 0.15);
	border: 0.125rem solid rgba(255, 255, 255, 0.5);
	position: relative;
	z-index: 5;
	margin-top: 2rem;
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	animation: missionEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 5.8s forwards;
	transition: all 0.4s ease;
}

.front-mission-content:hover {
	transform: translateY(-5px) scale(1.01);
	box-shadow: 0 0.75rem 2.5rem rgba(139, 115, 85, 0.2);
}

@keyframes missionEntrance {
	0% {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	60% {
		transform: translateY(-5px) scale(1.02);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.front-section-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--strefa-text, #2C2416);
	margin: 0 0 1.5rem 0;
	line-height: 1.2;
	text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.front-section-subtitle {
	font-family: "Lato", sans-serif;
	font-size: 1rem;
	color: var(--strefa-text-light, #6B5F52);
	margin: 0 0 1.5rem 0;
	line-height: 1.6;
}

.front-mission-text {
	font-family: "Lato", sans-serif;
	font-size: 1rem;
	color: var(--strefa-text, #2C2416);
	line-height: 1.8;
	margin-bottom: 2rem;
	font-weight: 400;
}

.front-mission-text p {
	color: var(--strefa-text, #2C2416);
}

.front-mission-text p {
	margin: 0 0 1rem 0;
}

/* Reviews Section */
.front-reviews {
	padding: 6rem 0;
	background: #ffffff;
}

.front-reviews-header {
	text-align: center;
	margin-bottom: 3rem;
}

.front-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.front-review-card {
	background: var(--strefa-bg-light, #FAF7F2);
	padding: 2rem;
	border-radius: 1rem;
	border: 0.0625rem solid var(--strefa-border, #E5DDD3);
	transition: all 0.3s ease;
}

.front-review-card:hover {
	transform: translateY(-0.25rem);
	box-shadow: 0 0.5rem 1.5rem rgba(139, 115, 85, 0.1);
}

.front-review-stars {
	color: var(--strefa-accent, #D4A574);
	font-size: 1rem;
	margin-bottom: 1rem;
}

.front-review-text {
	font-family: "Lato", sans-serif;
	font-size: 1rem;
	color: var(--strefa-text, #2C2416);
	line-height: 1.6;
	margin: 0 0 1.5rem 0;
	font-style: italic;
}

.front-review-author {
	font-family: "Lato", sans-serif;
	font-size: 0.9375rem;
	color: var(--strefa-text-light, #6B5F52);
}

.front-review-author strong {
	color: var(--strefa-text, #2C2416);
	font-weight: 600;
}

/* Social Section */
.front-social {
	padding: 4rem 0;
	background: linear-gradient(135deg, var(--strefa-primary, #8B7355) 0%, var(--strefa-primary-dark, #6B5A47) 100%);
}

.front-social-content {
	text-align: center;
	background: rgba(255, 255, 255, 0.95);
	padding: 3rem 2.5rem;
	border-radius: 1rem;
	backdrop-filter: blur(10px);
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
	border: 0.125rem solid rgba(255, 255, 255, 0.3);
	max-width: 48rem;
	margin: 0 auto;
	position: relative;
	z-index: 5;
	margin-top: 2rem;
}

.front-social-content .front-section-title {
	color: var(--strefa-text, #2C2416);
	text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.front-social-content .front-section-subtitle {
	color: var(--strefa-text-light, #6B5F52);
}

.front-social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
}

.front-social-link {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	border: 0.125rem solid var(--strefa-primary, #8B7355);
}

.front-social-link:hover {
	background: var(--strefa-primary-dark, #6B5A47);
	transform: translateY(-0.25rem);
	border-color: var(--strefa-primary-dark, #6B5A47);
	box-shadow: 0 0.25rem 0.75rem rgba(139, 115, 85, 0.3);
}

/* Preloader */
.front-page-preloader {
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, var(--strefa-bg, #FDFBF8) 0%, var(--strefa-bg-light, #FAF7F2) 100%);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.front-page-preloader.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.preloader-content {
	text-align: center;
	animation: fadeInUp 0.6s ease-out;
}

.preloader-logo {
	margin-bottom: 2rem;
}

.preloader-icon {
	width: 5rem;
	height: 5rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--strefa-primary, #8B7355) 0%, var(--strefa-accent-dark, #B8935F) 100%);
	border-radius: 50%;
	box-shadow: 0 0.5rem 1.5rem rgba(139, 115, 85, 0.3);
	animation: pulse 2s ease-in-out infinite;
}

.preloader-icon i {
	font-size: 2.5rem;
	color: #ffffff;
	animation: rotate 3s linear infinite;
}

.preloader-text {
	margin-top: 2rem;
}

.preloader-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: var(--strefa-primary, #8B7355);
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 1.5rem;
	animation: fadeInUp 0.8s ease-out 0.3s both;
}

.preloader-progress {
	width: 12rem;
	height: 0.25rem;
	background: rgba(139, 115, 85, 0.2);
	border-radius: 0.125rem;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.preloader-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--strefa-primary, #8B7355) 0%, var(--strefa-accent, #D4A574) 100%);
	border-radius: 0.125rem;
	width: 0%;
	animation: progressBar 5s ease-out forwards;
	box-shadow: 0 0 0.5rem rgba(212, 165, 116, 0.5);
}

@keyframes progressBar {
	0% {
		width: 0%;
	}
	100% {
		width: 100%;
	}
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Animations */
@keyframes float {
	0%, 100% {
		transform: translateY(0) translateX(0);
	}
	33% {
		transform: translateY(-20px) translateX(10px);
	}
	66% {
		transform: translateY(10px) translateX(-10px);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.front-hero-full {
		min-height: 100vh;
		padding: 2rem 1rem;
	}

	.front-hero-container {
		padding: 1rem;
	}

	.front-options-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		margin-bottom: 3rem;
		padding: 0;
	}

	.front-option-card {
		min-height: 20rem;
		padding: 2rem 1.5rem;
	}

	.front-option-title {
		font-size: 2rem;
	}

	.front-option-description {
		font-size: 1rem;
	}

	.front-mission-content {
		margin-top: 2rem;
	}

	.front-section-title {
		font-size: 2.25rem;
	}

	.front-reviews-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.front-mission,
	.front-reviews {
		padding: 4rem 0;
	}

	.front-social {
		padding: 3rem 0;
	}
}

@media (max-width: 480px) {
	.front-hero-title {
		font-size: 2rem;
	}

	.front-option-icon {
		width: 4rem;
		height: 4rem;
	}

	.front-option-icon i {
		font-size: 2rem;
	}

	.front-option-title {
		font-size: 1.75rem;
	}

	.front-section-title {
		font-size: 2rem;
	}
}

