h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
  margin: 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*{
  box-sizing: border-box;
}



/************************************************************************/

@font-face {
	font-family: Montserrat;
	src: url('../assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}
.wrapper{
  background: green;
  height: 100px;
  width: 100px;
  
}

:root{
	--primary-red: #dd1d3d;
	--icon-red: hsl(350, 77%, 90%);
	--green-variant: hsl(69, 65%, 51%);
	--icon-green: hsl(69, 65%, 90%);
	--blue-variant: hsl(198, 77%, 49%);
	--icon-blue: hsl(198, 77%, 90%);
	--background-color: #D2EEF9;
	--main-font-color: #393232;
	--section-height: calc(100svh - var(--header-height));
}

html{
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

body{
	font-family: Montserrat;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	
}

.primary-highlight {
	color: #DE1D3D;
}

h1, h2{
	font-family: Montserrat;
	font-variant: small-caps;
}

button,a {
	cursor: pointer;
}

button > a {
	text-decoration: none;
	color: white;
}
html{
	height: 100%;
}

.error-section{
	text-align: center;
	margin-top: 10%;
}

.error-text{
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 3rem;
}

/* Header */

.nav-header{
	display: flex;
	width: 100%;
	padding: 1rem min(4rem, 10svw);
	position: fixed;
	top: 0;
	/* adjust navheader further */
	justify-content: space-between;
	align-items: center;
	transition: all 0.5s;
	z-index: 20;
	
}

.evelyns-slingshot-logo{
	max-width: min(100px, 15svw);
}

.nav-links{
	display: flex;
	max-width: 100%;
	gap: 2rem;
	color: var(--main-font-color);
	font-size: clamp(0.8rem, 0.5535rem + 0.7887vw, 1.5rem);
	font-variant: small-caps;
	font-weight: 600;
	transition: all 0.5;
}

.nav-link {
	text-decoration: none;
	color: white;
}

.nav-header.nav-hero-style  a{
	/* color: white; */
}

/* .nav-header.nav-standard-style a{
	color: var(--main-font-color);
} */

.nav-hero-style{
	background: transparent;
}

.nav-standard-style {
	background: white;
	box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
}

.nav-standard-style .nav-link {
	color: var(--main-font-color);
}
.nav-link.active{
	color: var(--primary-red);
}

.hamburger-button {
	border: none;
	background: none;
	padding: 0;
	display: none;
}

.hamburger-button > svg {
	color: var(--main-font-color);
	width: min(3rem, 10svw);
	padding: 0;
}

.main-font-color{
	color: var(--main-font-color);
}

/* Hero */
.hero-section{
	display: flex;
	flex-direction: column;
	height: 100svh;
	width: 100%;
	padding: 0 clamp(4rem, 1.1831rem + 9.0141vw, 12rem);
	justify-content: center;
	gap: 3rem;
	background-image: url("../assets/images/hero-carousel/car-0.JPG");
}

.background-image {
	background-color: rgba(0, 0, 0, 0.6);
	background-blend-mode: darken;
	background-repeat: no-repeat;
	background-size: cover;
	object-fit: cover;
}

.hero-text-wrapper {
	display: flex;
	gap: 2rem;
	flex-direction: column;
	color: white;
	text-shadow: rgba(0, 0, 0, 0.4) 0 4px 4px;
}

.site-title {
	font-size: clamp(2.5rem, 2.2rem + 1.5vw, 4rem);
	margin: 0;
}

.hero-text-intro {
	font-size: clamp(0.8rem, 0.76rem + 0.2vw, 1rem);
}

.book-now-button {
	font-family: Montserrat;
	width: fit-content;
	padding: min(1rem, 2svh) min(2rem, 4svw);
	font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
	font-weight: 600;
	text-transform: uppercase;
	border: none;
	text-decoration: none;
}

a{
	text-decoration: none;
}

.book-now-solid{
	background-color: var(--primary-red);
	color: white;
}

.book-now-transparent{
	background-color: rgba(255, 255, 255, 0);
	color: white;
	border: 3px solid white;
}

/* Book Now CTA */
.book-now-cta-section {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	
}

.scroll-image-carousel {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	width: 200%;
	grid-template-rows: 1fr;
}

.scroll-image-carousel > img{
	height: 400px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
}

.book-now-cta-wrapper {
	padding: clamp(2rem, 1.6rem + 2vw, 3rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: var(--primary-red);
}

.book-now-cta-text{
	text-align: center;
	font-size: clamp(2rem, 1.6rem + 2vw, 4rem);
}
/* About */
.about-section {
	display: flex;
	background: #f5f5f5;
	justify-content: space-evenly;
	align-items: center;
	height: 100svh;
}
.about-card img {
	width: 100%;
	object-fit: cover;
}

.about-card.text {
	font-size: clamp(0.8rem, 0.66rem + 0.7vw, 1.5rem);
	width: 600px;
	line-height: 1.75;
	padding: 0 2rem;
}

.about-card .primary-emphasis, 
.about-card .secondary-emphasis,
.about-card .tertiary-emphasis {
	font-weight: 600;
}

.secondary-emphasis{
	color: var(--blue-variant);
}

.tertiary-emphasis{
	color: var(--green-variant);
}


/* Pricing */

.pricing-section{
	color: var(--main-font-color);
	padding: 4rem 0;
	text-align: center;
	background: hsl(0, 0%, 96%);
}

.pricing-section > h2 {
	margin-bottom: 4rem;
}

.pricing-card > h2 {
	margin: 0;
}

.pricing-cards {
	display: flex;
	justify-content: center;
}

.pricing-card{
	display: flex;
	flex-direction: column;
	background: hsl(0, 0%, 99%);
	box-shadow: 1px 2px 5px 0 hsla(0, 0%, 0%, 0.3);
	width: min-content;
	border-radius: 1rem;
	gap: 2rem 0;
	padding: 4rem 2rem;
}

.pricing-card:nth-child(1){
	color: var(--blue-variant);
}

.pricing-card:nth-child(1) .pricing-book-now-button {
	background: var(--blue-variant);
}

.pricing-card:nth-child(2){
	position: relative;
	transform: scale(1.1);
	color: var(--primary-red);
	z-index: 10;
}



.pricing-card:nth-child(3){
	color: var(--green-variant);
}

.pricing-card:nth-child(3) .pricing-book-now-button {
	background: var(--green-variant);
}

.pricing-name {
	font-size: 2rem;
}

.pricing-cost {
	font-size: 3rem;
	font-weight: 600;
}

.pricing-duration {
	font-size: 1rem;
}

.pricing-book-now-button {
	font-size: 1.5rem;
	white-space: nowrap;
	padding: 0.5rem 2rem;
	text-decoration: none;
	border: none;
	background: var(--primary-red);
	color: white;
	font-weight: 600;
	font-variant: small-caps;
	border-radius: 1rem;
}


/* Gallery and Vehicle info */
.gallery-section {
	padding-top: 5rem;
	overflow: hidden;
}

.vehicle-information-wrapper{
	display: flex;
	justify-content: space-evenly;
	gap: 2rem;
}

.vehicle-information-card {
	display: block;
	border: 1px solid black;
	text-align: center;
	max-width: 400px;
	box-shadow: 1px 2px 20px 0 hsla(0, 0%, 0%, 0.3);
	padding-bottom: 5rem;
}

.vehicle-information-icon {
	position: relative;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--icon-red);
	border-radius: 4rem;
	padding: 1rem;
	width: fit-content;
}

.vehicle-information-card:nth-child(2) .vehicle-information-icon {
	background: var(--icon-blue);
}

.vehicle-information-card:nth-child(3) .vehicle-information-icon {
	background: var(--icon-green);
}

.svg{ 
	transform: scaleX(0.1);
}

.gallery-wrapper {
	margin-top: 4rem;
}

.gallery-img {
	z-index: 0;
	opacity: 1;
}

.gallery-wrapper.scroll-image-carousel{
	gap: 0.5rem;
}

/* Contact Form */

.contact-section{
	margin: 6rem 0;
	padding: 0 clamp(3rem, -0.4rem + 17vw, 20rem);
}

.contact-section > h2 {
	font-size: clamp(1.5rem, 1rem + 2.5vw, 4rem);
	text-align: center;
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	width: 100%;
	gap: 2rem 1rem;
}

.form-input-wrapper:nth-child(3n+1){
	grid-column: span 2;
}

.form-input-wrapper > label {
	font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
	font-variant: small-caps;
	font-weight: 500;
}

.form-input-wrapper > input {
	height: 2.5rem;
}

.form-input-wrapper > input, textarea {
	margin-top: 0.5rem;
	width: 100%;
	background-color: #D1d1d1;
	border: none;
}

input[type="text"], input[type="email"], input[type="tel"]{
	font-size: 1.25rem;
}

.form-input-wrapper > button {
	padding: clamp(0.5rem, 0.4rem + 0.5vw, 1rem) clamp(1rem, 0.4rem + 3vw, 4rem);
	font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
	font-family: montserrat;
	background-color: var(--primary-red);
	border: none;
	color: white;
}

.primary-emphasis {
	color: var(--primary-red);
}

/* Business Info */

.business-info-section {
	height: 100svh;
}

.business-info-map{
	height: 50svh;
}

.google-map {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.business-info-content{
	padding: 4rem;
	background: var(--primary-red);
	font-family: montserrat;
	min-height: 50svh;
	color: white;
	display: flex;
	justify-content: space-around;
}

.contact a {
	text-decoration: none;
	color: white;
	margin-top: 1rem;
}

.contact a:hover {
	color: var(--main-font-color);
}

.business-info-card {
	font-size: clamp(0.8rem, 0.76rem + 0.2vw, 1rem);
}

.business-info-card > h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
	
	font-variant: small-caps;
}

.social-media svg {
	filter: invert(97%) sepia(2%) saturate(87%) hue-rotate(196deg) brightness(120%) contrast(100%);
}

.social-media svg:hover {
	filter: invert(20%) sepia(2%) saturate(2505%) hue-rotate(314deg) brightness(85%) contrast(91%);

}

footer {
	margin-top: auto;
	padding: 0.5rem 0;
	background: hsl(0, 0%, 10%);
	color: white;
	text-align: center;
}



@media only screen and (max-width: 992px) {
	/* CTA */
	.scroll-image-carousel {
		grid-template-columns: 1fr 1fr;
		width: 100%;
		height: 300px;
	}
} 

@media only screen and (max-width: 767px) {
	/* Header */
	.hamburger-button{
		display: block;
	}

	.nav-hero-style{
		background: white;
	}

	.nav-links{
		display: none;
		position: fixed;
		background: white;
		width: 100svw;
		top: calc(min(100px, 15svw) + .8rem);
		left: 0;
		flex-direction: column;
		font-size: 1.5rem;
		gap: 0;
		color: var(--main-font-color);
	}


	.nav-header.nav-hero-style a{
		color: var(--main-font-color);
	}
	.nav-item {
		padding: 1rem;
		width: 100%;
		border-bottom: 1px solid var(--main-font-color);
		text-align: center;
	}

	.nav-item:first-child{
		border-top: 1px solid var(--main-font-color)
	}

	.nav-item:last-child{
		border-bottom: none;
	}

	/* CTA */
	.scroll-image-carousel {
		grid-template-columns: 1fr;
		height: 300px;
	}



	/* About */
	.about-section {
		flex-direction: column;
		justify-content: space-evenly;
		margin: 4rem 0;
		height: 100%;

	}

	.about-span {
		color: #9C2651;
	}
	.about-card img {
		width: 100%;

		object-fit: cover;
	}

	.about-card.text {
		width: fit-content;
		padding: 1rem;

	}

	/* Pricing */

	.pricing-section{
		color: var(--main-font-color);
		padding: 4rem 0;
		text-align: center;
		background: hsl(0, 0%, 96%);
	}
	
	.pricing-card > h2 {
		margin: 0;
	}
	
	.pricing-cards {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.pricing-card{
		display: flex;
		flex-direction: column;
		background: hsl(0, 0%, 99%);
		box-shadow: 1px 2px 5px 0 hsla(0, 0%, 0%, 0.3);
		width: min-content;
		border-radius: 1rem;
		gap: 2rem 0;
		padding: 2rem 4rem;
	}

		/* Gallery and Vehicle info */

	.vehicle-information-wrapper{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 5rem;
		padding: 0 4rem;
	}
	.vehicle-information-card{
		height: fit-content;
	}

	.gallery-wrapper {
		display: grid;
		grid-template-columns: 1fr;
	}

	.gallery-img {
		position: relative;
  		transition: opacity 2s;
		grid-row-start: 1;
		grid-column-start: 1;
	}

	/* Contact Form */
	.contact-section > h2 {
		word-wrap:unset;
	}
	.contact-form{
		grid-template-columns: none;
	}

	.form-input-wrapper:nth-child(3n+1){
		grid-column: span 1;
	}


	/*Business Info */
	.business-info-section{

	}
	.business-info-content{
		display: flex;
		flex-direction: column;
		gap: 1rem;
		justify-content: center;
		text-align: center;

	}

	.business-info-card > h3 {
		margin-bottom: clamp(0.125rem, -0.01rem + 0.675vw, 0.8rem);
	}

	.business-info-card.social-media{
		margin-top: 1rem;
	}

	footer{
		height: 4rem;
	}

} 
  