/* ==================== CUSTOM STYLE ==================== */

/* Semua teks sambutan & paragraf dibuat tebal dan hitam */
.sambutan-text,
.sambutan-text * {
  font-weight: bold !important;
  color: #000 !important;
}

/* Styling khusus untuk foto Camat & Sekcam */
.foto-pejabat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}

.foto-pejabat img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

/* Nama & Jabatan */
.foto-pejabat p {
  font-weight: bold !important;
  color: #000 !important;
  margin: 0;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem); /* ✅ Besar di layar besar */
  line-height: 1.3;
}

/* ✅ Font tetap kecil untuk HP & Tablet */
@media (max-width: 768px) {  /* 992px = breakpoint bootstrap untuk lg */
  .foto-pejabat p {
    font-size: 0.45rem !important;
  }
}
 
 
/* ✅ Styling sambutan */
.row.mb-4 .col-12 h2 {
  font-weight: bold !important;
  color: #007f00 !important; /* hijau */
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.row.mb-4 .col-12 p {
  font-weight: bold !important;
  color: #000 !important; /* hitam */
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.6;
  text-align: center;
}

/* ✅ Warna khusus untuk "KUBU RAYA MELAJU" */
.row.mb-4 .col-12 p span {
  color: #FF0000 !important; /* biru */
  font-weight: bold !important;
}


  /* 🔽 Panah besar, merah, animasi pulse */
  .arrow-hint {
    position: absolute;
    font-size: 7rem;
    color: red;
    animation: pulse 1s infinite;
    display: none; /* default: sembunyi */
    z-index: 11;
    pointer-events: none; /* biar mouse tetap bisa hover overlay */
  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  


.text-red {
  color: red !important;
  font-weight: bold !important;
}

/* ================== Mobile Menu Wrapper & Body ================== */
/* Batas tinggi kotak menu mobile 3/4 layar HP */
.site-mobile-menu {
  max-height: 75vh;           /* kotak menu 3/4 layar HP */
  overflow: hidden;           
  display: flex;
  flex-direction: column;
  background-color: #fff;     
  border-radius: 8px;         
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

/* Body menu scrollable */
.site-mobile-menu-body {
  flex: 1;                    
  overflow-y: auto;            
  -webkit-overflow-scrolling: touch; /* smooth scroll di iOS */
  padding: 0.5rem 0.75rem;    
}

/* Link menu utama */
.site-mobile-menu-body ul li a {
  font-size: 1rem !important;       /* lebih besar dari sebelumnya */
  padding: 0.5rem 0.75rem !important;
  display: block;
  color: #000 !important;
  text-decoration: none;
  font-weight: 600;
}

/* Rapatkan jarak antar menu dan sub-menu */
.site-mobile-menu-body ul li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Sub-menu */
.site-mobile-menu-body ul li ul li a {
  font-size: 0.95rem !important;     /* agak lebih besar dari sebelumnya */
  padding: 0.35rem 0.75rem !important;
  color: #333 !important;
  font-weight: 500;
}

/* Hover effect */
.site-mobile-menu-body ul li a:hover {
  color: #007bff !important;
  background-color: rgba(0,123,255,0.1);
  border-radius: 4px;
}

.site-mobile-menu-body ul li.has-children > a::after {
    content: "▼";       /* atau icon panah lain */
    font-size: 1.5rem;  /* besar panah */
    margin-left: 0.5rem; 
    position: relative;  /* supaya bisa digeser */
    top: -3px;           /* geser ke atas */
    left: -2px;          /* geser ke kiri */
    transition: transform 0.3s ease;
	 opacity: 0;           /* atau visibility: hidden; */
}

.site-mobile-menu-body ul li.has-children.open > a::after {
    transform: rotate(180deg);
}


