@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");

:root {
  /* FONT VARIABLES */
  --font-primary: "EB Garamond", serif;
  --font-secondary: "Jost", sans-serif;

  /* COLOR VARIABLES */
  --color-1: #fff;
  --color-2: #20c7ca;
  --color-3: #111;
  --color-4: #f1f1f1;
}

/* ================================================================================================
GLOBAL STYLES
================================================================================================= */
html,
body {
  font-family: var(--font-secondary) !important;
}
.page-section {
  position: relative;
  width: 100%;
}
.pTop {
  padding-top: 120px !important;
}
.pBottom {
  padding-bottom: 120px !important;
}
.bgWhite {
  background-color: var(--color-1);
}
.bgGray {
  background-color: var(--color-4);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary) !important;
  color: var(--color-3);
}
#scroll-percentage-value {  
  color: var(--color-2) !important;  
}
.rr-btn-3 i {
  color: var(--color-1) !important;  
}
.box-sosmed{
  position: relative;
  width: 100%;
}
.box-sosmed ul{
  list-style: none;
  margin-top: 10px;
}
.box-sosmed li{
  list-style: none;
  display: inline-block;  
  margin-right: 15px;
}
.box-sosmed li a{
  font-size: 28px;
  color: var(--color-2);
  transition: 0.3s;
}
.box-sosmed li a:hover{
  font-size: 28px;
  color: var(--color-1);
  transition: all;
}

.box-download{
  position: relative;
  width: 100%;
}
.box-download h5{
  font-size: 16px !important;
  display: block;
  margin-bottom: 60px;
}
.box-download a{
  margin-top: 50px;
}
.h2Margin{
  margin-bottom: 60px;
}
/* ================================================================================================
BUTTON STYLES & BOX TITLE
================================================================================================= */
.btnCus {
  background: var(--color-2);
  border: 1px solid var(--color-3);
  color: var(--color-3);
  text-transform: capitalize;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  transition: 0.3s;
  font-family: var(--font-primary);
  font-weight: 600;
}
.btnCus:hover {
  background: var(--color-3);
  color: var(--color-1) !important;
  border: 1px solid var(--color-1);
}

.box-title {
  position: relative;
  width: 100%;
  margin-bottom: 80px !important;
}
.box-title span {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-1) !important;
  background-color: var(--color-2);
  display: inline-flex;
  padding: 3px 15px;
  border-radius: 50px;
}
.box-title h2 {
  font-size: 48px !important;
  text-transform: capitalize;
}
/* ================================================================================================
HEADING STYLES
================================================================================================= */
.heading {
  position: relative;
  height: 70vh; /* ubah ke 100vh kalau mau fullscreen */  
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.heading h1{
    color: var(--color-1);
    font-weight: normal;
    padding-top: 100px;
}
/* ================================================================================================
NAVIGATION STYLES
================================================================================================= */
.logo img {
  width: 50% !important;
  height: auto;
  object-fit: cover;
}
.header2__bg {
  background-color: var(--color-3) !important;
}
.rr-btn-3 {
  background: var(--color-2) !important;
  color: #0e1730;
}
.rr-btn-3:hover {
  background: var(--rr-theme-primary);
  color: var(--rr-common-white);
}
.rr-btn-3:hover i {
  transform: rotate(45deg);
}
/* ================================================================================================
SLIDER STYLES
================================================================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* tinggi gradasi bisa diatur */
  background: linear-gradient(to top, rgba(14, 23, 48, 0.9), transparent);
  pointer-events: none;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 900px;
  z-index: 2; /* penting agar teks di atas gradasi */
}

.hero-content .subtitle {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-1) !important;
  background-color: var(--color-2);
  display: inline-flex;
  padding: 4px 15px;
  border-radius: 50px;
}

.hero-content h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-1) !important;
}

/* Navigasi kiri kanan */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.nav.prev {
  left: 30px;
}

.nav.next {
  right: 30px;
}

/* Responsif */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

/* ================================================================================================
PAGE ABOUT HOME STYLES
================================================================================================= */
.box-about-home-img {
  position: relative;
  width: 100%;
  text-align: center;
}
.box-about-home-img img {
  width: 80%;
}
.box-about-home {
  position: relative;
  width: 100%;
}
.box-about-home span {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-1) !important;
  background-color: var(--color-2);
  display: inline-flex;
  padding: 3px 15px;
  border-radius: 50px;
}
.box-about-home h2 {
  font-size: 48px !important;
  color: var(--color-3) !important;
  margin-top: 20px;
  margin-bottom: 20px;
}
.box-about-home h5 {
  font-size: 20px !important;
  color: var(--color-3) !important;
  margin-bottom: 10px;
}
.box-about-home p {
  font-size: 16px !important;
  line-height: 1.7;
}
.box-about-home hr {
  height: 1px !important;
  width: 98%;
  background-color: #595959;
  margin-top: 20px;
  margin-bottom: 20px;
}

.box-about{
    position: relative;
    width: 100%;
}
.box-about p{
    position: relative;
    font-family: var(--font-primary) !important;
    font-size: 48px !important;
    line-height: 1.2;
    text-align: center;
    color: var(--color-3) !important;
    z-index: 3;    
}
.box-about img{
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 50px;
    z-index: 1;
}
.box-counter{
    position: relative;
    width: 100%;
    text-align: center;    
    padding: 0px;
    margin-top: 100px;    
}
.box-counter h2{
    font-weight: 500 !important;
    margin-bottom: 10px;
    color: var(--color-2);
}
.box-counter h3{
    font-weight: normal !important;
}
.box-counter.border-right{
    border-right: 1px solid #ccc;
}
.box-content-about{
    position: relative;
    width: 100%;    
}
.box-content-about .span{
    position: relative;
    color: var(--color-2);    
    margin-bottom: 20px;
    display: block;
}
.box-content-about h2{
    font-size: 48px !important;
    margin-bottom: 20px;
    color: var(--color-3) !important;
}
.box-content-about h6{
  font-size: 18px !important;
  margin-bottom: 10px;
  color: var(--color-3) !important;
}
.box-content-about ul{
  margin-left: 35px;
}
.box-content-about .row{
  margin-bottom: 30px !important;
}
.cke_top {
  position: sticky !important;
  top: 60px; /* jarak dari atas halaman */
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #ddd;
}
/* ================================================================================================
PAGE SERVICES HOME STYLES
================================================================================================= */
.box-service-item {
  position: relative;
  width: 100%;
  background-color: var(--color-1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  min-height: 360px;
  border: 3px solid var(--color-1);
  transition: border 0.3s;
}
.box-service-item .icon img {
  width: 90px;
  height: 90px;
  margin-bottom: 15px;
}
.box-service-item .text {
  font-size: 24px !important;
  font-family: var(--font-primary) !important;
  text-transform: capitalize;
  color: var(--color-3);
  font-weight: 600;
  margin-bottom: 15px;
}
.box-service-item:hover {
  border: 3px solid var(--color-2);
}
/* ================================================================================================
VIDEO STYLES
================================================================================================= */
.video-section {
  position: relative;
  width: 100%;
  height: 80vh; /* fullscreen */
  /*background: url("../../assets/img/bg-video.png") center center/cover no-repeat;*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-section iframe{
  height: 80vh;
}

/* efek gelap lembut di background */
.video-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  top: 0;
  left: 0;
}

/* tombol play */
.play-button {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-2);
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* animasi denyut */
.play-button::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(32, 199, 202, 0.4);
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* hover efek */
.play-button:hover {
  background: white;
  color: #007bff;
}

/* ================================================================================================
TESTIMONIAL STYLES
================================================================================================= */
.section-testimonial{
  min-height: 100vh;
}
.slick-slide img{
  display: inline !important;
}
.box-testimoni-img,.box-testimoni-guest,.box-testimoni-quote{
  position: relative;
  width: 100%;  
  display: block;  
  margin-bottom: 10px;
}
.box-testimoni-img img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.box-testimoni-guest h5{
  font-weight: normal;
  font-size: 28px;
}
.box-testimoni-quote p{
  font-size: 36px;
  line-height: 1.2;
  font-weight: normal;
}
.box-testimoni-quote{
  margin-top: 20px;
}
.counter{
  font-family: var(--font-primary) !important;
  font-size: 48px;
  height: 100px;
  margin-top: 80px;
  color: var(--color-3);
  font-weight: normal !important;
}

.stars i {
  color: #f7c14b;
  font-size: 18px;
  margin: 0 2px;
}

/* Quote besar di belakang teks */
.quote-wrapper {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
}

.quote-bg {
  position: absolute;
  color: rgba(0, 0, 0, 0.05);
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 500px;    
  opacity: 0.5;
}


.testimonial-text {
  position: relative;
  font-size: 24px;
  font-family: var(--font-primary);
  color: var(--color-3);
  line-height: 1.8;
  z-index: 1;
  font-weight: 600;
}

/* Responsif */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1rem;
  }
  .quote-bg {
    font-size: 10rem;
  }
}

/* ================================================================================================
BLOG STYLES
================================================================================================= */
.titleLink{
  text-decoration: none;
  transition: 0.3s !important;
}
.titleLink:hover {
  text-decoration: underline;  
}

.blog-card-img{
  position: relative;
  overflow: hidden;
}
.blog-card-img img{
  height: 400px;
  width: 100%;
  object-fit: cover;  
  transform-origin: 50% 65%;
  transition: transform 5s, filter 3s ease-in-out;
  filter: brightness(100%);
}
.blog-card-img img:hover{  
  filter: brightness(100%);
  transform: scale(2);  
}
/* Slow-motion Zoom Container */
.meta {
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.separator {
  display: inline-block;
  width: 200px;
  height: 1px;
  background-color: var(--color-2);
}

.blog-title {
  font-family: var(--font-primary);
  font-size: 36px;
  color: var(--color-3);
  font-weight: normal;
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* <-- Jumlah baris maksimal */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 85px; /* Sesuaikan tinggi agar pas dengan 2 baris */
}

/* Responsif */
@media (max-width: 767px) {
  .blog-card img {
    height: 220px;
  }
}

.box-blog-detail-left{
    position: relative;
    width: 100%;
    padding-right: 40px;
}
.box-blog-detail-left h2{
    font-size: 34px;
    line-height: 1.1;
    margin-top: 30px;
    margin-bottom: 30px;
}
.box-blog-detail-left p{
    margin-bottom: 20px;
}
.box-blog-detail-left div{
  margin-bottom: 20px;
}
.box-blog-detail-left .img{
  border-radius: 20px;
  height: 400px;
  object-fit: cover;  
  width: 100%;
}
.blog-detail-right{
    position: relative;
    width: 100%;    
}
.blog-detail-right h4{
    font-size: 18px;
    font-weight: 500;
    position: relative;    
}   
.blog-detail-right ul{
    list-style: none;    
}
.blog-detail-right li{
    padding-bottom: 20px; 
}
.blog-detail-right a{
    position: relative;
    display: block;
}
.blog-detail-right span{
    position: relative;    
    display: inline-block;
    font-size: 12px;        
    color: var(--color-3);    
    text-decoration: underline;
}

/* ================================================================================================
CONTACT STYLES
================================================================================================= */
.contact-form {
  padding-right: 80px;
  
}
.contact-form label {
  font-family: var(--font-primary);
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--color-3);  
}

.input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.input-wrapper i {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.input-wrapper input,
.input-wrapper textarea,.input-wrapper select {
  width: 100%;
  padding: 12px 15px 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.input-wrapper textarea {
  resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  border-color: var(--color-2); /* warna gold */
}
.box-contact-item{
  position: relative;
  width: 100%;
  background-color: var(--color-3);
  padding: 30px;
  text-align: center;
  border-radius: 20px;
  min-height: 170px;
}
.box-contact-item h4{
  margin-bottom: 20px;
  color: var(--color-2);
}
.box-contact-item span{
  color: var(--color-1);
}
.map-container {
  width: 100%;  
  position: relative;
  background-color: var(--color-3);
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
  filter: grayscale(100%) contrast(90%);
  bottom: 0;
}

/* Optional: tambahkan overlay teks */
.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}
/* ================================================================================================
GALLERY STYLES
================================================================================================= */
.filter-btns {
  text-align: center;
  margin-bottom: 25px;
}

.filter-btn {
  display: inline-block;
  background: #eee;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-2);
  color: white;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

#load-more {
  display: inline-block;
  margin: 30px auto;
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  background: var(--color-3);
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

#load-more:hover {
  background: var(--color-2);
}

@media (max-width: 900px) {
  .gallery { column-count: 2; }
}

@media (max-width: 600px) {
  .gallery { column-count: 1; }
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================================================
Booking
================================================================================================= */
.box-booking{
  position: relative;
  width: 100%;  
  padding: 30px;
  border-radius: 20px;
}
.box-booking h5{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.box-booking .form-label{
  font-family: var(--font-primary) !important;
  color: var(--color-3) !important;
  font-weight: 600;
}
/* ================================================================================================
FOOTER STYLES
================================================================================================= */
.footer {
  background-color: var(--color-3);
  color: var(--color-1);
}

.footer-title {
  color: var(--color-2);
  font-weight: normal;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.footer-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--color-2);
  margin-left: 10px;
  vertical-align: middle;
}
.footer-title ~ p {
  color: var(--color-1) !important;
}
.footer-links a {
  color: var(--color-1);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--color-2);
}

.footer-bottom {
  background-color: var(--color-2);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-top: 100px;
  padding: 20px 0px !important;
  color: var(--color-3) !important;
}

/* --------------------------------------------------------------------------------------------------
SWEATALERT
---------------------------------------------------------------------------------------------------*/
.my-toast-success {
  background: #dcedc8 !important;
  color: #28a745 !important;
}
.swal2-icon.swal2-success {
  border-color: #28a745 !important; /* lingkaran luar */
  color: #28a745 !important;
}

.my-toast-success .swal2-timer-progress-bar {
  background-color: #28a745 !important;
}

/* ubah tanda centang (path dalam svg) */
.swal2-icon.swal2-success .swal2-success-ring {
  border: 4px solid #28a745 !important;
}
.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: #28a745 !important;
}

.my-toast-error {
  background: #ffccbc !important;
  color: #b71c1c !important;
}
.swal2-icon.swal2-error {
  border-color: #b71c1c !important; /* lingkaran luar */
  color: #b71c1c !important;
}
.my-toast-error .swal2-timer-progress-bar {
  background-color: #b71c1c !important;
}

/* ubah tanda centang (path dalam svg) */
.swal2-icon.swal2-error .swal2-success-ring {
  border: 4px solid #b71c1c !important;
}
.swal2-icon.swal2-error [class^="swal2-error-line"] {
  background-color: #b71c1c !important;
}