/*
Theme Name: CBRN Centre Theme
Description: Full CSS bundle with Tailwind CSS utilities and responsive mobile layout support.
Version: 1.2
*/

/* Include Tailwind CSS via CDN import or compiled directives */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* CSS Reset & Base Adjustments */
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #020617; /* Slate 950 */
  color: #f8fafc;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Background Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(#f59e0b 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Modal styling */
.cbrn-modal {
  display: none;
}
.cbrn-modal.active {
  display: flex;
}

/* Mobile Navigation Animated Slide */
#mobile-menu {
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

#mobile-menu.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

#mobile-menu:not(.hidden) {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

/* Table Responsive Overflow */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}