/* Note:- As the Figma file is designed on Desktop approach, so does the Website and the styles below are Desktop First Approach. */

.hero-section-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("https://res.cloudinary.com/dtq6aox9h/image/upload/v1769156436/hero-background_to6s4a.jpg");
  background-size: cover;
}
.website-header {
  width: 100%;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}
.nav-bar {
  width: 100%;
  max-width: 1327px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile {
  display: none;
}

.website-logo:link,
.website-logo:visited {
  font-weight: 800;
  font-size: 30px;
  line-height: 150%;
  letter-spacing: 0%;
  background: linear-gradient(
    180deg,
    rgba(3, 46, 21, 0.6) 0%,
    rgba(1, 102, 48, 0.6) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-link-items {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32.36px;
}
.nav-item {
  font-weight: 400;
  font-size: 16.18px;
  line-height: 150%;
  list-style: none;
  color: #162456;
  position: relative;
}
.nav-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #162456;
  transition: all 0.3s ease-in-out;
}
.nav-item:nth-child(2)::after {
  display: none;
}
.nav-item:hover::after {
  width: 100%;
}

.nav-item button {
  outline: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  gap: 4.05px;
  font-weight: 400;
  font-size: 16.18px;
  line-height: 150%;
  color: #162456;
  position: relative;
}
.nav-item button:hover {
  .floating-menu {
    display: block;
  }
}
.floating-menu {
  display: none;
  position: absolute;
  padding: 5px;
  border-radius: 8px;
  width: 120px;
  background-color: white;
  top: 25px;
}
.floating-menu li {
  padding: 4px 0;
  list-style: none;
  border-radius: 6px;
}
.floating-menu li a:link,
.floating-menu li a:visited {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgb(67, 67, 67);
}
.floating-menu li:hover {
  background-color: hsl(120, 62%, 93%);
  color: rgb(1, 87, 1);
}
.nav-item-link:link,
.nav-item-link:visited {
  text-decoration: none;
  color: #162456;
}
.drop-down {
  padding: 0 5.57px;
}
.search-and-shopnow-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-input-container {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 40px;
  background-color: transparent;
  padding: 0 6px;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}
.search-input-container:hover {
  background-color: #ffffff;
}
.search-button {
  outline: none;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
}
.search-input {
  font-weight: 400;
  font-size: 16.18px;
  color: #162456;
  outline: none;
  border: none;
  background-color: transparent;
}
.search-input::placeholder {
  font-weight: 400;
  font-size: 16.18px;
  color: #9599a5;
}
.search-icon {
  width: 26.7px;
  height: 26.7px;
}
.open-search-input {
  width: fit-content;
  background-color: #ffffff;
}
.gradient-button {
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(180deg, #032e15 0%, #016630 100%);
  border-radius: 505px;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}
.gradient-button:hover {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #032e15;
  color: #032e15;
}
.header-action-button {
  font-size: 18.2px;
  line-height: 16.18px;
  padding: 16px 28px;
}
.hero-section {
  flex-grow: 1;
  display: flex;
  background-color: transparent;
}
.hero-content {
  width: 100%;
  height: 100%;
  max-width: 1327px;
  margin: 104.69px auto 0;
}
.best-perfume-tag {
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(3, 46, 21, 0.6) 0%,
    rgba(1, 102, 48, 0.6) 100%
  );
  padding: 8px 16px;
  border-radius: 50px;
  gap: 11.75px;
  width: fit-content;
  margin-bottom: 27px;
}
.medal-icon {
  width: 16.5px;
  height: 22.5px;
  color: rgba(255, 255, 255, 0.8);
}
.best-perfume-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  color: rgba(255, 255, 255, 1);
}
.hero-heading {
  font-weight: 700;
  font-style: Bold;
  font-size: 56px;
  line-height: 112%;
  letter-spacing: -1.33px;
  color: rgba(3, 46, 21, 1);
}
.hero-info-stats-list {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 0 38px;
}
.hero-info-stat {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.hero-info-stat:nth-child(1) {
  width: 183.5px;
}
.hero-info-stat:nth-child(2) {
  width: 157px;
}
.hero-info-stat:nth-child(3) {
  width: fit-content;
}
.hero-stat-heading {
  font-weight: 700;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: 3px;
  background: linear-gradient(
    180deg,
    rgba(3, 46, 21, 0.6) 0%,
    rgba(1, 102, 48, 0.6) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.hero-stat-tag {
  font-weight: 300;
  font-size: 22px;
  line-height: 104%;
  color: rgba(13, 84, 43, 1);
}
.hero-action-button {
  font-size: 18.2px;
  line-height: 24px;
  padding: 12px 48.16px;
}

/* ---------------Tablet Orientation---------------- */
@media (min-width: 426px) and (max-width: 768px) {
  .hero-section-container {
    background-position: right;
    background-repeat: no-repeat;
    padding: 0 20px;
  }
  .website-header {
    height: 70px;
  }
  .nav-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-menu-button {
    width: fit-content;
    height: fit-content;
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-image {
    width: 34px;
    height: 34px;
  }
  .mobile-menu {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(240, 238, 238, 0.639);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 998;
    display: none;
    backdrop-filter: blur(10px);
  }
  .mobile-menu.active {
    display: flex;
  }
  .close-mobile-menu-button {
    position: absolute;
    top: 15px;
    right: 17px;
    outline: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.504);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
  }
  .close-mobile-menu-image {
    width: 17px;
    height: 17px;
  }
  .website-logo:link,
  .website-logo:visited {
    font-size: 26px;
  }
  .nav-link-items {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgb(3, 99, 43);
  }
  .nav-item {
    font-weight: 700;
    font-size: 16px;
  }
  .nav-item::after {
    background-color: rgb(3, 99, 43);
  }

  .nav-item button {
    font-weight: 700;
    font-size: 16px;
    color: rgb(3, 99, 43);
    margin-left: 30px;
  }
  .floating-menu {
    background-color: rgb(255, 255, 255);
    top: 0px;
    left: 85px;
    z-index: 999;
    display: none;
  }
  .nav-item button:hover .floating-menu {
    display: block;
  }
  .nav-item-link:link,
  .nav-item-link:visited {
    color: rgb(3, 99, 43);
  }
  .search-input-container {
    display: none;
  }
  .hero-content {
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .best-perfume-tag {
    padding: 4px 8px;
    gap: 8px;
    margin-bottom: 22px;
  }
  .medal-icon {
    width: 11px;
  }
  .best-perfume-text {
    font-size: 12px;
  }
  .hero-heading {
    font-size: 30px;
    letter-spacing: -1.33px;
  }
  .hero-info-stats-list {
    gap: 24px;
    padding: 16px 0 20px;
    align-items: flex-start;
  }
  .hero-info-stat:nth-child(1) {
    width: 100px;
  }
  .hero-info-stat:nth-child(2) {
    width: 80px;
  }
  .hero-stat-heading {
    font-size: 40px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }
  .hero-stat-tag {
    font-size: 16px;
  }
  .hero-action-button {
    padding: 8px 32px;
    align-self: center;
  }
}

/* ---------------Mobile Orientation---------------- */
@media (max-width: 426px) {
  .hero-section-container {
    background-position: right;
    background-repeat: no-repeat;
    padding: 0 20px;
  }
  .website-header {
    height: 70px;
  }
  .nav-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-menu-button {
    width: fit-content;
    height: fit-content;
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-image {
    width: 34px;
    height: 34px;
  }
  .mobile-menu {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(240, 238, 238, 0.639);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 998;
    display: none;
    backdrop-filter: blur(10px);
  }
  .mobile-menu.active {
    display: flex;
  }
  .close-mobile-menu-button {
    position: absolute;
    top: 15px;
    right: 17px;
    outline: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.504);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
  }
  .close-mobile-menu-image {
    width: 17px;
    height: 17px;
  }
  .website-logo:link,
  .website-logo:visited {
    font-size: 26px;
  }
  .nav-link-items {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgb(3, 99, 43);
  }
  .nav-item {
    font-weight: 700;
    font-size: 20px;
  }
  .nav-item::after {
    background-color: rgb(3, 99, 43);
  }

  .nav-item button {
    font-weight: 700;
    font-size: 20px;
    color: rgb(3, 99, 43);
    margin-left: 30px;
  }
  .floating-menu {
    background-color: rgb(255, 255, 255);
    top: 0px;
    left: 80px;
    z-index: 999;
    display: none;
  }
  .nav-item button:hover .floating-menu {
    display: block;
  }
  .nav-item-link:link,
  .nav-item-link:visited {
    color: rgb(3, 99, 43);
  }
  .search-input-container {
    display: none;
  }
  .hero-content {
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .best-perfume-tag {
    padding: 6px 12px;
    gap: 8px;
    margin-bottom: 22px;
  }
  .medal-icon {
    width: 13px;
  }
  .best-perfume-text {
    font-size: 14px;
  }
  .hero-heading {
    font-size: 38px;
    letter-spacing: -1.33px;
  }
  .hero-info-stats-list {
    gap: 24px;
    padding: 20px 0 30px;
    align-items: flex-start;
  }
  .hero-info-stat:nth-child(1) {
    width: 100px;
  }
  .hero-info-stat:nth-child(2) {
    width: 80px;
  }
  .hero-stat-heading {
    font-size: 46px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }
  .hero-stat-tag {
    font-size: 16px;
  }
  .hero-action-button {
    padding: 10px 40px;
    align-self: flex-end;
  }
}
