body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}

.site-header {
  background: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
  color: #00eaff;
  letter-spacing: 1px;
}

.logo span {
  color: #ffffff;
  font-weight: 300;
}

.nav-links a {
  margin-left: 1.25rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #bbb;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
}

.nav-links a:hover {
  background-color: #00eaff22;
  color: #00eaff;
}

.site-footer {
  background: #1a1a1a;
  padding: 1rem 2rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

.main-content {
  padding: 2rem;
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(to right, #141e30, #243b55);
}

.subtitle {
  color: #ddd;
  margin-top: 1rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #00eaff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #1e1e1e;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 234, 255, 0.2);
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background: #2a2a2a;
  color: #fff;
}

.contact-form button {
  padding: 0.75rem;
  background: #00eaff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #00c6d8;
}

.hero-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.terminal {
  background: #121212;
  border-radius: 8px;
  margin: 3rem auto 0;
  max-width: 600px;
  padding: 1rem;
  font-family: monospace;
  box-shadow: 0 0 10px rgba(0,234,255,0.1);
  border: 1px solid #00eaff33;
}

.terminal-header {
  background: #00eaff11;
  padding: 0.5rem;
  color: #00eaff;
  font-weight: bold;
  border-bottom: 1px solid #00eaff22;
}

.terminal-body {
  padding: 1rem;
  color: #fff;
}

.cmd-output {
  color: #00eaff;
}

.terminal {
  background: #121212;
  border-radius: 8px;
  margin: 3rem auto 0;
  max-width: 600px;
  padding: 1rem;
  font-family: 'Source Code Pro', monospace, monospace;
  box-shadow: 0 0 20px rgba(0,234,255,0.15);
  border: 1px solid #00eaff55;
  color: #00eaff;
  user-select: none;
}

.terminal-header {
  background: #00eaff11;
  padding: 0.5rem;
  font-weight: bold;
  border-bottom: 1px solid #00eaff22;
  color: #00eaff;
}

.terminal-body {
  min-height: 100px;
  overflow-y: auto;
  white-space: pre-wrap;
  padding: 1rem 0;
  position: relative;
}

/* Blinking cursor effect */
.terminal-body::after {
  content: '|';
  animation: blink 1s infinite;
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-weight: bold;
  color: #00eaff;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cmd-output {
  color: #a0f0ff;
  margin-left: 1.5rem;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-folder {
  background: #121212;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #00eaff33;
  color: #00eaff;
  transition: background 0.3s ease;
}

.project-folder:hover {
  background: #00eaff11;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18,18,18,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 200;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #121212;
  border-radius: 10px;
  padding: 2rem;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  color: #00eaff;
  position: relative;
  box-shadow: 0 0 40px #00eaffaa;
  font-family: monospace;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #00eaff;
  cursor: pointer;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.file-item {
  background: #222;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #00eaff55;
  transition: background 0.3s ease;
  user-select: none;
}

.file-item:hover {
  background: #00eaff22;
}

.file-content {
  background: #1e1e1e;
  padding: 1rem;
  border-radius: 8px;
  white-space: pre-wrap;
  max-height: 50vh;
  overflow-y: auto;
  font-family: monospace;
  color: #00eaff;
}

.project-boxes {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.project-box {
  background: #121212;
  border: 1px solid #00eaff;
  border-radius: 8px;
  padding: 1.25rem;
  width: 250px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  color: #00eaff;
}

.project-box:hover {
  background: #00eaff22;
  box-shadow: 0 0 15px #00eaff;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #121212;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 700px;
  max-height: 80%;
  overflow-y: auto;
  color: #00eaff;
  font-family: monospace;
  position: relative;
}

#closePopup {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  color: #ff0000;
  font-size: 1.2rem;
  cursor: pointer;
}

pre.code-popup {
  background-color: #121212;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Source Code Pro', monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-wrap;
  max-height: 400px;
}

.code-popup .keyword {
  color: #00eaff;
  font-weight: 600;
}

.code-popup .string {
  color: #f08c8c;
}

.code-popup .comment {
  color: #6a9955;
  font-style: italic;
}

.code-popup .number {
  color: #d19a66;
}

.contact-forum {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #121212;
  border-radius: 10px;
  box-shadow: 0 0 15px #00eaff33;
}

.contact-forum textarea {
  resize: vertical;
  min-height: 100px;
}

.response-message {
  margin-top: 1rem;
  font-weight: 600;
  color: #00eaff;
  text-align: center;
}

.forum-posts {
  margin-top: 2rem;
  color: #bbb;
  font-style: italic;
}

.bot-card {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

pre {
  background: #222;
  padding: 0.8rem;
  overflow-x: auto;
  border-radius: 5px;
}

code {
  color: #00eaff;
}

.fivem-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
  color: white;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #1f1f1f;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.5rem;
  transition: 0.3s ease;
}
.service-card:hover {
  transform: scale(1.02);
  border-color: #00b3ff;
}
.service-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
