* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

footer {
  scroll-margin-top: 120px;
}

.menu a.active {
  background: #0d6efd;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(13,110,253,.35);
}

body {
  background: #f4f8fb;
  color: #0b1f3a;
}

.navbar {
  height: 92px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 25px rgba(0, 45, 88, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu a {
  text-decoration: none;
  color: #0b1f3a;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: #eaf4ff;
  color: #0d6efd;
}

.menu a.active {
  background: #0d6efd;
  color: white;
  border-bottom: none;
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.25);
}

.hamburger {
  font-size: 34px;
  color: #0b1f3a;
  cursor: pointer;
  display: none;
}

@media (max-width: 1000px) {
  .navbar {
    height: 82px;
    padding: 0 24px;
  }

  .brand img {
    width: 125px;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

.hero-section {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  background: linear-gradient(90deg, #073b6d 0%, #073b6d 54%, #eef8ff 54%, #f7fcff 100%);
  position: relative;
  overflow: hidden;
}

/* garis pemisah halus */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 54%;
  width: 1px;
  height: 100%;
  background: rgba(7, 59, 109, 0.12);
}

.hero-left {
  position: relative;
  background:
    linear-gradient(90deg, rgba(2, 35, 66, 0.88), rgba(2, 61, 98, 0.52)),
    url("../img/FotoSamalona.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(0, 180, 216, 0.16), transparent 35%);
}

.hero-left h3,
.hero-left h1,
.hero-left p,
.hero-left .btn-primary {
  position: relative;
  z-index: 2;
}

.hero-left h3 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.hero-left h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 1px;
  max-width: 760px;
}

.hero-left p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: #f0f8ff;
  margin-bottom: 32px;
}

.btn-primary {
  width: fit-content;
  background: linear-gradient(135deg, #159be8, #0878c6);
  color: #ffffff;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(10, 125, 204, 0.35);
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(10, 125, 204, 0.45);
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 165px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 35, 66, 0.18);
}

.stat-item span {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-item h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 3px;
}

.stat-item p {
  color: #dff4ff;
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .hero-stats {
    gap: 12px;
  }

  .stat-item {
    width: 100%;
  }
}

.ar-panel {
  position: relative;
  background: linear-gradient(180deg, #064a7d, #053b68);
  margin: 42px 52px 42px 34px;
  border-radius: 26px;
  padding: 28px;
  color: #ffffff;
  align-self: center;
  box-shadow: 0 22px 45px rgba(0, 48, 90, 0.22);
  overflow: hidden;
}

.ar-title {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.ar-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ar-title h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ar-title p {
  font-size: 14px;
  line-height: 1.5;
  color: #eaf6ff;
  max-width: 560px;
}

.qr-card {
  background: #ffffff;
  color: #061b35;
  display: grid;
  grid-template-columns: 1fr 145px;
  gap: 20px;
  padding: 22px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.qr-info {
  padding-right: 12px;
}

.qr-info h4 {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 900;
}

.qr-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #18344f;
}

.qr-info ul {
  list-style: none;
  line-height: 1.9;
}

.qr-info li {
  color: #087c3f;
  font-weight: 800;
  font-size: 14px;
}

.qr-box {
  align-self: center;
  justify-self: center;
  transform: translateY(18px);
}

.qr-box img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  border: 5px solid #064a7d;
  border-radius: 14px;
  background: #ffffff;
  padding: 5px;
  display: block;
}

.qr-box span {
  display: block;
  width: 135px;
  background: #064a7d;
  color: white;
  font-size: 21px;
  font-weight: 900;
  padding: 9px 0;
  border-radius: 0 0 14px 14px;
}

.tips-box {
  background: rgba(234, 244, 255, 0.96);
  color: #061b35;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.tips-box h4 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 900;
}

.tips-box ul {
  padding-left: 18px;
  line-height: 1.7;
  font-size: 14px;
}

.ar-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #18344f;
  margin-bottom: 16px;
}

.ar-features {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.ar-features div {
  background: #eef8ff;
  color: #063f70;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.btn-ar {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #1499e6, #0878c6);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(20, 153, 230, 0.28);
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    background: #edf8ff;
  }

  .hero-left {
    min-height: 430px;
    padding: 60px 34px;
  }

  .hero-left::after {
    display: none;
  }

  .ar-panel {
    margin: 28px;
  }
}

@media (max-width: 700px) {
  .hero-left h3 {
    font-size: 24px;
  }

  .hero-left h1 {
    font-size: 40px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .ar-title {
    flex-direction: column;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .qr-box img,
  .qr-box span {
    margin: auto;
  }
}

.wave-divider {
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 20px;
}

.wave-divider path {
  fill: #eef5fb;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-text {
  max-width: 760px;
  margin: 0 auto;
}

.section-text span {
  color: #0d6efd;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-text h2 {
  font-size: 38px;
  line-height: 1.18;
  color: #073b6d;
  margin: 12px 0 16px;
}

.section-text p {
  color: #50657d;
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.destination-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-box {
  width: 135px;
  height: 105px;
  padding: 16px 14px;
  background: #ffffff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 45, 88, 0.08);
  border: 1px solid rgba(0, 90, 170, 0.08);
}

.stat-box h3 {
  color: #0d6efd;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}

.stat-box p {
  color: #54657e;
  font-size: 14px;
  margin: 0;
  font-weight: 700;
}


@media (max-width: 900px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .destination-stats {
    width: 100%;
    flex-wrap: wrap;
  }

  .stat-box {
    flex: 1;
  }
}

.destination-section {
  position: relative;
  overflow: hidden;
  padding: 65px 60px 55px;

  background:
    linear-gradient(
      180deg,
      rgba(238, 247, 255, 0.55) 0%,
      rgba(248, 251, 255, 0.75) 48%,
      rgba(255, 255, 255, 0.92) 100%
    ),
    url("../img/pantai.png");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.section-header.center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.section-header h2 {
  font-size: 40px;
  color: #061b35;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-header p {
  color: #50657d;
  font-size: 16px;
  line-height: 1.7;
}

.section-decoration {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.section-decoration span {
  width: 55px;
  height: 4px;
  background: #0d6efd;
  border-radius: 999px;
}

.section-decoration small {
  color: #0d6efd;
  font-weight: 900;
  letter-spacing: 4px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1500px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 80, 150, 0.08);
  box-shadow: 0 18px 40px rgba(0, 45, 88, 0.12);
  transition: all .35s ease;

  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(0, 45, 88, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  z-index: 2;
}

.card.blue::before { background: #0d6efd; }
.card.green::before { background: #18a34a; }
.card.orange::before { background: #f97316; }
.card.purple::before { background: #7c3aed; }

.card-image {
  position: relative;
  height: 210px;
  overflow: visible;
}

.card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 26px 26px 0 0;
  transition: transform .5s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-icon {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  border: 6px solid #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  z-index: 5;
}

.card.blue .card-icon { background: linear-gradient(135deg, #0d6efd, #3d8bfd); }
.card.green .card-icon { background: linear-gradient(135deg, #159947, #22c55e); }
.card.orange .card-icon { background: linear-gradient(135deg, #f26b21, #fb923c); }
.card.purple .card-icon { background: linear-gradient(135deg, #7b2ff7, #9333ea); }

.card-content {
  padding: 54px 26px 26px;
  text-align: center;
  background: #ffffff;

  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-size: 23px;
  margin-bottom: 10px;
  font-weight: 900;
}

.card.blue h3 { color: #0d6efd; }
.card.green h3 { color: #159947; }
.card.orange h3 { color: #f26b21; }
.card.purple h3 { color: #7b2ff7; }

.card-meta {
  font-size: 14px;
  color: #2f4058;
  font-weight: 800;
  margin-bottom: 18px;
}

.card-content > p:not(.card-meta) {
  font-size: 15px;
  line-height: 1.7;
  color: #40546b;
  min-height: 55px;
  margin-bottom: 18px;
}

.facility-list {
  width: max-content;
  margin: 0 auto 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.facility-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #44546a;
  font-size: 14px;
  font-weight: 700;
}

.facility-list span::before {
  content: "✓";
  width: 18px;
  height: 18px;
  background: #7b2ff7;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-list span {
  color: #44546a;
}

.facility-list span::first-letter {
  color: inherit;
}

.card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  margin-top: auto;
  margin-bottom: 18px;

  color: #0d6efd;
  text-decoration: none;
  font-weight: 900;
}

.card a span {
  font-size: 24px;
  line-height: 1;
}

.card button {
  border: none;
  color: white;
  width: 82%;
  height: 52px;
  margin: 0 auto;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  cursor: pointer;
  transition: all .3s ease;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.card.blue button { background: linear-gradient(135deg, #0d6efd, #3d8bfd); }
.card.green button { background: linear-gradient(135deg, #159947, #22c55e); }
.card.orange button { background: linear-gradient(135deg, #f26b21, #fb923c); }
.card.purple button { background: linear-gradient(135deg, #7b2ff7, #9333ea); }

.destination-info-bar {
  max-width: 1500px;
  margin: 28px auto 0;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(13,110,253,.12);
  border-radius: 22px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 14px 35px rgba(0,45,88,.09);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 18px;
  border-right: 1px solid rgba(0,80,150,.12);
}

.info-item:last-child {
  border-right: none;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.info-icon.blue { background: linear-gradient(135deg, #0d6efd, #3d8bfd); }
.info-icon.green { background: linear-gradient(135deg, #159947, #22c55e); }
.info-icon.orange { background: linear-gradient(135deg, #f26b21, #fb923c); }
.info-icon.purple { background: linear-gradient(135deg, #7b2ff7, #9333ea); }

.info-item h4 {
  color: #14233b;
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 900;
}

.info-item p {
  color: #50657d;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================
   DETAIL SPOT SNORKELING
========================= */

/* =========================
   DETAIL SPOT SNORKELING
========================= */

.breadcrumb-section{
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 60px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b3d73;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb-section a{
  color: #0d6efd;
  text-decoration: none;
}

.breadcrumb-section span{
  color: #51657d;
}

.snorkeling-detail{
  padding: 6px 60px 24px;
  background: #ffffff;
}

.snorkeling-container{
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 40px;
  align-items: start;
}

/* IMAGE AREA */
.main-snorkeling-image{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
   box-shadow: 0 20px 45px rgba(0,45,88,.18);
}

.main-snorkeling-image::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.38) 0%,
            rgba(0,0,0,.12) 28%,
            rgba(0,0,0,0) 55%
        ),
        linear-gradient(
            to right,
            rgba(0,25,55,.18) 0%,
            rgba(0,25,55,0) 35%
        );
}

.main-snorkeling-image::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:70%;
    height:100%;
    z-index:2;

    background:
    linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,.18) 50%,
        transparent 100%
    );

    transition:1s;
}

.main-snorkeling-image:hover::after{
    left:150%;
}


.main-snorkeling-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;

    transition:
    transform .7s ease,
    filter .5s ease;
}

.main-snorkeling-image:hover img{
    transform:scale(1.04);
    filter:brightness(1.05);
}

/*
.main-snorkeling-image::before,
.main-snorkeling-image::after{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  z-index: 2;
}

.main-snorkeling-image::before{
  content: "‹";
  left: 16px;
}

.main-snorkeling-image::after{
  content: "›";
  right: 16px;
} */

.snorkeling-left{
  min-width: 0;
}

.snorkeling-gallery{
  margin-top: 14px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 4px 12px;
  max-width: 760px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.snorkeling-gallery::-webkit-scrollbar{
  height: 6px;
}

.snorkeling-gallery::-webkit-scrollbar-thumb{
  background: rgba(13,110,253,.35);
  border-radius: 999px;
}

.snorkeling-gallery img{
  flex: 0 0 220px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(0,45,88,.08);
  border: 3px solid transparent;
  cursor: pointer;
}

.snorkeling-gallery img:first-child{
  border-color: #0d6efd;
}

/* RIGHT CONTENT */
.snorkeling-right{
  padding-top: 0;
}

.detail-badge{
  display: inline-block;
  background: linear-gradient(135deg, #0d6efd, #3d8bfd);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(13,110,253,.22);
}

.snorkeling-right h1{
  font-size: 44px;
  line-height: 1.12;
  color: #073b6d;
  margin-bottom: 18px;
  font-weight: 900;
}

.detail-desc{
  color: #50657d;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 650px;
}

.detail-info-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 22px;
  border-bottom: 1px solid rgba(0,80,150,.14);
  margin-bottom: 24px;
}

.detail-info-item{
  padding: 0 16px;
  border-right: 1px solid rgba(0,80,150,.14);
}

.detail-info-item:first-child{
  padding-left: 0;
}

.detail-info-item:last-child{
  border-right: none;
}

.detail-info-item i{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eef7ff;
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  box-shadow: 0 8px 18px rgba(13,110,253,.12);
}

.detail-info-item h4{
  color: #061b35;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 900;
}

.detail-info-item p{
  color: #50657d;
  font-size: 12.5px;
  line-height: 1.45;
}

/* BOXES */
.detail-box-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;

  padding-bottom: 28px;
  margin-bottom: 0;
}

.detail-box{
  background: #ffffff;
  border: 1px solid rgba(0,80,150,.10);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(0,45,88,.08);
  min-height: 218px;
}

.detail-box h3{
  color: #073b6d;
  font-size: 19px;
  margin-bottom: 17px;
  font-weight: 900;
}

.detail-box ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-box li{
  position: relative;
  padding-left: 30px;
  color: #44546a;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.detail-box li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d6efd;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}


.detail-lower-section {
  max-width: 1500px;
  margin: 0 auto 24px;
  padding: 28px 28px 0;

  background: #ffffff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 24px;

  box-shadow: 0 16px 38px rgba(0, 45, 88, 0.08);
}

.detail-lower-section .detail-box-wrapper {
  margin-bottom: 26px;
}

.detail-lower-section .snorkeling-feature-bar {
  max-width: none;
  margin: 0 -28px;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0 0 24px 24px;
  box-shadow: none;
}

/* FEATURE BAR */
.snorkeling-detail {
  padding: 6px 60px 0;
  background: #ffffff;
}

.snorkeling-feature-bar {
  max-width: 1500px;
  margin: 0 auto 20px;
  padding: 22px 24px;

  background: linear-gradient(
    180deg,
    #f8fbff 0%,
    #ffffff 100%
  );

  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 0 0 22px 22px;
  border-top: none;

  box-shadow: 0 16px 32px rgba(0, 45, 88, 0.08);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.15fr;
  gap: 22px;
  align-items: center;
}

.feature-item{

    position:relative;

    display:flex;
    align-items:center;
    gap:16px;

    padding:18px;

    border-radius:18px;

    transition:all .35s ease;

    cursor:pointer;

}

.feature-item::before{

    content:"";

    position:absolute;

    top:0;
    left:18px;

    width:0;

    height:4px;

    background:#0d6efd;

    border-radius:20px;

    transition:.35s;

}
.feature-item:hover::before{

    width:70px;

}

.feature-item:hover{

    background:#f7fbff;

    transform:translateY(-6px);

    box-shadow:
    0 14px 35px rgba(13,110,253,.12);

}

.feature-item i{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef7ff;
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  flex-shrink: 0;
  transition:all .35s ease;
  transform:scale(1.15);
}

.feature-item h4{
  color: #073b6d;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 900;
  transition:.35s;
}

.feature-item:hover h4{

    color:#0d6efd;

}

.feature-item p{
  color: #50657d;
  font-size: 12.5px;
  line-height: 1.5;
}

.feature-arrow{

    margin-left:auto;

    color:#0d6efd;

    opacity:0;

    transform:translateX(-8px);

    transition:.35s;

}

.feature-item:hover .feature-arrow{

    opacity:1;

    transform:translateX(0);

}

.feature-ar-btn{
  background: linear-gradient(135deg, #0d6efd, #0969e8);
  color: #ffffff;
  border-radius: 14px;
  min-height: 86px;
  padding: 18px 22px;
  text-decoration: none;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 14px 28px rgba(13,110,253,.28);
  text-align: center;
}

.feature-ar-btn i{
  font-size: 28px;
}

.detail-bottom-action{

    max-width:1500px;

    margin:0 auto 10px;

    padding-top:10px;

    border-top:1px solid rgba(13,110,253,.08);
}

.btn-back-detail{

    display:inline-flex;
    align-items:center;
    gap:14px;

    padding:15px 28px;

    border-radius:999px;

    background:#ffffff;

    border:1px solid rgba(13,110,253,.15);

    text-decoration:none;

    color:#0d6efd;

    font-size:16px;
    font-weight:700;

    transition:all .35s ease;

    box-shadow:
    0 8px 24px rgba(0,45,88,.05);

}

.btn-back-detail i{

    font-size:17px;

    transition:transform .35s ease;

}

.btn-back-detail:hover{

    color:#084fbd;

    border-color:#0d6efd;

    background:#f8fbff;

    transform:translateY(-3px);

    box-shadow:
    0 16px 35px rgba(13,110,253,.10);

}

.btn-back-detail:hover i{

    transform:translateX(-5px);

}

.gallery-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  color: #0d6efd;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transition: all .3s ease;
}

.gallery-btn.prev{
  left: 18px;
}

.gallery-btn.next{
  right: 18px;
}

.gallery-btn:hover{
  background: linear-gradient(135deg, #0d6efd, #0969e8);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 15px 35px rgba(13,110,253,.35);
}

.gallery-btn:active{
  transform: translateY(-50%) scale(.96);
}

.snorkeling-gallery img.active-thumb{
  border-color: #0d6efd;
  box-shadow: 0 10px 28px rgba(13,110,253,.35);
  transform: scale(1.03);
}

.gallery-counter{

    position:absolute;

    top:18px;
    right:18px;

    display:flex;
    align-items:center;
    gap:8px;

    padding:10px 16px;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.15);

    color:#fff;

    border-radius:14px;

    font-size:15px;

    font-weight:700;

    z-index:10;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}


/* ===================================
   PENGINAPAN
=================================== */

/* =====================================================
   TEMA HALAMAN PENGINAPAN
===================================================== */

body.penginapan .detail-badge {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

body.penginapan .detail-info-item i {
  background: #eefcf3;
  color: #16a34a;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.12);
}

body.penginapan .detail-box li::before {
  background: #16a34a;
}

body.penginapan .feature-item > i {
  background: #eefcf3;
  color: #16a34a;
}

body.penginapan .feature-item::before {
  background: #16a34a;
}

body.penginapan .feature-item:hover {
  background: #f7fff9;
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.12);
}

body.penginapan .feature-item:hover h4 {
  color: #16a34a;
}

body.penginapan .feature-arrow {
  color: #16a34a;
}

body.penginapan .feature-ar-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.28);
  transition: all 0.35s ease;
}

body.penginapan .feature-ar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.36);
}

body.penginapan .btn-back-detail {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}

body.penginapan .btn-back-detail:hover {
  background: #f5fff8;
  color: #15803d;
  border-color: #16a34a;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.13);
}

body.penginapan .gallery-btn {
  color: #16a34a;
}

body.penginapan .gallery-btn:hover {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.36);
}

body.penginapan .snorkeling-gallery img.active-thumb {
  border-color: #16a34a;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.34);
}

body.penginapan .gallery-counter {
  background: rgba(7, 82, 40, 0.65);
}

/* =====================================================
   TEMA HALAMAN TRANSPORTASI
===================================================== */

body.transportasi .detail-badge {
  background: linear-gradient(135deg, #f26b21, #fb923c);
  box-shadow: 0 8px 18px rgba(242, 107, 33, 0.22);
}

body.transportasi .detail-info-item i {
  background: #fff4ec;
  color: #f26b21;
  box-shadow: 0 8px 18px rgba(242, 107, 33, 0.12);
}

body.transportasi .detail-box li::before {
  background: #f26b21;
}

body.transportasi .feature-item > i {
  background: #fff4ec;
  color: #f26b21;
}

body.transportasi .feature-item::before {
  background: #f26b21;
}

body.transportasi .feature-item:hover h4 {
  color: #f26b21;
}

body.transportasi .feature-item:hover {
  background: #fff9f5;
  box-shadow: 0 14px 35px rgba(242, 107, 33, 0.12);
}

body.transportasi .feature-arrow {
  color: #f26b21;
}

body.transportasi .feature-ar-btn {
  background: linear-gradient(135deg, #f26b21, #fb923c);
  box-shadow: 0 14px 28px rgba(242, 107, 33, 0.28);
  transition: all 0.35s ease;
}

body.transportasi .feature-ar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(242, 107, 33, 0.35);
}

body.transportasi .btn-back-detail {
  color: #f26b21;
  border-color: rgba(242, 107, 33, 0.25);
}

body.transportasi .btn-back-detail:hover {
  background: #fff7f2;
  color: #d95412;
  border-color: #f26b21;
  box-shadow: 0 16px 35px rgba(242, 107, 33, 0.12);
}

body.transportasi .gallery-btn {
  color: #f26b21;
}

body.transportasi .gallery-btn:hover {
  background: linear-gradient(135deg, #f26b21, #fb923c);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(242, 107, 33, 0.35);
}

body.transportasi .snorkeling-gallery img.active-thumb {
  border-color: #f26b21;
  box-shadow: 0 10px 28px rgba(242, 107, 33, 0.35);
}

body.transportasi .gallery-counter {
  background: rgba(88, 42, 12, 0.62);
}

/* =====================================================
   TEMA HALAMAN FASILITAS WISATA
===================================================== */

body.fasilitaswisata .detail-badge {
  background: linear-gradient(135deg, #7b2ff7, #9333ea);
  box-shadow: 0 8px 18px rgba(123, 47, 247, 0.22);
}

body.fasilitaswisata .detail-info-item i {
  background: #f6efff;
  color: #7b2ff7;
  box-shadow: 0 8px 18px rgba(123, 47, 247, 0.12);
}

body.fasilitaswisata .detail-box li::before {
  background: #7b2ff7;
}

body.fasilitaswisata .feature-item > i {
  background: #f6efff;
  color: #7b2ff7;
}

body.fasilitaswisata .feature-item::before {
  background: #7b2ff7;
}

body.fasilitaswisata .feature-item:hover {
  background: #fbf8ff;
  box-shadow: 0 14px 35px rgba(123, 47, 247, 0.12);
}

body.fasilitaswisata .feature-item:hover h4 {
  color: #7b2ff7;
}

body.fasilitaswisata .feature-arrow {
  color: #7b2ff7;
}

body.fasilitaswisata .feature-ar-btn {
  background: linear-gradient(135deg, #7b2ff7, #9333ea);
  box-shadow: 0 14px 28px rgba(123, 47, 247, 0.28);
  transition: all 0.35s ease;
}

body.fasilitaswisata .feature-ar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(123, 47, 247, 0.36);
}

body.fasilitaswisata .btn-back-detail {
  color: #7b2ff7;
  border-color: rgba(123, 47, 247, 0.25);
}

body.fasilitaswisata .btn-back-detail:hover {
  background: #faf6ff;
  color: #6421d6;
  border-color: #7b2ff7;
  box-shadow: 0 16px 35px rgba(123, 47, 247, 0.13);
}

body.fasilitaswisata .gallery-btn {
  color: #7b2ff7;
}

body.fasilitaswisata .gallery-btn:hover {
  background: linear-gradient(135deg, #7b2ff7, #9333ea);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(123, 47, 247, 0.36);
}

body.fasilitaswisata .snorkeling-gallery img.active-thumb {
  border-color: #7b2ff7;
  box-shadow: 0 10px 28px rgba(123, 47, 247, 0.34);
}

body.fasilitaswisata .gallery-counter {
  background: rgba(55, 18, 99, 0.65);
}

@media(max-width: 1200px){
  .snorkeling-container{
    grid-template-columns: 1fr;
  }

  .detail-info-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .detail-info-item{
    border-right: none;
    padding: 0;
  }

  .detail-box-wrapper{
    grid-template-columns: 1fr 1fr;
  }

  .snorkeling-feature-bar{
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-ar-btn{
    grid-column: span 2;
  }
}

@media(max-width: 650px){
  .breadcrumb-section{
    padding: 18px 22px;
    flex-wrap: wrap;
  }

  .snorkeling-detail{
    padding: 8px 22px 24px;
  }

  .main-snorkeling-image img{
    height: 320px;
  }

  .snorkeling-gallery img{
    flex-basis: 150px;
    height: 95px;
  }

  .snorkeling-right h1{
    font-size: 34px;
  }

  .detail-info-grid,
  .detail-box-wrapper,
  .snorkeling-feature-bar{
    grid-template-columns: 1fr;
  }

  .feature-ar-btn{
    grid-column: auto;
  }
}



@media (max-width: 1200px) {
  .cards,
  .destination-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 650px) {
  .destination-section {
    padding: 50px 22px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .cards,
  .destination-info-bar {
    grid-template-columns: 1fr;
  }

  .info-item {
    border-right: none;
    border-bottom: 1px solid rgba(0,80,150,.12);
    padding-bottom: 16px;
  }

  .info-item:last-child {
    border-bottom: none;
  }
}

.steps-section {
  padding: 10px 40px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
   position: relative;
  overflow: hidden;
}

.steps-section::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  background: rgba(13,110,253,0.08);

  top: -120px;
  right: -120px;

  filter: blur(80px);

  z-index: 0;
}

.steps-section::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  border-radius: 50%;

  background: rgba(0,180,216,0.06);

  bottom: -100px;
  left: -80px;

  filter: blur(60px);

  z-index: 0;
}

.steps-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
   position: relative;
  z-index: 1;
}

.steps-header span {
  color: #0d6efd;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.steps-header h2 {
  font-size: 36px;
  color: #073b6d;
  margin: 10px 0 14px;
}

.steps-header p {
  color: #50657d;
  font-size: 16px;
  line-height: 1.7;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 100%;
   position: relative;
  z-index: 1;
}

.ar-time-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0d6efd;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,45,88,0.08);
  border: 1px solid rgba(13,110,253,0.12);
}

.step {
  position: relative;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0,45,88,0.09);
  border: 1px solid rgba(0,90,170,0.08);

  transition: all 0.35s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(13,110,253,0.15);
  border-color: rgba(13,110,253,0.25);
}

.step-arrow {
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #0d6efd;
  font-weight: 900;
}

.step-number {
  width: 34px;
  height: 34px;
  background: #0d6efd;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -48px auto 16px;
  font-weight: 900;
  transition: all 0.35s ease;
}

.step:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}

.active-step:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(13,110,253,0.22);
}

.step-icon {
  width: 58px;
  height: 58px;
  background: #eef8ff;
  color: #0d6efd;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 900;

  transition: all 0.35s ease;
}

.step:hover .step-icon {
  transform: scale(1.1) rotate(6deg);
  background: #0d6efd;
  color: white;
}

.step h4 {
  color: #061b35;
  font-size: 16px;
  margin-bottom: 10px;
}

.step p {
  color: #50657d;
  font-size: 13.5px;
  line-height: 1.55;
}

.active-step{
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #eef8ff 100%
    );

    border: 2px solid #8bbcff;

    box-shadow:
        0 20px 45px rgba(13,110,253,0.15),
        0 0 30px rgba(13,110,253,0.15);
}

.active-step .step-number{
    width: 44px;
    height: 44px;
    font-size: 20px;
}

@keyframes pulseQR {
    0%{
        box-shadow:0 0 0 0 rgba(13,110,253,.35);
    }

    70%{
        box-shadow:0 0 0 12px rgba(13,110,253,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(13,110,253,0);
    }
}

.active-step .step-icon{
    animation:pulseQR 2.5s infinite;
}

@media (max-width: 1250px) {
  .steps {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 15px;
  }
}

@media (max-width: 650px) {
  .steps {
    flex-direction: column;
    overflow-x: visible;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .step {
    width: 100%;
    min-width: auto;
  }
}

footer {
  background: linear-gradient(135deg, #062f57 0%, #073b6d 55%, #0a4f8f 100%);
  color: white;
  padding: 26px 50px 14px;
}

.footer-wave {
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.footer-brand img {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(1.5);
}

.footer-brand p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 18px;
}

.footer-links,
.footer-contact {
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 32px;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 14px;
}

.footer-links a,
.footer-contact p {
  color: rgba(255,255,255,0.84);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 7px;
}

.footer-links a {
  display: block;
  text-decoration: none;
}

.footer-links a:hover {
  color: #7cc8ff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  color: #ffffff;
  font-size: 17px;
  transition: all .3s ease;
}

.footer-social a:hover {
  transform: translateY(-4px);
  background: #0d6efd;
  box-shadow: 0 10px 20px rgba(13,110,253,.35);
}

.footer-bottom{
    width:100%;
    text-align:center;

    margin-top:25px;
    padding-top:15px;

    border-top:1px solid rgba(255,255,255,.15);

    color:rgba(255,255,255,.7);
    font-size:14px;
}

@media (max-width: 768px) {
  footer {
    padding: 34px 24px 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links,
  .footer-contact {
    border-left: none;
    padding-left: 0;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* =========================================
   ANIMASI HALAMAN DETAIL SNORKELING
========================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(45px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Breadcrumb */
.breadcrumb-section {
  animation: fadeIn .7s ease both;
}

/* Gambar utama masuk dari kiri */
.snorkeling-left {
  animation: slideRight .85s ease .1s both;
}

/* Konten kanan masuk dari kanan */
.snorkeling-right {
  animation: slideLeft .85s ease .18s both;
}

/* Thumbnail muncul dari bawah */
.snorkeling-gallery img {
  opacity: 0;
  animation: fadeUp .6s ease both;
}

.snorkeling-gallery img:nth-child(1) {
  animation-delay: .20s;
}

.snorkeling-gallery img:nth-child(2) {
  animation-delay: .28s;
}

.snorkeling-gallery img:nth-child(3) {
  animation-delay: .36s;
}

.snorkeling-gallery img:nth-child(4) {
  animation-delay: .44s;
}

.snorkeling-gallery img:nth-child(5) {
  animation-delay: .52s;
}

.snorkeling-gallery img:nth-child(6) {
  animation-delay: .60s;
}

/* Informasi singkat */
.detail-info-item {
  opacity: 0;
  animation: fadeUp .6s ease both;
}

.detail-info-item:nth-child(1) {
  animation-delay: .35s;
}

.detail-info-item:nth-child(2) {
  animation-delay: .43s;
}

.detail-info-item:nth-child(3) {
  animation-delay: .51s;
}

.detail-info-item:nth-child(4) {
  animation-delay: .59s;
}

/* Fasilitas dan tips */
.detail-box {
  opacity: 0;
  animation: zoomIn .65s ease both;
}

.detail-box:nth-child(1) {
  animation-delay: .50s;
}

.detail-box:nth-child(2) {
  animation-delay: .62s;
}

/* Feature bar bawah */
.snorkeling-feature-bar {
  animation: fadeUp .75s ease .68s both;
}

/* Tombol kembali */
.detail-bottom-action {
  animation: fadeUp .65s ease .82s both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Navigasi bawah bergaya aplikasi Android; desktop tidak terpengaruh. */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 600px) {
  :root {
    --mobile-nav-blue: #0878e8;
    --mobile-nav-navy: #17324d;
    --mobile-nav-muted: #74859a;
  }

  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .navbar .hamburger {
    display: none;
  }

  body > .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 1000;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    top: auto;
    height: 76px;
    padding: 7px 6px 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(16, 72, 117, 0.1);
    border-radius: 24px;
    box-shadow:
      0 16px 38px rgba(0, 38, 74, 0.2),
      0 3px 12px rgba(0, 65, 126, 0.1);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }

  body > .mobile-bottom-nav a,
  body > .mobile-bottom-nav a.active {
    position: relative;
    min-width: 0;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px 1px;
    color: var(--mobile-nav-muted);
    text-decoration: none;
    border-radius: 18px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, transform .2s ease;
  }

  body > .mobile-bottom-nav .mobile-nav-icon {
    width: 38px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: transparent;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }

  body > .mobile-bottom-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body > .mobile-bottom-nav a.active {
    color: var(--mobile-nav-blue);
    background: transparent;
  }

  body > .mobile-bottom-nav a.active .mobile-nav-icon {
    background: #dcebff;
    color: #056bd2;
    transform: translateY(-1px);
  }

  body > .mobile-bottom-nav a:active {
    transform: scale(.94);
  }

  body > .mobile-bottom-nav .mobile-nav-primary {
    margin-top: -24px;
    color: #0872d4;
  }

  body > .mobile-bottom-nav .mobile-nav-primary .mobile-nav-icon {
    width: 52px;
    height: 52px;
    color: #fff;
    background: linear-gradient(145deg, #18bce8, #0878e8 68%, #075bbd);
    border: 4px solid #fff;
    box-shadow: 0 9px 20px rgba(5, 112, 211, .36);
  }

  body > .mobile-bottom-nav .mobile-nav-primary svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
  }

  body > .mobile-bottom-nav .mobile-nav-primary .mobile-nav-label {
    margin-top: 1px;
    color: #0872d4;
    font-weight: 800;
  }

  body > .mobile-bottom-nav .mobile-nav-primary.active .mobile-nav-icon {
    color: #fff;
    background: linear-gradient(145deg, #20c8ef, #0878e8 68%, #064fab);
    box-shadow:
      0 10px 24px rgba(5, 112, 211, .42),
      0 0 0 3px rgba(16, 154, 228, .13);
  }

  body > .mobile-bottom-nav a:focus-visible {
    outline: 2px solid #0878e8;
    outline-offset: 1px;
  }
}
