/* ===================================================================
   1. Konfigurasi Global & Variabel
   =================================================================== */
:root {
  --brand-primary: #0d3b66; /* Biru Tua */
  --brand-secondary: #ff7a00; /* Oranye */
}

/* ===================================================================
   2. Kelas Bantuan (Utility Classes)
   =================================================================== */
.bg-brand-primary {
  background-color: var(--brand-primary) !important;
}
.bg-orange {
  background-color: var(--brand-secondary);
}
.text-brand-orange {
  color: var(--brand-secondary) !important;
}
.text-warning {
  color: var(--brand-secondary) !important;
}
.shadow-hover {
  transition: .2s;
}
.shadow-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}
.garis {
  border: 1px dotted #fff;
}

/* ===================================================================
   3. Komponen Tombol (Buttons)
   =================================================================== */
/* Tombol Primer Bawaan */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background-color: #092b4d;
  border-color: #092b4d;
}

/* Tombol Kustom "Pill" Oranye */
.btn-brand-pill {
  display: inline-block;
  background: var(--brand-secondary); /* Oranye */
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .7rem 1.25rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .25s ease;
}
.btn-brand-pill:hover,
.btn-brand-pill:focus {
  background: #e65c00; /* Oranye lebih gelap */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 92, 0, .35);
}

/* Variasi Tombol Pill di Background Gelap */
.bg-dark .btn-brand-pill,
.bg-brand-primary .btn-brand-pill {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.bg-dark .btn-brand-pill:hover,
.bg-brand-primary .btn-brand-pill:hover {
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(255, 255, 255, .25);
}

/* Tombol Ukuran Besar */
.btn-lg {
  padding: .75rem 1.6rem;
  font-weight: 600;
  border-radius: 999px;
}

/* Tombol Terang & Outline */
.btn-light {
  color: var(--brand-primary);
  background-color: #fff;
  border: 2px solid #fff;
}
.btn-light:hover {
  background-color: #f1f1f1;
  border-color: #fff;
  color: var (--brand-secondary);
}
.btn-outline-light {
  border: 2px solid #0d3b66;
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--brand-primary);
}

/* ===================================================================
   4. Komponen Halaman
   =================================================================== */

/* ----- Topbar ----- */
.topbar-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem .5rem;
}
.topbar-contacts li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 375px) {
  .topbar-contacts {
    grid-template-columns: 1fr;
  }
}

/* ----- Komponen Icon Box ----- */
.icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 122, 0, .1);
}
.card:hover .icon-box {
  background: var(--brand-secondary);
  color: #fff;
}

/* ----- Halaman Layanan (Services) & Kartu Layanan ----- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-card {
  background: #fff;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition: transform .25s ease, box-shadow .25s ease;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
}
.service-card:hover .service-thumb img {
  transform: scale(1.06);
}
.service-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  background: var(--brand-secondary);
  box-shadow: 0 6px 16px rgba(230, 92, 0, .35);
}
.service-text {
  color: #6c757d;
  font-size: .92rem;
  margin: 8px 0 12px;
  min-height: 56px;
}
.service-thumb {
  position: relative;
  height: 180px;
  background: #eef2f6;
  overflow: hidden;
  border-radius: 14px;
}
.service-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-badge {
  position: absolute;
  left: 16px;
  top: 140px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 4px solid #fff;
}
.service-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-primary);
}
.service-link:hover {
  text-decoration: underline;
}
@media (max-width: 576px) {
  .service-thumb img {
    height: 160px;
  }
}

/* ----- Bagian "Mengapa Memilih Kami" (Why Choose Us) ----- */
.why-photo, .choose-photo {
  height: 340px;
  background: #eef2f6;
  position: relative;
}
.why-panel, .choose-panel {
  background: linear-gradient(135deg, #0d3b66 0%, #0b2f50 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(13, 59, 102, .25);
}

.why-item, .choose-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .18);
}
.why-item:last-child, .choose-item:last-child {
  border-bottom: 0;
}
.why-icon, .choose-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  background: #113b5f;
  border-left: 5px solid var(--brand-secondary);
}
.why-play, .choose-play {
  position: absolute;
  background: rgba(13, 59, 102, .95);
  color: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
/* Style spesifik untuk Why Play */
.why-play {
  width: 54px; height: 54px;
  left: 16px; bottom: 16px;
}
/* Style spesifik untuk Choose Play */
.choose-play {
  width: 64px; height: 64px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 1rem;
}
@media (max-width: 576px) {
  .why-photo, .choose-photo {
    height: 240px;
  }
}

/* ----- Galeri Portofolio (Portfolio/Gallery) ----- */
.pf-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 576px) {
  .masonry {
    column-count: 2;
  }
}
@media (min-width: 992px) {
  .masonry {
    column-count: 4;
  }
}
.masonry .tile {
  break-inside: avoid;
  display: block;
  margin: 0 0 1rem 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  background: #fff;
}
.masonry .tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.masonry .tile:hover img {
  transform: scale(1.03);
}
.tile-cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  right: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: .8rem;
  padding: .6rem .5rem .3rem;
  border-radius: 8px;
  backdrop-filter: blur(1px);
}
.btn[data-filter].active {
  border-color: var(--brand-secondary);
  background: rgba(255, 122, 0, .12);
  color: var(--brand-primary);
}

/* Navigasi Lightbox Galeri */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.nav-arrow:hover {
  background: rgba(255, 255, 255, .24);
}
.nav-arrow.start-0 {
  left: 12px;
}
.nav-arrow.end-0 {
  right: 12px;
}

/* ----- Bagian Tim (Team) ----- */
.team-card {
  border-radius: 16px;
  transition: transform .3s;
  background: #fff;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.team-photo {
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
}

/* ----- Logo Partner/Klien ----- */
.partner-card {
  /* background: ; (kosong, bisa dihapus atau diisi) */
}
.partner-logo {
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(100%) contrast(95%) brightness(105%);
  opacity: .75;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.partner-card:hover .partner-logo {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}
@media (min-width: 992px) {
  .partner-logo {
    max-height: 64px;
  }
}

/* ----- Halaman Kontak (Contact) ----- */

/* Panel kontras & rapi */
.contact-panel{
  background: #0d3b66;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

/* Garis pemisah halus */
.garis{
  border-color: rgba(255,255,255,.12);
  opacity: 1;
  margin: .5rem 0 1rem;
}

/* Konsistensi link dalam panel */
.contact-panel .footer-link{
  color: rgba(255,255,255,.9);
}
.contact-panel .footer-link:hover,
.contact-panel .footer-link:focus{
  color: #ffc107; /* atau brand orange kamu */
  text-decoration: none;
}

/* Lebar ikon agar sejajar saat teks dua baris */
.contact-panel i.fa-solid,
.contact-panel i.fa-brands,
.contact-panel i.fa-regular{
  width: 1.1rem;
  text-align: center;
}


/* ----- Footer ----- */

/* Konsistensi warna link footer + hover */
.footer .footer-link { color: rgba(255,255,255,.85); }
.footer .footer-link:hover, .footer .footer-link:focus { color: #ffc107; text-decoration: none; }

/* Warna teks sekunder */
.text-white-75 { color: rgba(255,255,255,.75); }

/* Pastikan ikon tidak “meloncat” saat teks jadi dua baris */
.footer li .fa-solid,
.footer li .fa-brands { width: 1.1rem; text-align: center; }



/* Tombol oranye berisi (brand) */
.btn-brand-pill {
  border-radius: 999px;
  padding: .6rem 1.3rem;
  border: none;
  background: linear-gradient(90deg, #ffb800, #ff8a00);
  color: #fff;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-brand-pill:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Tombol outline gelap untuk latar putih */
.btn-brand-outline-dark {
  border-radius: 999px;
  padding: .6rem 1.3rem;
  border: 1px solid var(--brand-primary, #0f2f52);
  color: var(--brand-primary, #0f2f52);
  background: transparent;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-brand-outline-dark:hover {
  background: var(--brand-primary, #0f2f52);
  color: #fff;
}

/* Warna teks brand */
.text-brand-primary { color: var(--brand-primary, #0f2f52); }

/* Sedikit animasi halus */
.btn-brand-pill, .btn-brand-outline-dark {
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
.btn-brand-pill:hover, .btn-brand-outline-dark:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* Warna teks brand */
.text-brand-primary { color: var(--brand-primary, #0f2f52); }
.text-brand-orange { color: var(--brand-orange, #ff8a00); }

/* Tombol utama (oranye) */
.btn-brand-pill {
  border-radius: 999px;
  padding: .7rem 1.4rem;
  border: none;
  background: linear-gradient(90deg, #ffb800, #ff8a00);
  color: #fff;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-brand-pill:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Tombol outline gelap */
.btn-brand-outline-dark {
  border-radius: 999px;
  padding: .7rem 1.4rem;
  border: 1px solid var(--brand-primary, #0f2f52);
  color: var(--brand-primary, #0f2f52);
  background: transparent;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-brand-outline-dark:hover {
  background: var(--brand-primary, #0f2f52);
  color: #fff;
}

/* Blockquote tampilan lembut */
blockquote {
  max-width: 750px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}
blockquote::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 3rem;
  color: rgba(255,138,0,0.15);
}
blockquote::after {
  content: "”";
  position: absolute;
  right: -10px;
  bottom: -25px;
  font-size: 3rem;
  color: rgba(255,138,0,0.15);
}

/* Responsif spacing */
@media (max-width: 575.98px) {
  .btn-brand-pill, .btn-brand-outline-dark {
    width: 100%;
  }
}
/* Warna brand */
.text-brand-primary { color: var(--brand-primary, #0f2f52); }
:root{ --brand-orange: #ff8a00; }

/* Kartu layanan */
.service-card{
  border: 1px solid rgba(15,47,82,.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: #fff;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  border-color: rgba(15,47,82,.18);
}

/* Lingkaran ikon */
.icon-wrap{
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,200,120,.35), rgba(255,138,0,.25));
  border: 1px solid rgba(255,138,0,.35);
  color: var(--brand-orange);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  box-shadow: inset 0 0 12px rgba(255,138,0,.15), 0 6px 16px rgba(0,0,0,.06);
}
.icon-wrap i{ font-size: 22px; line-height: 1; }
.service-card:hover .icon-wrap{
  transform: scale(1.06);
  color: #fff;
  background: linear-gradient(135deg, #ffb800, #ff8a00);
}

/* Spasi responsif */
@media (max-width: 575.98px){
  .service-card{ padding: 1.1rem !important; }
  .icon-wrap{ width:56px; height:56px; }
}
