@charset "UTF-8";
/* CSS Document */


/* =========================
   HEADER
========================= */

header {
  width: 100%;
  background-color:#FFFFFF;
  border-bottom: 2px solid #FF9348;

  /* Header scrolls normally with page */
  position: relative;
  z-index: 10;
}


/* =========================
   NAVIGATION
========================= */

nav {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
}


/* =========================
   LOGO
========================= */

.nav-logo img {
  display: block;
  width: auto;
  height: 90px;
}


/* =========================
   NAV LINKS
========================= */

.nav-links > ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 17px;

  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: inline-block;

  padding: 6px 8px;

  color: #1F1F1F;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;

  text-decoration: none;
  border-radius: 8px;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.nav-links a:hover {
  color: #578322;
  transform: scale(1.08);
}


/* =========================
   SUBMENU
========================= */

.submenu {
  display: none;

  position: absolute;
  top: 100%;
  left: 0;

  min-width: 180px;

  margin: 0;
  padding: 10px;

  list-style: none;

  background-color: #ffffff;
  border: 1px solid #FF9348;
  border-radius: 4px;

  z-index: 20;
}

.nav-links li:hover .submenu {
  display: block;
}

.submenu a {
  display: block;
  width: 100%;
}
/* Text Us button */

.nav-links .nav-text a {
  padding: 10px 16px;

  color: #ffffff;
  background-color: #EF6F46;

  border-radius: 20px;

  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-links .nav-text a:hover {
  color: #ffffff;
  background-color: #578322;
  transform: translateY(-1px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
    padding: 8px 15px 10px;
  }

  /* Smaller Clementine logo */

  .nav-logo img {
    width: 105px;
    height: auto;
  }

  /* Keep links on one row */

  .nav-links > ul {
    width: 100%;

    justify-content: center;

    gap: 5px;

    flex-wrap: nowrap;
  }

  .nav-links a {
    padding: 5px 7px;

    font-size: 14px;
    letter-spacing: 0.2px;
  }

  /* Shorten Text Us button */

  .nav-links .nav-text a {
    font-size: 0;
    padding: 7px 11px;
  }

  .nav-links .nav-text a::after {
    content: "Text Us";
    font-size: 13px;
  }

  /* Smaller hover effect */

  .nav-links a:hover {
    transform: scale(1.03);
  }

  /* Mobile dropdown */

  .submenu {
    left: 50%;
    transform: translateX(-50%);
  }
}