﻿/* ===== CSS VARIABLES ===== */
:root {
	--bg-primary: #fcfaf7;
	--bg-secondary: #ffffff;
	--bg-header: #f9e54b;
	--bg-card: #ffffff;
	--bg-hero: #ffffff;
	--bg-vision: #f9e54b;
	--text-primary: #0a0a1a;
	--text-secondary: #2c3e4f;
	--text-muted: #4a5a6a;
	--text-light: #7a8a9a;
	--border-color: #ede5db;
	--border-header: #d4b83a;
	--shadow-color: rgba(0, 0, 0, 0.04);
	--shadow-hover: rgba(0, 0, 0, 0.06);
	--accent-color: #a67c5c;
	--accent-hover: #7a5d44;
	--sunshine: #f9e54b;
	--font-size-base: 18px;
	--font-size-large: 22px;
	--font-size-xl: 28px;
	--font-size-xxl: 34px;
	--font-size-hero: 48px;
	--font-size-section: 32px;
	--wp--custom--header--height: 88px;
	--wp--preset--font-family--nunito: 'Nunito', sans-serif;
	--wp--preset--spacing--padding-hoz: 24px;
	--wp--style--global--wide-size: min(calc(100dvw - (var(--wp--preset--spacing--padding-hoz)*2)), 1728px);
	--wp--style--global--content-size: min(calc(100dvw - (var(--wp--preset--spacing--padding-hoz)*2)), 1100px);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
	--bg-primary: #0d1117;
	--bg-secondary: #161b22;
	--bg-header: #1a1a2e;
	--bg-card: #1c2333;
	--bg-hero: #161b22;
	--bg-vision: #1a1a2e;
	--text-primary: #f0f0f0;
	--text-secondary: #d0d0d0;
	--text-muted: #a0a0b0;
	--text-light: #808090;
	--border-color: #2d3545;
	--border-header: #3a3a5a;
	--shadow-color: rgba(0, 0, 0, 0.2);
	--shadow-hover: rgba(0, 0, 0, 0.3);
	--accent-color: #f9e54b;
	--accent-hover: #e6d03a;
	--sunshine: #1a1a2e;
}

/* ===== TEXT SIZE SCALING ===== */
[data-size="small"] {
	--font-size-base: 15px;
	--font-size-large: 18px;
	--font-size-xl: 22px;
	--font-size-xxl: 28px;
	--font-size-hero: 38px;
	--font-size-section: 26px;
}

[data-size="medium"] {
	--font-size-base: 18px;
	--font-size-large: 22px;
	--font-size-xl: 28px;
	--font-size-xxl: 34px;
	--font-size-hero: 48px;
	--font-size-section: 32px;
}

[data-size="large"] {
	--font-size-base: 22px;
	--font-size-large: 26px;
	--font-size-xl: 32px;
	--font-size-xxl: 38px;
	--font-size-hero: 56px;
	--font-size-section: 38px;
}

[data-size="xlarge"] {
	--font-size-base: 26px;
	--font-size-large: 30px;
	--font-size-xl: 36px;
	--font-size-xxl: 42px;
	--font-size-hero: 64px;
	--font-size-section: 44px;
}

/* ===== RESET & BASE ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: var(--font-size-base);
	color: var(--text-secondary);
	background: var(--bg-primary);
	line-height: 1.7;
	padding-top: var(--wp--custom--header--height);
	transition: background 0.3s ease, color 0.3s ease;
}

/* ===== FIXED HEADER ===== */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--bg-header) !important;
	padding: 12px 28px;
	border-bottom: 4px solid var(--border-header);
	box-shadow: 0 4px 30px var(--shadow-color);
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--wp--custom--header--height);
	flex-wrap: wrap;
	gap: 10px;
	position: relative;
	overflow: visible;
	transition: background 0.3s ease, border-color 0.3s ease;
}

	.fixed-header::before {
		content: '';
		position: absolute;
		top: -60px;
		right: -30px;
		width: 180px;
		height: 180px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.12);
		pointer-events: none;
		border: 2px solid rgba(255, 255, 255, 0.08);
	}

	.fixed-header::after {
		content: '';
		position: absolute;
		bottom: -40px;
		left: 8%;
		width: 120px;
		height: 120px;
		border-radius: 60% 0 60% 0;
		background: rgba(255, 255, 255, 0.10);
		pointer-events: none;
		border: 2px solid rgba(255, 255, 255, 0.06);
	}

.header-decoration-1 {
	position: absolute;
	top: 10px;
	left: 15%;
	width: 16px;
	height: 16px;
	background: rgba(255, 255, 255, 0.15);
	transform: rotate(45deg);
	pointer-events: none;
	z-index: 1;
	border-radius: 2px;
}

.header-decoration-2 {
	position: absolute;
	bottom: 10px;
	right: 22%;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.10);
	pointer-events: none;
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.header-dots {
	position: absolute;
	top: 50%;
	right: 35%;
	transform: translateY(-50%);
	display: flex;
	gap: 8px;
	pointer-events: none;
	z-index: 1;
	opacity: 0.15;
}

	.header-dots span {
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--text-primary);
	}

.header-inner {
	max-width: var(--wp--style--global--wide-size);
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	position: relative;
	z-index: 2;
}

/* Brand */
.brand-wrapper {
	display: flex;
	align-items: center;
	gap: 18px;
}

.logo-image {
	width: 60px;
	height: 60px;
	object-fit: contain;
	border-radius: 50%;
	background: #ffffff;
	padding: 5px;
	border: 3px solid var(--border-header);
	box-shadow: 0 4px 16px var(--shadow-color);
	transition: transform 0.3s ease;
}

	.logo-image:hover {
		transform: scale(1.05) rotate(-2deg);
	}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand-name {
	font-size: var(--font-size-xxl);
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--text-primary);
	text-decoration: none;
	font-family: 'Georgia', 'Times New Roman', serif;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
	transition: color 0.3s ease;
}

	.brand-name:hover {
		color: var(--accent-hover);
	}

	.brand-name .highlight {
		color: var(--accent-color);
		font-weight: 300;
	}

.brand-tagline {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 2.5px;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 14px 2px 10px;
	border-radius: 30px;
	display: inline-block;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Navigation */
.main-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

	.main-nav a {
		padding: 10px 20px;
		color: var(--text-primary);
		text-decoration: none;
		font-size: calc(var(--font-size-base) - 2px);
		font-weight: 600;
		border-radius: 40px;
		transition: all 0.3s ease;
		font-family: var(--wp--preset--font-family--nunito);
		background: transparent;
		letter-spacing: 0.5px;
		position: relative;
	}

		.main-nav a::after {
			content: '';
			position: absolute;
			bottom: 4px;
			left: 50%;
			transform: translateX(-50%);
			width: 0;
			height: 2px;
			background: var(--text-primary);
			transition: width 0.3s ease;
			border-radius: 2px;
		}

		.main-nav a:hover::after,
		.main-nav a.active::after {
			width: 60%;
		}

		.main-nav a:hover {
			background: rgba(255, 255, 255, 0.4);
			color: var(--accent-hover);
			transform: translateY(-2px);
		}

		.main-nav a.active {
			color: var(--accent-hover);
			background: rgba(255, 255, 255, 0.5);
			box-shadow: 0 2px 12px var(--shadow-color);
		}

/* Header Controls */
.header-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.theme-toggle {
	background: rgba(255, 255, 255, 0.25);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	padding: 6px 12px;
	border-radius: 40px;
	font-size: 18px;
	color: var(--text-primary);
	cursor: pointer;
	transition: all 0.3s ease;
}

	.theme-toggle:hover {
		background: rgba(255, 255, 255, 0.5);
		transform: scale(1.05);
	}

.size-control {
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 8px;
	border-radius: 40px;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
}

	.size-control button {
		background: transparent;
		border: none;
		padding: 4px 8px;
		font-size: 14px;
		font-weight: 700;
		color: var(--text-primary);
		cursor: pointer;
		border-radius: 30px;
		transition: all 0.3s ease;
		font-family: var(--wp--preset--font-family--nunito);
	}

		.size-control button:hover {
			background: rgba(255, 255, 255, 0.3);
		}

		.size-control button.active-size {
			background: rgba(255, 255, 255, 0.4);
			color: var(--accent-hover);
		}

.size-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--text-muted);
	padding: 0 4px;
	font-family: var(--wp--preset--font-family--nunito);
}

.menu-toggle {
	display: none;
	background: rgba(255, 255, 255, 0.3);
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	font-size: 24px;
	color: var(--text-primary);
	cursor: pointer;
	padding: 6px 14px;
	border-radius: 40px;
	transition: all 0.2s;
}

	.menu-toggle:hover {
		background: rgba(255, 255, 255, 0.6);
	}

/* ===== PAGE CONTENT ===== */
.page-content {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	padding: 40px 24px;
	transition: background 0.3s ease, color 0.3s ease;
}

/* ===== HERO SECTION WITH CURVED LOGO ===== */
.hero-section {
	background: var(--bg-hero);
	padding: 50px 40px;
	border-radius: 24px;
	box-shadow: 0 2px 20px var(--shadow-color);
	border: 1px solid var(--border-color);
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
	transition: background 0.3s ease, border-color 0.3s ease;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 32px;
	align-items: center;
}

	.hero-section::before {
		content: '';
		position: absolute;
		top: -80px;
		right: -80px;
		width: 200px;
		height: 200px;
		border-radius: 50%;
		background: var(--sunshine);
		opacity: 0.1;
	}

.hero-logo-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.hero-logo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 4px solid var(--sunshine);
	box-shadow: 0 8px 30px var(--shadow-color);
	transition: all 0.3s ease;
}

	.hero-logo:hover {
		transform: scale(1.02);
		box-shadow: 0 12px 40px var(--shadow-hover);
	}

	.hero-logo img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.hero-logo-label {
	font-size: calc(var(--font-size-base) - 4px);
	color: var(--text-muted);
	font-weight: 500;
	font-family: var(--wp--preset--font-family--nunito);
	letter-spacing: 2px;
	text-transform: uppercase;
	background: var(--bg-primary);
	padding: 4px 16px;
	border-radius: 30px;
	border: 1px solid var(--border-color);
}

.hero-text {
	position: relative;
	z-index: 1;
}

	.hero-text h1 {
		font-size: var(--font-size-hero);
		font-weight: 700;
		color: var(--text-primary);
		letter-spacing: 2px;
	}

	.hero-text .subtitle {
		font-size: var(--font-size-large);
		color: var(--text-muted);
		font-weight: 300;
		margin-top: 8px;
		border-left: 4px solid var(--sunshine);
		padding-left: 20px;
	}

	.hero-text .question {
		font-size: var(--font-size-xl);
		font-weight: 500;
		color: var(--text-primary);
		margin-top: 24px;
		padding: 20px 24px;
		background: var(--bg-primary);
		border-radius: 16px;
		border-left: 6px solid var(--sunshine);
		transition: background 0.3s ease, color 0.3s ease;
	}

		.hero-text .question i {
			color: var(--accent-color);
			margin-right: 12px;
		}

	.hero-text p {
		font-size: var(--font-size-base);
		line-height: 1.9;
		color: var(--text-secondary);
		margin-top: 20px;
	}

	.hero-text .highlight-text {
		font-size: var(--font-size-large);
		font-weight: 500;
		color: var(--accent-color);
		border-top: 1px solid var(--border-color);
		padding-top: 24px;
		margin-top: 24px;
	}

/* ===== SECTION TITLE ===== */
.section-title {
	font-size: var(--font-size-section);
	font-weight: 600;
	color: var(--text-primary);
	margin: 48px 0 24px;
	text-align: center;
	position: relative;
	transition: color 0.3s ease;
}

	.section-title::after {
		content: '';
		display: block;
		width: 60px;
		height: 3px;
		background: var(--sunshine);
		margin: 8px auto 0;
		border-radius: 2px;
	}

/* ===== EXPLORE GRID - FIXED IMAGE DISPLAY ===== */
.explore-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 20px;
}

.explore-card {
	background: var(--bg-card);
	border-radius: 20px;
	padding: 24px 20px 20px;
	box-shadow: 0 2px 16px var(--shadow-color);
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

	.explore-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 8px 30px var(--shadow-hover);
		border-color: var(--border-header);
	}

	.explore-card .icon {
		font-size: 40px;
		margin-bottom: 8px;
		display: block;
	}

	/* ===== FIXED: IMAGE CONTAINER WITH PROPER SIZING ===== */
	.explore-card .image-wrapper {
		width: 100%;
		height: 220px;
		border-radius: 12px;
		overflow: hidden;
		margin-bottom: 14px;
		background: var(--border-color);
		flex-shrink: 0;
	}

		.explore-card .image-wrapper img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
			transition: transform 0.3s ease;
		}

	.explore-card:hover .image-wrapper img {
		transform: scale(1.03);
	}

	.explore-card h3 {
		font-size: var(--font-size-large);
		font-weight: 600;
		color: var(--text-primary);
		margin-bottom: 8px;
		width: 100%;
	}

	.explore-card p {
		font-size: calc(var(--font-size-base) - 3px);
		line-height: 1.7;
		color: var(--text-muted);
		margin-bottom: 12px;
		flex-grow: 1;
	}

	.explore-card .explore-link {
		display: inline-block;
		color: var(--accent-color);
		font-weight: 600;
		text-decoration: none;
		font-size: calc(var(--font-size-base) - 4px);
		font-family: var(--wp--preset--font-family--nunito);
		transition: all 0.2s;
		margin-top: auto;
	}

		.explore-card .explore-link:hover {
			color: var(--accent-hover);
			transform: translateX(4px);
		}

		.explore-card .explore-link i {
			margin-left: 4px;
		}

/* ===== VISION SECTION ===== */
.vision-section {
	background: var(--bg-vision);
	padding: 40px 36px;
	border-radius: 24px;
	margin: 40px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: background 0.3s ease;
}

	.vision-section::before {
		content: '';
		position: absolute;
		bottom: -60px;
		right: -60px;
		width: 160px;
		height: 160px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.15);
	}

	.vision-section h2 {
		font-size: var(--font-size-xl);
		font-weight: 600;
		color: var(--text-primary);
		position: relative;
		z-index: 1;
	}

	.vision-section p {
		font-size: var(--font-size-base);
		line-height: 1.8;
		color: var(--text-secondary);
		max-width: 800px;
		margin: 12px auto 0;
		position: relative;
		z-index: 1;
	}

/* ===== FOOTER ===== */
footer {
	border-top: 1px solid var(--border-color);
	padding: 32px 0;
	margin-top: 48px;
	text-align: center;
	color: var(--text-light);
	font-size: calc(var(--font-size-base) - 4px);
	transition: border-color 0.3s ease, color 0.3s ease;
}

	footer strong {
		color: var(--text-primary);
	}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.brand-name {
		font-size: var(--font-size-xl);
	}

	.main-nav a {
		padding: 8px 14px;
		font-size: calc(var(--font-size-base) - 4px);
	}

	.header-decoration-1,
	.header-decoration-2,
	.header-dots {
		display: none;
	}

	.header-controls .size-label {
		display: none;
	}

	.hero-section {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 30px 24px;
	}

	.hero-logo {
		width: 160px;
		height: 160px;
		margin: 0 auto;
	}

	.hero-text .subtitle {
		border-left: none;
		padding-left: 0;
		border-top: 4px solid var(--sunshine);
		padding-top: 12px;
	}

	.hero-text .question {
		text-align: left;
	}

	.explore-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}

	.explore-card .image-wrapper {
		height: 180px;
	}
}

@media (max-width: 820px) {
	.brand-tagline {
		display: none;
	}

	.header-controls .size-control {
		padding: 2px 4px;
	}

		.header-controls .size-control button {
			font-size: 11px;
			padding: 2px 6px;
		}
}

@media (max-width: 768px) {
	body {
		padding-top: 64px;
	}

	.fixed-header {
		padding: 10px 16px;
		min-height: 64px;
		--wp--custom--header--height: 64px;
	}

		.fixed-header::before,
		.fixed-header::after {
			display: none;
		}

	.brand-name {
		font-size: var(--font-size-xl);
		letter-spacing: 2px;
	}

	.logo-image {
		width: 44px;
		height: 44px;
	}

	.menu-toggle {
		display: block;
	}

	.main-nav {
		display: none;
		flex-direction: column;
		width: 100%;
		background: var(--bg-header);
		padding: 16px 0;
		border-top: 3px solid var(--border-header);
		margin-top: 10px;
		gap: 4px;
		border-radius: 0 0 20px 20px;
		box-shadow: 0 12px 32px var(--shadow-color);
	}

		.main-nav.open {
			display: flex;
		}

		.main-nav a {
			padding: 12px 20px;
			width: 100%;
			font-size: calc(var(--font-size-base) + 2px);
			border-radius: 12px;
			text-align: center;
		}

			.main-nav a::after {
				display: none;
			}

	.header-controls {
		gap: 6px;
	}

		.header-controls .size-control button {
			font-size: 10px;
			padding: 2px 5px;
		}

	.theme-toggle {
		font-size: 14px;
		padding: 4px 10px;
	}

	.hero-section {
		padding: 24px 16px;
	}

	.hero-logo {
		width: 130px;
		height: 130px;
	}

	.hero-text h1 {
		font-size: calc(var(--font-size-hero) - 10px);
	}

	.hero-text .question {
		font-size: var(--font-size-large);
		padding: 16px;
	}

	.section-title {
		font-size: var(--font-size-xl);
	}

	.explore-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.explore-card {
		padding: 16px 14px 14px;
	}

		.explore-card .image-wrapper {
			height: 150px;
		}

		.explore-card h3 {
			font-size: calc(var(--font-size-large) - 2px);
		}

	.vision-section {
		padding: 28px 20px;
	}

		.vision-section h2 {
			font-size: var(--font-size-large);
		}
}

@media (max-width: 480px) {
	.brand-name {
		font-size: var(--font-size-large);
		letter-spacing: 1px;
	}

	.logo-image {
		width: 36px;
		height: 36px;
		padding: 3px;
	}

	.menu-toggle {
		font-size: 20px;
		padding: 4px 12px;
	}

	.brand-wrapper {
		gap: 10px;
	}

	.explore-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.explore-card .image-wrapper {
		height: 200px;
	}

	.hero-logo {
		width: 110px;
		height: 110px;
	}

	.hero-text h1 {
		font-size: calc(var(--font-size-hero) - 16px);
	}

	.hero-text .subtitle {
		font-size: var(--font-size-base);
	}

	.hero-text .question {
		font-size: var(--font-size-base);
	}

	.header-controls .size-control button {
		font-size: 9px;
		padding: 1px 4px;
	}

	.header-controls .theme-toggle {
		font-size: 12px;
		padding: 3px 8px;
	}
}
