/**
 * About / Om Os page styles.
 *
 * @package FliserRent
 */

/* ---------- Hero ---------- */

.fliserrent-about-hero {
	background: linear-gradient(135deg, var(--fr-primary, #48c774) 0%, var(--fr-primary-dark, #257942) 100%);
	position: relative;
	overflow: hidden;
}

.fliserrent-about-hero .hero-body {
	position: relative;
	z-index: 1;
}

/* ---------- Story Section ---------- */

.about-story-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.about-feature-image {
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	width: 100%;
	height: auto;
	object-fit: cover;
}

.about-image-placeholder {
	background: var(--fr-bg-alt, #f5f5f5);
	border-radius: 12px;
	padding: 4rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

/* ---------- Why Choose Us ---------- */

.about-why-section .about-reason-card {
	height: 100%;
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-why-section .about-reason-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ---------- Team ---------- */

.about-team-card {
	height: 100%;
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-team-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--fr-primary, #48c774) 0%, var(--fr-primary-dark, #257942) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.about-team-avatar .icon {
	color: #fff !important;
}

/* ---------- Certifications ---------- */

.about-cert-item {
	padding: 2rem 1rem;
}

/* ---------- Environment ---------- */

.about-environment-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.about-env-icon {
	opacity: 0.9;
}

.about-environment-section ul {
	list-style: none !important;
	padding-left: 0 !important;
}

.about-environment-section ul li {
	position: relative;
	padding-left: 1.8rem;
	margin-bottom: 0.75rem;
}

.about-environment-section ul li::before {
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	color: var(--fr-primary, #48c774);
}

/* ---------- Service Area Checker ---------- */

.about-area-section .box {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#about-zip-result .notification {
	border-radius: 8px;
}

/* ---------- CTA Banner ---------- */

.about-cta-section {
	padding: 4rem 1.5rem;
}

/* ---------- Dark Mode ---------- */

html.dark-mode .about-image-placeholder {
	background: var(--fr-bg-alt-dark, #2b2b2b);
}

html.dark-mode .about-reason-card,
html.dark-mode .about-team-card {
	background: var(--fr-card-dark, #1e1e1e);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

html.dark-mode .about-reason-card:hover,
html.dark-mode .about-team-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html.dark-mode .about-area-section .box {
	background: var(--fr-card-dark, #1e1e1e);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 768px) {
	.about-story-section .columns {
		flex-direction: column-reverse;
		display: flex;
	}

	.about-environment-section .columns {
		text-align: center;
	}

	.about-env-icon {
		margin-bottom: 1.5rem;
	}

	.about-cta-section .buttons {
		flex-direction: column;
	}

	.about-cta-section .buttons .button {
		width: 100%;
	}
}

/* Auto dark mode (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
	.about-image-placeholder {
		background: var(--fr-bg-alt-dark, #2b2b2b);
	}
	.about-reason-card,
	.about-team-card {
		background: var(--fr-card-dark, #1e1e1e);
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	}
	.about-reason-card:hover,
	.about-team-card:hover {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	}
	.about-area-section .box {
		background: var(--fr-card-dark, #1e1e1e);
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	}
}
