* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdfd61;
    color: #000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 10px 30px;
    margin: 15px;
    background-color: #fdfd61;
}

.logo {
    font-weight: bold;
    font-size: 26px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

.cv-btn {
    padding: 10px 20px;
    background-color: #1a0000;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.cv-btn:hover {
    background-color: #fff;
    color: #000;
}

.hero {
    text-align: center;
    margin-top: 50px;
}

.hero h1{
    font-size: 48px;
    font-weight: bold;
    transition: font-size 0.3s ease;
}

.hero p{
    margin-top: 10px;
    font-weight: bold;
}

.hero-img{
    margin-top: 40px;
    max-width: 90%;
    height: auto;
    border-radius: 10px;
}


.interactive-img-wrapper {
    display: inline-block;
    margin-top: 40px;
    perspective: 1000px;
  }
  
  .interactive-img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease;
  }
  
  .select-project {
    padding: 40px 30px;
  }
  
  .select-project h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 30px;
  }
  
  .project-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
  }
  
  .project-entry:hover {
    transform: translateX(50px); /* bergerak ke kanan saat hover */
  }
  
  .circle-num {
    font-size: 48px;
    border: 4px solid black;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
  }
  
  .project-title {
    font-size: 56px;
    font-weight: 600;
  }

.about {
    background-color: #fdfd61;
    padding: 60px 30px;
    text-align: left;
    color: #000;
  }
  
  .about .intro {
    font-size: 35px;
    margin-bottom: 50px;
    font-style: italic;
  }
  
  .about h2 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .about .about-desc {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .about .quote {
    font-size: 35px;
    font-weight: bold;
    color: #222;
    max-width: 700px;
  }
    

html {
    scroll-behavior: smooth;
  }

.footer {
    background-color: #db2100;
    color: #fdfd61;
    padding: 60px 20px; 
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1000px;  
    margin: 0 auto;     
    padding: 0 20px;
}

.footer-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 18px;
    margin: 10px 0 25px 0;
}

.social-icons {
    margin-bottom: 25px;
}

.social-icons a {
    color: #fdfd61;
    font-size: 35px;        
    margin: 0 20px;
    transition: transform 0.4s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: rotate(-5deg) scale(1.3);
    color: #000;
}

.footer .copyright {
    font-size: 16px;
    margin-top: 20px;
    opacity: 0.85;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #000;
}

.nav-menu {
  display: flex;
  align-items: center;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
  .select-project h2 {
    font-size: 48px;
  }

  .project-title {
    font-size: 40px;
  }

  .circle-num {
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .about h2,
  .about .about-desc {
    font-size: 36px;
  }

  .about .intro,
  .about .quote {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .cv-btn {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .project-title {
    font-size: 32px;
  }

  .select-project h2 {
    font-size: 36px;
  }

  .about h2,
  .about .about-desc {
    font-size: 28px;
  }

  .about .intro,
  .about .quote {
    font-size: 20px;
  }

  .footer-content h3 {
    font-size: 28px;
  }

  .footer-content p {
    font-size: 16px;
  }

  .social-icons a {
    font-size: 28px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .project-entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .circle-num {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .project-title {
    font-size: 24px;
  }

  .about {
    padding: 30px 15px;
  }

  .about h2,
  .about .about-desc {
    font-size: 24px;
  }

  .footer {
    padding: 40px 10px;
  }

  .footer-content h3 {
    font-size: 24px;
  }

  .footer-content p {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 24px;
    margin: 0 8px;
  }
}
