/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #00aaff 0%, #0044cc 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism Header */
.glass-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 68, 204, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
header nav ul {
  display: flex;
  justify-content: center;
  padding: 20px;
  list-style: none;
}
header nav ul li {
  margin: 0 18px;
}
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}
header nav ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
header nav ul li a:hover {
  color: #ffd700;
}
header nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 80px;
  background: rgba(0, 0, 0, 0.2);
}
.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #00aaff;
  box-shadow: 0 4px 24px rgba(0, 68, 204, 0.2);
  animation: fadeIn 1.2s;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.highlight {
  color: #ffd700;
  animation: blink-highlight 1s infinite alternate;
}

@keyframes blink-highlight {
  0% {
    color: #ffd700;
    text-shadow: 0 0 8px #ffd700, 0 0 16px #0044cc;
  }
  100% {
    color: #fff;
    text-shadow: 0 0 2px #ffd700, 0 0 8px #0044cc;
  }
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  background: linear-gradient(90deg, #ffd700 60%, #ff8c00 100%);
  color: #0044cc;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 68, 204, 0.12);
  transition: background 0.3s, color 0.3s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: linear-gradient(90deg, #ff8c00 60%, #ffd700 100%);
  color: #fff;
}

/* Glass Section */
.glass-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(0, 68, 204, 0.12);
  padding: 60px 30px;
  animation: fadeInUp 1s;
}
section h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  font-weight: 600;
  color: #ffd700;
  letter-spacing: 1px;
}
section p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 18px auto;
}
.skills {
  margin-top: 18px;
}
.skills span {
  display: inline-block;
  background: #0044cc;
  color: #ffd700;
  padding: 8px 18px;
  border-radius: 18px;
  margin: 0 8px 8px 0;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 68, 204, 0.08);
}

/* Portfolio Cards */
.projects {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.project-card {
  background: rgba(0, 68, 204, 0.18);
  border-radius: 18px;
  padding: 24px;
  width: 260px;
  box-shadow: 0 4px 24px rgba(0, 68, 204, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.project-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0, 68, 204, 0.18);
}
.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 68, 204, 0.1);
}
.project-card h3 {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 1rem;
  color: #fff;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 18px auto;
  max-width: 400px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 68, 204, 0.1);
  color: #fff;
  font-size: 1rem;
  resize: none;
  outline: none;
    transition: background 0.2s;
    border: 2px solid #ff8c00;
}
.contact-form textarea {
  min-height: 80px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(0, 68, 204, 0.18);
  
}
.contact-form .btn {
  margin-top: 8px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.contact-info a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}
.icon-contact {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.socials a .icon-contact {
  filter: drop-shadow(0 2px 6px #0044cc);
  transition: transform 0.2s;
}
.socials a:hover .icon-contact {
  transform: scale(1.2);
}

/* Footer */
.glass-footer {
  background: rgba(0, 68, 204, 0.85);
  text-align: center;
  padding: 48px 10px 36px 10px; /* lebih tinggi */
  color: #ffd700;
  font-size: 1.25rem; /* lebih besar */
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 32px rgba(0, 68, 204, 0.12);
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* lebih renggang */
}
.footer-contact {
  display: flex;
  gap: 28px; /* lebih renggang */
  justify-content: center;
  margin-top: 10px;
}
.footer-contact a .icon-contact {
  width: 32px; /* lebih besar */
  height: 32px;
  filter: drop-shadow(0 2px 8px #0044cc);
  transition: transform 0.2s;
}
.footer-contact a:hover .icon-contact {
  transform: scale(1.25);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 36px;
  height: 36px;
  margin: 16px 24px 16px 0;
  z-index: 1100;
}
.hamburger span {
  height: 4px;
  width: 100%;
  background: #ffd700;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
  .glass-section {
    max-width: 98vw;
    padding: 40px 10px;
  }
  .projects {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .projects {
    flex-direction: column;
    align-items: center;
  }
  .project-card {
    width: 90vw;
    margin-bottom: 18px;
  }
  .profile-img {
    width: 140px;
    height: 140px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  section h2 {
    font-size: 1.5rem;
  }
  .hamburger {
    display: flex;
    position: absolute;
    right: 16px;
    top: 18px;
  }
  header nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    height: 100vh;
    background: rgba(0, 68, 204, 0.95);
    backdrop-filter: blur(8px);
    transition: right 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  header nav.open {
    right: 0;
  }
  header nav ul {
    flex-direction: column;
    gap: 32px;
    padding: 0;
  }
  header nav ul li {
    margin: 0;
  }
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
