/* ==========================================
   TaurusTech Core Stylesheet
   Clean Modern Version (2025, No Retro Mode)
   ========================================== */

/* --- Basic Reset & Body --- */
body {
  background-color: #000;
  font-family: "Times New Roman", serif;
  color: #ddd;
  margin: 0;
  padding: 0;
}

/* --- Container --- */
.container {
  max-width: 800px;
  margin: 20px auto;
  border: 2px solid #666;
  padding: 15px;
  box-shadow: 5px 5px 0 #333;
  background: #000;
}

/* --- Header --- */
header {
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 2px dashed #888;
  padding-bottom: 10px;
}

#logo {
  max-height: 220px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  border: none;
  box-shadow: none;
  filter: none;
}

.tagline {
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: #00ff00;
  margin-top: 5px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.tagline::after {
  content: "|";
  color: #00ff00;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* --- Navigation --- */
nav {
  text-align: center;
  margin: 15px 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin: 0 12px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #a56cff;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: color 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #a56cff;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #ffff66;
}

@media (max-width: 600px) {
  nav li {
    display: block;
    margin: 8px 0;
  }
}

/* --- Horizontal Rules --- */
hr.fancy-hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(221, 221, 221, 0),
    rgba(221, 221, 221, 0.75),
    rgba(221, 221, 221, 0)
  );
  margin: 20px 0;
}

/* --- Main Content --- */
main {
  line-height: 1.6;
}
main h2 {
  color: #a56cff;
  font-family: Georgia, serif;
}
main h3 {
  color: #a56cff;
  border-bottom: 1px solid #666;
  padding-bottom: 3px;
}

/* --- Under Construction Box --- */
.construction-zone {
  border: 1px dashed #ff8c00;
  padding: 10px;
  margin: 20px 0;
  text-align: center;
  background: transparent;
}

.construction-zone img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 5px;
}

.construction-zone p {
  margin: 0;
  color: #a56cff;
  font-style: italic;
}

/* --- Hit Counter --- */
.hit-counter {
  margin-top: 10px;
}

#visitorCount {
  font-family: "Courier New", monospace;
  color: #a56cff;
  background: transparent;
  border: 1px solid #a56cff;
  padding: 2px 6px;
  display: inline-block;
  box-shadow: 0 0 4px #a56cff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* --- Guestbook Styles --- */
.guestbook-form {
  border: 1px dashed #888;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #111;
}

.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  margin-bottom: 3px;
  font-weight: bold;
  color: #a56cff;
}
.form-group input[type="text"],
.form-group textarea {
  background-color: #222;
  color: #ddd;
  border: 1px solid #666;
  padding: 5px;
  font-family: "Courier New", monospace;
  width: 90%;
  max-width: 400px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: 1px solid #a56cff;
  background-color: #111;
}

/* --- Typewriter Animation (Section Headers) --- */
h3 {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
  padding-right: 4px;
  vertical-align: middle;
  position: relative;
  width: 0;
  color: #a56cff;
  animation: typing 3s steps(30, end) forwards;
}
h3::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 1em;
  background-color: #a56cff;
  animation: blink 0.8s step-end infinite, fadeout 1s ease forwards;
  animation-delay: 0s, 6s;
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes fadeout { to { opacity: 0; } }

/* --- Project Items --- */
.project-item {
  margin-bottom: 25px;
}
.project-item a {
  color: #a56cff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.project-item a:hover {
  text-decoration: underline;
  color: #fff;
}
.project-item .button-link {
  display: inline-block;
  background-color: #a56cff;
  color: #0f0f10;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.project-item .button-link:hover {
  background-color: #c39eff;
  color: #000;
}

/* --- Images --- */
img {
  filter: brightness(1.1);
  border: none;
  box-shadow: none;
}

/* --- Footer --- */
footer {
  text-align: center;
  background-color: #000;
  border-top: 2px dashed #888;
  color: #aaa;
  font-family: "Courier New", monospace;
  padding: 15px 0 25px;
  box-shadow: inset 0 0 15px rgba(165, 108, 255, 0.15);
}

footer p {
  margin: 6px 0;
  text-shadow: none;
}

footer .brand-line {
  color: #a56cff;
  font-weight: bold;
}

footer .last-updated span {
  color: #a56cff;
}

.footer-contact {
  margin: 15px 0;
}

.footer-contact a {
  color: #a56cff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #ffccff;
}

.social-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.social-badges img {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-badges img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.visitor-line {
  margin-top: 8px;
  color: #aaa;
}

/* --- Updates --- */
.update-item {
  border: 1px dashed #a56cff;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  margin: 12px 0;
  color: #cc99ff;
  font-size: 0.95em;
}

.update-highlight {
  color: #ffccff;
  font-weight: bold;
  text-shadow: 0 0 4px #a56cff;
}

.update-date {
  font-size: 0.8em;
  color: #9999cc;
  margin-top: 5px;
  text-align: right;
}

/* --- Connect Section --- */
.connect-section ul {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.connect-section li {
  margin: 5px 0;
}
