/*
Theme Name: Chateek Child
Theme URI: https://chateek.chat
Description: Clean child theme for Chateek.chat - uses blank.php template
Author: Digital Reach
Template: astra
Version: 1.0
*/

/* ==========================================
   RESET & VARIABLES
========================================== */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--saffron: #E8A020;
	--terra: #C4522A;
	--cream: #FBF5EC;
	--warm-dark: #1A0F07;
	--warm-mid: #3D2010;
	--sand: #F0E0C4;
	--olive: #6B7C3E;
	--deep-gold: #9B6B10;
	--border-light: rgba(196, 82, 42, 0.08);
	--border-mid: rgba(196, 82, 42, 0.15);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--warm-dark);
	background: var(--cream);
	font-weight: 400;
}

main {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 900;
	letter-spacing: -0.5px;
	line-height: 1.15;
}

h1 {
	font-size: 68px;
	margin-bottom: 24px;
	line-height: 1.0;
}

h2 {
	font-size: 42px;
	margin: 40px 0 16px;
	line-height: 1.1;
}

h3 {
	font-size: 24px;
	margin: 28px 0 12px;
	line-height: 1.2;
	font-weight: 700;
}

h4 {
	font-size: 20px;
	margin: 20px 0 10px;
	font-weight: 700;
}

p {
	margin-bottom: 16px;
	color: var(--warm-mid);
	opacity: 0.85;
}

em {
	font-style: italic;
}

strong {
	font-weight: 600;
}

/* ==========================================
   LINKS & BUTTONS
========================================== */

a {
	color: var(--terra);
	text-decoration: none;
	transition: opacity 0.2s;
}

a:hover {
	opacity: 0.8;
}

.btn, button, input[type="button"], input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border: none;
	border-radius: 100px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	font-family: inherit;
}

.btn-primary {
	background: var(--terra);
	color: white;
}

.btn-primary:hover {
	background: var(--warm-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(196, 82, 42, 0.2);
}

.btn-secondary {
	background: white;
	color: var(--warm-mid);
	border: 1px solid var(--terra);
}

.btn-secondary:hover {
	background: rgba(196, 82, 42, 0.05);
}

.btn-gold {
	background: var(--saffron);
	color: var(--warm-dark);
}

.btn-gold:hover {
	background: #F0B030;
}

/* ==========================================
   NAVIGATION
========================================== */

.chk-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 245, 236, 0.98);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-light);
	padding: 16px 32px;
}

.chk-nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.chk-logo {
	font-size: 20px;
	font-weight: 900;
	color: var(--warm-dark);
	font-family: 'Playfair Display', serif;
}

.chk-logo span {
	color: var(--terra);
}

.chk-nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
}

.chk-nav-links a {
	font-size: 14px;
	color: var(--warm-mid);
	font-weight: 500;
	transition: color 0.2s;
}

.chk-nav-links a:hover {
	color: var(--terra);
}

@media (max-width: 768px) {
	.chk-nav {
		padding: 12px 16px;
	}

	.chk-nav-links {
		display: none;
	}
}

/* ==========================================
   HERO SECTION
========================================== */

.chk-hero {
	padding: 80px 32px 60px;
	text-align: center;
	background: linear-gradient(135deg, rgba(232, 160, 32, 0.08) 0%, rgba(196, 82, 42, 0.06) 100%);
	max-width: 100%;
}

.chk-hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.chk-hero h1 {
	margin-bottom: 20px;
	line-height: 1.0;
}

.chk-hero-em {
	display: block;
	font-style: italic;
	color: var(--terra);
}

.chk-hero-gold {
	display: inline;
	color: var(--saffron);
}

.chk-hero-desc {
	font-size: 18px;
	margin: 20px 0 32px;
	color: var(--warm-mid);
}

.chk-hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.chk-hero {
		padding: 50px 16px 40px;
	}

	.chk-hero h1 {
		font-size: 44px;
	}

	.chk-hero-desc {
		font-size: 16px;
	}

	.chk-hero-actions {
		flex-direction: column;
	}

	.chk-hero-actions .btn {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================
   SECTIONS
========================================== */

.chk-section {
	padding: 60px 32px;
	max-width: 1000px;
	margin: 0 auto;
	width: 100%;
}

.chk-section-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--terra);
	font-weight: 700;
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	.chk-section {
		padding: 40px 16px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 20px;
	}
}

/* ==========================================
   STEP CARDS (How It Works)
========================================== */

.chk-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.chk-step {
	background: white;
	border: 1px solid var(--border-light);
	border-radius: 16px;
	padding: 32px;
	transition: all 0.2s ease;
}

.chk-step:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(196, 82, 42, 0.08);
	border-color: var(--border-mid);
}

.chk-step-num {
	font-size: 64px;
	font-weight: 900;
	color: var(--sand);
	margin-bottom: 16px;
	line-height: 1;
	font-family: 'Playfair Display', serif;
}

.chk-step h3 {
	margin: 8px 0 12px;
	font-size: 20px;
}

.chk-step p {
	font-size: 14px;
	margin: 0;
}

@media (max-width: 768px) {
	.chk-steps {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.chk-step {
		padding: 24px;
	}

	.chk-step-num {
		font-size: 48px;
	}
}

/* ==========================================
   FEATURE GRID (Bento)
========================================== */

.chk-features {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
	grid-auto-rows: 200px;
}

.chk-feature-card {
	background: white;
	border: 1px solid var(--border-light);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition: all 0.2s ease;
}

.chk-feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(196, 82, 42, 0.08);
}

.chk-feature-card.dark {
	background: linear-gradient(135deg, #1A0F07 0%, #3D2010 100%);
	color: white;
	border: none;
	grid-column: span 2;
	justify-content: center;
}

.chk-feature-card.tall {
	grid-row: span 2;
}

.chk-feature-card.accent {
	background: linear-gradient(135deg, var(--terra) 0%, #9B3A1A 100%);
	color: white;
	border: none;
}

.chk-feature-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: inherit;
}

.chk-feature-card p {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
	color: inherit;
}

.chk-feature-icon {
	font-size: 28px;
	margin-bottom: 12px;
}

@media (max-width: 768px) {
	.chk-features {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 12px;
	}

	.chk-feature-card {
		grid-column: span 1 !important;
		grid-row: span 1 !important;
	}

	.chk-feature-card.dark {
		grid-column: span 1;
	}
}

/* ==========================================
   SEO SECTIONS
========================================== */

.chk-seo-section {
	padding: 60px 32px;
	max-width: 1000px;
	margin: 0 auto;
	width: 100%;
}

.chk-seo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-top: 40px;
}

.chk-seo-grid:nth-child(even) {
	direction: rtl;
}

.chk-seo-grid:nth-child(even) > * {
	direction: ltr;
}

.chk-seo-keyword {
	display: inline-block;
	background: rgba(196, 82, 42, 0.08);
	color: var(--terra);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 100px;
	margin-bottom: 16px;
}

.chk-seo-img {
	background: linear-gradient(135deg, var(--sand) 0%, rgba(200, 140, 60, 0.15) 100%);
	border-radius: 16px;
	aspect-ratio: 1.33;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	min-height: 300px;
}

@media (max-width: 768px) {
	.chk-seo-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		direction: ltr !important;
	}

	.chk-seo-grid > * {
		direction: ltr !important;
	}

	.chk-seo-img {
		min-height: 200px;
	}
}

/* ==========================================
   CTA SECTION
========================================== */

.chk-cta {
	background: linear-gradient(135deg, #1A0F07 0%, var(--warm-mid) 100%);
	color: white;
	padding: 60px 32px;
	margin: 60px 32px;
	border-radius: 20px;
	text-align: center;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.chk-cta h2 {
	color: white;
	margin-bottom: 8px;
}

.chk-cta p {
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 28px;
	opacity: 1;
}

@media (max-width: 768px) {
	.chk-cta {
		margin: 40px 16px;
		padding: 40px 24px;
	}

	.chk-cta h2 {
		font-size: 32px;
	}
}

/* ==========================================
   FOOTER
========================================== */

.chk-footer {
	background: var(--warm-dark);
	color: rgba(255, 255, 255, 0.5);
	padding: 32px;
	text-align: center;
	font-size: 13px;
	margin-top: 40px;
}

.chk-footer a {
	color: rgba(255, 255, 255, 0.7);
}

.chk-footer a:hover {
	color: white;
}

/* ==========================================
   STANDARD PAGES
========================================== */

.chk-page {
	padding: 40px 32px;
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
}

.chk-page h2 {
	margin-top: 40px;
	margin-bottom: 16px;
}

.chk-page h3 {
	margin-top: 28px;
	margin-bottom: 12px;
}

.chk-page p {
	margin-bottom: 16px;
	line-height: 1.8;
}

.chk-page ul,
.chk-page ol {
	margin-left: 24px;
	margin-bottom: 16px;
}

.chk-page li {
	margin-bottom: 8px;
}

.chk-page blockquote {
	padding-left: 24px;
	border-left: 3px solid var(--terra);
	margin: 24px 0;
	font-style: italic;
	color: var(--warm-mid);
}

.chk-page table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14px;
}

.chk-page table th,
.chk-page table td {
	border: 1px solid var(--border-light);
	padding: 12px;
	text-align: left;
}

.chk-page table th {
	background: var(--sand);
	font-weight: 600;
}

@media (max-width: 768px) {
	.chk-page {
		padding: 24px 16px;
	}

	.chk-page table {
		font-size: 12px;
	}

	.chk-page table th,
	.chk-page table td {
		padding: 8px;
	}
}

/* ==========================================
   UTILITY CLASSES
========================================== */

.text-center {
	text-align: center;
}

.text-muted {
	opacity: 0.6;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-2 { padding-top: 16px !important; }
.pt-4 { padding-top: 32px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: 16px !important; }
.pb-4 { padding-bottom: 32px !important; }

/* ==========================================
   WORDPRESS BLOCKS RESET
========================================== */

.wp-block-image,
.wp-block-group,
.wp-block-columns {
	margin: 0 !important;
	padding: 0 !important;
}

.wp-block-paragraph {
	margin: 0 0 16px 0;
}
