@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap");

@font-face {
  font-family: "Honda";
  src: url("./Honda_Font.ttf");
}

    :root{
      --honda-red: #c92427;    /* utama */
      --honda-red-dark: #b11e21; /* hover/kontras */
      --white: #ffffff;
      --navbar-height: 9px;   /* ubah jika ingin lebih kecil/tinggi */
      --gap: 18px;
    }

/* .navbar-parent {
  position: relative;
} */

.section-link {
  scroll-margin-top: 80px;
}

.navbar-mobile {
  display: none;
}

.navbar-parent {
  position: fixed;
  width: 100%;
  top: 0;
  height: 71px;
  z-index: 500;
    background: linear-gradient(180deg, var(--honda-red) 0%, var(--honda-red) 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  /* color: white; */
}
.navbar-parent .logo img {
  width: 75px;
  height: 55px;
}

.logo {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.content {
  margin-top: 71px;
}

.nav-scroll {
  position: fixed;
    top: 0px;
  /*top: -71px;*/
  /* width: 100%;
  /* color: ; */
  height: 71px; 
    background: linear-gradient(180deg, var(--honda-red) 0%, var(--honda-red) 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  /*animation: navscroll 0.5s ease forwards;*/
}

@keyframes navscroll {
  from {
    top: -71px;
  }
  to {
    top: 0;
  }
}

    .logo .brand-text {
      display:flex;
      /*flex-direction:column;*/
      /*line-height:1;*/
      /*white-space:nowrap;*/
    }

    .logo .brand-text .brand-main{
  /*display: none;*/
        font-family: "Honda";
        font-weight:800;
        margin: 0 7px;
        font-size: 9px; /* skala dinamis */
        letter-spacing: 1px;
        color: var(--white);
        text-transform:uppercase;
    }

    .logo .brand-text .brand-sub{
      font-weight:600;
      font-size: 12px;
      opacity:0.95;
      color: var(--white);
      text-transform:uppercase;
      letter-spacing: 0.6px;
      line-height: 15px;
    }

.logo .logo-text {
  line-height: 17px;
  /* color: #bb0b00; */
  font-family: "Roboto Condensed", sans-serif;
}

.nav-parent a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto Condensed", sans-serif;
}

.section-margin {
  margin-top: 6em;
}

section {
  font-family: "Montserrat", sans-serif;
}

section .hero {
  height: 100%;
}

section .hero .product-headers {
    height: 350px;
}

section .hero .product-headers img {
    /*width: 50%;*/
    /*display: none;*/
}

section .hero img {
  width: 990px;
  object-fit: contain;
  /* height: ; */
}

section .hero .hero-content {
  height: 35%;
  /* border: 2px solid yellow; */
}

section .hero .hero-content h2 {
  font-size: 40px;
  font-weight: bold;
}

section .hero .hero-content span {
  font-size: 22.5px;
  /* font-weight: bold; */
}

section .heading-text {
  color: #bb2d3b;
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

section .services {
  display: grid;
  padding: 10px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: center;
  gap: 27px;
}

.services .item .item-heading h6 {
  font-weight: bold;
  font-size: 22px;
}

.services .item {
  padding: 29px 24px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: none;
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
  /* padding: 30px; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.services .item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.services .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.services .item img {
  width: 65px;
  height: 65px;
  margin-bottom: 20px;
}

section .products {
  display: grid;
  padding: 10px;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

section .products .product-item {
  display: flex;
  position: relative;
}

section .products .product-item .image {
  width: 100%;
  height: 100%;
  /* border-radius: 7px; */
  overflow: hidden;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

section .products .product-item .image img {
  width: 100%;
  transition: 0.5s;
}

section .products .product-item:hover .image img {
  opacity: 0.5;
  transform: translateX(30%); /*100%*/
}

section .products .product-item .details {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%; /*100%*/
  height: 100%;
  /* border-radius: 7px; */
  background: #dc2d2d;
  /* display: none; */
  transition: 0.5s;
  transform-origin: left;
  transform: perspective(2000px) rotateY(-90deg);
}
section .products .product-item:hover .details {
  transform: perspective(2000px) rotateY(0deg);
}

section .products .link {
  right: 0;
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 70%);
}

section .products .link a {
  /* border: 1px solid red; */
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
}

section .products .link .arrow {
  opacity: 1;
  background-color: #dc2d2d;
  /* padding: 3.5px; */
  position: absolute;
  bottom: -42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.4s ease-out;
}

section .products .product-item:hover .link .arrow {
  opacity: 1;
  bottom: 0;
}

section .products .link .arrow {
  /* transform: rotate(-90deg); */
  width: 40px;
  height: 40px;
}

section .products .product-item .details .center {
  /* padding: 20 12px; */
  height: 67%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* text-align: left; */
  text-align: center;
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
section .products .product-item .details .center h6 {
  margin: 0;
  padding: 0;
  color: #ff3636;
  line-height: 24px;
  font-size: 20px;
  text-transform: uppercase;
}
section .products .product-item .details .center h6 span {
  font-size: 14px;
  color: #262626;
}
section .products .product-item .details .center p {
  margin: 10px 0;
  padding: 0;
  color: #262626;
}
section .products .product-item .details .center ul {
  margin: 10px auto 0;
  padding: 7px 0;
  display: table;
}
section .products .product-item .details .center ul li {
  list-style: none;
  margin: 0 5px;
  float: left;
}
section .products .product-item .details .center ul li a,
.salin-text {
  display: block;
  background: #fff;
  color: #262626;
  /* background: #262626;
  color: #fff; */
  border: 1.5px solid #262626;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  transform: 0.5s;
}

section .products .product-item .details .center ul li a:hover,
.salin-text:hover {
  background: #ff3636;
  color: #fff;
  cursor: pointer;
  border: 1.5px solid #ff3636;
}

.gallery-image {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image img {
  height: 250px;
  width: 350px;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.img-box {
  box-sizing: content-box;
  margin: 10px;
  height: 250px;
  width: 350px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  background-color: white;
}

.caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
  height: 250px;
  width: 350px;
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.img-box:hover img {
  transform: scale(1.1);
}

.img-box:hover .transparent-box {
  background-color: rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1;
}

.img-box:hover {
  cursor: pointer;
}

.caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.5;
}

.footer .footer-content h6 {
  font-weight: bold;
  font-size: 20px;
  display: none;
}

.footer .copyright {
  width: 100%;
  height: 70px;
  background-color: #bb2d3b;
}

.wa-float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

@media only screen and (max-width: 400px) {
  .navbar-parent {
    display: none;
  }

  .navbar-mobile .logo .logo-text {
    line-height: 18px;
    font-size: 9px;
    /* color: #bb0b00; */
    font-family: "Roboto Condensed", sans-serif;
  }


  .hamburger .line {
    width: 40px;
    height: 5px;
    background-color: #ecf0f1;
    display: block;
    margin: 8px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .hamburger:hover {
    cursor: pointer;
  }

  #hamburger-9 {
    position: relative;
    /* left: -20px; */
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  #hamburger-9.is-active {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #hamburger-9:before {
    content: "";
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    /* border: 5px solid unset; */
    top: calc(50% - 35px);
    left: calc(50% - 35px);
    border-radius: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  /* 
  #hamburger-9.is-active:before {
    border: 5px solid #ecf0f1;
  } */

  #hamburger-9.is-active .line {
    width: 35px;
  }

  #hamburger-9.is-active .line:nth-child(2) {
    opacity: 0;
  }

  #hamburger-9.is-active .line:nth-child(1) {
    -webkit-transform: translateY(13px);
    -ms-transform: translateY(13px);
    -o-transform: translateY(13px);
    transform: translateY(13px);
  }

  #hamburger-9.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-13px) rotate(90deg);
    -ms-transform: translateY(-13px) rotate(90deg);
    -o-transform: translateY(-13px) rotate(90deg);
    transform: translateY(-13px) rotate(90deg);
  }

  .navbar-mobile {
    display: flex;
    z-index: 900;
    height: 71px;
    width: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(180deg, var(--honda-red) 0%, var(--honda-red) 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .content {
    margin-top: 71px;
  }

  .section-margin {
    margin-top: 3.5em;
  }

  section .hero img {
    width: 100%;
    /* height: ; */
  }
}

.nav-parent-mobile ul {
  margin: 0;
  padding: 0;
  display: flex;
}


.nav-parent-mobile ul li a {
  height: 70px;
  line-height: 50px;
  padding: 0 20px;
  color: #fff;
  font-size: 17px;
  border: none;
  text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-parent-mobile ul li a:hover,
.nav-parent-mobile ul li a.active {
  color: #c92427;
  background: #ffffff;
  font-weight: bold;
  border-radius: 7px;
}
.nav-parent-mobile {
  position: fixed;
  width: 100%;
  /* bottom: 0; */
  z-index: 900;
  height: calc(100vh - 70px);
  /* background: #333; */
  background-color: #c92427;
  /* top: 50px; */
  left: -100%;
  transition: 0.5s;
}

.nav-parent-mobile ul li {
  list-style-type: none;
}

.nav-parent-mobile.active {
  left: 0;
}
.nav-parent-mobile ul {
  display: block;
  text-align: center;
}
.nav-parent-mobile ul li a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
