/*
Theme Name: Obstacles Of Life
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: Custom WordPress theme built by The Free Website Guys for Obstacles Of Life, LLC — a single-page home care website featuring compassionate non-medical home care in Carmel, Indiana.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obstacles-of-life
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

body {
	max-width: 100%;
}

body.admin-bar {
	scroll-padding-top: calc(5.5rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		scroll-padding-top: calc(5.5rem + 46px);
	}
}

body.tmt-body {
	margin: 0;
	font-family: 'Open Sans', system-ui, sans-serif;
	background: var(--background);
	color: var(--foreground);
	line-height: 1.6;
}

.tmt-section h1,
.tmt-section h2,
.tmt-section h3,
.tmt-section h4,
.tmt-section h5,
.tmt-section h6 {
	font-family: 'Lora', serif;
	font-weight: 600;
	line-height: 1.2;
}

.tmt-section a {
	color: inherit;
	text-decoration: none;
}

.tmt-section img,
.tmt-section video,
.tmt-hero-media img,
.tmt-hero-media video {
	max-width: 100%;
	height: auto;
	display: block;
}

.tmt-container {
	max-width: 87.5rem;
	width: 100%;
	margin-inline: auto;
	padding-inline: 1rem;
	box-sizing: border-box;
}

.tmt-section {
	padding-block: 5rem;
}

.tmt-text-center { text-align: center; }
.tmt-heading-accent { color: var(--primary); font-style: italic; }
.tmt-heading-accent-light { opacity: 0.9; font-style: italic; }
.tmt-text-cream { color: var(--cream); }

.tmt-badge {
	display: inline-block;
	padding: 0.35rem 1rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: color-mix(in oklab, var(--primary) 8%, transparent);
	color: var(--primary);
}

.tmt-badge-light {
	color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
	border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
	background: transparent;
}

.tmt-badge-outline {
	border: 1px solid var(--border);
	color: var(--muted-foreground);
	background: transparent;
}

.tmt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.4rem;
	border-radius: calc(var(--radius) - 2px);
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: 0.2s ease;
}

.tmt-btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
	box-shadow: 0 8px 30px color-mix(in oklab, var(--primary) 20%, transparent);
}

.tmt-btn-secondary {
	background: var(--secondary);
	color: var(--secondary-foreground);
}

.tmt-btn-cream {
	background: var(--cream);
	color: var(--cream-foreground);
}

.tmt-btn-outline,
.tmt-btn-outline-light {
	background: transparent;
}

.tmt-btn-outline {
	border-color: var(--border);
	color: var(--foreground);
}

.tmt-btn-outline-light {
	border-color: color-mix(in oklab, var(--primary-foreground) 50%, transparent);
	color: var(--primary-foreground);
	background: color-mix(in oklab, var(--primary-foreground) 15%, transparent);
}

.tmt-btn-block { width: 100%; }

.tmt-card {
	background: var(--card);
	color: var(--card-foreground);
	border-radius: 1rem;
	box-shadow: 0 4px 12px color-mix(in oklab, var(--foreground) 8%, transparent);
}

.tmt-icon { width: 1.25rem; height: 1.25rem; }
.tmt-icon-sm { width: 1rem; height: 1rem; }
.tmt-icon-xs { width: 0.875rem; height: 0.875rem; }

.tmt-site-header {
	width: 100%;
}

body.admin-bar .tmt-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .tmt-site-header {
		top: 46px;
	}
}

.tmt-site-header.is-scrolled {
	background: color-mix(in oklab, var(--card) 95%, transparent);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 3px color-mix(in oklab, var(--foreground) 8%, transparent);
}

.tmt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5rem;
	gap: 1rem;
}

.tmt-logo { height: 2.5rem; width: auto; }
.tmt-logo-inverted { filter: brightness(0) invert(1); }

.tmt-desktop-nav,
.tmt-header-actions { display: none; }

.tmt-nav-link,
.tmt-nav-dropdown-toggle {
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.tmt-nav-toggle {
	display: inline-flex;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
}

.tmt-nav-toggle-close { display: none; }
.tmt-mobile-nav {
	display: none;
	padding-bottom: 1rem;
}

.tmt-mobile-nav.is-open { display: block; }

.tmt-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 6rem;
	overflow: hidden;
}

.tmt-hero-media {
	position: absolute;
	inset: 0;
}

.tmt-hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tmt-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--primary), color-mix(in oklab, var(--primary) 60%, transparent), transparent);
}

.tmt-hero-content { position: relative; z-index: 1; }
.tmt-hero-copy { max-width: 42rem; color: var(--primary-foreground); }
.tmt-hero-title { font-size: clamp(2.25rem, 5vw, 3.75rem); margin: 0 0 1rem; }
.tmt-hero-subheading { font-size: 1.125rem; opacity: 0.85; }
.tmt-hero-payment { opacity: 0.7; font-weight: 600; }
.tmt-hero-actions,
.tmt-hero-features { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.tmt-hero-feature { display: flex; align-items: center; gap: 0.5rem; }
.tmt-hero-feature-icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: color-mix(in oklab, var(--primary-foreground) 20%, transparent);
}

.tmt-about { background: var(--cream); }
.tmt-about-layout { position: relative; width: 100%; margin: 3rem auto 0; }
.tmt-about-image-wrap { border-radius: 1.5rem; overflow: hidden; }
.tmt-about-highlights {
	display: grid;
	gap: 1rem;
	margin-top: -4rem;
	position: relative;
	z-index: 1;
}

.tmt-highlight-card,
.tmt-service-card,
.tmt-pricing-card,
.tmt-testimonial-card,
.tmt-contact-form-card,
.tmt-faq-item { padding: 1.5rem; }

.tmt-about-copy,
.tmt-section-heading { max-width: 48rem; margin-inline: auto; }
.tmt-lead { color: var(--muted-foreground); font-size: 1.125rem; }
.tmt-lead-light { color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); font-size: 1.125rem; }
.tmt-quote {
	margin-top: 2rem;
	padding: 1.5rem;
	border-left: 4px solid var(--primary);
	background: color-mix(in oklab, var(--primary) 5%, transparent);
	font-style: italic;
}

.tmt-services-header,
.tmt-how-it-works,
.tmt-team {
	background: var(--gradient-hero);
	color: var(--primary-foreground);
}

.tmt-services-list { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
.tmt-service-grid { display: grid; gap: 0; }
.tmt-service-title-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.tmt-service-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.tmt-feature-list { list-style: none; padding: 0; margin: 0; }
.tmt-feature-list li { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }

.tmt-medicaid-banner {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 1.5rem;
	border-radius: 0.75rem;
	background: color-mix(in oklab, var(--primary) 5%, transparent);
	border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
	max-width: 48rem;
	margin: 0 auto 3rem;
}

.tmt-pricing-grid,
.tmt-testimonials-grid,
.tmt-team-grid,
.tmt-steps-grid,
.tmt-why-grid {
	display: grid;
	gap: 1.5rem;
}

.tmt-pricing-card { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.tmt-pricing-card.is-popular { border: 2px solid var(--primary); }
.tmt-popular-badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--primary);
	color: var(--primary-foreground);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
}

.tmt-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tmt-step-card {
	padding: 1.5rem;
	border-radius: 1rem;
	background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
	border: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
}

.tmt-why-grid { grid-template-columns: 1fr; }
.tmt-why-image { min-height: 22rem; border-radius: 1rem; overflow: hidden; object-fit: cover; width: 100%; height: 100%; }
.tmt-value-card {
	padding: 1.5rem;
	border-radius: 1rem;
	background: linear-gradient(to bottom, color-mix(in oklab, var(--primary) 8%, transparent), color-mix(in oklab, var(--primary) 18%, transparent));
}

.tmt-testimonials { background: var(--cream); }
.tmt-star { color: var(--warm); }

.tmt-team-card {
	padding: 2rem;
	border-radius: 0.75rem;
	text-align: center;
	background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
	border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
}

.tmt-faq-list { max-width: 48rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.tmt-faq-item button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}

.tmt-faq-answer { display: none; color: var(--muted-foreground); }
.tmt-faq-item.is-open .tmt-faq-answer { display: block; margin-top: 1rem; }
.tmt-faq-item.is-hidden { display: none; }

.tmt-contact-grid { display: grid; gap: 2rem; }
.tmt-contact-items { display: grid; gap: 1rem; margin-top: 2rem; }
.tmt-contact-item {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 1rem;
	border-radius: 0.75rem;
	background: var(--secondary);
}

.tmt-contact-icon,
.tmt-highlight-icon,
.tmt-step-icon,
.tmt-value-icon,
.tmt-team-icon,
.tmt-medicaid-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	display: grid;
	place-items: center;
	background: color-mix(in oklab, var(--primary) 10%, transparent);
	color: var(--primary);
}

.tmt-social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.tmt-social-links a {
	width: 2.5rem;
	height: 2.5rem;
	display: grid;
	place-items: center;
	border-radius: 0.5rem;
	background: var(--secondary);
	color: var(--muted-foreground);
}

.tmt-form-row { display: grid; gap: 1rem; }
.tmt-form-field { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.tmt-form-field input,
.tmt-form-field select,
.tmt-form-field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--input);
	border-radius: calc(var(--radius) - 4px);
	background: var(--background);
	font: inherit;
}

.tmt-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.tmt-map-wrap { margin-top: 4rem; }

.tmt-site-footer {
	background: var(--foreground);
	color: var(--primary-foreground);
	padding-block: 4rem 2rem;
}

.tmt-footer-grid {
	display: grid;
	gap: 2rem;
}

.tmt-footer-grid ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tmt-footer-grid li { margin-bottom: 0.75rem; }
.tmt-footer-grid a { color: color-mix(in oklab, var(--primary-foreground) 70%, transparent); }
.tmt-footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 10%, transparent);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tmt-footer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.tmt-heart { color: var(--accent); }

@media (min-width: 768px) {
	.tmt-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmt-about-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tmt-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmt-service-card.is-reversed .tmt-service-content { order: 2; }
	.tmt-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmt-testimonials-grid,
	.tmt-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tmt-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tmt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmt-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.tmt-desktop-nav,
	.tmt-header-actions { display: flex; align-items: center; gap: 1.5rem; }
	.tmt-nav-toggle,
	.tmt-mobile-nav { display: none !important; }
	.tmt-nav-item { position: relative; }
	.tmt-nav-dropdown {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 14rem;
		padding-top: 0.5rem;
	}
	.tmt-nav-item:hover .tmt-nav-dropdown { display: block; }
	.tmt-nav-dropdown a {
		display: block;
		padding: 0.65rem 1rem;
		background: var(--card);
		color: color-mix(in oklab, var(--foreground) 80%, transparent);
	}
	.tmt-pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tmt-steps-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.tmt-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tmt-why-image { grid-row: span 2; }
	.tmt-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tmt-footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
