@charset "utf-8";
body {
	background-color: #E9E5CD !important;
	color: #75420E;
	font-family: "Inter", sans-serif;
	align-content: flex-start;
}

.navbar-brand {
	font-family: "Inter", sans-serif;
	color: #553B08;
	font-weight: 300;

}

.search {
	text-align: center;
	color: #86A668;
	border: 2px none;
	border-radius: 15px;
}

.nav {
	background-color: #2E4E3F;
	padding: 6px 12px;
	box-sizing: border-box;
	margin: 0 auto;
	width: 50%;
	border-radius: 15px;
	display: flex;
	flex-direction: row;
	justify-content: center; 
	align-content: center;
	gap: 40px;
}

.nav-link {
	color: #F4F3F3 !important;
}

.nav-link:hover {
	color: #86A668 !important;
	text-decoration: underline;
}

.herosection {
	justify-content: center;
	align-items: center;
	text-align: center;
	display: flex;
	flex-direction: column;
	padding: 0.5rem;
}

.bikeguy-layout {
	display: flex;
	align-items: stretch;
	max-width: 100%;
	margin: 0 auto;
	flex-wrap: wrap;
}

.right-side {
	flex: 1;
	min-width: 300px;
	max-width: 50%;
	align-content: flex-start;
	text-align: justify;
	margin: 8rem 0rem;
}

.right-side p {
	text-align: justify;
	margin: 2rem 0rem;
}

.right-side button {
	align-content: center;
}

.left-side {
	flex: 1;
	min-width: 300px;
	max-width: 50%;
	margin: 2rem 4rem 2rem 0rem;
}

.submit-btn {
	background-color: #86A668;
	color: #F4F3F3;
	border: 2px solid #86A668;
	border-radius: 25px;
	padding: 0.75rem 2rem;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 1rem;
	margin: 1rem 0rem;
	align-items: center;
}

.submit-btn:hover {
	background-color: #F4F3F3;
	color: #86A668;
	border: 2px solid #86A668;
}

.bike-title {
	font-family: "Playfair Display", serif;
	font-size: 3rem;
	margin: 1rem 0rem;
	font-weight: 600;
	color: #75420E;
}

.bike-series {
	color: #75420E;
	font-family: "Inter", sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
}

.bike-author {
	color: #2E4E3F;
	font-size: 1rem;
	margin: 1rem 0rem;
	font-weight: 500;
	font-family: "Inter", sans-serif;
}

.section-line {
	border: none;
	height: 4px;
	background-color: #75420E;
	width: 400px;
}

.readersenjoyed {
	margin: 3rem 0rem;
}

.discover-scroll {
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 0;
	justify-content: start;
}


.discover-card {
	min-width: 200px;
	flex-shrink: 0;
}

.book-title {
	font-family: "Playfair Display", serif;
	font-size: 1rem;
	margin: 1rem 0rem;
	color: #3F2900;
}

.book-author {
	font-family: "Inter", sans-serif;
	font-size: 0.85rem;
	margin: 0.25rem 0rem;
	color: #6F5A31;
}

.sectiontitle {
	color:#553B08;
	margin: 2rem 0rem;
	font-family: "Inter", sans-serif;
	font-weight: 600;
}

.clear-btn {
	background-color: #F4F3F3;
	color: #3F2900;
	border: 2px solid #553B08;
	border-radius: 25px;
	padding: 0.75rem 2rem;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 1rem;
	margin: 1rem;
}

.clear-btn:hover {
	background-color: #3F2900;
	color: #F4F3F3;
	border: 2px solid #553B08;
}

.ratings {
	margin: 3rem 0rem;
}

.community {
	margin: 3rem 0rem;
}

.site-footer {
  background-color: #E9E5CD;
  border-top: 1px solid rgba(85, 59, 8, 0.2); /* soft brown border */
  font-family: "Inter", sans-serif;
}

.footer-heading {
	font-family: "Playfair Display", serif;
	color: #3F2900;
	font-size: 1rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #75420E;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #2E4E3F;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  color: #553B08;
  font-size: 2rem;
  margin: 0;
}

.footer-line {
  border: none;
  height: 2px;
  background-color: #86A668;
  width: 60px;
  margin: 0 0 0.5rem auto;
}

.footer-social img {
	width: 30px;
	margin: 0 0.5rem;
	transition: opacity 0.3s ease;
	background-color: #F4F3F3;
	border: 2px solid #889E7480;
	border-radius: 12px;
}

.footer-social img:hover {
  opacity: 0.7;
}

.footer-divider {
  border-color: #2E4E3F;
  margin: 2rem 0 1rem;
}

.copyright-text {
  font-size: 0.85rem;
  color: #86A668;
}

@media (max-width: 992px) {
  .bikeguy-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .right-side, .left-side {
    max-width: 90%;
    margin: 2rem 0;
  }

  .nav {
    width: 80%;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .ratingsimg, .communitycomment {
    width: 90%;
  }

  .discover-card {
    min-width: 160px;
  }
}

/* Small devices (phones, up to 767px) */
@media (max-width: 767.98px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .search input {
    width: 100%;
    margin: 0.5rem 0;
  }

  .right-side, .left-side {
    max-width: 100%;
    margin: 1rem 0;
  }

  .bike-title {
    font-size: 2rem;
  }

  .submit-btn, .clear-btn {
    width: 100%;
  }

  .section-line {
    width: 60%;
  }

  .footer-social img {
    width: 24px;
  }

  .footer-heading {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .communityslabs img {
    width: 100%;
    margin-bottom: 1rem;
  }
}


@media (max-width: 360px) {
  .bike-title {
    font-size: 1.5rem;
  }

  .sectiontitle {
    font-size: 1.2rem;
  }

  .submit-btn, .clear-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
  }

  .footer-logo {
    font-size: 1.2rem;
  }
}
