@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Consolas', 'Courier New', monospace;
  color: #e8e8e8;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #0a0a0a;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.75);
  z-index: 1;
  pointer-events: none;
}

#bg-stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

section, nav {
  position: relative;
  z-index: 3;
}

.top-nav {
  position: fixed;
  top: 0;
  right: 20px;
  display: flex;
  gap: 30px;
  padding: 20px 30px;
  background: rgba(10, 10, 10, 0.88);
  border-radius: 0 0 10px 10px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
}

.top-nav.visible {
  opacity: 1;
  transform: translateY(0);
}

.top-nav-link {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.top-nav-link:hover {
  color: #242121;
}

.hero-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('pics/wau.jpg') no-repeat center center;
  background-size: cover;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  z-index: 1;
  pointer-events: none;
}

#nn-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content {
  text-align: center;
  z-index: 3;
  position: relative;
}

.hero-name {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: 'Consolas', 'Courier New', monospace;
}

.hero-subtitle {
  font-size: 2rem;
  color: #faf5f5;
  margin-bottom: 50px;
}

.hero-nav {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  margin-bottom: 50px;
}

.hero-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-link:hover {
  color: #c59494;
}

.nav-dot {
  color: #faf6f6;
}

.hero-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-circle {
  width: 60px;
  height: 60px;
  border: 2px solid #cccccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}

.social-circle img,
.social-circle svg {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.social-circle:hover {
  background: #82aaab;
  border-color: #857575;
  transform: scale(1.1);
}

.social-circle:hover img,
.social-circle:hover svg {
  filter: brightness(0) invert(1);
}

.about-skills-section {
  min-height: 100vh;
  padding: 100px 50px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}

.about-content h2,
.skills-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-family: 'Consolas', 'Courier New', monospace;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ced8e1;
  margin-bottom: 10px;
}

.about-content strong {
  color: #e8e8e8;
}

.resume-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid #3e91a6;
  color: #8e7f7f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.resume-button:hover {
  background: #4c929b;
  color: #0a0a0a;
}

.skills-content ul {
  list-style: none;
  padding: 0;
}

.skills-content ul li {
  font-size: 1.2rem;
  line-height: 2;
  color: #8ba3a5;
  position: relative;
  padding-left: 30px;
}

.skills-content ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #398590;
  font-size: 1.5rem;
}

.projects-section {
  padding: 70px 50px;
  background: transparent;
}

.projects-title {
  font-size: 3rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Consolas', 'Courier New', monospace;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 550px;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #888888;
  margin-bottom: 0;
  flex-grow: 1;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nn-thumb-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-top: auto;
  background: #111111;
  border: 1px dashed #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-link {
  color: #cd8585;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  margin-top: 16px;
  display: block;
  flex-shrink: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.15);
  border-color: #afa5a5;
}

.project-date {
  font-size: 0.9rem;
  color: #e79797;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-card h3 {
  font-size: 1.5rem;
  color: #dddddd;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #888888;
  margin-bottom: 16px;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.03);
}

.nn-thumb-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-top: auto;
  background: #111111;
  border: 1px dashed #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nn-thumb-placeholder::after {
  content: "[ drop gif or video here ]";
  color: #444444;
  font-size: 0.85rem;
  font-family: 'Consolas', monospace;
}

.project-link {
  color: #cd8585;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  margin-top: 16px;
  display: block;
}

.project-link:hover {
  color: #ff7777;
}

.contact-section {
  min-height: 70vh;
  padding: 100px 50px;
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, #0a0a0a, transparent);
  z-index: 0;
  pointer-events: none;
}

.contact-section h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-family: 'Consolas', 'Courier New', monospace;
}

.contact-section p {
  font-size: 1.2rem;
  color: #999999;
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.contact-email a {
  font-size: 1.5rem;
  color: #528aa6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #13ccd5;
}

.contact-social {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.contact-social a {
  color: #c9a7a7;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 25px;
  border: 2px solid #acccd3;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social a svg {
  fill: #bba0a0;
  transition: fill 0.3s ease;
}

.contact-social a:hover {
  background: #b78888;
  color: #0a0a0a;
}

.contact-social a:hover svg {
  fill: #0a0a0a;
}

@media (max-width: 768px) {
  .hero-name { font-size: 3rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .about-container { grid-template-columns: 1fr; gap: 50px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-social { flex-direction: column; gap: 15px; }
}