@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Ovo&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #eee;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: #eee;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

p {
  font-family: 'Ovo', serif;
  font-weight: 400;
}

.navbar {
  padding: 1.5rem 0;
  background-color: #111;
  position: relative;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo span {
  color: #c75df0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  background: #181818;
  padding: 1rem 2.5rem;
  margin: 2rem auto;
  border-radius: 32px;
  box-shadow: 0 4px 15px rgba(40, 147, 255, 0.12);
  max-width: 1000px;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ccc;
  transition: color 0.2s;
}

.nav-links a.active {
  color: #c75df0;
  font-weight: 600;
  border-bottom: 2px solid #c75df0;
}

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

.social-icons i {
  margin-left: 1rem;
  color: #ccc;
  transition: color 0.2s;
}

.social-icons i:hover {
  color: #c75df0;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  width: 30px;
  height: 30px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ecf0f1;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 5px;
}

.hamburger span:nth-child(2) {
  top: 13px;
}

.hamburger span:nth-child(3) {
  top: 21px;
}

.hamburger.active span:nth-child(1) {
  top: 13px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -30px;
}

.hamburger.active span:nth-child(3) {
  top: 13px;
  transform: rotate(-135deg);
}

main {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.project-heading {
  text-align: start;
  margin-bottom: 50px;
}

.project-heading h2 {
  background: linear-gradient(90deg, #c75df0 5%, #2893ff 25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-heading p {
  font-size: 1.2rem;
  color: #718096;
  margin-top: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 24px;
}

.project-title {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 12px;
}

.project-description {
  color: #718096;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: #c75df0;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.project-links :hover {
  background-color: #c75df0;
  color: white;
  /* transform: translateY(-2px); */
  box-shadow: 0 4px 15px rgba(199, 93, 240, 0.3);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: #edf2f7;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #c75df0;
  color: white;
}

footer {
  background-color: #000;
  padding: 2rem 0;
  color: #aaa;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-left {
  font-family: 'inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-left span {
  color: #c75df0;
}

.footer-left,
.footer-center,
.footer-right {
  margin-bottom: 1rem;
}

.footer-center p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 400px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-right i {
  transition: color 0.2s;
}

.footer-right i:hover {
  color: #c75df0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom nav {
  display: flex;
  justify-content: center;
  background: #181818;
  padding: 1rem 2rem;
  margin: 2rem auto;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(40, 147, 255, 0.08);
  max-width: 480px;
}

.footer-bottom nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin: 0 0.75rem;
  color: #ccc;
  transition: color 0.2s;
}

.footer-bottom nav a:hover {
  color: #c75df0;
}

.footer-bottom hr {
  border: none;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #c75df0 40%, #2893ff 100%);
  margin: 2rem 0;
  opacity: 0.7;
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #777;
}

.copyright span {
  color: #2893ff;
}

@media (max-width: 768px) {
  .navbar-inner {
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    transform: scale(1.05);
  }

  .social-icons {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #2c3e50;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    transition: left 0.5s ease;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-center {
    margin: 1rem 0;
  }

  .footer-right {
    justify-content: center;
  }
}