section.motorhome-overview{
	padding:90px 5%;
}

section.motorhome-overview .row{
	display:flex;
	gap:30px;
	align-items:flex-start;
}

section.motorhome-overview .lhs {
	width:45%;
}

section.motorhome-overview .rhs{
	width:55%;
}


section.motorhome-overview .lhs.exterior-image,
section.motorhome-overview .lhs.plan-image{
	display: flex;
	align-items: center;
	mix-blend-mode: multiply;	
}

section.motorhome-overview .lhs.exterior-image {
	position: sticky;
	top: 140px;
}

section.motorhome-overview .lhs.exterior-image img,
section.motorhome-overview .lhs.plan-image img{
	width:100%; 
	height:auto;
	display:block;
}

div.gearbox {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

div.gearbox:before {
	content: '';
	width: 32px;
	height: 32px;
	background-image: url('assets/shifter.svg');
	display: block;
	background-size: contain;
	background-repeat:no-repeat;
}

section.motorhome-overview .rhs p {
	margin-top:0;
}

div.gearbox p{
	font-weight:600;
}

.features {
	background:var(--main-color);
	padding: 20px;
	border-radius: 8px;
}

.features h3 {
	color: var(--white-color);
	  font-size: 1.25em;
	  font-weight: 600;
}
.features ul{
	list-style:none;
	margin:10px 0 0 0;
	column-count: 2;
}

#virtual-tour {
	width: 100%;
	position: relative;
	height: auto;
	display: flex;
	justify-content: center;
	padding: 0 2px;
}

#virtual-tour .wrapper {
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	overflow:hidden;
	position: relative;
}

#virtual-tour iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
}

.pricing {
	position: relative;
	width: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
	margin: 45px 0 0 0;
}

.pricing .max-width {
	max-width: 700px;
	width: 100%;
	position: relative;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 0 10px #f0f0f0;
	padding: 50px 40px;
	margin: 45px 0 0;
}

.pricing h3 {
	margin: 0 0 20px 0;
}

.pricing hr {
	margin: 20px 0;
	width: 100%;
	border: none;
	height: 1px;
	background: #efd2c8;
}


.features ul li{
	line-height:1.5em;
	padding-left:30px;
	position:relative;
	color:#333;
	font-weight:400;
	color: var(--white-color);
}
.features ul li:before{
	content:'\f058';
	font-family:'Font Awesome 5 Pro';
	position:absolute;
	top:0;
	left:0;
	color: #f9df91;
}

/* SPECS */
section.motorhome-overview div.specs{
	background: var(--orange-color);
	padding: 20px;
	margin: 90px 10px;
	display: flex;
	justify-content: space-around;
	border-radius:24px;
	flex-wrap: wrap;
}

section.motorhome-overview div.spec {
	display: flex;
	flex-direction: column;
	color: #fff;
	align-items: center;
	margin: 0 10px;
}
section.motorhome-overview div.spec .number{
	font-family: var(--main-font);
	font-size:48px;
	font-weight:400;
	-moz-osx-font-smoothing: grayscale;
	  text-rendering: geometricprecision;
}
section.motorhome-overview div.spec .description {
	text-transform: uppercase;
	font-weight: 500;
}

/* GALLERY */

section.motorhome-gallery{
	display:flex;
	flex-wrap:wrap;
	gap:2px;
	margin: 2px 0;
	justify-content: center;
	position: relative;
	height: auto;
}
div.motorhome-gallery-image{
	width: calc(25% - 2px); /* Adjust width to account for the gap */
}
div.motorhome-gallery-image img{
	width:100%;
	height:auto;
	display:block;
	transition: all 0.3s;
}

div.motorhome-gallery-image:hover img {
	filter:brightness(0.7);
	transition: all 0.3s;
}


@media screen and (max-width:800px){
	div.motorhome-gallery-image {
		width: calc(25% - 0.5%);
	}
}

@media screen and (max-width:500px){
	div.motorhome-gallery-image {
		width: calc(33% - 2px);
	}
}

@media screen and (max-width:400px){
	div.motorhome-gallery-image {
		width: calc(50% - 2px);
	}
}




/* WE NEED TO INCLUDE THE MAIN IMAGE CSS AGAIN */
section.main-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 50vh;
	transition:all 0.3s;
}
section.main-image div.image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
}
section.main-image div.image:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
}
section.main-image .info {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;
	padding: 0 4%;
	
}
section.main-image .info h1 {
	font-weight: 400;
	font-size: 5vw;
	line-height: 1em;
	color:#fff;
	margin:0 auto;
	max-width:900px;
}

section.main-image .info h1:after{
	display:none;
}
section.main-image .info p.text {
	margin:15px 0;
	transition:all 1.5s 0s;
	transform:translateY(0);
	font-size:1.5em;
	font-weight:400;
	color:#fff;
	max-width: 640px;
	margin: 0 auto;
	line-height:1.2em;
}

section.main-image div.image:after {
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	background:rgba(0,0,0, 0.4);
}

@media screen and (max-width:1020px){
	.features ul li {
		font-size: 0.9em;
	}
}

@media screen and (max-width:800px){
	section.motorhome-overview .row{
		flex-direction: column;
	}
	
	section.motorhome-overview .lhs, 
	section.motorhome-overview .rhs {
		width: 100%;
	}
	
	section.motorhome-overview .lhs.exterior-image {
		position: relative;
		top: auto;
	}
	
	.pricing {
		text-align: left;
	}
}

@media screen and (max-width:540px){
	section.main-image .info h1{
		font-size:2.25em;
	}
}

@media screen and (max-width:420px){
	.features ul {
		column-count: 1;
	}
}

@media screen and (min-width:1024px){
	section.main-image .info h1{
		font-size:4.5em;
	}
}