@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Bayon&family=Faculty+Glyphic&family=Fasthand&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Kode+Mono:wght@400..700&family=Koulen&family=Moul&family=Preahvihear&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Moul&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dangrek&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.navbar-brand {
  font-family: "Moul", serif;
  color: #00ca00 !important;
} 
.active{
  color: #00ca00 !important;
}
ul {
  display: flex;
  gap: 30px;
  margin-left: 0;
  list-style-type: none;
}
ul li a {
  font-family: "Koulen", sans-serif;
  text-decoration: none;
  font-size: 20px;
}
/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger .bar {
  width: 30px;
  height: 4px;
  background-color: #00ca00;
  border-radius: 5px;
}
/* Hide the menu on mobile by default */
.menu {
  display: flex;
  gap: 30px;
}
.menu li {
  display: block;
}
.menu.show {
  display: flex;
}
/* ------------------------------------------- */
#second-search {
  /* width: 450px; */
  padding: 10px 25px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 25px;
  outline: none;
  transition: all 0.3s ease-in-out;
  max-width: 100%;
  width: 400px;
  font-family: "Koulen", sans-serif;
}
#second-search:focus {
  border-color: #02d71e; /* Change border color on focus */
  box-shadow: 0 0 8px rgba(0, 161, 16, 0.5);
}
.input-search input {
  width: 100%;
}
/* ---------------------------------------------------- */

.boot-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 3;
  margin-top: 30px;
  padding: 20px 40px;
  gap: 40px;
}
.carousel-section {
  flex: 1.8;
}
.carousel-item img {
  border-radius: 30px;
}
.letter-section {
  flex: 1.2;
  max-width: 100%;
  overflow-x: hidden; 
}
.main {
  font-family: "Koulen", sans-serif;
  font-size: 30px;
}
.text-more {
  line-height: 40px;
  font-family: "Preahvihear", serif;
  font-size: 20px;
  text-align: justify;
  word-wrap: break-word;
  width: 100%; 
  max-width: 100%;
}
.second-main {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  align-items: center;
}
.second-main h2 {
  font-family: "Koulen", sans-serif;
}
.carousel-caption h5 {
  font-family: "Preahvihear", serif;
  background: #ccccccae;
  padding: 10px;
  color: #000;
  font-size: 30px;
}
.content-img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 20px;
}
.content-img button,
p {
  font-family: "Preahvihear", serif;
}
.item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  height: 100%;
  transition: all 0.3s ease-in-out;
}
.item:hover {
  box-shadow: inset 0 5px 10px rgba(80, 80, 80, 0.3);
}
.img-card {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.product-name {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}
.btn-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
}
.btn-buy button {
  background: orangered;
  color: #fff;
  border: none;
  padding: 7px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 65%;
}
.btn-buy button:hover {
  background: rgb(0, 198, 0);
}

.btn-buy p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}
.local-support-section h2 {
  font-family: "Koulen", sans-serif;
  font-size: 40px;
}
.local-support-section {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}
.main-veg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.vegetable img {
  width: 500px;
}
footer {
  background: linear-gradient(135deg, #1e2a47, #2b3b67);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  font-family: "Arial", sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo h2 {
  font-size: 28px;
}
.footer-logo p {
  font-size: 16px;
  margin-top: 5px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin: 10px 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}
.phone-number {
  margin-left: 55px;
}
.footer-links a:hover {
  color: #f39c12;
}
.footer-social h4 {
  margin-bottom: 10px;
}
.footer-container h4 {
  font-family: "Koulen", sans-serif;
}
.social-icons a {
  color: #fff;
  font-size: 25px;
  margin: 0 15px;
  transition: color 0.3s ease;
  text-decoration: none;
}
.social-icons a:hover {
  color: #f39c12;
}
/* Mobile Menu */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .title {
    font-size: 24px;
  }

  ul {
    display: none; /* Hide menu by default on mobile */
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-left: 0;
  }

  .hamburger {
    display: flex; /* Show hamburger menu on mobile */
  }

  ul li a {
    font-size: 18px;
  }

  .search-container {
    margin-top: 20px;
    justify-content: center;
  }

  .search-input {
    width: 100%;
    margin-bottom: 10px;
  }
  .content-img {
    grid-template-columns: repeat(2, 1fr);
  }
  .main {
    font-size: 24px;
  }

  .text-more {
    font-size: 16px;
  }
}

@media only screen and (max-width: 480px) { /* For very small screens */
  .main {
    font-size: 20px; /* Even smaller font size for small phones */
  }
  .text-more {
    font-size: 14px; /* Adjust for smaller text */
  }
}

@media (max-width: 428px) {
  .boot-main {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
  }
  .text-more {
    text-align: justify;
  }
  .second-main {
    flex-direction: column;
  }
  #second-search {
    width: 340px;
    margin-top: 20px;
  }
  .content-img {
    grid-template-columns: repeat(1, 1fr);
  }
  .local-support-section h2 {
    font-family: "Koulen", sans-serif;
    font-size: 25px;
    line-height: 40px;
  }
  .local-support-section {
    width: 100%;
    text-align: center;
    margin-top: 50px;
  }
  .main-veg {
    flex-direction: column;
  }
  .vegetable img {
    width: 80%;
  }
  .footer-links {
    display: none;
  }
  .footer-social {
    margin-top: -20px;
  }
  .phone-number {
    margin-left: 0px;
    margin-top: 15px;
  }
  .main {
    font-size: 20px; /* Even smaller font size for small phones */
  }

  .text-more {
    font-size: 18px; /* Adjust for smaller text */
  }
 
}

@media (max-width: 414px) {
  .text-more {
    text-align: justify;
  }
}
