/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.7;
}

/* NAVIGATION */
nav {
  background-color: #111111;
  padding: 16px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 600;
  font-size: 15px;
}

nav ul li a:hover {
  color: #a855f7;
}

/* HERO SECTION */

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #a855f7;
  margin-bottom: 20px;
}

#hero {
  background: linear-gradient(135deg, #0d0d0d, #1a0a2e);
  color: white;
  padding: 100px 40px;
  text-align: center;
}

#hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #ffffff;
}

#hero p {
  font-size: 18px;
  margin-bottom: 8px;
  color: #aaaaaa;
}

/* SECTIONS */
section {
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

h2 {
  font-size: 28px;
  color: #a855f7;
  margin-bottom: 16px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 8px;
}

p {
  font-size: 16px;
  color: #bbbbbb;
  margin-bottom: 12px;
}

/* SKILLS */
#skills ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

#skills ul li {
  background-color: transparent;
  color: #a855f7;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #a855f7;
}

/* PROJECT CARDS */
.project-card {
  background: #111111;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border-left: 4px solid #a855f7;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
  border-left: 4px solid #a855f7;
}


/* CONTACT */
#contact a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 600;
}

#contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.social-links a {
  text-decoration: none;
  color: #ffffff;
  border: 2px solid #a855f7;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #a855f7;
  color: #ffffff;
}
/* FOOTER */
footer {
  background-color: #111111;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid #2a2a2a;
}

footer p {
  color: #aaaaaa;
  margin-bottom: 16px;
}

footer .copyright {
  color: #555555;
  font-size: 13px;
  margin-top: 16px;
}
.cv-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 30px;
  background-color: #a855f7;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.cv-btn:hover {
  background-color: #9333ea;
  transform: translateY(-2px);
}
/* SCROLL ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* EDUCATION CARDS */
.education-card {
  background: #111111;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid #a855f7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.education-card h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
}

.institution {
  color: #a855f7 !important;
  font-weight: 600;
  margin-bottom: 4px !important;
}

.year {
  color: #888888 !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

/* HOBBIES */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.hobby-card {
  background: #111111;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}

.hobby-card:hover {
  border-color: #a855f7;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}

.hobby-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.hobby-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
}
/* PROJECT HEADER */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-status {
  background-color: #1a1a1a;
  color: #a855f7;
  border: 1px solid #a855f7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* PROJECT TECH TAGS */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-tech span {
  background-color: #1a1a1a;
  color: #aaaaaa;
  border: 1px solid #333333;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}
.project-card .project-status.hackathon {
  color: #22c55e;
  border-color: #22c55e;
}
/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}
/* BACK TO TOP BUTTON */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #a855f7;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #9333ea;
  transform: translateY(-3px);
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 32px;
  }

  #hero p {
    font-size: 16px;
  }

  nav ul {
    gap: 16px;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  section {
    padding: 40px 20px;
  }

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

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }
}
