/* base.css */


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  background-color: #f0fcff;
  color: #111;
  padding-top: 75px; /* make room for fixed header */
}





/* Fixed Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #002855;
  color: white;
  z-index: 1000;
  padding: 0.75em 1em;
  display: flex;
  flex-direction: column;
}

.header-logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #ffff33;
  font-family: 'Sling', sans-serif;
}

.tagline {
  font-size: 0.9em;
  color: #cde6ff;
  font-weight: normal;
  margin-top: 0.2em;
}

/* Responsive: Hide tagline on small screens or portrait */
@media screen and (max-width: 768px), screen and (orientation: portrait) {
  .tagline {
    display: none;
  }
}

/* Menu Button */
#menu-toggle {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 1001;
  background: #222;
  color: #ff0;
  font-weight: bold;
  padding: 0.5em 1em;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* Slide-Out Menu */
.slide-menu {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 250px;
  background: linear-gradient(to bottom, #003366, #0059b3, #0099ff);
  color: white;
  z-index: 1002;
  display: none;
}


.slide-menu.active {
  display: block;
}

.menu-content {
  padding: 1em;
}

.menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content li a {
  display: block;
  padding: 0.4em 0;
  text-decoration: none;
  color: #fff;
  line-height: 1.3;
}

.nav-menu-heading {
  font-size: 1em;
  margin: 1em 0 0.5em;
  color: #fff;
}

/* General Layout Adjustments */
main {
  padding: 2em;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  background: url('/site/assets/media/hero-bg.jpg') center/cover no-repeat;
  background-color: #e8f0fe;
  padding: 4em 2em;
  min-height: 300px;
  text-align: center;
  color: #003366;
  border-radius: 8px;
}


.close-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.2s ease;
}

.close-menu:hover {
  transform: scale(1.2);
  color: #ffcc00;
}



body, p, div, h1, h2, h3, h4, h5, h6, li, span, a, td, th, code, pre, kbd {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

.tool-icon {
  vertical-align: middle;
  width: 36px;
  margin-right: 10px;
}

.tool-textarea {
  width: 100%;
  max-width: 600px;
  font-family: monospace;
  font-size: 1rem;
  margin-bottom: 1em;
}

.radio-options {
  margin: 1em 0;
}

.convert-btn {
  background: #4b6cb7;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 1em;
}

.button-row {
  display: flex;
  gap: 1em;
}
.secondary-btn {
  padding: 0.5em 1em;
  border: 1px solid #777;
  background: #eee;
  cursor: pointer;
}

.tool-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
}

/* Category and Tool List Layout */
.toolbox-heading {
  text-align: center;
  font-size: 2.2em;
  margin-top: 1em;
  color: #002855;
  font-weight: bold;
}

.toolbox-list {
  max-width: 850px;
  margin: 2em auto;
  padding: 1em 1.5em;
  background: #ffffffcc;
  border-radius: 10px;
  box-shadow: 0 0 12px #ccc;
}

.toolbox-list div {
  margin-bottom: 1.75em;
  font-size: 1.1em;
}

.toolbox-list a {
  font-weight: bold;
  color: #003366;
  text-decoration: none;
}

.toolbox-list a:hover {
  text-decoration: underline;
}

.toolbox-list small {
  display: block;
  color: #333;
  margin-top: 0.3em;
  font-size: 0.9em;
}
