/* 
 * Project: Directory Styler
 * Version: 1.0
 * Author: ChatGPT + Nik Zane
 * Description: Clean, dark-themed styling for collapsible directory interface.
 */

body {
  font-family: sans-serif;
  background: #121212;
  color: #eee;
  margin: 0;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: auto;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.category {
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.accordion {
  background-color: #1f1f1f;
  color: #eee;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.accordion:hover,
.accordion.active {
  background-color: #333;
}

.panel {
  background-color: #181818;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.panel ul {
  list-style: none;
  padding: 0.5rem 1.5rem;
  margin: 0;
}

.panel li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.panel li:last-child {
  border-bottom: none;
}

.panel a {
  color: #88c0d0;
  text-decoration: none;
}

.panel a:hover {
  text-decoration: underline;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1em;
  border-top: 1px solid #7e7e7e;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
  /* background: rgba(158, 0, 0, 0.561)!important; */
}

.project-item {
  display: block;
  padding: 1.0em;
  border-radius: 10em;
  transition: 300ms;
  /* background: rgba(158, 0, 0, 0.561)!important; */
}
.project-item a:hover {
  text-decoration: none;
  background-color: rgba(rgb(125, 0, 0);
}


footer {
  text-align: center;
  padding: 1em;
  border-top: 1px solid #7e7e7e;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
  background: rgba(158, 0, 0, 0.561);
}

footer hr {
  margin-bottom: 0.5em;
  border-color: #7e7e7e;
}

footer p {
  margin: 0;
}
.accordion .triangle {
  display: inline-block;
  transition: transform 0.3s ease!important;
  margin-right: 0.5em;
}

.accordion.active .triangle {
  transform: rotate(90deg)!important;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease!important;
  margin-right: 0.5em;
}

/* Rotates the arrow when the button is expanded */
.accordion[aria-expanded="true"] .arrow {
  transform: rotate(90deg)!important;
}

/* optional niceties */
.voice-wrap select{ padding:.55rem .75rem; border-radius:.5rem; background:#111; color:#fff; border:1px solid #444 }
.controls-row{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; align-items:center }
.visually-hidden{ position:absolute; left:-9999px }
.tts-note{ opacity:.6; font-size:.9rem; text-align:center; margin-top:.5rem }
