/* HEADER STYLE */
.header-custom {
  width: 100%;
  background: linear-gradient(90deg, #003366 0%, #0056b3 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  position: relative;
}

/* Logo */
.logo-pu {
  height: 55px;
  width: auto;
  margin-right: 12px;
}

/* Navigasi */
.nav-link-custom {
  color: #fff;
  margin-left: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link-custom:hover {
  color: #ffcc00;
}

/* Garis bawah kuning-hitam seperti rambu PU */
.header-stripe {
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #ffcc00,
    #ffcc00 15px,
    #000000 15px,
    #000000 30px
  );
}

/* Responsif */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }
  nav {
    margin-top: 8px;
  }
  .nav-link-custom {
    margin: 0 8px;
  }
}
/* ===============================
   HERO SECTION
=============================== */
.hero-section {
  height: 100vh; /* layar penuh */
  background: linear-gradient(
      rgba(208, 208, 232, 0.5),
      rgba(244, 244, 246, 0.6)
    ),
    url('asset/pu\ terbaru.jpg') center/cover no-repeat; /* Ganti bg sesuai aset kamu */
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 60px 30px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInHero 1.5s ease-out;
}

.hero-section h2 {
  font-size: 2.5rem;
  color: #ffcc00;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

.hero-section h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1.05rem;
  color: #e6e6e6;
  max-width: 700px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

.hero-section img {
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}
/* Hero Section tanpa background foto */
.hero-section {
  background-color: #ffc107;   /* Warna kuning tema PU */
  color: #212529;              /* Warna teks gelap */
  padding: 100px 20px;
}


/* Animasi masuk halus */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif */
@media (max-width: 768px) {
  .hero-section {
    height: 85vh;
  }

  .hero-section h2 {
    font-size: 2rem;
  }

  .hero-section h4 {
    font-size: 1.2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  .hero-overlay {
    padding: 40px 20px;
  }
}
/* ===============================
   GALERI SECTION
=============================== */
section.bg-white {
  position: relative;
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

/* Hilangkan scrollbar (untuk tampilan bersih) */
.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}
.gallery-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #004080, #0074d9);
  border-radius: 10px;
}

/* Item galeri */
.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 190px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Efek hover */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Judul Galeri */
section.bg-white h3 {
  color: #003366;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

section.bg-white h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #ffcc00, #000);
  margin: 8px auto 0;
  border-radius: 3px;
}

/* Responsif */
@media (max-width: 768px) {
  .gallery-item {
    width: 220px;
    height: 150px;
  }

  section.bg-white h3 {
    font-size: 1.3rem;
  }
}
/* ===============================
   BERITA SECTION
=============================== */
section.bg-light {
  background: #f8f9fa;
}

section.bg-light h3 {
  color: #003366;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

section.bg-light h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #ffcc00, #000);
  margin: 8px auto 0;
  border-radius: 3px;
}

/* Kartu berita */
.card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.35s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

/* Gambar di atas kartu */
.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

/* Isi kartu */
.card-body {
  padding: 18px 20px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Tombol */
.btn-primary {
  background: linear-gradient(90deg, #004080, #0074d9);
  border: none;
  border-radius: 20px;
  font-weight: 600;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ffcc00, #ffb400);
  color: #003366;
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }

  .card-body {
    padding: 15px;
  }

  .card-title {
    font-size: 1rem;
  }
}
/* ===============================
   LAYANAN SECTION
=============================== */
section.bg-light {
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

/* Judul utama */
section.bg-light h2 {
  color: #003366;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

section.bg-light p {
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #444;
}

/* Card Layanan */
.card {
  border: none;
  border-radius: 16px;
  transition: all 0.4s ease;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* Ikon Emoji / Simbol */
.card .fs-1 {
  font-size: 2.5rem !important;
  transition: transform 0.4s ease;
}

.card:hover .fs-1 {
  transform: scale(1.2) rotate(5deg);
}

/* Judul Layanan */
.card h5 {
  color: #003366;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Deskripsi */
.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Tombol */
.btn-outline-dark {
  border-radius: 25px;
  font-weight: 600;
  padding: 6px 16px;
  border: 2px solid #003366;
  color: #003366;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: linear-gradient(90deg, #ffcc00, #ffb400);
  border-color: #ffb400;
  color: #003366;
  transform: scale(1.05);
}

/* Efek hover dengan pseudo background */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #004080, #ffcc00);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

/* Responsif */
@media (max-width: 768px) {
  section.bg-light h2 {
    font-size: 1.5rem;
  }

  .card {
    border-radius: 12px;
  }

  .card p {
    font-size: 0.9rem;
  }

  .btn-outline-dark {
    padding: 5px 12px;
    font-size: 0.9rem;
  }
}
.cek-status .form-label {
  margin-bottom: 4px; /* jarak label ke input */
}

.cek-status .form-control {
  padding-top: 6px;
  padding-bottom: 6px; /* tinggi input sedikit dipendekkan */
}

.cek-status .mb-3 {
  margin-bottom: 10px !important; /* jarak antar input */
}
/* ===============================
   FOOTER SECTION
=============================== */
.footer-section {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #00264d 0%, #001b33 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-section .footer-logo {
  max-height: 70px;
  width: auto;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: #ffcc00;
  transform: translateX(5px);
}

.footer-social {
  font-size: 1.4rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer-social:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

/* Ornamen */
.ornamen {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  z-index: 1;
}

.ornamen-left {
  left: 10px;
}

.ornamen-right {
  right: 10px;
}

.ornamen img {
  height: 40px;
  width: auto;
  opacity: 0.9;
}


/* Garis bawah */
.footer-section hr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsif */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }

  .ornamen {
    display: none; /* Sembunyikan ornamen di HP agar rapi */
  }
}
