/* =============================================
   Astra Sticky Menu CSS
   - Red bar: sticky ஆகும்போது மட்டும் hide
   - Normal scroll: red bar தெரியும்
   ============================================= */

/* Sticky white nav bar */
.csm-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  z-index: 99999 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}

/* Sticky ஆகும்போது மட்டும் red bar hide */
body.csm-is-sticky #masthead .ast-above-header-wrap,
body.csm-is-sticky .ast-above-header,
body.csm-is-sticky .ast-above-header-bar,
body.csm-is-sticky #ast-above-header,
body.csm-is-sticky .site-above-header-wrap {
  display: none !important;
}

/* Body padding so content doesn't hide behind sticky bar */
body.csm-is-sticky {
  padding-top: var(--csm-header-height, 80px) !important;
}

/* Image Popup Overlay */
#imageOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

#imageOverlay img {
  max-width: 90%;
  max-height: 90%;
}

.closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
