/* Base Styles */
body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #000;
  padding: 20px 40px;
  gap: 20px;
}

.logo {
  height: 120px;
  width: auto;
  flex-shrink: 0;
}

.title-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #fff;
}

.title-area h1 {
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  color: #fff;
}

.title-area h2 {
  margin: 5px 0 0;
  font-size: 1em;
  font-weight: 400;
  color: #ccc;
}

/* Navigation */
.navbar {
  background-color: #444;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.navbar a:hover,
.navbar .active {
  background-color: #666;
}

/* Dropdown Styles */
.navbar .has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 300px;
  z-index: 1000;
  flex-direction: column;
}

.navbar .has-dropdown:hover .dropdown {
  display: block;
}

.navbar .dropdown li {
  border-bottom: 1px solid #555;
}

.navbar .dropdown li a {
  padding: 12px 16px;
  color: #fff;
  background-color: #333;
}

.navbar .dropdown li a:hover {
  background-color: #555;
}
/* Content */
.content {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #111;
  border-top: 2px solid limegreen;
}

.intro-text p {
  margin-bottom: 1em;
}

/* Footer */
.footer {
  text-align: center;
  background-color: #000;
  padding: 20px;
  color: #aaa;
  font-size: 0.85em;
  border-top: 2px solid limegreen;
}

.footer .social-icons {
  margin: 20px 0 10px;
}

.footer .social-icons a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
}

.footer .social-icons img {
  vertical-align: middle;
  height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    padding: 10px;
    width: 100%;
    text-align: center;
  }
}
/* SERVICES PAGE STYLES */

.services-intro {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  line-height: 1.6em;
}
.centered-title {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 20px;
}
.services-intro h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

form.services-form {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
}

form.services-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form.services-form input,
form.services-form select,
form.services-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
}

form.services-form textarea {
  grid-column: span 2;
  height: 150px;
  resize: vertical;
}

form.services-form .full-width {
  grid-column: span 2;
}

form.services-form .checkbox-container {
  grid-column: span 2;
  display: flex;
  align-items: center; /* 'left' is not valid here — use 'center' or 'flex-start' */
  gap: 6px;
  padding-left: 6px; /* Or margin-left depending on visual preference */
}

form.services-form .checkbox-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  white-space: nowrap;
}

form.services-form .checkbox-container input[type="checkbox"] {
  margin-right: 0; /* optional, gap already handles spacing */
}
form.services-form button {
  grid-column: span 2;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form.services-form button:hover {
  background-color: #555;
}

.article-img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}
.center-link {
  text-align: center;
  margin: 20px 0;
}

.center-link a {
  color: limegreen;
  font-weight: bold;
  text-decoration: none;
}

.center-link a:hover {
  text-decoration: underline;
}
/*Grid for Boxes */
 .box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 1em;
  }

  .box-entry {
    text-align: center;
  }

  .box-entry img {
    max-width: 100px;
    border-radius: 10px;
    margin-bottom: 0.5em;
  }

  .box-entry span {
    display: block;
    color: white;
    font-weight: bold;
  }

  .meta {
    font-size: 0.9em;
    color: #aaa;
  }

  .section-title {
    font-size: 1.5em;
    margin-top: 1em;
    color: #00ffcc;
  }

  .update-note {
    margin-top: 1em;
    font-style: italic;
    color: #ccc;
  }

  .difficulty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 2em 0;
    justify-items: center;
  }

  .difficulty-tile {
    text-align: center;
    text-decoration: none;
    padding: 1.5em;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 100px;
  }

  .bordered-tile {
    border: 3px solid;
    background-color: transparent;
  }

  .bordered-tile.easy {
    color: #2ecc71;
    border-color: #2ecc71;
  }

  .bordered-tile.medium {
    color: #e67e22;
    border-color: #e67e22;
  }

  .bordered-tile.hard {
    color: #e74c3c;
    border-color: #e74c3c;
  }

  .bordered-tile.insane {
    color: #bdc3c7;
    border-color: #bdc3c7;
  }

  .difficulty-tile span {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-top: 0.25em;
  }

  .difficulty-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
  }
/*SANS Specific */
  .sans-page {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .sans-page .box-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
  }
  .sans-page .box-entry {
    text-align: center;
    max-width: 300px;
    padding: 10px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 8px;
}
  .sans-page .box-entry img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}
  .sans-page .box-entry span {
    display: block;
    font-size: 14px;
    color: #ddd;
}
  .sans-page .box-entry a {
    text-decoration: none;
    color: inherit;
}
  .sans-page .box-entry a:hover span {
    color: #ffffff;
}

  .story-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
  }
  .toc-list {
    padding-left: 20px;
    margin-bottom: 30px;
  }
  .toc-list li {
    margin-bottom: 8px;
    font-size: 15px;
  }
  .toc-list a {
    color: #66ccff;
    text-decoration: none;
  }
  .toc-list a:hover {
    text-decoration: underline;
  }
.scrap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 20px auto;
}
.scrap-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 5px #000;
}
.holiday-ending {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.holiday-ending .holiday-headline {
  font-size: 2.5em;
  color: #ff0033;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
}
