* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.navbar {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 160px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: top 0.4s ease, opacity 0.4s ease;
  z-index: 900;
}

.navbar nav {
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
  padding: 6px 0;
}

.navbar a:hover {
  color: #ed7bab;
}

.navbar a.active {
  color: #ed7bab;
  border-bottom: 2px solid #ed7bab;
}


.logo {
  position: fixed;
  top: 50px;
  width: 84px;
  height: auto;
  transition: top 0.4s ease, opacity 0.4s ease, transform 0.5s ease;
  z-index: 1001;
}

.logo-left {
  left: 40px;
  top: 45px;
}

.logo-right {
  right: 40px;
}

.logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.navbar.hide,
.logo.hide {
  top: -100px;
  opacity: 0;
}

.project-title {
  font-size: 54px;
  font-weight: 700;
  text-align: center;
  margin: 170px auto 40px;
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-title:hover {
  transform: scale(1.05);
  color: #ed7bab;
  filter: brightness(1.1);
}

.more-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 62px;
  margin: 80px 0 60px;
}

.project-item {
  text-align: center;
}

.project-item img {
  width: 400px;
  max-width: 90%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-item img:hover {
  transform: scale(1.03);
}

.project-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #444;
}

.img-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.img-gallery img {
  width: 180px;
  height: auto; 
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  object-fit: contain; 
}

.img-gallery img:hover {
  transform: scale(1.05);
}


.back-button-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.back-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ed7bab;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
  transform: translateY(-4px);
}



footer {
  background-color: #ed7bab;
  color: #f9f9f9;
  padding: 30px 24px;
  text-align: center;
  font-size: 14px;
}


@media (max-width: 768px) {
  .logo {
    width: 50px;
  }

  .navbar {
    padding: 12px 100px;
  }

  .navbar nav {
    gap: 24px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .projects-section {
    padding: 40px 5%;
    gap: 60px;
  }

  .project {
    flex-direction: column !important;
  }

  .project img,
  .project-text {
    width: 100%;
  }

  .project-text h2 {
    font-size: 22px;
  }

  .project-text p {
    font-size: 14px;
  }

  .see-more {
    font-size: 12px;
    padding: 8px 20px;
  }
}

@media (max-width: 768px) {
  .project-title {
    font-size: 36px;
    margin-top: 80px;
  }
}
