@import url("https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Montserrat&display=swap");

* {
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.navbar .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar .nav-list {
  width: 40%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar .nav-list a {
  font-size: 20px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  color: #2e3257;
  filter: opacity(60%);
}

.navbar .nav-list a:hover {
  font-size: 20px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  color: #2e3257;
  filter: opacity(100%);
}

.navbar .nav-list a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #2e3257;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.navbar .nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.navbar .nav-button {
  display: flex;
  flex-wrap: wrap;
}

.navbar .nav-button img {
  width: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-top: 25px;
  align-items: center;
}

.icons {
  font-size: 2.8rem;
  cursor: pointer;
  display: none;
  position: absolute;
  left: 10px;
}

.hero-image {
  margin-top: 40px;
  width: 100%;
  height: 55rem;
  background-image: url(../assets/hero-image.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.section3-elements {
  margin-top: 7rem;
  width: 35%;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.section3-elements img {
  width: 40%;
  margin-bottom: 2rem;
}

.section3-elements p {
  font-family: "Montserrat", sans-serif;
  width: 40%;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #627d9a;
}

.section3-elements #section3-btn {
  padding: 0.8rem 1.3rem;
  border: none;
  border-radius: 15px;
  background-color: #dfc5a4;
  font-weight: bold;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #2e3257;
}

.section3-elements #section3-btn:hover {
  padding: 0.8rem 1.3rem;
  border: none;
  border-radius: 15px;
  background-color: #d8aa6d;
  font-weight: bold;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #2e3257;
}

.section4-container {
  margin-bottom: 100px;
}

.section4-elements {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem;
}

.section4-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.image-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.image-card .image-desc {
  display: flex;
  justify-content: space-between;
}

.section4-cards p {
  display: inline;
}

.section4-container .section4-elements h2 {
  font-family: "Montserrat", sans-serif;
  color: #2e3257;
}

.section4-container .section4-elements #sub-title {
  font-family: "Montserrat", sans-serif;
  color: #627d9a;
  margin-top: 0.5rem;
}

.section4-container .section4-elements #view-all-btn {
  font-family: "Montserrat", sans-serif;
  color: #627d9a;
  text-decoration: none;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.section4-container .section4-elements #view-all-btn:hover {
  font-family: "Montserrat", sans-serif;
  color: #053970;
  text-decoration: none;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.section4-container .section4-elements .image-card-link {
  text-decoration: none;
}

.section4-container .section4-elements .product-name,
.product-price {
  font-family: "Montserrat", sans-serif;
  color: #2e3257;
  font-weight: bold;
}

.section4-container .section4-elements .product-type {
  font-family: "Montserrat", sans-serif;
  color: #2e3257;
}

.image-card img {
  margin-bottom: 10px;
  transition: transform 0.2s;
}

.image-card img:hover {
  transform: scale(1.1);
}

.quote-section {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #2e3257;
  font-family: "Montserrat", sans-serif;
}

.section5-container button {
  display: block;
  width: 70%;
  height: 25rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 7rem;
  border-radius: 15px;
  cursor: pointer;
  border: none;
  background-image: url(../assets/OurGallery.png);
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Montserrat", sans-serif;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.2s;
}

.section5-container button:hover {
  transform: scale(1.1);
}

.footer {
  background-color: #2e3257;
  height: 15rem;
  margin-top: 9rem;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
  color: #dfc5a4;
}

.footer-info a {
  text-decoration: none;
  color: #dfc5a4;
  font-weight: lighter;
  margin-bottom: 8px;
}

.footer-info a:hover {
  text-decoration: none;
  color: #915d19;
  font-weight: lighter;
  margin-bottom: 8px;
}

.footer-info h3 {
  margin-bottom: 15px;
}

.footer #footer-logo {
  width: 13%;
}

.termsconditions {
  background-color: #2e3257;
  display: flex;
  justify-content: end;
}

.termsconditions a {
  text-decoration: none;
  margin-right: 20px;
  color: #dfc5a4;
  font-weight: 100;
  font-family: "Montserrat", sans-serif;
}

.termsconditions a:hover {
  text-decoration: none;
  margin-right: 20px;
  color: #915d19;
  font-weight: 100;
  font-family: "Montserrat", sans-serif;
}

.social-media a {
  display: inline-block;
  text-align: center;
}

.social-media a img {
  vertical-align: middle;
}

@media (max-width: 862px) {
  .navbar .nav-list a {
    font-size: 15px;
  }

  .line {
    display: none;
  }

  .hero-image {
    background-size: contain;
  }
}

@media (max-width: 768px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
  }

  .footer #footer-logo {
    display: none;
  }

  .footer-info {
    margin: 20px 0;
  }

  .footer-info a,
  .termsconditions a {
    font-size: 14px;
  }

  .footer-info h3 {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .navbar {
    display: flex;
    flex-direction: column;
  }

  .navbar .nav-list a {
    font-size: 15px;
  }

  .navbar .nav-list {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .navbar .nav-button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;

    justify-content: space-between;
  }

  .line,
  .hero-image,
  .logo a {
    display: none;
  }

  .section3-container .section3-elements img {
    width: 100px;
  }
  .section3-container .section3-elements p {
    font-size: 12px;
    width: 100%;
  }

  .section3-elements {
    width: 80%;
  }

  .section4-cards .image-card-link {
    width: 15rem;
  }

  .quote-section {
    width: 85%;
  }

  .footer-info a,
  .termsconditions a {
    font-size: 12px;
  }

  .footer-info h3 {
    font-size: 16px;
  }
}

/* Initially hide the search container */
.search-container {
  display: none;
}
