/* 
Theme Name: Genie Vehicles
Theme URI: https://genievehicles.com/
Author:	Freelance-Creator
Author URI:	https://www.freelance-creator.com/
Template: astra
Version: 1.0.0
*/ 

.site-logo-img img {
	filter: none;
}

.ast-site-identity {
	padding: 0.5em 0;
}

/* Astra Header/Footer Builder CSS */
#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

#ast-desktop-header.active, #ast-mobile-header.active {
	background-color: #0B151C;
	box-shadow: 0px 1px 1px #EEE;
	padding: 0;
}

.home #ast-desktop-header.active, .home #ast-mobile-header.active {
	box-shadow: none;
}

#ast-desktop-header.active img.custom-logo, #ast-mobile-header.active img.custom-logo {
	width: 120px!important;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

/* Vehicles Archive */
.ast-separate-container .ast-blog-layout-4-grid .ast-article-inner, .ast-plain-container .ast-blog-layout-4-grid .ast-article-inner {
	border-radius: 10px;
}

.post-type-archive-vehicles .entry-title {
	font-size: 20px;
}

.post-type-archive-vehicles article .post-thumb, .search article .post-thumb, .tax-vehicle_category article .post-thumb {
	overflow: hidden;
}

.post-type-archive-vehicles article .post-thumb img, .search article .post-thumb img, .tax-vehicle_category article .post-thumb img {
	width: 100% !important;
	height: 200px !important;
	object-fit: cover !important;
	display: block;
}

.ast-separate-container .ast-article-inner {
	background-color: #FFF;
}

.vehicle-pricing-info {
	margin: 10px 0 15px 0;
	border-radius: 4px;
}
		   
.vehicle-price {
	font-size: 1.1em;
	margin-bottom: 10px;
}

.vehicle-code {
	color: #C2396F;
	font-size: 1.1em;
	margin-bottom: 10px;
}

.vehicle-deposit {
	background-color: #333333;
	color: #FFF;
}

.vehicle-monthly {
	background-color: #F4BE54;
	color: #FFF;
}

.vehicle-bottom-row {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.vehicle-deposit, .vehicle-monthly {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	font-size: 14px;
	border-radius: 10px;
	line-height: 1.4;
	text-align: center;
}

.vehicle-buttons-wrapper {
	margin: 15px 0;
}

.vehicle-buttons-group {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}

.vehicle-btn {
	font-size: 12px;
	padding: .7em 1em;
	text-align: center;
}

.fom-btn {
	background-color: #333333;
}

.fom-btn:hover {
	background-color: #000;
}

.vehicle-disclaimer {
	font-size: 11px;
	line-height: 1.3;
	font-style: italic;
}

@media (max-width: 1024px) {
	.post-type-archive-vehicles article .post-thumb img, .tax-vehicle_category article .post-thumb img {
		height: 300px !important;
	}
}

@media (max-width: 768px) {
	.vehicle-buttons-group {
		flex-direction: column;
		gap: 8px;
	}
	
	.vehicle-deposit, .vehicle-monthly {
		line-height: 1.8;
	}
}

@media (max-width: 480px) {
	.post-type-archive-vehicles article .post-thumb img, .tax-vehicle_category article .post-thumb img {
		height: 200px !important;
	}
	
	.vehicle-bottom-row {
		flex-direction: column;
		gap: 5px;
	}
	
	.vehicle-deposit, .vehicle-monthly {
		min-height: auto;
		width: 100%;
	}
}

.no-results .search-form {
	display: none;
}

/* Vehicle Single */
.vehicle-single {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Header Section */
.vehicle-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 0 0 30px 0;
	padding: 20px 20px 20px 20px;
	border-bottom: 3px solid #368dbe;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	background: linear-gradient(135deg, #F4BE54 0%, #C2396F 100%);
	color: white;
}

.vehicle-title-section h1.vehicle-title {
	font-size: 2.5em;
	margin: 0 0 10px 0;
	color: white;
}

.vehicle-subtitle {
	font-size: 1.2em;
	color: white;
	font-weight: 500;
}

.vehicle-pricing-header {
	text-align: right;
}

.vehicle-price-main {
	font-size: 2.2em;
	font-weight: bold;
	color: #f4be54;
	margin-bottom: 5px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.vehicle-pricing-details {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 1em;
	color: white;
}

.vehicle-quote-code {
	margin-top: 10px;
	font-size: 0.9em;
	color: #f4be54;
}

/* Images and Action Section */
.vehicle-images-actions {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	margin: 0 0 30px 0;
	align-items: start;
}

.vehicle-images {
	margin: 0;
}

.vehicle-featured-image {
	text-align: center;
}

.vehicle-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Content Wrapper */
.vehicle-content-wrapper {
	margin: 0 0 30px 0;
}

.vehicle-main-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Key Facts Section */
.vehicle-key-facts h2 {
	color: #0b151c;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #368dbe;
	font-size: 1.8em;
}

.key-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.key-fact-item {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	background: linear-gradient(135deg, #368dbe 0%, #f4be54 100%);
	border-radius: 10px;
	color: white;
	box-shadow: 0 4px 12px rgba(54, 141, 190, 0.3);
	transition: transform 0.3s ease;
}

.key-fact-item:hover {
	transform: translateY(-2px);
}

.fact-label {
	font-weight: 600;
	color: white;
}

.fact-value {
	font-weight: 700;
	color: white;
}

/* Description Section */
.vehicle-description h2 {
	color: #0b151c;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #368dbe;
	font-size: 1.8em;
}

.vehicle-content {
	line-height: 1.8;
	color: #0b151c;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 10px;
	border-left: 5px solid #f4be54;
}

/* Specifications Section */
.vehicle-specifications h2 {
	color: #0b151c;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #368dbe;
	font-size: 1.8em;
}

.specifications-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 25px;
}

.spec-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 12px;
	padding: 25px;
	border-top: 4px solid #368dbe;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.spec-section h3 {
	color: #0b151c;
	margin-bottom: 20px;
	font-size: 1.3em;
	border-bottom: 2px solid #f4be54;
	padding-bottom: 8px;
}

.spec-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #dee2e6;
}

.spec-item:last-child {
	border-bottom: none;
}

.spec-label {
	font-weight: 600;
	color: #0b151c;
	flex: 1;
}

.spec-value {
	font-weight: 700;
	color: #368dbe;
	text-align: right;
}

/* Sidebar */
.vehicle-sidebar {
	position: sticky;
	top: 60px;
	height: fit-content;
}

.vehicle-actions {
	background: white;
	border: none;
	border-radius: 15px;
	padding: 25px;
	box-shadow: 0 8px 24px rgba(11, 21, 28, 0.3);
}

.vehicle-action-btn {
	display: block;
	text-align: center;
	padding: 15px 20px;
	margin-bottom: 15px;
	text-decoration: none;
	border-radius: 10px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	font-size: 1.1em;
}

.primary-btn {
	background: #368dbe;
	color: white;
}

.primary-btn:hover {
	background: #0b151c;
	color: white;
	transform: translateY(-3px);
}

.secondary-btn {
	background: #f4be54;
	color: white;
	border-width: 3px;
}

.secondary-btn:hover {
	background: #0b151c;
	color: white;
	transform: translateY(-3px);
}

.vehicle-disclaimer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 2px solid rgba(244, 190, 84, 0.3);
}

.vehicle-disclaimer p {
	margin: 0;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
	.ast-separate-container #primary {
		padding: 0;
	}
}

@media (max-width: 968px) {
	.vehicle-images-actions {
		grid-template-columns: 1fr;
		gap: 25px;
		margin: 0 0 25px 0;
	}

	.vehicle-content-wrapper {
		margin: 0 0x 25px 0;
	}

	.vehicle-header {
		flex-direction: column;
		gap: 20px;
		margin: 0 0 25px 0;
		padding: 20px 15px;
	}

	.vehicle-pricing-header {
		text-align: left;
	}

	.key-facts-grid {
		grid-template-columns: 1fr;
	}

	.specifications-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.vehicle-single {
		padding: 0;
	}

	.vehicle-header {
		padding: 15px;
	}

	.vehicle-images-actions {
		margin: 0 0 20px 0;
	}

	.vehicle-content-wrapper {
		margin: 0 0 20px 0;
	}

	.vehicle-title-section h1.vehicle-title {
		font-size: 2em;
	}

	.vehicle-price-main {
		font-size: 1.8em;
	}

	.key-fact-item,	.spec-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.spec-value {
		text-align: left;
		font-size: 1.1em;
	}

	.specifications-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.spec-section {
		padding: 20px;
	}
}

/* Content */
.error404 #content {
	margin-top: 100px;
}

/* Sidebar */
#secondary {
	margin: 7.2em 0 2.5em;
}

.sidebar-main {
	padding-top: 80px;
}

@media (max-width: 1184px) {
	.ast-container {
		display: flex;
		flex-direction: column;
	}
	
	#primary {
		order: 2;
	}
	
	#secondary {
		margin: 5em 0 0;
		order: 1;
	}
}

@media (max-width: 544px) {
	.sidebar-main {
		padding-top: 50px;
	}
}