html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}
.font-serif {
    font-family: 'Playfair Display', serif;
}

.logo-vv {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-vv:hover {
    transform: scale(1.08);
    letter-spacing: 1px;
}

/* efek garis elegan */
.logo-vv::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #b45309; /* amber */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.logo-vv:hover::after {
    width: 100%;
}

.logo-vv:hover {
    transform: scale(1.08) rotate(-1deg);
    color: #292524;
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.card-hover:hover {
    transform: translateY(-8px);
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Modal Transition */
#preview-modal.hidden { display: none; }
#preview-modal.flex { display: flex; }

.modal-anim {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.flex img:hover {
  transform: scale(1.1);
  z-index: 10;
}


/* form.php */
.form-section { 
    border-left: 4px solid #b45309;
    padding-left: 1.5rem; margin-bottom: 3rem; 
}
.input-field { 
    width: 100%; 
    padding: 1rem 1.25rem; 
    border-radius: 1rem; 
    border: 1px solid #e7e5e4; background: #fafaf9; transition: all 0.2s; }
.input-field:focus { border-color: #b45309; outline: none; box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1); }
.label-text { display: block; font-size: 0.875rem; font-weight: 700; color: #44403c; margin-bottom: 0.5rem; }



/* Admin */
.sidebar-item:hover { background: rgba(255, 255, 255, 0.1); }
.active-nav { background: rgba(255, 255, 255, 0.1); border-left: 4px solid #fbbf24; }

/* login Admin */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


/* MAPS */
.map-preview {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-preview::after {
  content: "Klik untuk perbesar";
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 12px;
  padding: 4px;
}


.tutorial-img-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.tutorial-img {
  width: 100%;
  max-width: 500px; /* sebelumnya kecil */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tutorial-img:hover {
  transform: scale(1.1); /* zoom saat hover */
}

.swal2-popup {
    border-radius: 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.swal2-title {
    font-size: 20px;
}

.swal2-confirm {
    border-radius: 999px !important;
}