/* ================= RESET ================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #000;
  color: #d1fae5;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid #003d2e;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 35px;
  filter: drop-shadow(0 0 6px rgba(0,255,159,0.6));
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

nav a:hover {
  color: #00ff9f;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: #00ff9f;
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 20px 40px 20px;
}

.hero-name {
  font-size: 30px;
  color: #00ff9f;
  text-shadow: 0 0 15px rgba(0,255,159,0.8);
}

.hero h1 {
  font-size: 24px;
  color: #00ff9f;
  text-shadow: 0 0 12px rgba(0,255,159,0.7);
  margin-bottom: 20px;
}

.hero p {
  font-size: 15px;
  max-width: 700px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* Typing Glow */

.typing-name {
  color: #00ff9f;
  text-shadow: 0 0 15px rgba(0,255,159,0.8);
}

.typing {
  color: #00ff9f;
  text-shadow: 0 0 10px rgba(0,255,159,0.6);
}

.cursor {
  color: #00ff9f;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ================= BUTTON ================= */

.btn,
.btn-blue {
  padding: 14px 30px;
  background: #001a14;
  color: #00ff9f;
  border: 1px solid #00ff9f;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover,
.btn-blue:hover {
  background: #00ff9f;
  color: #000;
  box-shadow: 0 0 15px rgba(0,255,159,0.7);
}

/* ================= QUICK SECTION ================= */

.quick-section {
  padding: 100px 20px 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 40px;
  color: #00ff9f;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(0,255,159,0.6);
}

.quick-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  line-height: 1.7;
}

.about-image {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 0 20px rgba(0,255,159,0.3);
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ================= FAQ ================= */

.faq-section {
  padding: 60px 20px 40px 20px;
  text-align: center;
}

.faq-item {
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.faq-item h3 {
  color: #00ff9f;
  margin-bottom: 10px;
}

/* ================= FOOTER ================= */

.footer {
  padding: 40px 60px;
  border-top: 1px solid #003d2e;
}

.footer-left h2 {
  color: #00ff9f;
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-right: 10px;
  background: #001a14;
  color: #00ff9f;
  border: 1px solid #003d2e;
  transition: 0.3s;
}

.social-icons a:hover {
  box-shadow: 0 0 8px rgba(0,255,159,0.6);
}

/* ================= MATRIX ================= */

#matrixCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ================= BOOT ================= */

#bootScreen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.boot-terminal {
  font-family: monospace;
  font-size: 22px;
  color: #00ff9f;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .nav {
    padding: 20px;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #000;
    padding: 20px;
    border: 1px solid #003d2e;
  }

  nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-name,
  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer {
    padding: 20px;
  }
}

/* ================= PORTFOLIO ================= */

.portfolio-section {
  min-height: 100vh;
  padding: 100px 20px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 50px auto;
}

.project-card {
  background: rgba(0, 255, 159, 0.05);
  border: 1px solid #00ff9f;
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
}

.project-card h3 {
  color: #00ff9f;
  margin-bottom: 15px;
}

.project-card p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.6;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0,255,159,0.4);
}

