/* site.css - Combined + cleaned for Thinline Weapons page */
@import url("https://fonts.googleapis.com/css?family=Poppins");

/* -------------------------
   Base / reset (minimal)
-------------------------- */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: "Poppins", Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: orange;
  background-color: #212529;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }

img {
  border-style: none;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a { background-color: transparent; color: inherit; }
a:active, a:hover { outline-width: 0; }

/* Hover behavior from your original inline CSS (grid currently commented out) */
.w3-half img { margin-bottom: -6px; margin-top: 16px; opacity: 0.8; cursor: pointer; }
.w3-half img:hover { opacity: 1; }

/* -------------------------
   Layout helpers
-------------------------- */
.layout-main {
  margin-left: 340px;
  margin-right: 40px;
}

.hero {
  margin-top: 1px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,152,0,0.2);
  margin-bottom: 11px;
}

.hero-tagline {
  font-size: 18px;
  color: #b0a080;
  margin: 16px 0 0;
  max-width: 680px;
  line-height: 1.7;
}

/* -------------------------
   W3-ish utilities (trimmed)
-------------------------- */
.w3-container { padding: 0.01em 16px; }
.w3-container::before, .w3-container::after { content: ""; display: table; clear: both; }

.w3-main { transition: margin-left 0.4s; }

.w3-top { position: fixed; width: 100%; z-index: 1; top: 0; }

.w3-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
}

.w3-display-topleft { position: absolute; left: 0; top: 0; }
.w3-display-topright { position: absolute; right: 0; top: 0; }

.w3-hide { display: none !important; }
.w3-show { display: block !important; }

/* Buttons */
.w3-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.w3-button:disabled { cursor: not-allowed; opacity: 0.3; }
.w3-button:hover { color: #000 !important; background-color: #ccc !important; }

/* Bars / nav blocks */
.w3-bar-block { width: 100%; }
.w3-bar-item { padding: 8px 16px; display: block; border: none; outline: 0; }
.w3-bar-block .w3-bar-item { width: 100%; text-align: left; white-space: normal; }

/* Sidebar */
.w3-sidebar {
  height: 100%;
  background-color: #fff;
  position: fixed !important;
  z-index: 1;
  overflow: auto;
}

/* Typography helpers */
.w3-large { font-size: 18px !important; }
.w3-xlarge { font-size: 24px !important; }
.w3-xxlarge { font-size: 36px !important; }
.w3-xxxlarge { font-size: 48px !important; }
.w3-jumbo { font-size: clamp(28px, 6vw, 64px) !important; text-shadow: 5px 5px 12px #000; margin: 10px; }

.w3-center { text-align: center !important; }
.w3-padding { padding: 8px 16px !important; }
.w3-padding-64 { padding-top: 64px !important; padding-bottom: 64px !important; }
.w3-margin-right { margin-right: 16px !important; }

/* Modal (kept since you had it commented out) */
.w3-modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.w3-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 0;
  outline: 0;
  width: 600px;
}
.w3-image { max-width: 100%; height: auto; }

/* Animations (kept for modal) */
.w3-animate-zoom { animation: animatezoom 0.6s; }
@keyframes animatezoom { from { transform: scale(0); } to { transform: scale(1); } }

.w3-transparent { background-color: transparent !important; }

/* Responsive behavior (critical for sidebar collapse) */
.w3-sidebar.w3-collapse { display: block; }

@media (min-width: 993px) {
  .w3-hide-large { display: none !important; }
  .w3-sidebar.w3-collapse { display: block !important; }
}

@media (max-width: 992px) {
  .w3-sidebar.w3-collapse { display: none; }
  .w3-main { margin-left: 0 !important; margin-right: 0 !important; }
  .layout-main { margin-left: 0 !important; margin-right: 0 !important; }
}

@media (max-width: 768px) {
  .w3-modal-content { width: 500px; }
  .w3-modal { padding-top: 50px; }
}

@media (max-width: 600px) {
  .w3-modal-content { margin: 0 10px; width: auto !important; }
  .w3-modal { padding-top: 30px; }
}

/* -------------------------
   Colors (only what you use)
-------------------------- */
.w3-orange { color: #000 !important; background-color: #ff9800 !important; }
.w3-red { color: #000 !important; background-color: #f44336 !important; }
.w3-text-red { color: #f44336 !important; }

/* Your custom “black hover” behavior */
.w3-black,
.w3-hover-black:hover {
  color: #FFA500 !important;
  background-color: #212529 !important;
  box-shadow: 3px 3px 8px #212529;
}

/* -------------------------
   Sidebar specifics (moved from inline styles)
-------------------------- */
#mySidebar {
  z-index: 3;
  width: 300px;
  font-weight: bold;
}

#mySidebar .sidebar-close-btn {
  width: 100%;
  font-size: 22px;
}

/* Limit logo padding rule to sidebar image only */
#mySidebar img {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 72px;
}

/* -------------------------
   Main content styling
-------------------------- */

/* White links in the main content (old look), orange text around them */
.content a,
.content a:visited {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.content a:hover {
  text-decoration-thickness: 2px;
}

/* Force the descriptor/tag portions to orange */
.content .tag,
.content .note {
  color: orange;
}

/* Make lists look clean like your “new formatting” screenshot */
.content ul {
  margin: 0.75rem 0 1.75rem;
  padding-left: 1.2rem;
}

.content li {
  margin: 0.6rem 0;
}

/* Orange bullets */
.content li::marker {
  color: orange;
}

/* Paragraph spacing for link sections */
.content p {
  margin: 0.75rem 0;
}

/* Footer */
.site-footer {
  margin: 96px 0 24px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

/* -------------------------
   Scrollbar (WebKit)
-------------------------- */
::-webkit-scrollbar { width: 15px; }
::-webkit-scrollbar-track { background: #212529; }
::-webkit-scrollbar-thumb { background: #777; border: 1px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #666; }

/* -------------------------
   Section subheadings (within content sections)
-------------------------- */
.section-subhead {
  font-size: 20px;
  color: #ff9800;
  margin: 1.8rem 0 0.5rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,152,0,0.2);
  padding-bottom: 4px;
}

/* Sidebar menu link polish */
a.w3-bar-item.w3-button.w3-hover-black {
  transition: 0.2s;
  border-radius: 7px;
}
a.w3-bar-item.w3-button.w3-hover-black:hover {
  transition: 0.3s;
  border-radius: 7px;
}
