/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
:root {
  --accent-gray: #827e78;
  --accent-letter-spacing: 0.1em;
  --accent-white: rgb(255, 255, 255);
}

section {
  margin-top: 120px;
  margin-inline: auto;
}

@media (min-width:1200px) {
  section:not(.footer):not(.is-hero-section) {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  section:not(.footer) {
    margin-top: 60px;
  }
}

body {
  font-family: "Poppins", sans-serif;
  color: #000;
  line-height: 30px;
  font-weight: 300;
  margin: 0;
  position: relative;
  /* penting agar ::before bisa menempel ke body */
  z-index: 0;
  background: #ffffff;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  /* supaya ada di belakang konten */

  background-color: rgba(255, 255, 255, 0);
  opacity: 0.25;
  background-image:
    linear-gradient(var(--primary) 0.8px, transparent 0.8px),
    linear-gradient(90deg, var(--primary) 0.8px, transparent 0.8px),
    linear-gradient(var(--primary) 0.4px, transparent 0.4px),
    linear-gradient(90deg, var(--primary) 0.4px, transparent 0.4px);
  background-size: 50px 50px, 50px 50px, 4px 4px, 4px 4px;
  background-position: -0.8px -0.8px, -0.8px -0.8px, -0.4px -0.4px, -0.4px -0.4px;
}


a {
  text-decoration: none;
  z-index: 9 !important;
}

a:not(.footer a):not(.img-popup) {
  padding: 5px 30px;
  border: 3px var(--dark) solid;
  /* box-shadow: 0 0 10px 2px; */
  color: var(--accent-font);
  font-size: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Antonio", sans-serif;
  font-optical-sizing: 50%;
  color: var(--accent-black);
  letter-spacing: var(--accent-letter-spacing);
  line-height: 90%;
  font-weight: 700;
}

h1 {
  font-size: 72px;
}

h2 {
  font-size: 54px;
  margin-top: 0.5rem;
}

h3 {
  font-size: 42px;
}

span {
  font-size: 36px;
  font-family: "Antonio", sans-serif;
  font-optical-sizing: 90%;
  font-weight: 400;
  color: var(--primary);
  line-height: normal;
  margin-inline: auto;
}

.span-box {
  border-top: 2px var(--primary) solid;
  border-bottom: 2px var(--primary) solid;
  text-align: center;
  width: 100%;
  padding: 0.25rem 0;
}

p {
  margin: 0;
  font-size: 16px;
  line-height: normal;
  text-align: justify;
}

@media (max-width: 992px) {

  p,
  a {
    font-size: 14px;
  }

  span {
    font-size: 30px
  }

  a:not(.footer a):not(.img-popup) {
    font-size: 16px;
    padding: 5px 20px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {

  p,
  a {
    font-size: 12px;
  }

  a:not(.footer a):not(.img-popup) {
    font-size: 14px;
    padding: 3px 15px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  span {
    font-size: 24px
  }
}

.is-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.center-cropped {
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-size: cover;
}

.text-justify {
  text-align: justify;
}

/*--------------------------------------------------------------
# about-img
--------------------------------------------------------------*/

.about-img-section {}

.about-img-img {
  position: relative;
  width: 45%;
  z-index: 1;
}

.about-img-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 5px var(--primary) solid;
  z-index: 0;
  transform: translate(7.5%, 7.5%);
}

.about-img-text {
  margin-right: 1rem;
}

.about-img-dots {
  position: absolute;
  top: -5%;
  left: -15%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0.8;
  background-image: radial-gradient(var(--dark) 5px, rgba(0, 0, 0, 0) 1px);
  background-size: 40px 40px;

  width: 50%;
  height: 40%;
}

@media (max-width: 992px) {
  .about-img-img {
    width: 80%;
  }

  .about-img-img::before {
    transform: translate(5%, 5%);
  }

  .about-img-text {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .about-img-img::before {
    width: 90%;
    height: 90%;
    z-index: 0;
    transform: translate(15%, 15%);
  }

  .about-img-dots {
    background-size: 25px 25px;
  }

  .about-img-img {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# about-vid
--------------------------------------------------------------*/

.about-vid-section {}

.about-vid-vid {
  width: 45%;
  min-height: 20vh;
  position: relative;
}

.about-vid-vid::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 100%;
  height: 100%;
  border: 5px var(--primary) solid;
  z-index: -1;
}

.about-vid-text {
  margin-right: 1rem;
}

.about-vid-dots {
  position: absolute;
  top: -20%;
  left: -20%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0.8;
  background-image: radial-gradient(var(--dark) 5px, rgba(0, 0, 0, 0) 1px);
  background-size: 40px 40px;

  width: 50%;
  height: 50%;
}

@media (max-width: 992px) {
  .about-vid-vid {
    width: 80%;
  }

  .about-vid-vid::before {
    bottom: -5%;
    left: -5%;
  }
}

@media (max-width: 767px) {
  .about-vid-vid::before {
    width: 90%;
    height: 90%;
    transform: translate(5%, 5%);
  }

  .about-vid-dots {
    background-size: 25px 25px;
  }

  .about-vid-vid {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# benefit
--------------------------------------------------------------*/

.benefit-section {}

.benefit-section-header {
  grid-column: span 1;
}

.benefit-item {
  margin-top: 5rem;
}

.benefit-img {
  aspect-ratio: 1;
  position: relative;
  overflow: visible !important;
  margin-bottom: 4rem;
}

.benefit-img::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -8%;
  width: 100%;
  height: 100%;
  border: 5px var(--primary) solid;
  z-index: -1;
}

.benefit-text {
  width: 60%;
}

@media (max-width: 767px) {
  .benefit-img {
    margin-bottom: 3rem;
  }
}

/*--------------------------------------------------------------
# content
--------------------------------------------------------------*/

.content-section {
  min-height: 60vh;
  overflow: hidden;
}

.in-content-section {
  padding: 3rem;
  clip-path: polygon(200px 0, 100% 0, 100% 100%, 0 100%, 0 200px);
  background: var(--primary);
}

.content-image {
  clip-path: polygon(200px 0, 100% 0, 100% 100%, 0 100%, 0 200px);
  aspect-ratio: 1;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.content-content {
  margin-left: 3rem;
  padding-inline: 1rem;
  margin-top: 3rem;
}

.content-content p {
  margin: 3rem 0;
}

.content-content h2 {}

.content-content a {
  width: fit-content;
}

@media (max-width: 992px) {
  .in-content-section {
    padding: 2rem;
  }

  .content-content {
    margin-left: 0;
    padding-inline: 0;
  }

  .content-content h2 {
    text-align: center;
  }

  .content-content a {
    margin-inline: auto;
  }

  .in-content-section {
    clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%, 0 150px);
  }

  .content-image {
    clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%, 0 150px);
  }
}

@media (max-width: 767px) {
  .in-content-section {
    padding: 1rem 1rem 2rem 1rem;
  }

  .content-content {
    width: 100%;
  }

  .in-content-section {
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
  }

  .content-image {
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
  }

  .content-content {
    margin-top: 1rem;
  }

  .content-content p {
    margin: 1rem 0;
  }
}

/*--------------------------------------------------------------
# facility
--------------------------------------------------------------*/

.facility-section {}

.facility-content {
  z-index: 2;
}

.facility-item {
  margin-top: 5rem;
}

.facility-img {
  aspect-ratio: 1;
  position: relative;
  overflow: visible !important;
  margin-bottom: 4rem;
}

.facility-img::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -8%;
  width: 100%;
  height: 100%;
  border: 5px var(--primary) solid;
  z-index: -1;
}

@media (max-width: 767px) {
  .facility-img {
    margin-bottom: 3rem;
  }
}


/*--------------------------------------------------------------
# gallery
--------------------------------------------------------------*/

.gallery-section {}

/*--------------------------------------------------------------
# hero-carousel
--------------------------------------------------------------*/

.hero-car-section {}

.owl-dots {
  display: none !important;
}

.carousel-image-layer {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  padding: 3rem;
  background-size: cover;
  background-position: center;
}

.carousel-image-layer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* layer hitam transparan */
  z-index: 1;
  pointer-events: none;
  /* biar klik tetap masuk ke elemen di bawahnya */
}

.hero-car-img-wrapper {
  position: relative;
  width: 40%;
  aspect-ratio: 1;
}

.hero-car-img {
  position: relative;
  aspect-ratio: 1;
  clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-car-dots {
  position: absolute;
  bottom: -3%;
  left: -15%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0.8;
  background-image: radial-gradient(var(--dark) 5px, rgba(0, 0, 0, 0) 2px);
  background-size: 40px 40px;

  width: 40%;
  height: 30%;
}

.triangle-top-left,
.triangle-bottom-right {
  position: absolute;
  width: 20%;
  height: 20%;
  background-color: var(--primary);
  z-index: 2;
}

.triangle-top-left {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.triangle-bottom-right {
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.hero-car-content {
  margin-left: 3rem;
  width: 40%;
}

.hero-car-content h1 {
  margin-bottom: 3rem;
}

.hero-car-content div {
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .hero-car-content {
    margin-left: 0;
    height: 50%;
    width: 80%;
  }

  .hero-car-content div {
    text-align: center;
  }

  .hero-car-img-wrapper {
    width: 80%;
  }
}

@media (max-width: 767px) {
  .carousel-image-layer {
    padding: 1.5rem;
  }

  .hero-car-content a {
    margin-top: 1rem;
  }

  .hero-car-content {
    width: 100%;
  }

  .hero-car-content h1 {
    padding: 0.5rem 0;
  }

  .hero-car-dots {
    background-size: 25px 25px;
  }

  .hero-car-content h1 {
    margin-bottom: 1.5rem;
  }

  .hero-car-content div {
    margin-top: 1.5rem;
  }
}

/*--------------------------------------------------------------
# hero-vid
--------------------------------------------------------------*/

.hero-vid-section {
  background: var(--primary);
}

.hero-vid-content {
  overflow: hidden;
  background: var(--primary);
}

.hero-vid-text {
  background: rgba(0, 0, 0, 0.7);
  width: 25%;
  height: 100%;
  left: 5%;
}

.hero-vid-text h1 {
  border-bottom: 3px var(--primary) solid;
}

.hero-vid-text p {
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .hero-vid-text {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
  }

  .hero-vid-text h1 {
    width: 80%;
  }

  .hero-vid-text p {
    margin-bottom: 1.5rem;
    width: 80%;
  }

  .video-wrapper {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-vid-text h1 {
    width: 100%;
  }

  .hero-vid-text p {
    margin-bottom: 1.5rem;
    width: 100%;
  }
}

.video-wrapper {
  height: 100vh;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-wrapper iframe {
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  /* agar video crop */
  border: none;
  pointer-events: none;
}

/*--------------------------------------------------------------
# hero-img
--------------------------------------------------------------*/

.hero-img-section {}

.hero-img-section div {
  background-attachment: fixed;
}

.hero-img-content {
  text-align: start;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem;
}

.hero-img-text {
  border-left: 3px var(--primary) solid;
}

.hero-img-title {
  width: 20%;
}

.hero-img-text {
  width: 80%;
  padding: 0 1rem;
  margin-inline: 1rem;
}

@media (max-width: 767px) {
  .hero-img-content {
    height: auto;
    padding: 1.5rem;
  }

  .hero-img-text {
    border-top: 3px var(--primary) solid;
    border-left: 0;
  }

  .hero-img-title {
    width: 100%;
  }

  .hero-img-text {
    width: 100%;
    padding: 1rem 0;
    margin-inline: 0;
  }
}

/*--------------------------------------------------------------
# product / multiple-img
--------------------------------------------------------------*/

.product-section {}

.product-item {
  aspect-ratio: 4/6;
}

.product-image {
  position: relative;
  background-size: cover;
  background-position: center;
}

.product-image a {
  background: var(--dark);
  border: 1rem #fff solid !important;
  border-bottom: 0 !important;
  border-right: 0 !important;
}

.product-item {
  border: 1px var(--accent-gray) solid;
  color: #333333;
}

.product-text {
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .product-text {
    margin-bottom: 1rem;
  }

  .product-item {
    aspect-ratio: 4/5;
  }
}