/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
:root {
  --accent-font: 'Manrope', sans-serif;
  --accent-font-two: 'Teko', sans-serif;
  --accent-reey-font: "reeyregular";
  --accent-gray: #827e78;
  --accent-letter-spacing: 0.1em;
}

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: var(--accent-font);
  color: var(--accent-gray);
  line-height: 30px;
  font-weight: 200;
  margin: 0;
  position: relative; /* penting agar ::before bisa menempel ke body */
  z-index: 0;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;

  --s: 300px; /* control the size*/
  --c1: var(--primary);
  --c2: #fff;
  
  --c:#0000 75%,var(--c1) 0;
  --g1:conic-gradient(at 78% 3%,var(--c));
  --g2:conic-gradient(at 3% 78%,var(--c));
  background:
    var(--g1),
    var(--g1) var(--s) var(--s),
    var(--g1) calc(2*var(--s)) calc(2*var(--s)),
    var(--g1) calc(3*var(--s)) calc(3*var(--s)),
    var(--g2) 0 calc(3*var(--s)),
    var(--g2) var(--s) 0,
    var(--g2) calc(2*var(--s)) var(--s),
    var(--g2) calc(3*var(--s)) calc(2*var(--s))
    var(--c2);
  background-size: calc(4*var(--s)) calc(4*var(--s));
}

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

a:not(.footer a):not(.img-popup) {
  padding: 5px 30px;
  border-radius: 5px;
  background-color: var(--dark);
  box-shadow: 0 0 8px var(--dark);
  color: var(--accent-font);
  font-size: 24px;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--accent-font-two);
  color: var(--accent-black);
  letter-spacing: var(--accent-letter-spacing);
  line-height: 80%;
}

h1 { font-size: 48px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }

span {
  font-size: 28px;
  font-family: var(--accent-font-two);
  font-weight: lighter;
  color: var(--primary);
  line-height: normal;
}

p {
  margin: 0;
  font-size: 20px;
  line-height: normal;
}

@media (max-width: 992px) {
  p, a { font-size: 16px; }
  span { font-size: 20px }
  a:not(.footer a):not(.img-popup) { font-size: 16px; padding: 5px 20px; }

  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
}

@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: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
}

.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;
}

.line-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem; /* jarak antara garis dan teks */
}

.line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--dark);
}

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

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

.about-img-section { }

.about-img-content { }

.about-img-img {
  width: 50%;
  min-height: 30vh;
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 992px){ 
  .about-img-content {
    width: 100% !important;
  }

  .about-img-img-container { 
    width: 80% !important;
  }
}

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

.about-vid-section { }

.about-vid-vid {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 20vh;
  overflow: hidden;
}

@media (max-width: 992px) {
  .about-vid-content {
    width: 100% !important;
  }

  .about-vid-vid-container { 
    width: 80% !important;
  }
}

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

.benefit-section { }

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

.tranding-slider {
  width: 100%;
  max-width: 100vw;
  padding: 2rem 0;
}

.tranding-slider .swiper-slide {
  transition: transform 0.3s ease;
}

@media (min-width: 1200px) {
  .tranding-slider .swiper-slide {
    width: 20%; /* 5 slide = 100% / 5 */
  }
}

.swiper-slide-active {
  transform: scale(1.1);
  z-index: 3;
}

.swiper-slide-next,
.swiper-slide-prev {
  transform: scale(0.9);
  z-index: 2;
  opacity: 0.5;
}

.swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
  transform: scale(0.8);
  z-index: 1;
  opacity: 0.3;
}

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

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

.content-image {
  min-height: 80vh;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.content-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 50%;
  padding: 2rem;
  border: 3px var(--primary) solid;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .content-content {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
}

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

.facility-section { }

.facility-content {
  background: #000000;
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 75%);
}

.facility-section .owl-item {
  aspect-ratio: 3 / 4;
}

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

.gallery-section {}

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

.hero-car-section { }

.owl-dots {
  position: absolute;
  width: 5%;
  max-width: 100px !important;
  height: 100%;
  top: 0;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.owl-dots .owl-dot {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin: 15px 0;
  background: var(--dark);
  transition: 0.5s;
}

.owl-dots .owl-dot.active {
  width: 120%;
  aspect-ratio: 1/1;
}

.owl-dots .owl-dot img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  opacity: 0.3;
}

.owl-dots .owl-dot.active img {
  opacity: 1;
}

.hero-car-section .owl-carousel .owl-stage-outer {
  height: 100vh;
}

.hero-car-section .owl-carousel .owl-item {
  width: 100vw !important;  
  height: 100vh;
  display: flex;
}

.hero-car-section .owl-carousel .owl-stage {
  display: flex;
}

.carousel-image-layer {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(8px);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-car-content {
  position: relative;
  z-index: 1; /* Pastikan di atas background */
  width: 80%;
  height: 80%;
  text-align: start;
  border: 3px var(--primary) solid;
  background: rgba(0,0,0,0.7);
  overflow: hidden;
}


@media (max-width: 767px) {
  .hero-car-content h1, .hero-car-content p, .hero-car-content a  {
    margin-left: 0;
  }

  .hero-car-content p {
    width: 100% !important;
  }
  
  .hero-car-content {
    width: 80%;
    height: 90%;
  }
}

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

.hero-vid-section {
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

.hero-vid-section > div > p {
  width: 60%;
}

@media (max-width: 767px) {
  .hero-vid-section > div > p {
    width: 100%;
  }
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100vh; /* Full viewport height or as needed */
    overflow: hidden;
    z-index: -1;
    background: var(--primary);
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 50%; /* ⬅️ Taruh titik tengah */
    transform: translateX(-50%); /* ⬅️ Geser ke kiri setengah lebar elemen */
    width: 177.77vh; /* 💡 Lebar berdasarkan tinggi 16:9 (100 * 16 / 9) */
    height: 100vh;    /* 💡 Ikuti tinggi parent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

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

.hero-img-section { }

.hero-img-content {
  position: relative;
  z-index: 1; /* Pastikan di atas background */
  width: 80%;
  height: 80%;
  text-align: start;
  border: 3px var(--primary) solid;
  background: rgba(0,0,0,0.7);
  overflow: hidden;
}

.hero-img-content p { }

@media (max-width: 767px) { 
  .hero-img-content {
    height: 90%;
  }
}

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

.product-section { }