/* === GENERAL === */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #eee;
  line-height: 1.6;
}

a {
  color: #0ff;
  text-decoration: none;
}

h1, h2 {
  margin-bottom: 1rem;
}

ul {
  padding: 0;
  list-style: none;
}

/* === NAV === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
}

/* nav h2 {
  margin: 0;
} */
nav h2 {
  font-family: 'Pacifico', cursive;
  color: #0ff;
  /* text-shadow: 0 0 2px #0ff, 0 0 1px #0ff, 0 0 1px #0ff; */
  font-size: 2rem;
  transition: transform 0.3s;
}

nav h2:hover {
  transform: scale(1.05);
}


nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  transition: color 0.3s;
}

nav a:hover {
  color: #0ff;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 5px;
}

nav ul li a:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 10px #0ff;
  color: #0ff;
}


/* === HERO === */
#hero {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero h1 {
  font-size: 2.5rem;
}

#hero p {
  font-size: 1.2rem;
  color: #ccc;
}

/* about */
#about p{
  font-size: 20px;
}

/* .profile-pic {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0ff;
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
} */

.profile-pic {
  width: 250px; /* was 150px */
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #0ff;
  margin: 0 auto 1.5rem auto; /* center + space below */
  display: block; /* center as block */
  transition: transform 0.5s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}


/* === Spin + Bounce === */
@keyframes spinBounce {
  0% {
    transform: rotate(0deg) scale(0.8);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.profile-pic.animate {
  animation: spinBounce 1.5s ease forwards;
}

/* === SECTIONS === */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#skills li {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#skills li img {
  width: 24px;
  height: 24px;
}

.skill-category {
  margin-bottom: 2rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.skill-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-logos img {
  width: 50px;
  height: 50px;
}


/* === PROJECT CARDS === */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 3rem;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s;
}

.card:hover {
  transform: scale(1.05);
  background: rgba(0, 255, 255, 0.1);
}

/* project-image */
.project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-images img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #0ff;
}

/* achivements */
#achievements {
  text-align: center;
  padding: 4rem 2rem;
}

.achievement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap; /* So it stacks on mobile */
  margin: 2rem 0;
}

.achievement-img {
  max-width: 800px;
  width: 100%;
}

#achievements p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
}


/* table */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  color: #eee;
}

table th, table td {
  padding: 1rem;
  border-bottom: 1px solid #0ff;
  text-align: left;
}

table th {
  background: rgba(0, 255, 255, 0.1);
}

table tr:hover {
  background: rgba(0, 255, 255, 0.05);
}

/* resume */
.resume-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: #0ff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 15px #0ff;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.resume-btn:hover {
  background: #00e6e6;
  box-shadow: 0 0 25px #00e6e6;
  transform: scale(1.05);
}

/* graphic */
#visionary-edits {
  text-align: center;
  padding: 4rem 2rem;
}

#visionary-edits .icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

#visionary-edits .icon-link:hover {
  transform: scale(1.05);
  text-shadow: 0 0 5px #0ff;
}


/* === FOOTER === */
footer {
  text-align: center;
  padding: 4rem 2rem;
}

footer .icons a {
  margin: 0 0.5rem;
  display: inline-block;
  transition: transform 0.3s;
}

footer .icons a:hover {
  transform: scale(1.2);
}

/* icon */
.icons {
  margin: 2rem 0;
}

.icons a img {
  width: 40px;
  height: 40px;
  margin: 0 1rem;
  filter: invert(71%) sepia(52%) saturate(718%) hue-rotate(144deg) brightness(102%) contrast(102%);
  transition: transform 0.3s, filter 0.3s;
}

.icons a img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #0ff);
}


/* === LOADER === */
.loader {
  position: fixed;
  background: #000;
  color: #0ff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  animation: fadeOut 3s forwards 2s;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  #hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
    .profile-pic {
    width: 180px;
    height: 180px;
  }
  nav {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
    margin-top: 1rem;
  }
  #hero {
    padding: 4rem 1rem;
  }
  section {
    padding: 2rem 1rem;
  }
}
