@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --main-font: "Kumbh Sans", sans-serif;
  --orang-color: #be5723;
  --green-color: #275102;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: var(--main-font);
}

section {
  padding: 2rem 0;
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 122.5rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.menu-toggle {
  display: none;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  transition: 0.5s ease;
  background: transparent;
}

.nav {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-up {
  background-color: white;
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-down {
  transform: translateY(-5rem);
}

/* .nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
} */

.nav-list {
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem;
  display: flex;
}

.nav-link {
  display: block;
  color: black;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-right: 1.5rem;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
}

.logo img {
  width: 120px;
}
.shopnow {
  position: absolute;
  right: 2rem;
  color: black;
  margin: 0;
}

/* hero */
.hero {
  width: 100%;
  height: 100vh;
  background: url("./images/img1.png") center no-repeat;
  /* background-attachment: fixed; */
  background-size: cover;
  position: relative;
}

.headline-container {
  width: 100%;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 3rem;
}

.headline-container h1 {
  margin-bottom: 1rem;
  overflow: hidden;
  /* animation: fadeup 0.5s forwards;
  animation-delay: 0.5s; */
}
.headline-container h1 span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.headline-description {
  width: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 55%;
  left: 49%;
  transform: translateX(-50%);
  font-weight: 300;
}

.sub-headline1 {
  opacity: 0;
}

.sub-headline1:nth-child(1) {
  margin-right: 15rem;
}
.sub-headline1 span {
  font-family: inherit;
  position: relative;
  top: 10px;
  left: 10px;
  opacity: 0;
  animation: faderight 0.4s ease-in-out forwards;
  animation-delay: 1s;
}

/* box 1 */
.box1 {
  position: relative;
  background-color: #fff5ee;
}
.imgbox {
  width: 110vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.img-container {
  width: 500px;
  height: 400px;
  object-fit: cover;
  transform: translateX(-10%);
  overflow: hidden;
}

.box1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.textbox {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1.4;
  white-space: nowrap;
  color: var(--orang-color);
}

/* imgbox two */
.imgbox-second {
  padding: 6rem 12rem 9rem;
}

.textandimg-container {
  width: 100%;
  position: relative;
}
.detailbox {
  display: flex;
}

.product {
  width: 800px;
  height: 600px;
  overflow: hidden;
  object-fit: cover;
}

.product img {
  width: 100%;
}

.product-black {
  position: absolute;
  width: 60%;
  height: 50%;
  overflow: hidden;
  z-index: -1;
  padding-left: 3rem;

  transform: translateY(-70%);
}

.product-black.product-box2-black {
  position: absolute;

  right: 0;
  padding-right: 3rem;
  margin-bottom: 3rem;
  transform: translateY(-60%);
}

.product-black .img {
  width: 100%;
  height: 100%;
  background-image: url("./images/box2-img1-black.png");
  background-size: cover;
  background-position: center;
  background-color: black;
  /* background-attachment: fixed; */
}

.product-black .img-box2 {
  background-image: url("./images/box2-img2-black.png");
}

.text {
  width: 50%;
  padding-top: 1rem;
  padding-left: 4rem;
}

.text:nth-child(1) {
  padding-left: 3rem;
}
.subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.title {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.3;
  color: var(--green-color);
  margin-bottom: 1.5rem;
}

.title.box2 {
  color: var(--orang-color);
  font-size: 2.5rem;
}

.details {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-right: 5rem;
}

/* branding */

.branding {
  margin-top: 3rem;
  padding: 0;
  height: 100vh;
  background-image: url("./images/branding.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.branding-text {
  color: white;
  text-align: center;
  margin: 3rem auto;
  overflow: hidden;
}

.branding-text h1 span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  text-transform: uppercase;
  line-height: 1.4;
  font-size: 2rem;
}

.branding-text h3 span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  line-height: 1.4;
  font-size: 1rem;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 100;
}

.logo-big {
  width: 100%;
  transform: translateY(-5%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-big img {
  width: 60%;
}

/* contact us */

.shape {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.ball {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--orang-color);
}

.line {
  width: 2px;
  height: 140px;
  background-color: var(--orang-color);
}

.contact-us-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.contact-us-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-us-title h2 {
  margin: 1rem 0.5rem;
  font-size: 3rem;
}

.contact-us-title h2 a {
  color: var(--orang-color);
}

.contact-us-title i {
  font-size: 2rem;
  color: var(--orang-color);
}

.contact-us-detail {
  text-align: center;
  line-height: 1.4;
  margin-bottom: 5rem;
}

.horizontal-line {
  margin: 2rem 0;
  width: 100%;
  height: 1px;
  background-color: black;
}
.contact-us-bottom {
  margin-bottom: 3rem;
}
.contact-us-bottom-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}

.contact-us-bottom-text ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.contact-us-bottom-text ul li {
  list-style-type: none;
  padding: 0 1rem;
}

.contact-us-bottom-text a {
  color: black;
}

@media screen and (min-width: 1441px) {
  .title {
    font-size: 3.5rem;
  }

  .text:nth-child(1) {
    padding-left: 7rem;
  }
  .details {
    width: 500px;
  }
}
@media screen and (max-width: 1280px) {
  .container {
    padding: 3rem 3rem;
  }

  .nav-link {
    margin-left: 1rem;
    font-size: 0.8rem;
  }

  .headline-container {
    font-size: 2rem;
  }

  .sub-headline1 {
    text-align: center;
  }
  .sub-headline1:nth-child(1) {
    margin-right: 10rem;
  }

  .sub-headline1:nth-child(2) {
    margin-right: 1rem;
  }

  .img-container {
    width: 300px;
  }
  /* 
  .imgbox-second {
    padding: 6rem 3rem 9rem;
  } */

  .textbox {
    font-size: 3rem;
  }

  .title {
    font-size: 3rem;
  }
  .title.box2 {
    font-size: 2rem;
  }

  .product-black {
    transform: translateY(-80%);
  }

  .details {
    font-size: 1rem;
  }

  .contact-us-bottom-text {
    font-size: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 2rem 2rem 0;
  }

  .menu-toggle {
    color: var(--ivory-color);
    display: inherit;
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: 1.5rem;
    cursor: pointer;
    z-index: 1000;
  }

  .menu-toggle .fa-times {
    display: none;
  }

  .nav .nav-list {
    background-color: white;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    position: fixed;
    padding: 4.4rem;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: all 0.5s linear;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    overflow: hidden;
  }

  .nav.open .nav-list {
    opacity: 1;
  }

  .nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s;
  }

  .open .fa-times {
    display: block;
    color: var(--orang-color);
  }
  .open .fa-bars {
    display: none;
  }

  .open .nav-list {
    transform: translateX(0);
  }

  .open.nav::before {
    opacity: 1;
    transform: scale(1);
  }

  .nav-item {
    width: 300px;
  }

  .nav-link {
    text-align: left;
    margin-bottom: 4rem;
    display: block;
    color: var(--green-color);
    font-size: 1.6rem;
  }

  .shopnow {
    display: none;
  }

  /* hero */
  .headline-container {
    font-size: 1.5rem;
  }

  .headline-description {
    padding: 0 1rem;
    font-size: 0.7rem;
    line-height: 1.5;
  }

  /* img1 */
  .img-container {
    width: 180px;
    height: 160px;
  }

  .textbox {
    font-size: 2rem;
  }

  /* img2-1 */

  .imgbox-second {
    height: inherit;
  }

  .box2-container {
    padding-bottom: 2rem;
  }

  .detail-box1 {
    flex-direction: column-reverse;
  }

  .detail-box2 {
    flex-direction: column;
  }

  .text {
    width: 100%;
    padding: 1rem 2rem 0;
  }

  .title {
    margin-bottom: 1rem;
  }

  .title.box2 {
    font-size: 2.5rem;
  }

  .product {
    width: 100%;
    height: 30%;
  }

  .product-black {
    display: none;
  }

  .subtitle {
    margin-top: 1rem;
  }

  .details {
    margin-bottom: 0.5rem;
  }

  /* branding */
  .branding-text {
    margin: 2rem auto;
  }

  /* contactus */
  .contact-us-title h2 {
    font-size: 2rem;
  }
  .contact-us-title i {
    font-size: 1rem;
  }

  .contact-us-detail {
    margin-bottom: 2rem;
  }

  .horizontal-line {
    margin: 1rem 0;
  }

  .contact-us-bottom-text {
    flex-direction: column;
    justify-content: center;
    line-height: 6;
  }
}

@media screen and (max-width: 480px) {
  .nav .nav-list {
    padding: 1.5rem;
    width: 80%;
  }

  .text {
    padding: 0 1rem;
  }

  .details {
    padding: 0;
  }

  .text:nth-child(1) {
    padding: 0 1rem;
  }
  .textbox {
    font-size: 1.5rem;
  }

  .title,
  .title.box2 {
    font-size: 2.2rem;
  }

  .branding {
    margin-top: 0;
  }
  .branding-text {
    margin: 1rem auto;
  }

  .branding-text h1 span {
    font-size: 1.2rem;
  }

  .branding-text h3 span {
    font-size: 0.7rem;
  }
}

@keyframes faderight {
  0% {
    top: 10px;
    left: 10px;
    filter: blur(15px);
    opacity: 0;
  }
  50% {
    filter: blur(10px);
    opacity: 0.9;
  }
  100% {
    top: 0px;
    left: 10px;
    filter: blur(0px);
    opacity: 1;
  }
}
