/* public-enhancements.css
 * Aesthetic / Interaction Enhancement Layer (Phase D - deferred)
 * Will include color theming extensions, hover/focus effects, transitions,
 * subtle animations, shadows, gradients â€“ all using canonical variables.
 * Do NOT add structural rules here.
 */

/* Phase D pending â€“ intentionally empty */

/*--------------------------------------------------------------
# Services Section â€“ Homepage cards (aesthetic layer)
# Layout matches legacy screenshot: left-aligned, icon top-left
--------------------------------------------------------------*/

/* Section background: light off-white so white cards stand out */
.services.light-background,
section.services.light-background {
  background-color: #f4f8f8 !important;
}

/* === Card appearance â€” white card, large shadow, rounded, accent bottom border === */
.services .service-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;   /* LEFT-align icon, title, text */
  text-align: left !important;
  background: #ffffff;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  border-bottom: 5px solid #ffffff;
  padding: 40px 30px !important;
  transition: all ease-in-out 0.3s !important;
  height: 100%;
}

.services .service-item:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--brand-primary, #669999);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
}

/* Title left-aligned, brand color on hover */
.services .service-item h3 {
  text-align: left !important;
  display: block !important;
  height: auto !important;
  justify-content: unset !important;
  margin: 16px 0 12px !important;
}

.services .service-item:hover h3 {
  color: var(--brand-primary, #669999);
}

/* Description left-aligned */
.services .service-item p {
  text-align: left !important;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Circular icon â€” teal-secondary background, white icon, top-left */
.services .service-item .icon {
  background: var(--brand-secondary, #b3ced1);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 0 4px 0;           /* sits at top-left, space below before title */
  transition: background 0.3s ease;
}

.services .service-item .icon i {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  position: static !important;
}

.services .service-item:hover .icon {
  background: var(--brand-primary, #669999);
}

.services .service-item:hover .icon i {
  color: #ffffff !important;
}

/* Uploaded image inside the circle */
.services .service-item .icon img.service-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Service page enhancements */
.service-contact-info,
.border-top-subtle {
	border-top: 1px solid var(--surface-border, rgba(0, 0, 0, 0.08));
}

.service-contact-info strong {
	color: var(--brand-primary);
}

.service-contact-info .text-muted {
	color: var(--text-subtle, rgba(0, 0, 0, 0.65));
}

.service-icon-display .service-icon-symbol {
	font-size: 3rem;
	color: var(--theme-accent, var(--brand-primary));
	display: inline-block;
}

.service-icon-display .service-image {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(220px, 100%);
	max-width: 100%;
	max-height: clamp(140px, 35vw, 200px);
	padding: 0.5rem;
	border-radius: var(--radius-lg, 1rem);
	background: var(--surface-card, #ffffff);
	box-shadow: var(--shadow-sm, 0 6px 18px rgba(15, 23, 42, 0.05));
}

.service-icon-display .service-image .service-img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.service-contact-btn {
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-contact-btn:hover,
.service-contact-btn:focus {
	background-color: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: var(--brand-on-secondary, #ffffff);
}

/* Structured service layout */
.service-hero-figure {
	border-radius: var(--radius-xl, 1.25rem);
	overflow: hidden;
	background: var(--surface-card, #ffffff);
	box-shadow: var(--shadow-lg, 0 8px 30px rgba(15, 23, 42, 0.08));
	aspect-ratio: 16 / 9;
	max-height: clamp(220px, 60vh, 420px);
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-hero-figure img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.service-feature-grid .service-feature-tile {
	border-radius: var(--radius-lg, 1rem);
	border: 1px solid var(--surface-border, rgba(15, 23, 42, 0.08));
	padding: 1.5rem;
	background: var(--surface-card, #ffffff);
	box-shadow: var(--shadow-md, 0 12px 24px rgba(15, 23, 42, 0.06));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-feature-grid .service-feature-tile:hover,
.service-feature-grid .service-feature-tile:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg, 0 16px 30px rgba(15, 23, 42, 0.08));
}

.service-feature-grid .feature-icon-wrap {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-secondary-soft, rgba(45, 145, 245, 0.12));
	color: var(--brand-secondary, #2d91f5);
	margin-bottom: 1rem;
}

.service-feature-grid .feature-icon-wrap i {
	font-size: 1.35rem;
}

.service-feature-grid .feature-title {
	font-weight: 600;
	color: var(--text-strong, #1b1f24);
}

.service-feature-grid .feature-text {
	color: var(--text-muted, rgba(27, 31, 36, 0.75));
}

.service-narrative p {
	font-size: 1.05rem;
	line-height: 1.8rem;
	color: var(--text-body, #27313f);
}

.service-gallery-item {
	border-radius: var(--radius-lg, 1rem);
	overflow: hidden;
	position: relative;
	border: 1px solid transparent;
	background: var(--surface-card, #ffffff);
	box-shadow: var(--shadow-sm, 0 6px 18px rgba(15, 23, 42, 0.05));
}

.service-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.service-gallery-widget .content {
	padding: 1.5rem;
}

.service-gallery-heading {
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--text-strong, #1b1f24);
}

.service-gallery-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.service-gallery-stack .service-gallery-item {
	margin: 0;
}

.service-legacy-panel {
	border-top: 1px solid var(--surface-border, rgba(15, 23, 42, 0.12));
	padding-top: 2.5rem;
}

.service-legacy-heading {
	font-weight: 600;
	color: var(--text-strong, #1b1f24);
}

.service-layout-cta .service-cta-btn {
	padding-inline: 2.5rem;
	padding-block: 0.9rem;
	font-weight: 600;
}

/*--------------------------------------------------------------
# Why Us Section (about.php – static, not settings-editable)
--------------------------------------------------------------*/

/* Indiana image – rounded, constrained height */
.why-us .why-us-image {
  border-radius: 16px;
  max-height: 420px;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.12);
}

/* Bold statement headline */
.why-us .why-us-headline {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-primary, #669999);
  margin-bottom: 8px;
}

/* Italic subdeck below the headline */
.why-us .why-us-sub {
  color: #888;
  margin-bottom: 24px;
}

/* Checkmark list */
.why-us .why-us-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-us .why-us-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
}

.why-us .why-us-list li i {
  color: var(--brand-primary, #669999);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Our Promise to You Section (about.php – static, not settings-editable)
# Background: warm terracotta matching legacy site palette
--------------------------------------------------------------*/

.our-promise.section {
  background-color: #cc8972;
}

/* Force section-title text white over warm background */
.our-promise .section-title h2,
.our-promise .section-title p {
  color: #ffffff !important;
}

/* White rounded cards */
.our-promise .promise-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 28px;
  height: 100%;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.10);
}

/* Card heading – uppercase, letter-spaced */
.our-promise .promise-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3a2420;
  margin-bottom: 16px;
}

/* Card body text */
.our-promise .promise-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0;
}

/* CTA button at bottom of promise section */
.our-promise .promise-cta-btn {
  background-color: var(--brand-primary, #669999);
  color: #ffffff;
  border: 2px solid var(--brand-primary, #669999);
  padding: 14px 38px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.our-promise .promise-cta-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
