/*
	AZ Solar Custom Styles
	Brand Colors: Green #2E7D32, Orange #F57C00
*/

/* ===== Header Logo ===== */
.header-logo {
	height: 36px;
	width: auto;
	vertical-align: middle;
}

.banner-logo {
	max-width: 280px;
	width: 100%;
	height: auto;
}

.logo-link {
	border-bottom: none !important;
}

#header .logo-link:hover {
	border-bottom: none !important;
}

#header h1 a {
	border-bottom: none;
}

#header h1 a:hover {
	border-bottom: none;
}

/* ===== Language Switcher ===== */
.lang-switcher {
	display: inline-block;
	margin-right: 1.5em;
	vertical-align: middle;
}

.lang-btn {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.5);
	color: rgba(255,255,255,0.75);
	padding: 0.25em 0.6em;
	margin: 0 0.15em;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 3px;
	transition: all 0.2s ease;
	font-family: inherit;
}

.lang-btn:hover {
	border-color: #F57C00;
	color: #F57C00;
}

.lang-btn.active {
	background: #F57C00;
	border-color: #F57C00;
	color: #fff;
}

/* ===== Brand Color Overrides ===== */

/* Banner overlay with green tint */
#banner {
	background-color: #1a472a;
	background-image: linear-gradient(to top, rgba(30, 80, 40, 0.85), rgba(30, 80, 40, 0.45)), url("../../images/bg.jpg");
}

#banner .inner {
	text-align: center;
}

#banner .logo {
	background: rgba(255,255,255,0.92);
	border-radius: 12px;
	padding: 1em 1.5em;
	display: inline-block;
	width: auto;
	height: auto;
	border: none;
}

#banner .actions {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
}

/* Primary button - Orange */
.button.primary,
input[type="submit"],
input[type="reset"],
input[type="button"],
button.primary {
	background-color: #F57C00 !important;
	border-color: #F57C00 !important;
	color: #fff !important;
}

.button.primary:hover,
input[type="submit"]:hover {
	background-color: #EF6C00 !important;
	border-color: #EF6C00 !important;
}

/* Secondary button */
.button:not(.primary) {
	color: #fff !important;
	border-color: rgba(255,255,255,0.5) !important;
}

.button:not(.primary):hover {
	border-color: #F57C00 !important;
	color: #F57C00 !important;
}

/* Special links (Learn More) */
.special {
	color: #F57C00 !important;
	border-bottom-color: #F57C00 !important;
}

.special:hover {
	color: #EF6C00 !important;
}

.special::after {
	border-color: #F57C00 !important;
}

/* Section accent colors - Green */
#wrapper > section.wrapper.style1 .content h2.major::after,
.wrapper.style1 h2.major::after {
	background-color: #F57C00;
}

#wrapper > section.wrapper.style2 .content h2.major::after,
.wrapper.style2 h2.major::after {
	background-color: #F57C00;
}

#wrapper > section.wrapper.style3 .content h2.major::after,
.wrapper.style3 h2.major::after {
	background-color: #F57C00;
}

h2.major::after {
	background-color: #F57C00 !important;
}

h3.major::after {
	background-color: #F57C00 !important;
}

/* Section backgrounds with green tones */
#wrapper > section.wrapper.style1 {
	background-color: #2E7D32;
}

#wrapper > section.wrapper.style2 {
	background-color: #1B5E20;
}

#wrapper > section.wrapper.style3 {
	background-color: #2E7D32;
}

.wrapper.alt.style1 {
	background-color: #212121;
}

/* Footer */
#footer {
	background-color: #1a1a1a;
}

#footer .major::after {
	background-color: #F57C00 !important;
}

/* Contact icons */
#footer .contact li a {
	color: #F57C00;
	border-bottom-color: transparent;
}

#footer .contact li a:hover {
	color: #EF6C00;
}

/* Form focus states */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
	border-color: #F57C00 !important;
}

/* ===== Page Header ===== */
.page-header {
	background-color: #2E7D32;
	background-image: linear-gradient(to right, rgba(30, 80, 40, 0.9), rgba(46, 125, 50, 0.85));
	padding: 8em 0 4em 0;
}

/* ===== Timeline (About page) ===== */
.timeline {
	position: relative;
	padding: 1em 0;
	margin: 2em 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #F57C00;
}

.timeline-item {
	position: relative;
	padding-left: 60px;
	margin-bottom: 2em;
}

.timeline-marker {
	position: absolute;
	left: 12px;
	top: 5px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #F57C00;
	border: 3px solid #1a1a1a;
}

.timeline-content h4 {
	color: #F57C00;
	margin-bottom: 0.5em;
	font-size: 1.1em;
}

.timeline-content p {
	margin-bottom: 0;
	opacity: 0.85;
}

/* ===== Service Steps (Services page) ===== */
.service-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	margin: 2em 0;
	justify-content: center;
}

.step {
	flex: 1 1 200px;
	max-width: 250px;
	text-align: center;
	padding: 1.5em 1em;
	background: rgba(255,255,255,0.03);
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.08);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
	transform: translateY(-4px);
	border-color: #F57C00;
}

.step-icon {
	font-size: 2em;
	color: #F57C00;
	margin-bottom: 0.5em;
}

.step h4 {
	color: #fff;
	margin-bottom: 0.5em;
}

.step p {
	font-size: 0.9em;
	opacity: 0.8;
}

/* ===== Features list on services page ===== */
.wrapper .inner ul li {
	padding: 0.5em 0;
	list-style: none;
}

/* ===== Responsive Adjustments ===== */
@media screen and (max-width: 980px) {
	.lang-switcher {
		margin-right: 1em;
	}

	.lang-btn {
		padding: 0.2em 0.5em;
		font-size: 0.65em;
	}

	.banner-logo {
		max-width: 220px;
	}

	.service-steps {
		gap: 1em;
	}

	.step {
		max-width: 100%;
		flex: 1 1 150px;
	}
}

@media screen and (max-width: 736px) {
	.lang-switcher {
		margin-right: 0.8em;
	}

	.lang-btn {
		padding: 0.15em 0.4em;
		font-size: 0.6em;
	}

	.header-logo {
		height: 28px;
	}

	.banner-logo {
		max-width: 180px;
	}

	#banner .logo {
		padding: 0.75em 1em;
	}

	.service-steps {
		flex-direction: column;
		align-items: center;
	}

	.step {
		max-width: 100%;
	}

	.timeline::before {
		left: 15px;
	}

	.timeline-item {
		padding-left: 45px;
	}

	.timeline-marker {
		left: 8px;
		width: 16px;
		height: 16px;
	}
}

@media screen and (max-width: 480px) {
	.lang-switcher {
		margin-right: 0.5em;
	}

	.lang-btn {
		padding: 0.1em 0.35em;
		font-size: 0.55em;
		margin: 0 0.1em;
	}

	.header-logo {
		height: 24px;
	}
}

/* ===== Scrollbar brand color ===== */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
	background: #2E7D32;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #F57C00;
}