@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
  background: #0f011b;
  color: #fff;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 1, 27, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-size: 2em;
  color: #ff00e6;
  cursor: default;
}

.logo span {
  color: #00ff73;
}

.navigation a {
  text-decoration: none;
  color: #fff;
  margin: 0 20px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.navigation a.active,
.navigation a:hover {
  color: #7d2ae8;
}

.btn-talk {
  color: #fff;
  text-decoration: none;
  padding: 8px 25px;
  background: #7d2ae8;
  border-radius: 10px;
  border: 2px solid #7d2ae8;
  transition: 0.3s;
}

.btn-talk:hover {
  background: transparent;
  color: #7d2ae8;
}

.projects {
  padding: 150px 80px 80px;
  text-align: center;
}

.section-title h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}

.section-title h1 span {
  color: #7d2ae8;
}

.section-title p {
  color: #aaa;
  font-size: 1.1em;
  margin-bottom: 40px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.project-card:hover img {
  filter: brightness(40%);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: 0.4s ease;
  width: 80%;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #fff;
}

.overlay p {
  font-size: 0.95em;
  color: #ccc;
  margin-bottom: 15px;
}

.overlay a {
  color: #7d2ae8;
  font-size: 1.5em;
  transition: 0.3s;
}

.overlay a:hover {
  color: #00ff73;
}

footer {
  text-align: center;
  padding: 30px 0;
  color: #777;
  background: #120128;
  font-size: 0.9em;
}

/* 🌐 Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 20px 40px;
  }

  .projects {
    padding: 120px 40px;
  }

  .section-title h1 {
    font-size: 2.2em;
  }
}

@media (max-width: 480px) {
  .navigation {
    display: none;
  }

  .projects {
    padding: 100px 20px;
  }

  .section-title h1 {
    font-size: 1.8em;
  }

  .overlay p {
    font-size: 0.85em;
  }
}

/* Tombol Let's Talk */
.btn-talk {
  position: relative;
  display: inline-block;
  padding: 10px 35px;
  font-size: 1em;
  color: #fff;
  background: linear-gradient(135deg, #7d2ae8, #00ff73);
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(125, 42, 232, 0.5);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn-talk:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 115, 0.6),
              0 0 45px rgba(125, 42, 232, 0.6);
  background: linear-gradient(135deg, #00ff73, #7d2ae8);
}

/* Efek cahaya bergerak */
.btn-talk::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-45deg);
  transition: 0.7s;
}

.btn-talk:hover::before {
  left: 100%;
}

/* Efek animasi pulse halus */
@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(125, 42, 232, 0.6),
                0 0 20px rgba(0, 255, 115, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(125, 42, 232, 0.8),
                0 0 40px rgba(0, 255, 115, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(125, 42, 232, 0.6),
                0 0 20px rgba(0, 255, 115, 0.6);
  }
}

.btn-talk {
  animation: pulse 2s infinite;
}

/* Responsive untuk mobile */
@media (max-width: 600px) {
  .btn-talk {
    padding: 8px 25px;
    font-size: 0.9em;
  }
}
