@charset "utf-8";

body {
	background-color: #E9E5CD;
}

.navbar-brand {
	font-family: "Inter", sans-serif;
	color: #553B08;
	font-weight: 300;

}

.search {
	text-align: center;
	color: #86A668;
	border: 2px none;
	border-radius: 15px;
}

.navhero {
	background: url("images/backgroundhome.png") no-repeat top;
	background-size: cover;
	min-height: 100vh; /*this one i asked chatgpt so im not so sure. . .*/
	background-repeat: no-repeat;
	width: 100%;
}

.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;
}

.nav-link:hover {
	color: #86A668;
	text-decoration: underline;
}

.herosection {
	justify-content: center;
	align-items: center;
	text-align: center;
	display: flex;
	flex-direction: column;
	padding: 10rem;
}

.heroh1 {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	color: #553B08;
}

.heroh2 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	color: #75420E;
}

.custom-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: 6rem;
}

.custom-btn:hover {
	background-color: #F4F3F3;
	color: #86A668;
	border: 2px solid #86A668;
}


.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;
}

.comment-img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 0 auto;
  display: block;
}

.carousel-control-prev {
  left: -200px; 
}

.carousel-control-next {
  right: -200px; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #2E4E3F; 
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background-size: 1rem 1rem;
  background-repeat: no-repeat;
  background-position: center;
  filter: none;
}

/* Optional: add a hover effect */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #86A668;
}

.newscarousel {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 2rem;
	padding-bottom: 1rem;
	margin: 0 auto;
}

.news-card {
	width: 450px;
	border: 2px solid #553B0840;
	background-color: #F4F3F3;
	box-sizing: border-box;
	text-align: center;
}

.news-card img {
	width: 100%; /*this means 100% in the col*/
	height:auto;
}

.news-title {
	font-family: "Playfair Display", serif;
	font-size: 1.5rem;
	margin: 1rem 0.5rem;
	font-weight: 600;
	color: #2E4E3F;
}

.news-body {
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	margin: 0,5rem 0.25rem;
	color: #6F5A31;
	line-height: 1.6;
	padding: 1rem;
}

.listscarousel {
	margin: 2rem 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;
}

.section-line {
	border: none;
	height: 4px;
	background-color: #75420E;
	width: 400px;
}

.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) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    border-radius: 0;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-link {
    padding: 0.5rem;
  }

  .herosection {
    padding: 4rem 1rem;
  }

  .custom-btn {
    margin: 2rem auto;
  }

  .discover-card,
  .news-card,
  .lists-card {
    min-width: 90%;
    max-width: 100%;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none; /* Hide arrows if screen too small */
  }

  .section-line {
    width: 80%;
    margin: 0 auto 2rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-social img {
    width: 24px;
  }

  .site-footer .row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-heading {
    margin-bottom: 0.5rem;
  }

  .footer-links {
    padding-bottom: 1rem;
  }
}

