/* Base styles */
body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background-color: #0a0a0a;
  color: #d0d0d0;
}

a {
  color: #90ee90;
  text-decoration: none;
}

header {
  background-color: #000;
  border-bottom: 1px solid #222;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  margin-left: 1.5rem;
  color: #ccc;
}

/* Burger menu icon */
.menu-toggle {
  display: none;
  font-size: 25px;
  color: #fff;
  cursor: pointer;
}

nav.mobile-hidden a {
  color: #ccc;
  padding: 0.5rem 1rem;
}

nav.mobile-visible {
  display: flex;
}

.hero {
  text-align: left;
  padding: 3rem 1rem;
}

.hero h2 {
  font-size: 2rem;
  color: #ffffff;
}

.hero p {
  max-width: 600px;
  color: #aaa;
}

.heroRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.hero .image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.hero .image img {
  max-width: 100%;
  height: auto;
  width: 130px;
  border-radius: 8px;
}

.buttons {
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  display: inline-block;
}

.btn.green {
  background-color: #aaff3c;
  color: #000;
}

.btn.dark {
  background-color: #222;
  color: #f5f5f5;
  border: 1px solid #444;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  margin: 0.5rem 0;
  color: #aaff3c;
}

.featuresRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.features .text {
  flex: 1 1 50%;
}

.features .image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.features .image img {
  max-width: 100%;
  height: auto;
  width: 230px;
  border-radius: 8px;
}

/* Docs Section */
.docs {
  background-color: #111;
  padding: 3rem 1rem 4rem;
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 8px;
}

.docs h2, .docs h3, .docs h4 {
  color: #aaff3c;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.docs p, .docs ul, .docs ol, .docs li {
  margin-bottom: 1rem;
}

.docs ul, .docs ol {
  padding-left: 1.5rem;
}

.docs code {
  background-color: #222;
  color: #aaff3c;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.docs pre {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.9rem;
  overflow-x: auto;
  color: #aaff3c;
}

.endpoint {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
}

.section-subtitle {
  font-weight: 600;
  color: #66bb33;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 3rem 1rem;
}

.contact h3 {
  color: #aaff3c;
}

.contact p {
  margin-bottom: 1rem;
  color: #ccc;
}

.contact .link {
  color: #90ee90;
  font-weight: bold;
  font-size: 1.1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  color: #666;
}

/* Drawer Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

/* Drawer Menu */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #000;
  z-index: 999;
  padding: 1.5rem;
  transition: right 0.3s ease;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.drawer-menu.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h2 {
  font-size: 1.3rem;
  color: #fff;
}

.drawer-close {
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.drawer-links li {
  margin-bottom: 1.2rem;
}

.drawer-links a {
  color: #aaff3c;
  font-size: 1.1rem;
  text-decoration: none;
}

/* Visibility helpers */
.hidden {
  display: none;
}

.visible {
  display: block;
}
