/* ========================================
   A N E E S H  S I D D H A R T H A  -  S I T E
   Clean responsive + animations + polish
   ======================================== */

/* ---------- BASE STYLES ---------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

nav {
  margin: 0;
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
  padding: 1rem;
  align-items: center;
  box-shadow: 0 1px 3px rgba(25, 22, 22, 0.05);
  background: rgba(255, 255, 255, 0.55);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav a {
  text-decoration: none;
  color: #7c7575;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: black;
}

/* ---------- BIO SECTION ---------- */
#bio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 40px 20px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(8px);
  animation: bioFadeIn 0.7s cubic-bezier(.16, .84, .26, 1) 0.2s forwards;
}

@keyframes bioFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#text_bio {
  padding: 10px;
  max-width: 480px;
}

#text_bio h1 {
  font-size: 28px;
  margin: 0 0 6px;
  color: #000;
}

#text_bio em {
  font-size: 16px;
  color: #555;
}

#text_bio p {
  color: #444;
  line-height: 1.6;
  font-size: 15px;
  margin: 12px 0 20px;
}

/* ---------- PROFILE IMAGE ---------- */
.profile_pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.profile_pic:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* ---------- BIO LINKS ---------- */
#bio_links {
  display: flex;
  align-items: center;
  gap: 20px;
}

#bio_links a {
  position: relative;
  text-decoration: none;
  color: white;
  background-color: black;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  overflow: hidden;
  z-index: 0;
}

/* glow effect */
#bio_links a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.08) 40%, transparent 70%);
  border-radius: 999px;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  #bio_links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 13, 27, 0.12);
  }
  #bio_links a:hover::after {
    width: 220%;
    height: 260%;
    opacity: 1;
  }
}

/* ---------- SKILLS SECTION ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

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

.skill_category {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.skill_category h3 {
  margin-top: 0;
  color: #343a40;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
}

.skill_category ul {
  list-style: none;
  padding: 0;
}

.skill_category li {
  padding: 0.4rem 0;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: #343a40;
  color: #f8f9fa;
  padding: 14px;
  text-align: center;
  font-size: 14px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {

  nav {
    padding: 0.6rem;
    justify-content: flex-end;
    gap: 8px;
  }

  nav a {
    font-size: 14px;
  }

  #bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 24px 12px;
  }

  #text_bio {
    max-width: 95%;
    padding: 0;
  }

  #text_bio h1 {
    font-size: 24px;
  }

  #text_bio em {
    font-size: 15px;
  }

  .profile_pic {
    width: 120px;
    height: 120px;
  }

  #bio_links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    padding: 0 10px;
  }

  #bio_links a {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
  }

  .skills_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .skill_category {
    padding: 1rem;
  }

  .skill_category h3 {
    font-size: 16px;
  }

  footer {
    padding: 16px 10px;
    font-size: 13px;
  }

  .profile_pic:hover {
    transform: none;
    filter: none;
  }
}
