/* ============================================
   LIFT Starter — Base Stylesheet
   Parent theme CSS using custom properties.
   Child themes override via their own style.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--lift-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--lift-text-dark);
	background-color: var(--lift-bg-light);
}

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

a {
	color: var(--lift-primary);
	text-decoration: none;
	transition: color var(--lift-transition);
}

a:hover {
	color: var(--lift-secondary);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lift-font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

/* --- Container --- */
.lift-container {
	width: 100%;
	max-width: var(--lift-container-width);
	margin: 0 auto;
	padding: 0 var(--lift-container-padding);
}

/* --- Skip Link --- */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--lift-primary);
	color: #fff;
	padding: 8px 16px;
	z-index: 10000;
	transition: top 0.3s;
}

.skip-link:focus {
	top: 0;
}

/* --- Screen Reader Text --- */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* --- Top Bar --- */
.lift-topbar {
	background: var(--lift-bg-dark);
	color: var(--lift-text-muted);
	font-size: 0.85rem;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lift-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.lift-topbar-left {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.lift-topbar-item a {
	color: var(--lift-text-muted);
}

.lift-topbar-item a:hover {
	color: var(--lift-primary);
}

/* --- Header --- */
.lift-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: background var(--lift-transition), box-shadow var(--lift-transition);
}

.lift-header--dark {
	background: var(--lift-bg-dark);
	color: var(--lift-text-light);
}

.lift-header--light {
	background: var(--lift-bg-light);
	color: var(--lift-text-dark);
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.lift-header--transparent {
	background: transparent;
	color: var(--lift-text-light);
	position: absolute;
	width: 100%;
}

.lift-header--transparent.scrolled {
	background: var(--lift-bg-dark);
	position: sticky;
}

.lift-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	gap: 20px;
}

.lift-header-brand a,
.lift-site-title {
	font-family: var(--lift-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: inherit;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lift-header-brand img {
	max-height: 50px;
	width: auto;
}

/* --- Navigation --- */
.lift-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.lift-menu {
	list-style: none;
	display: flex;
	gap: 5px;
	margin: 0;
	padding: 0;
}

.lift-menu-link {
	display: block;
	padding: 10px 15px;
	color: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: color var(--lift-transition);
}

.lift-menu-link:hover,
.lift-menu-item-active .lift-menu-link {
	color: var(--lift-primary);
}

.lift-submenu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--lift-bg-card);
	min-width: 220px;
	padding: 10px 0;
	border-radius: var(--lift-card-radius);
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--lift-transition);
}

.lift-menu-item-has-children {
	position: relative;
}

.lift-menu-item-has-children:hover > .lift-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lift-submenu .lift-menu-link {
	padding: 8px 20px;
	text-transform: none;
	font-size: 0.9rem;
}

/* Mobile toggle */
.lift-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.lift-hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.lift-hamburger span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: all var(--lift-transition);
}

/* --- Buttons --- */
.lift-btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: var(--lift-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 2px solid transparent;
	border-radius: var(--lift-btn-radius);
	cursor: pointer;
	transition: all var(--lift-transition);
	line-height: 1.4;
}

.lift-btn-primary {
	background: var(--lift-primary);
	color: #fff;
	border-color: var(--lift-primary);
}

.lift-btn-primary:hover {
	background: transparent;
	color: var(--lift-primary);
}

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

.lift-btn-outline:hover {
	background: var(--lift-primary);
	color: #fff;
}

.lift-btn-sm {
	padding: 8px 18px;
	font-size: 0.85rem;
}

.lift-btn-lg {
	padding: 16px 40px;
	font-size: 1.1rem;
}

/* --- Sections --- */
.lift-section {
	padding: var(--lift-section-spacing) 0;
}

.lift-section-header {
	text-align: center;
	margin-bottom: 50px;
}

.lift-section-title {
	text-transform: uppercase;
	position: relative;
	display: inline-block;
}

.lift-section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--lift-primary);
	margin: 15px auto 0;
}

.lift-section-subtitle {
	color: var(--lift-text-muted);
	font-size: 1.1rem;
	margin-top: 10px;
}

/* --- Hero --- */
.lift-hero {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	background: var(--lift-bg-dark) center/cover no-repeat;
	color: var(--lift-text-light);
	text-align: center;
}

.lift-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.6);
}

.lift-hero .lift-container {
	position: relative;
	z-index: 1;
}

.lift-hero-title {
	font-size: 3.5rem;
	text-transform: uppercase;
	margin-bottom: 0.3em;
}

.lift-hero-subtitle {
	font-size: 1.3rem;
	color: var(--lift-text-muted);
	margin-bottom: 1.5em;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Grids --- */
.lift-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.lift-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.lift-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

/* --- Service Card --- */
.lift-service-card {
	background: var(--lift-bg-card);
	border-radius: var(--lift-card-radius);
	overflow: hidden;
	transition: transform var(--lift-transition), box-shadow var(--lift-transition);
}

.lift-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

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

.lift-service-card-body {
	padding: 25px;
	color: var(--lift-text-light);
}

.lift-service-card-title a {
	color: var(--lift-text-light);
	font-size: 1.25rem;
}

.lift-service-card-title a:hover {
	color: var(--lift-primary);
}

.lift-service-card-desc {
	color: var(--lift-text-muted);
	font-size: 0.95rem;
	margin: 10px 0 20px;
}

.lift-service-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lift-service-price {
	font-family: var(--lift-font-heading);
	font-size: 1.25rem;
	color: var(--lift-primary);
	font-weight: 700;
}

/* --- Testimonial Card --- */
.lift-testimonial-card {
	background: var(--lift-bg-card);
	border-radius: var(--lift-card-radius);
	padding: 30px;
	color: var(--lift-text-light);
}

.lift-testimonial-quote {
	font-style: italic;
	color: var(--lift-text-muted);
	margin: 15px 0 20px;
	line-height: 1.7;
}

.lift-testimonial-card-footer {
	display: flex;
	align-items: center;
	gap: 15px;
}

.lift-testimonial-avatar img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.lift-testimonial-name {
	display: block;
	color: var(--lift-text-light);
}

.lift-testimonial-role {
	font-size: 0.85rem;
	color: var(--lift-text-muted);
}

.lift-star-rating .star {
	color: var(--lift-accent);
	font-size: 1.1rem;
}

/* --- Post Card --- */
.lift-post-card {
	background: #fff;
	border-radius: var(--lift-card-radius);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	transition: transform var(--lift-transition), box-shadow var(--lift-transition);
}

.lift-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.lift-post-thumbnail img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.lift-post-content {
	padding: 25px;
}

.lift-post-title {
	font-size: 1.25rem;
}

.lift-post-title a {
	color: var(--lift-text-dark);
}

.lift-post-title a:hover {
	color: var(--lift-primary);
}

.lift-post-meta {
	font-size: 0.85rem;
	color: var(--lift-text-muted);
	margin-top: 5px;
}

.lift-post-excerpt {
	margin: 15px 0 20px;
	color: #555;
}

/* --- Single Post / Page --- */
.lift-single-post,
.lift-page {
	max-width: 800px;
	margin: 0 auto;
	padding: var(--lift-section-spacing) 0;
}

.lift-post-featured-image,
.lift-page-featured-image {
	margin: 30px 0;
	border-radius: var(--lift-card-radius);
	overflow: hidden;
}

.lift-post-body,
.lift-page-content {
	font-size: 1.05rem;
	line-height: 1.8;
}

/* --- CTA Section --- */
.lift-cta-section {
	background: var(--lift-primary);
	color: #fff;
	text-align: center;
}

.lift-cta-title {
	color: #fff;
}

.lift-cta-text {
	font-size: 1.15rem;
	opacity: 0.9;
	margin-bottom: 1.5em;
}

.lift-cta-section .lift-btn-primary {
	background: #fff;
	color: var(--lift-primary);
	border-color: #fff;
}

.lift-cta-section .lift-btn-primary:hover {
	background: transparent;
	color: #fff;
}

/* --- Breadcrumbs --- */
.lift-breadcrumbs ol {
	display: flex;
	list-style: none;
	padding: 15px 0;
	font-size: 0.9rem;
	color: var(--lift-text-muted);
	gap: 8px;
}

.lift-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 8px;
}

.lift-breadcrumbs a {
	color: var(--lift-text-muted);
}

.lift-breadcrumbs a:hover {
	color: var(--lift-primary);
}

/* --- Footer --- */
.lift-footer {
	background: var(--lift-bg-dark);
	color: var(--lift-text-muted);
}

.lift-footer-main {
	padding: 60px 0 40px;
}

.lift-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
}

.lift-footer-col .widget-title {
	color: var(--lift-text-light);
	font-size: 1.1rem;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.lift-footer-brand {
	margin-bottom: 15px;
}

.lift-footer-brand .lift-site-title {
	color: var(--lift-text-light);
}

.lift-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 20px 0;
}

.lift-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 0.85rem;
}

.lift-footer-menu {
	list-style: none;
	display: flex;
	gap: 20px;
}

.lift-footer-menu a {
	color: var(--lift-text-muted);
	font-size: 0.85rem;
}

.lift-footer-menu a:hover {
	color: var(--lift-primary);
}

/* --- Social Links --- */
.lift-social-links {
	display: flex;
	gap: 12px;
}

.lift-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: var(--lift-text-muted);
	transition: all var(--lift-transition);
}

.lift-social-link:hover {
	background: var(--lift-primary);
	color: #fff;
}

/* --- Pagination --- */
.lift-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-top: 40px;
}

.lift-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--lift-bg-card);
	color: var(--lift-text-light);
	border-radius: var(--lift-btn-radius);
	font-weight: 500;
}

.lift-pagination .page-numbers.current {
	background: var(--lift-primary);
	color: #fff;
}

/* --- 404 --- */
.lift-error-404 {
	text-align: center;
	padding: var(--lift-section-spacing) 0;
}

.lift-error-404 .lift-page-title {
	font-size: 3rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
	.lift-menu-toggle {
		display: block;
	}

	.lift-nav {
		position: fixed;
		top: 0;
		right: -300px;
		width: 300px;
		height: 100vh;
		background: var(--lift-bg-dark);
		flex-direction: column;
		justify-content: flex-start;
		padding: 80px 20px 30px;
		transition: right var(--lift-transition);
		z-index: 999;
		overflow-y: auto;
	}

	.lift-nav.active {
		right: 0;
	}

	.lift-menu {
		flex-direction: column;
		gap: 0;
	}

	.lift-menu-link {
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,0.05);
	}

	.lift-submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding-left: 15px;
	}

	.lift-header-cta {
		display: none;
	}

	.lift-hero-title {
		font-size: 2.25rem;
	}

	h1 { font-size: 2.25rem; }
	h2 { font-size: 1.75rem; }
}

@media (max-width: 767px) {
	:root {
		--lift-section-spacing: 50px;
	}

	.lift-services-grid,
	.lift-posts-grid,
	.lift-testimonials-grid {
		grid-template-columns: 1fr;
	}

	.lift-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.lift-footer-menu {
		justify-content: center;
	}

	.lift-topbar-inner {
		justify-content: center;
	}

	.lift-topbar-right {
		display: none;
	}
}
