	/* http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
	*/

	html, body, div, span, applet, object, iframe,
	h1, h2, h3, h4, 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;
	}
	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;
	}

/* ========= END OF RESET ========= */

/* ========= BASIC STYLING ========= */
 body {
	font-family: "Montserrat", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1rem; 
	color: #333;
	line-height: 1.5; 
	background-color: white;
 }

h1, h2, h3 {
	font-family: "lexia-hebrew", Georgia, 'Times New Roman', Times, serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.2;
	color: #c43b4c;
}

/*=========== NAV BAR STYLING ===========*/
nav {
	background-color: white;
	padding: 20px 40px;
	border-bottom: 1px solid #ddd;
	display: flex;
	font-family: "Montserrat", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: .5rem;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
	
/*WHEEL ICON SIZE*/
nav > div > img {
	height: 80px;
	width: 80px;
	transition: transform 0.3s ease;
}

/*WHEEL ANIMATION*/
nav > div:hover > img {
	transform: rotate(45deg);
}

/*NAV BAR: DROP DOWN MENU*/
nav > div {
	position: relative;
}

nav > div > ul {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background-color: white;
	min-width: 200px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
	border-radius: 4px;
	z-index: 1000;
}

/* DROP DOWN ON HOVER */
nav > div:hover > ul {
    display: block;
}

/* DESIGN FOR DROP DOWN MENU */
nav > div > ul a {
	color: #333;
	padding: 12px 20px;
	text-decoration: none;
	display: block;
}

nav > div > ul a:hover {
	font-family: "Montserrat", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	color: #c43b4c;
}

nav .current {
    color: #c43b4c;
    font-weight: 700;
}

/* MOBILE PHONE LINK */
.mobile-phone {
    position: absolute;
    top: 95px;
    left: 40px;
    color: #c43b4c;
    font-size: 0.9rem;
    text-decoration: none;
}

.mobile-phone:hover {
    text-decoration: underline;
}

/*=========== HERO SECTION STYLING - INDEX PAGE ===========*/
#hero {
  position: relative;
  width: 100%;
  height: 500px;
  min-height: 400px;
}

/* BACKGROUND IMAGE*/
#hero img:first-of-type {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* BIKE IMAGE */
#hero img:nth-of-type(2) {
  position: absolute;
  bottom: -10%;
  left: 3%;
  height: 300px;
  width: auto;
  object-fit: contain;
}

/* HERO TEXT */
#hero h1 {
  position: absolute;
  top: 15%;
  left: 8%;
  color: white;
  font-size: 2.5rem;
  line-height: 1.1;
}

#hero h1 strong {
  font-weight: 700;
}

/*=========== INTRO SECTION STYLING - INDEX PAGE ===========*/
#intro-section {
  display: flex;
  flex-direction: column;
}

#intro-section div:first-child { 
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro-section div:last-child {
  background-color: #9ca888;  
  color: white;
  padding: 40px;
  display: flex;
  align-items: center;
}

#intro-section div:last-child p {
  font-family: "lexia-hebrew", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  font-style: italic;
}

#intro-section h2 {
  padding-top: 20px;
  font-size: 2.5rem;
}

#intro-section h2 strong {
  font-weight: 700;
}

/*=========== GRID SECTION STYLING - INDEX PAGE  ===========*/
#home-grid {
  padding-top: 60px;
}

#home-grid h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  padding-left: 40px;
}

/* IMAGES CONTAINERS */
#home-grid > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  background-color: #D4AF37;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 1;
}

/* GRID TEXT ON IMAGES */
#home-grid > div a {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

/* GRID IMAGES */
#home-grid > div a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* HOVER EFFECT ON THE IMAGES */
#home-grid > div a:hover img {
  transform: scale(1.05);
}

/* TEXT PLACEMENT - OVERLAY */
#home-grid > div a > span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-family: "lexia-hebrew", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
}

#home-grid > div a > span strong {
  font-weight: 700;
}

/*=========== WHAT'S IN STORE ===========*/
#brands-section {
  padding: 60px 40px 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#brands-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#brands-section h2 {
  padding-top: 20px;
}

#brands-section p {
  font-size: 1.4rem;
  line-height: 1.5;
}

/* BRAND LOGOS CIRCLES */
#brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 45px;
  max-width: 480px;
  margin: 0 auto;
}

#brands-grid img {
  background-color: #D4AF37;
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 25px;
}

/* PRODUCT GRID SECTION */
#products-grid { 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	padding: 40px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

#products-grid > div {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

#products-grid > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Overlay */
#products-grid > div > span {
	position: absolute; 
	left: 0;
	right: 0;
	bottom: 0; 
	background: rgba(172, 162, 162, 0.9);
	color: white;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 2px;
	padding: 10px;
}

/*=========== BIKE CARE, CYCLE CLUB, ABOUT US ===========*/
#bike-care,
#cycle-club,
#our-story {
	display: flex;
	flex-direction: column;
}

#bike-care img,
#cycle-club img,
#our-story img {
	width: 100%;
	height: 400px;
	object-fit: cover; 
	display: block;
}

#bike-care h1,
#cycle-club h1,
#our-story h1 {
	font-size: 2rem; 
	margin-bottom: 20px;
	padding: 20px 30px 0;
}

#bike-care p,
#cycle-club p,
#our-story p {
	font-size: 1.3rem; 
	line-height: 1.5;
	margin-bottom:20px; 
	padding: 0 30px;
}

#bike-care ul,
#cycle-club ul,
#our-story ul{
	font-size: 1.2rem;
	margin-left: 80px;
	margin-bottom: 20px; 
}

#bike-care li,
#cycle-club li,
#our-story li{
	line-height: 1.5;
	list-style: disc;
}

#bike-care em,
#cycle-club em,
#our-story em {
	font-style: italic; 
}

#bike-care > div:first-child,
#cycle-club > div:first-child,
#our-story > div:first-child {
	position:relative;
}

#bike-care > div:first-child > span,
#cycle-club > div:first-child > span,
#our-story > div:first-child > span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #59595966;
	color: white;
	font-family: "lexia-hebrew", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/*=========== FIND US PAGE ===========*/
#find-us {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

#find-us h1 {
    font-size: 2.5rem;
}

#contact-info h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 10px;
}

#contact-info address,
#contact-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: normal;
}

#contact-info a {
    color: #c43b4c;
    text-decoration: none;
}

#contact-info a:hover {
    text-decoration: underline;
}

#map {
    margin-top: 40px;
}

#map iframe {
    border-radius: 8px;
}

/*=========== FOOTER STYLING ===========*/
footer {
  background-color: #D4AF37;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

footer h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer p , 
footer address {
  font-size: 1.2rem;
  line-height: 1.2;
  color: #333;
  margin-bottom: 8px;
}

/* FOOTER LINKS */
footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  color: #c43b4c;
  text-decoration: underline;
}

/* COPYRIGHT SECTION */
footer > p {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
}

/*=========== RESPONSIVE DESIGN SECTIONS ===========*/

/*==== DESKTOP VIEW - 600px and up ====*/
@media (min-width: 600px) {
 /* HERO SECTION STYLING */
	#hero {
		position: relative;
		width: 100%;
		height: 500px;
		min-height: 400px;
	}

 /* BIKE IMAGE */
	#hero img:nth-of-type(2) {
		position: absolute;
		bottom: -30%;
		left: 15%;
		height: 400px;
		width: auto;
		object-fit: contain;
	}

 /* HERO TEXT */
	#hero h1 {
		font-size: 3rem;
	}

	#intro-section h2 {
		padding-top: 100px;
	}

	#home-grid {
		padding-top: 40px;
	}

 /* BIKE CARE */
	#bike-care img,
	#cycle-club img,
	#our-story img {
		height: 300px;
	}

	.mobile-phone {
    display: none;
}
}


/*==== DESKTOP VIEW - 850px and up ====*/
@media (min-width: 850px) {
 /* NAV BAR STYLING */
	nav > div > img {
			display: none !important; /* needed to add this to over ride original design, it kept glitching */
		}

 /* Drop down changes to regular horizontal Nav Bar */
	nav > div > ul {
		display: flex !important; /* needed to add this to over ride original design, it kept glitching */
		position: static;
		background-color: transparent; 
		box-shadow: none;
		border-radius: 0; 
		min-width: auto;
		gap: 10px; 
	}

	nav > div > ul li {
		display: inline; 
	}

 /* Horizontal link styles */
	nav > div > ul a {
		padding: 10px 20px;
		border-radius: 4px; 
	}

	nav > a img {
		height: 60px;
	}

 /* HERO SECTION STYLING */
	#hero {
		position: relative;
		width: 100%;
		height: 500px;
		min-height: 400px;
	}

 /* BIKE IMAGE */
	#hero img:nth-of-type(2) {
		bottom: -30%;
		left: 37%;
		height: 400px;
	}

 /* HERO TEXT */
	#hero h1 {
		font-size: 4rem;
	}

 /* INTRO TEXT */
	#intro-section {
		flex-direction: row-reverse;  
		margin-top: 150px;
		margin-bottom: 50px; 
	}

	#intro-section h2 {
		padding-left: 40px;
		padding-top: 20px;
		font-size: 3rem;
	}

	#intro-section div:first-child {
		flex: 1; 
	}
	
	#intro-section div:last-child {
		flex: 1;
	}

	#intro-section div:last-child p {
	font-size: 1.6rem;
	}

 /* GRID SECTION STYLING */
	#home-grid h2 {
		font-size: 3.5rem;
		margin-bottom: 40px;
	}

	#home-grid > div {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr;
		max-width: 100%;
		aspect-ratio: 4/1;
	}

	#home-grid > div a > span {
		font-size: 2.5rem;
		padding-left: 30px;
	}	

 /* BIKE CARE LAYOUT */
	#bike-care,
	#cycle-club,
	#our-story {
		flex-direction: row;
		padding: 40px;
	}

	#bike-care > div:first-child,
	#cycle-club > div:first-child,
	#our-story > div:first-child {
		flex: 1;
		max-width: 50%;
		max-height: 600px; 
		overflow: hidden;
	}

	#bike-care > div:first-child img,
	#cycle-club > div:first-child img,
	#our-story > div:first-child img {
		height: 100%;
	}

	#bike-care > div:last-child, 
	#cycle-club > div:last-child,
	#our-story > div:last-child {
		flex: 1;
		padding: 0px 60px;
	}

	#bike-care h1, 
	#cycle-club h1,
	#our-story h1{
		font-size: 3rem;
		padding: 0 2.5px;
	}

	#bike-care p, 
	#cycle-club p,
	#our-story p{
		font-size: 1.2rem;
		padding: 0 2.5px;
	}

 /* FIND US PAGE */
	#find-us {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}

	#find-us h1 {
		grid-column: 1 / -1;
	}

	#map {
		grid-column: 1;
		grid-row: 2; 
		margin-top: 0; 
	}

	#map iframe {
		height: 500px;
	}

	#contact-info {
		grid-column: 2;
		grid-row: 2;
	}
	
 /* FOOTER STYLING */
	footer {
		padding: 60px 80px 40px;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	footer > p {
		flex-basis: 100%;
		padding-top: 40px;
	}

	footer h3 {
		font-size: 1.4rem;
	}

	footer p {
		font-size: 1.1rem;
	}
	}

/* ========DESKTOP VIEW - 1000px and up =========*/
@media (min-width: 1000px) {
  /* HERO SECTION */
	#hero {
		height: 700px;
	}

	#hero img:nth-of-type(2) {
		height: 550px;
		left: 28%;
		bottom: -20%;
	}

	#hero h1 {
		font-size: 5rem;
	}

 /* INTRO SECTION */
	#intro-section div:last-child p {
		font-size: 1.7rem;  
		padding-left: 10px;
		padding-right: 10px;
	}

	#intro-section h2 {
		padding-left: 80px;
	}
  
 /* LOGO & PRODUCTS GRID */
	#brands-grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 60px;
		max-width: 800px;
	}

    #products-grid { 
		grid-template-columns: 1fr 1fr 1fr;
	}
	}

/* ========DESKTOP VIEW - 1200px and up =========*/
@media (min-width: 1200px) {
  /* HERO SECTION */
	#hero {
		height: 700px;
	}

	#hero img:nth-of-type(2) { 
		height: 550px;
		left: 38%;
		bottom: -20%;
	}
}

/* ========DESKTOP VIEW - 1500px and up =========*/
@media (min-width: 1500px) {
 /* HERO SECTION */
	#hero {
		height: 700px;
	}

	#hero img:nth-of-type(2) { 
		height: 680px;
		left: 45%;
		bottom: -25%;
	}
}
