/* --------------------*/
/*   GLOBAL RESET       */
/* --------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #0a0a0a;
  color: #eaeaea;
  line-height: 1.6;
}

/* --------------------*/
/*   NAVIGATION         */
/* --------------------*/
nav {
  width: 100%;
  padding: 1.2rem 2rem;
  background: #0f0f0f;
  border-bottom: 1px solid #1f1f1f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6c63ff, #9f94ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #aaa;
  font-size: 1.05rem;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* --------------------*/
/*     HEADER           */
/* --------------------*/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
  gap: 3rem;
}

.header-text h1 {
  font-size: 4rem;
  background: linear-gradient(90deg, #6c63ff, #9f94ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-text p {
  color: #aaa;
  margin: 1rem 0 2rem;
  font-size: 1.3rem;
}

.header-image img {
  width: 280px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.3);
}

/* --------------------*/
/*     BUTTONS          */
/* --------------------*/
.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.7rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, #6c63ff, #9f94ff);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 7px 22px rgba(108, 99, 255, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background: #1a1a2e;
  color: #6c63ff;
}

.btn-secondary:hover {
  background: #2a2a50;
}

/* --------------------*/
/*     ABOUT SECTION    */
/* --------------------*/
.about {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skills {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.skills span {
  background: #1a1a2e;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: #9f94ff;
  font-size: 0.95rem;
}

/* --------------------*/
/*   HIGHLIGHT CARDS    */
/* --------------------*/
.highlights {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.highlight-card {
  background: #111;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
  overflow: visible;
  position: relative;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.25);
}

.highlight-card h3 {
  font-size: 1.6rem;
  color: #6c63ff;
  margin-bottom: 1rem;
}

.highlight-card p {
  color: #aaa;
  margin-bottom: 1.5rem;
}

.highlight-card a.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-top: 1rem;
  text-decoration: none;
  color: white;
  background: #6c63ff;
  border-radius: 10px;
  transition: 0.2s;
}

.highlight-card a.btn-primary:hover {
  background: #5750d6;
}

/* --------------------*/
/*    CONTACT SECTION   */
/* --------------------*/
.contact-section {
  padding: 4rem 2rem 5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.4rem;
}

.contact-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* --------------------*/
/*     FOOTER           */
/* --------------------*/
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  color: #777;
  border-top: 1px solid #1f1f1f;
}

/* --------------------*/
/*      RESPONSIVE      */
/* --------------------*/
@media (max-width: 900px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .header-image img {
    width: 200px;
  }

  .highlights {
    grid-template-columns: 1fr;
  }
}

/* --------------------*/
/*     PROJECTS PAGE    */
/* --------------------*/
.projects-header {
  text-align: center;
  padding: 3rem 2rem;
}

.projects-header h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #6c63ff, #9f94ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.projects-header p {
  color: #aaa;
}

.projects-main {
  max-width: 1200px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
  display: grid;
  gap: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project {
  background: #111;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transition: 0.3s;
  position: relative;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108,99,255,0.3);
}

.project img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 15px;
}

.project h3 {
  color: #6c63ff;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.project p {
  color: #aaa;
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-stack span {
  background: #1a1a2e;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  color: #9f94ff;
  font-size: 0.9rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* --------------------*/
/* BLOCKED PROJECT OVERLAY */
/* --------------------*/
.blocked-project {
  position: relative;
}

.blocked-project .overlay {
  position: absolute;
  inset: 0;
  background: rgba(40,40,70,0.8);
  border-radius: 20px;
  color: #ccc;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.blocked-project.show-overlay .overlay {
  opacity: 1;
}

/* Mini projects */
.project.mini {
  padding: 1.5rem;
}
