@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /* Warna Utama */
  --primary-color: #1fa2ff;
  --primary-light-color: #e9f6ff;
  --primary-light2-color: #f3fafe;
  --secondary-color: #ff9800;
  --background-color: #f4f4f4;
  --text-color: #333;

  /* Typography */
  --font-family-main: "Inter", serif;
  --font-size-base: 16px;
  --font-size-heading: 2rem;
  --font-size-subheading: 1.5rem;

  /* Padding dan Margin */
  --padding-base: 16px;
  --margin-base: 16px;

  /* Border */
  --border-radius: 10px;
  --border-color: #ddd;
}

body {
  font-family: "Inter", serif;
}

/* Navbar */
.nav-item .nav-link {
  font-size: 16px; /* lebih kecil & modern */
  font-weight: 500;
  margin: 0px 10px;
}

.nav-item.dropdown.dropdown-mega {
  position: static;
}

.nav-item.dropdown.dropdown-mega .dropdown-menu {
  width: 100%;
  top: 76px;
}

.btn-nav-unit {
  width: 300px;
  background-color: #e0e0e0;
  color: #072f46;
}

.btn-nav-unit.active {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: white;
}

/* Navbar */

/* ---------------------------------------------------
   SummerNote
----------------------------------------------------- */

.note-editable {
  font-family: "Poppins" !important;
  font-size: 15px !important;
  text-align: left !important;

  height: 350px !important;
}

/* Table */
table .bg-th {
  background-color: #014694;
  color: white;
}

/* Button */
.btn-primary {
  background-color: var(--primary-color);
  padding: 10px 35px;
  border-radius: var(--border-radius);
  border: 0px;
}

.btn-warning {
  background-color: #ffb316;
  padding: 10px 35px;
  border-radius: var(--border-radius);
  border: 0px;
  color: white;
  font-weight: 600;
}

.btn-outline-light {
  background-color: transparent;
  padding: 10px 35px;
  border-radius: var(--border-radius);
  border: 1px solid white;
  color: white;
}

/* Button */

/* Text */
.text-title {
  font-size: 32px;
  font-weight: 700;
}

.text-primary-title {
  color: var(--primary-color);
}

/* Text */

/* Background */
.bg-primary-default {
  background-color: var(--primary-color);
}

.bg-primary-light {
  background-color: var(--primary-light-color);
}

.bg-primary-light2 {
  background-color: var(--primary-light2-color);
}

/* Background */

/* Animasi */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.obj-rotate {
  width: 80%; /* Ukuran lebih fleksibel */
  max-width: 900px; /* Batasi ukuran maksimum */
  animation: rotate 5s infinite linear;
  transform: rotate(15deg);
  z-index: -1;
}

.foto-container {
  width: 100%;
  height: 100vh; /* Mengisi tinggi layar */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Hindari gambar keluar layar */
}

.foto-container img {
  position: absolute;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Media Queries untuk responsivitas */
@media (max-width: 768px) {
  .obj-rotate {
    width: 60%;
  }

  .foto-container img {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .obj-rotate {
    width: 50%;
  }

  .foto-container img {
    width: 70%;
  }
}

/* Animation */

/* Fasilitas */
.img-fasilitas {
  height: 300px;
  width: auto;
  border-radius: 15px;
}

/* Fasilitas */

/* Sweaper */
swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Sweaper */

/* Card Custom */

.people__card {
  position: relative;
  overflow: hidden;
  height: 440px;
  background-color: #111b1a;
  border-radius: 11px;
}

@media (max-width: 1699px) {
  .people__card {
    height: 440px;
  }
}

@media (max-width: 1199px) {
  .people__card {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .people__card {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .people__card {
    height: auto;
  }
}

.people__card .people__card__image {
  display: inline-block;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  z-index: 2;
  margin-left: -50px;
  width: 130%;
  height: 100%;
  max-width: none;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 13px;
  transition: transform 0.7s;
}

.people__card .people__card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px 20px;
  border-radius: 11px;
  transition: 0.3s;
}

.people__card .people__card__content .slide__number {
  margin-bottom: 20px;
  opacity: 1;
  font-size: 32px;
  font-weight: 300;
  color: #ebefe3;
}

@media (max-width: 1199px) {
  .people__card .people__card__content .slide__number {
    margin-bottom: 20px;
    font-size: 24px;
  }
}

@media (max-width: 1199px) {
  .people__card .people__card__content .slide__number {
    font-size: 20px;
  }
}

.people__card .slide__gradient {
  position: absolute;
  z-index: 2;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  background-image: linear-gradient(111deg, #000, rgba(0, 0, 0, 0.15) 60%);
}

.is-active .people__card__image {
  transform: translateX(100px);
}

/* Card Custom */

/* Paralax Background */
.section-background {
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
  height: 30vh;
  width: 100%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.parallax {
  background: url("../../assets/images/section-instagram.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

/* Hover */
.feature {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 20px;
  border-radius: 10px;
}

.feature-post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}

.feature-video {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}

.feature-dd {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}

.feature-post:hover {
  transform: scale(1.05);
  background-color: transparent; /* Warna latar saat hover */
}

.feature-video:hover {
  transform: scale(1.05);
  background-color: transparent; /* Warna latar saat hover */
}

.feature-dd:hover {
  transform: scale(1.05);
  background-color: transparent; /* Warna latar saat hover */
}

.feature:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background-color: transparent; /* Warna latar saat hover */
}

.feature:hover .txt-menu {
  color: #0d6efd !important; /* Misal warna biru Bootstrap saat hover */
}

.feature img {
  transition: transform 0.3s ease;
}

.feature:hover img {
  transform: scale(1.1);
}

.sosmed-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  font-size: 20px;
}

.sosmed-btn.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.sosmed-btn.tiktok {
  background: linear-gradient(#000 100%);
}

.sosmed-btn.youtube {
  background: #ff0000;
}

.sosmed-btn.facebook {
  background: #0066ff;
}

.sosmed-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.animasi-border {
  position: relative;
  border-radius: 30px; /* sama dengan rounded-5 Bootstrap */
  overflow: hidden;
}

.animasi-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 10px; /* tebal border */
  border-radius: inherit;
  background: linear-gradient(
    270deg,
    #ff00ff,
    #00ffff,
    #ff9900,
    #00ff00,
    #ff00ff
  );
  background-size: 300% 300%;
  animation: borderAnimation 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animasi-border .card-body {
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero-section {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #ffffff 100%);
}

/* Atur ukuran dan animasi ilustrasi */
.hero-illustration {
  height: 200px;
  animation: float 3s ease-in-out infinite;
  max-width: 100%;
  object-fit: contain;
}

/* Tampilkan dua ilustrasi di atas teks hanya di layar kecil */
@media (max-width: 1199px) {
  .hero-illustrations {
    display: flex !important;
  }

  /* Sembunyikan versi desktop di layar kecil */
  .d-xl-block {
    display: none !important;
  }

  .hero-illustration {
    height: 150px;
  }
}

.hero-title {
  line-height: 1.4;
}

.text-gradient {
  background: linear-gradient(90deg, var(--bs-primary), #0078d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-illustration {
  height: 200px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-section .btn {
  transition: all 0.3s ease;
}

.hero-section .btn:hover {
  transform: translateY(-2px);
}

.btn-pulse {
  position: relative;
  font-size: 1.1rem;
  /* sedikit lebih besar */
  font-weight: 600;
  letter-spacing: 0.3px;
  animation: pulseGlow 2.2s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 20px 8px rgba(13, 110, 253, 0.15);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
    transform: scale(1);
  }
}

.btn-pulse:hover {
  background-color: var(--bs-primary);
  color: white;
  transform: scale(1.08);
}

/* Video Section */
/* Background lembut dengan efek cahaya */
#videos {
  background: linear-gradient(135deg, #f8faff 0%, #eef3f9 100%);
}

/* Hover link animasi */
.hover-link {
  transition: all 0.3s ease;
}

.hover-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Video Card */
.video-card {
  transition: all 0.35s ease;
  background-color: #ffffff;
  border-radius: 1rem;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

/* Efek zoom halus pada video */
.video-card iframe {
  transition: transform 0.5s ease;
}

.video-card:hover iframe {
  transform: scale(1.05);
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(8px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

#prima {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

#prima h1.text-primary-title {
  color: #1fa2ff;
  /* kamu bisa sesuaikan dengan warna utama situsmu */
}

#prima .card:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* === Modern Announcement Bar === */
.announcement-bar.modern {
  background: linear-gradient(90deg, #007bff, #00bcd4, #007bff);
  background-size: 300% 100%;
  animation: gradientFlow 12s ease infinite;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

/* === Gerakan teks === */
.scrolling-container {
  display: flex;
  width: max-content;
  animation: scrollModern 60s linear infinite;
  will-change: transform;
}

.scrolling-text {
  display: flex;
  align-items: center;
}

/* === Efek gradien dinamis === */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* === Animasi teks nyambung === */
@keyframes scrollModern {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* === Hover Pause === */
.announcement-bar:hover .scrolling-container {
  animation-play-state: paused;
}

/* === Responsiveness === */
@media (max-width: 992px) {
  .announcement-bar.modern {
    font-size: 14px;
    height: 40px;
  }

  .scrolling-container {
    animation-duration: 60s;
  }
}

@media (max-width: 576px) {
  .announcement-bar.modern {
    font-size: 13px;
    height: 40px;
  }

  .scrolling-container {
    animation-duration: 38s;
  }
}

/* === Navbar offset === */
.navbar {
  margin-top: 40px;
}

.map-section iframe {
  filter: brightness(0.95) contrast(1.05);
  border: none;
}

/* Footer Modern */
.footer-modern {
  font-family: "Inter", sans-serif;
}

.footer-modern h6,
.footer-modern h4 {
  letter-spacing: 0.5px;
}

.footer-modern .footer-link {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.footer-modern .footer-link:hover {
  color: #0051ff;
  transform: translateX(4px);
}

.footer-modern .social-icons img {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.footer-modern .social-icons img:hover {
  transform: translateY(-3px);
  filter: brightness(1.3);
}

.footer-modern hr {
  border-color: #007bff;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ================= FOOTER BASE ================= */
.footer-modern {
  position: relative;
  overflow: hidden;
  background: #f7fbff;
  min-height: 450px;
}

/* ================= BLOB BACKGROUND ================= */
.footer-modern::before,
.footer-modern::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 95%;
  left: -20%;
  bottom: -45%;
  filter: blur(90px);
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Blob utama */
.footer-modern::before {
  background-image: radial-gradient(
    circle at 25% 30%,
    rgba(0, 123, 255, 0.45),
    transparent 30%
  );
  transform-origin: 20% 80%;
  animation: blobRandom1 4s linear infinite alternate;
}

/* Blob kedua */
.footer-modern::after {
  background-image: radial-gradient(
    circle at 70% 60%,
    rgba(50, 218, 248, 0.35),
    transparent 30%
  );
  transform-origin: 80% 20%;
  animation: blobRandom2 5s ease-in-out infinite alternate-reverse;
}

/* Container di atas blob */
.footer-modern > .container {
  position: relative;
  z-index: 5;
}

/* ================= LOGO BACKGROUND ================= */
.footer-bg-logo {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 26%;
  max-width: 900px;
  pointer-events: none;
  z-index: 1;
}

/* ================= ANIMATION ================= */
@keyframes blobRandom1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  20% { transform: translate3d(6%, -4%, 0) scale(1.06); }
  40% { transform: translate3d(-8%, 6%, 0) scale(0.96); }
  60% { transform: translate3d(10%, 3%, 0) scale(1.1); }
  80% { transform: translate3d(-5%, -7%, 0) scale(1.02); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes blobRandom2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(-7%, 4%, 0) scale(1.04); }
  50% { transform: translate3d(5%, -9%, 0) scale(0.95); }
  75% { transform: translate3d(-10%, -3%, 0) scale(1.12); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* ================= HIDE FOOTER LOGO TABLET & MOBILE ================= */
@media (max-width: 992px) {
  .footer-bg-logo {
    display: none;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
  .footer-modern {
    min-height: auto;
    padding-bottom: 140px;
  }

  .footer-bg-logo {
    width: 85%;
    bottom: 0;
    opacity: 0.08;
  }

  .footer-modern::before,
  .footer-modern::after {
    width: 160%;
    height: 140%;
    bottom: -70%;
    filter: blur(100px);
  }
}


.map-section {
  margin: 0;
  padding: 0;
  line-height: 0; /* ⬅️ hilangkan gap iframe */
}

.map-section iframe {
  display: block; /* ⬅️ PENTING */
}

.navbar-blur {
  background: rgba(255, 255, 255, 0.6); /* transparan */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
