* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.7;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: #0b1220;
  z-index: 10;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #94a3b8;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 15px;
  color: #94a3b8;
}

/* SECTIONS */
section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 30px;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #38bdf8;
  letter-spacing: 1px;
}

/* SKILLS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: #111827;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* PROJECT */
.project {
  background: #020617;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 40px;
}

.project h3 {
  margin-bottom: 12px;
}

.project h4 {
  margin-top: 25px;
  color: #7dd3fc;
}

.project ul {
  margin-top: 15px;
  padding-left: 20px;
}

.project li {
  margin-bottom: 6px;
}

/* IMAGE */
.architecture-img {
  width: 100%;
  border-radius: 12px;
  margin: 15px 0;
  cursor: pointer;
  background: #fff;
  padding: 10px;
}

.img-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* LINKS */
.project-links a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  color: #38bdf8;
}

/* CONTACT */
#contact {
  text-align: center;
}

#contact a {
  color: #38bdf8;
  text-decoration: none;
}

.footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #64748b;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  max-width: 95%;
  max-height: 90%;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
