/* ===== HEADER COMPACT ===== */
.navbar-blur{
  background: rgba(236, 255, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 109, 63, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  padding: 0.4rem 0;
}

.navbar-blur.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 15px rgba(15, 109, 63, 0.1);
  padding: 0.2rem 0;
}

.brand-wrap{
  display:flex;
  align-items:center;
  gap:0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-wrap:hover {
  transform: translateY(-1px);
}

.brand-mark img{
  height:38px;
  width:auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.brand-mark:hover img {
  transform: rotate(-1deg) scale(1.02);
}

.brand-title{
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-dot{ 
  display:inline-block; 
  width:8px; 
  height:8px; 
  border-radius:50%; 
  background:#ff3021; 
  margin-left:4px;
  box-shadow: 0 0 0 0 rgba(255,48,33,.55);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot{
  0%   { box-shadow: 0 0 0 0 rgba(255,48,33,.55); }
  70%  { box-shadow: 0 0 0 6px rgba(255,48,33,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,48,33,0); }
}

.brand-subtitle{
  font-size:0.75rem;
  line-height: 1.2;
  color:#64748b;
  display: flex;
  gap: 0.35rem;
  white-space: nowrap;
}

.brand-subtitle span {
  background: rgba(15, 109, 63, 0.05);
  padding: 0.1rem 0.4rem;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.brand-subtitle i {
  color: #0f6d3f;
  font-size: 0.7rem;
}

/* Navigation - COMPACT */
.navbar-nav {
  gap: 0.1rem;
}

.navbar .nav-link{
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem !important;
  border-radius: 50px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar .nav-link:hover {
  color: #0f6d3f;
  background: rgba(15, 109, 63, 0.05);
}

.navbar .nav-link.active{
  color: #fff !important;
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%);
  box-shadow: 0 4px 10px -3px rgba(15, 109, 63, 0.3);
}

.navbar .nav-link i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.navbar .nav-link:hover i {
  transform: scale(1.05);
}

/* Dropdown Compact */
.dropdown-menu {
  border: none;
  border-radius: 16px;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 109, 63, 0.1);
  font-size: 0.9rem;
  min-width: 180px;
  margin-top: 0.3rem;
}

.dropdown-item {
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%);
  color: white;
  transform: translateX(3px);
}

.dropdown-divider {
  margin: 0.3rem 0;
  opacity: 0.2;
}

/* Header Content - lebih compact */
header.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(15, 109, 63, 0.1);
}

header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0b1220 0%, #0f6d3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
}

header .meta {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

header .badge {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  font-weight: 600;
}

header .form-control {
  border-radius: 50px;
  border: 1px solid rgba(15, 109, 63, 0.2);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  height: 38px;
}

header .btn-dark {
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%);
  border: none;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  height: 38px;
  transition: all 0.2s ease;
}

header .btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px -5px rgba(15, 109, 63, 0.4);
}

.input-group-text {
  border-radius: 50px 0 0 50px;
  border: 1px solid rgba(15, 109, 63, 0.2);
  border-right: none;
  background: transparent;
  padding: 0.4rem 0.8rem;
}

/* ===== FOOTER (tetap sama seperti sebelumnya) ===== */
.footer-premium {
  position: relative;
  background: linear-gradient(135deg, #071a12 0%, #0f2d1f 50%, #071a12 100%);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 2rem;
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
radial-gradient(circle at 20% 50%, rgba(15, 109, 63, 0.4) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(46, 139, 87, 0.3) 0%, transparent 50%);
  animation: gradientMove 15s ease infinite;
  z-index: 0;
}

@keyframes gradientMove {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-mini {
  font-size: 0.95rem;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.footer-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 109, 63, 0.3);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-links i {
  color: #0f6d3f;
  transition: transform 0.3s ease;
}

.footer-links a:hover i {
  transform: rotate(5deg) scale(1.1);
}

.btn-admin {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-admin:hover {
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(15, 109, 63, 0.4);
  color: white;
}

/* Back to Top Button */
#btnTop {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #0f6d3f 0%, #2e8b57 100%) !important;
  border: none !important;
  box-shadow: 0 5px 15px -5px rgba(15, 109, 63, 0.5);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#btnTop.show {
  opacity: 1;
  transform: translateY(0);
}

#btnTop:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(15, 109, 63, 0.7);
}

#btnTop i {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
  .brand-title { font-size: 1rem; }
  .brand-subtitle { font-size: 0.7rem; }
  .brand-mark img { height: 32px; }
  .navbar-nav { margin-top: 0.5rem; }
  .navbar .nav-link { padding: 0.3rem 0.8rem !important; }
}

/* Default styles untuk body content */
.card-soft {
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:none;
}
.card-soft:hover {
  border-color:#d1d5db;
}
.img-cover{ width:100%; height:100%; object-fit:cover; }
.ratio-hero{ aspect-ratio: 16/9; }
.ratio-thumb{ aspect-ratio: 16/10; }
.badge-soft{
  background:#eef2ff; color:#3730a3; border:1px solid #e0e7ff;
  font-weight:600;
}
.link-dark-soft{ color:#111827; text-decoration:none; }
.link-dark-soft:hover{ color:#111827; text-decoration:underline; }
.meta {
  color:#64748b;
}
.text-tengah {
  text-align: center;
  font-size:1.25rem;
}
.pill{
  border:1px solid var(--kaumy-border);
  background:#fff;
  border-radius:999px;
  padding:.35rem .75rem;
  font-size:.9rem;
  text-decoration:none;
  color:#111827;
  display:inline-flex;
  gap:.5rem;
  align-items:center;
}
.pill:hover{ background:#fafafa; }
.pill.active{ background:#111827; color:#fff; border-color:#111827; }
.sticky-side{ position: sticky; top: 90px; }
h1,h2,h3,h4 {
  font-weight:700;
}
.article-content {
  max-width: 720px;
}
.carousel-control-prev,
.carousel-control-next {
  width:5%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color:rgba(0,0,0,.6);
  border-radius:50%;
  padding:14px;
}

/* Typography untuk artikel (mirip portal berita) */
.article-prose{
  color:#0f172a;
  font-size:1.05rem;
  line-height:1.9;
  max-width: 780px;
}
.article-prose p{ margin: 0 0 1rem; }
.article-prose h2{
  font-size:1.5rem;
  margin: 2rem 0 1rem;
  letter-spacing:-.02em;
}
.article-prose h3{
  font-size:1.25rem;
  margin: 1.5rem 0 .75rem;
  letter-spacing:-.02em;
}
.article-prose ul, .article-prose ol{
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.article-prose li{ margin: .35rem 0; }
.article-prose blockquote{
  margin: 1.5rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid #0f6d3f;
  background: #f0fdf4;
  color:#14532d;
  border-radius: .75rem;
}
.article-prose a{
  color:#0f6d3f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-prose img{
  max-width:100%;
  height:auto;
  border-radius: 1rem;
  margin: 1rem 0;
}

.badge-soft-success{
  background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; font-weight:700;
}
.badge-soft-warning{
  background:#fffbeb; color:#92400e; border:1px solid #fde68a; font-weight:700;
}

.ribbon{
  position:absolute;
  top:14px;
  left:14px;
  z-index:5;
  padding:.35rem .65rem;
  border-radius:999px;
  font-weight:700;
  font-size:.85rem;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(17,24,39,.92);
  color:#fff;
}

/* Desktop & Mobile visibility */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile-address {
    font-size: 0.75rem;
    color: #475569;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

  .mobile-address i {
    color: #0f6d3f;
    margin-right: 0.2rem;
    font-size: 0.7rem;
  }

  .mobile-address span {
    font-size: 0.7rem;
  }

  .mobile-contact {
    margin-top: 0.15rem;
  }

  .contact-row {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: #475569;
    line-height: 1.3;
  }

  .contact-row i {
    color: #0f6d3f;
    margin-right: 0.3rem;
    font-size: 0.65rem;
    min-width: 14px;
  }

  .contact-row span {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-row:first-child span {
    max-width: 180px;
  }

  .contact-row:last-child span {
    max-width: 120px;
  }

  /* Untuk layar sangat kecil */
  @media (max-width: 480px) {
    .mobile-address {
      max-width: 200px;
      font-size: 0.7rem;
    }

    .mobile-address span {
      font-size: 0.65rem;
    }

    .contact-row {
      font-size: 0.65rem;
    }

    .contact-row span {
      font-size: 0.65rem;
    }

    .contact-row:first-child span {
      max-width: 160px;
    }

    .contact-row:last-child span {
      max-width: 100px;
    }
  }

  /* Untuk iPhone SE / layar 375px */
  @media (max-width: 375px) {
    .mobile-address {
      max-width: 170px;
    }

    .mobile-address span {
      font-size: 0.6rem;
    }

    .contact-row:first-child span {
      max-width:  {
      max-width: 140px140px;
      font-size: ;
      font-size: 0.0.6rem6rem;
    }

   ;
    }

    .contact .contact-row:-row:last-child span {
      maxlast-child span {
      max-width: 90px;
      font-size: 0.6rem;
-width: 90px;
      font-size: 0.6rem;
    }
    }
  }
  }
}

/* ===== MARQUEE ELEGAN MODERN Running Text===== */
.marquee-wrapper {
  background: rgba(10, 25, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.4);
  padding: 0.7rem 0;
  position: relative;
  overflow: hidden;
}

/* Efek garis gradien halus di atas */
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.marquee-content {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: scroll 35s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 500; /* sedikit lebih tebal */
  color: #C21807; /* Warna running text */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* bayangan lebih kuat */
}

.separator {
  color: #ffd966;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
  margin: 0 0.5rem;
}

/* Animasi scroll */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsif mobile */
@media (max-width: 768px) {
  .marquee-wrapper {
    padding: 0.5rem 0;
  }
  .marquee-item {
    font-size: 0.9rem;
    letter-spacing: 1px;
    gap: 1rem;
    padding: 0 0.8rem;
  }
  .separator {
    font-size: 1rem;
  }
  .marquee-track {
    animation: scroll 25s linear infinite;
  }
}

/* Banner Merchandise */
.banner-merch {
  width: 100%;
  height: 90px;          /* Tinggi tetap sesuai ukuran gambar */
  overflow: hidden;
  background-color: #0a1a0f; /* Warna fallback jika gambar gagal load */
  line-height: 0;        /* Hilangkan spasi di bawah gambar */
}

.banner-merch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Gambar menyesuaikan tanpa distorsi, terpotong jika perlu */
  object-position: center;
  display: block;
}

/* Opsional: di layar sangat kecil, jika ingin tinggi otomatis mengikuti proporsi */
@media (max-width: 576px) {
  .banner-merch {
    height: auto;        /* Tinggi menyesuaikan aspek rasio asli */
  }
  .banner-merch-img {
    height: auto;
    object-fit: contain; /* Gambar tampil utuh tanpa terpotong */
  }
}
