/**
 * Design Improvements - Enhanced Visual Patterns
 * Applied: November 12, 2025
 * Updated: November 13, 2025 - CTA Button Standardization
 */

/* ============================================
   PRIMARY CTA BUTTONS - Orange/White Pattern
   ============================================ */

/* Primary CTA: Orange default, White hover with orange border */
.cta-primary {
	background-color: #0D5BD3 !important;
	color: #ffffff !important;
	border: 2px solid #0D5BD3 !important;
	font-weight: 600;
	transition: all 0.3s ease;
}

.cta-primary:hover,
.cta-primary:focus-visible {
	background-color: #ffffff !important;
	color: #0D5BD3 !important;
	border-color: #0D5BD3 !important;
	box-shadow: 0 4px 12px rgba(13, 91, 211, 0.2);
}

/* Secondary CTA: Transparent/White default, subtle hover */
.cta-secondary {
	background-color: transparent !important;
	color: #ffffff !important;
	border: 1px solid #ffffff !important;
	font-weight: 600;
	transition: all 0.3s ease;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
	background-color: rgba(255, 255, 255, 0.1) !important;
	border-color: #0D5BD3 !important;
}

/* Mobile responsive button sizing */
@media (max-width: 640px) {
	.cta-primary,
	.cta-secondary {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
	}
}

/* Smooth section reveals */
.reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.6s ease;
}

.reveal.in {
	opacity: 1;
	transform: none;
}

/* Enhanced project/gallery cards with hover overlay */
.project-card {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 8px 30px rgba(8, 25, 35, 0.08);
}

.project-card img {
	width: 100%;
	height: 16rem;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.project-card:hover img {
	transform: scale(1.05);
}

.project-card .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 25, 35, 0.8) 0%, rgba(8, 25, 35, 0.2) 50%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
	opacity: 1;
}

.project-card .content {
	position: absolute;
	bottom: 0;
	padding: 1.25rem;
	color: white;
	opacity: 0;
	transform: translateY(0.5rem);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .content {
	opacity: 1;
	transform: translateY(0);
}

/* Process steps with numbered badges */
.process-step {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	padding: 1.5rem;
}

.process-number {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: rgba(13, 91, 211, 0.1);
	color: #0D5BD3;
	display: grid;
	place-items: center;
	font-weight: bold;
}

/* Pricing cards with popular badge */
.pricing-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	padding: 2rem;
	text-align: center;
	position: relative;
}

.pricing-card.featured {
	border: 2px solid #0D5BD3;
	box-shadow: 0 8px 30px rgba(13, 91, 211, 0.15);
}

.popular-badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: #0D5BD3;
	color: white;
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
}

/* FAQ accordion improvements */
.faq-item {
	border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item summary {
	display: flex;
	cursor: pointer;
	list-style: none;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item svg {
	width: 1.25rem;
	height: 1.25rem;
	color: #0D5BD3;
	transition: transform 0.3s ease;
}

.faq-item[open] svg {
	transform: rotate(180deg);
}

.faq-item p {
	padding: 0 1.5rem 1.5rem;
	color: #6b7280;
}

/* CTA sections with decorative elements */
.cta-section {
	position: relative;
	overflow: hidden;
}

.cta-blur-left {
	position: absolute;
	bottom: -6rem;
	left: -6rem;
	width: 32rem;
	height: 32rem;
	border-radius: 9999px;
	background: rgba(13, 91, 211, 0.1);
	filter: blur(80px);
	pointer-events: none;
}

.cta-blur-right {
	position: absolute;
	top: -6rem;
	right: -6rem;
	width: 38rem;
	height: 38rem;
	border-radius: 9999px;
	background: rgba(13, 91, 211, 0.1);
	filter: blur(80px);
	pointer-events: none;
}

/* Enhanced button styles */
.btn-primary-enhanced {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	background: #0D5BD3;
	color: white;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary-enhanced:hover {
	box-shadow: 0 0 25px rgba(13, 91, 211, 0.35);
	transform: translateY(-2px);
}

.btn-secondary-enhanced {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	transition: all 0.3s ease;
}

.btn-secondary-enhanced:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Trust badges */
.trust-badge {
	padding: 0.75rem;
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
}

/* Service area location badge */
.location-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.8);
}

.location-badge::before {
	content: '';
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 9999px;
	background: #0D5BD3;
}

/* Feature cards */
.feature-card {
	position: relative;
	padding: 1.5rem;
	border: 1px solid #e6e9ee;
	border-radius: 0.375rem;
	background: white;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Signature architectural accent rule */
.feature-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #0D5BD3 0%, #083ABC 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: #cdd9ee;
	box-shadow: 0 12px 34px rgba(8, 25, 35, 0.1);
}

.feature-card:hover::before {
	transform: scaleX(1);
}

/* Back to top button enhancement */
.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: #081923;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: grid;
	place-items: center;
	box-shadow: 0 4px 12px rgba(8, 25, 35, 0.3);
	transition: all 0.3s ease;
	opacity: 0;
	pointer-events: none;
}

.back-to-top.visible {
	opacity: 1;
	pointer-events: all;
}

.back-to-top:hover {
	background: #0D5BD3;
	transform: translateY(-2px);
}
