/* ==========================================================================
   Alltek Services – Custom Styles
   ========================================================================== */

/* ---------- Prevent horizontal overflow from full-width sections ---------- */
html, body {
	overflow-x: hidden;
}

/* ---------- Red divider line used under section headings ---------- */
.alltek-divider {
	width: 60px;
	height: 3px;
	background: #E63946;
	margin: 12px auto 20px;
	border: none;
}

.alltek-divider-left {
	margin-left: 0;
}

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 100;
}

.site-header a {
	text-decoration: none;
}

.header-cta-btn {
	background: #E63946;
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background 0.2s;
	white-space: nowrap;
}

.header-cta-btn:hover {
	background: #C62833;
}

/* ---------- Hero ---------- */
.hero-section {
	position: relative;
	overflow: hidden;
}

.hero-section h1 {
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
}

.hero-section p {
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- Hero estimate form ---------- */
.estimate-form-box {
	background: #2A3F6A;
	border-radius: 8px;
	padding: 30px;
	color: #fff;
}

.estimate-form-box h3 {
	color: #fff;
	text-transform: uppercase;
	font-size: 1.1rem;
	margin-bottom: 20px;
	text-align: center;
}

.estimate-form-box input,
.estimate-form-box select,
.estimate-form-box textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.9rem;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.estimate-form-box input::placeholder,
.estimate-form-box textarea::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.estimate-form-box select option {
	color: #333;
	background: #fff;
}

.estimate-form-box button {
	width: 100%;
	padding: 12px;
	background: #E63946;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}

.estimate-form-box button:hover {
	background: #C62833;
}

/* ---------- Service cards ---------- */
.service-card {
	text-align: center;
	padding: 30px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	transition: box-shadow 0.25s, transform 0.25s;
	background: #fff;
}

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

.service-card svg {
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	fill: #1B2A4A;
}

.service-card h3,
.service-card h4 {
	font-size: 0.95rem;
	text-transform: uppercase;
	color: #1B2A4A;
	margin: 0;
	font-weight: 600;
}

/* ---------- Service areas list ---------- */
.service-areas-section ul {
	list-style: none;
	padding: 0;
}

.service-areas-section li {
	padding: 4px 0;
	position: relative;
	padding-left: 18px;
	color: rgba(255, 255, 255, 0.9);
}

.service-areas-section li::before {
	content: "•";
	color: #E63946;
	position: absolute;
	left: 0;
	font-weight: bold;
}

/* ---------- Feature / "What Sets Us Apart" cards ---------- */
.apart-card {
	text-align: center;
	padding: 24px 16px;
}

.apart-card svg {
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	fill: #1B2A4A;
}

.apart-card h4 {
	font-size: 0.9rem;
	text-transform: uppercase;
	color: #1B2A4A;
	margin-bottom: 6px;
}

.apart-card p {
	font-size: 0.85rem;
	color: #666;
}

/* ---------- "When to Call" icons ---------- */
.call-icon-item {
	text-align: center;
	padding: 16px;
}

.call-icon-item svg {
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	fill: #1B2A4A;
}

.call-icon-item p {
	font-size: 0.85rem;
	font-weight: 600;
	color: #1B2A4A;
	text-transform: uppercase;
}

/* ---------- Bottom service icons bar ---------- */
.bottom-icons-bar {
	border-top: 1px solid #e0e0e0;
}

.bottom-icons-bar .service-card {
	border: none;
	padding: 20px 10px;
}

.bottom-icons-bar .service-card:hover {
	box-shadow: none;
	transform: none;
}

/* ---------- Comfort Care section ---------- */
.comfort-care-section {
	position: relative;
}

.comfort-care-section h2,
.comfort-care-section h3,
.comfort-care-section p,
.comfort-care-section li {
	color: #fff;
}

.comfort-care-section ul {
	list-style: none;
	padding: 0;
}

.comfort-care-section li {
	padding: 4px 0 4px 20px;
	position: relative;
}

.comfort-care-section li::before {
	content: "✓";
	color: #fff;
	position: absolute;
	left: 0;
	font-weight: bold;
}

/* ---------- CTA section ---------- */
.cta-section h2 {
	color: #fff;
}

.cta-section p {
	color: rgba(255, 255, 255, 0.85);
}

.cta-section a {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
}

/* ---------- Financing ---------- */
.financing-section {
	border-top: 3px solid #E63946;
}

/* ---------- Contact form ---------- */
.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
	outline: none;
	border-color: #1B2A4A;
	box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.15);
}

.contact-form-box button:hover {
	background: #C62833 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.hero-section .wp-block-columns {
		flex-direction: column;
	}

	.estimate-form-box {
		margin-top: 30px;
	}

	.service-card {
		margin-bottom: 16px;
	}

	.contact-form-box div[style*="grid-template-columns"] {
		grid-template-columns: 1fr !important;
	}
}

/* ---------- General overrides ---------- */
.has-navy-background-color {
	background-color: #1B2A4A !important;
}

.has-red-background-color {
	background-color: #E63946 !important;
}

.has-light-gray-background-color {
	background-color: #F5F5F5 !important;
}

.has-white-background-color {
	background-color: #FFFFFF !important;
}

.has-form-blue-background-color {
	background-color: #2A3F6A !important;
}

.has-white-color {
	color: #FFFFFF !important;
}

.has-navy-color {
	color: #1B2A4A !important;
}

.has-red-color {
	color: #E63946 !important;
}

/* Ensure full-width sections work */
.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Navigation styling */
.wp-block-navigation a {
	text-decoration: none !important;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
	color: #E63946 !important;
}

/* Phone link in header */
.header-phone {
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
}

.header-phone:hover {
	color: #E63946;
}
