:root {
  --primary-color: #d2ff28;
  --secondary-color: #0a0a0a;
  --muted: #888888;
  --card-bg: #111111;
  --border: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html {
  scroll-behavior: smooth;
} */

section[id] {
  scroll-margin: 3rem;
}

body {
  font-family: "roboto", sans-serif;
  background-color: var(--secondary-color);
}

h1,
h2,
h3,
h4 {
  font-family: "roboto", sans-serif;
  font-weight: 700;
}

p {
  font-family: "roboto", sans-serif;
}

.top-bar {
  background: #111111 !important;
}

.btn-hire {
  background-color: #83fb0b;
  border-radius: 100px;
  font-size: 14px;
  padding: 8px 18px;
  font-weight: 600;
}

.btn-hire:hover {
  background-color: var(--primary-color);
  color: var(--muted);
}

.navlink,
.active {
  color: var(--muted) !important;
  font-weight: bold;
  border-bottom: 3px solid #83fb0b;
  border-radius: 10px;
}

.logo {
  font-family: "Kings", cursive;
  font-weight: 700;
  font-size: 1.5rem;
}
.logo span {
  color: #83fb0b;
}
.hero-status {
  font-size: 12px;
  color: var(--muted);
  background-color: var(--border);
}

.hero-status-dot {
  width: 9px;
  height: 9px;

  background: #83fb0b;
}

.interest {
  color: var(--primary-color);
}

.nav-item-custom {
  font-size: 14px;
  padding: 0 10px;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}
.btn-portofolio {
  display: inline-block;
  align-items: center;
  background-color: var(--primary-color);
  min-width: 150px;
  font-weight: 600;
  font-size: 18px;
  color: #3d3d3d;
}

.btn-portofolio:hover {
  background-color: #83fb0b;
  color: #fff;
}
.size-btn {
  /* display: inline-block;
  align-items: center; */
  min-width: 150px;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid var(--primary-color);
  background: var(--card-bg);
  color: #fff;
}
.size-btn:hover {
  background-color: var(--card-bg);
  border-color: #83fb0b;
  color: #fff;
}

.hero-title {
  letter-spacing: -2px;
}
.hero-text {
  letter-spacing: 0px;
  text-align: justify;
  color: #eaeaea;
}

#cursor {
  color: var(--primary-color);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.border-custom {
  border-color: var(--border) !important;
}

.custom-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.photo-container {
  position: relative;
  height: 400px;
  align-items: center;
}
.photo-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: #83fb0b;
  border-radius: 50%;
  aspect-ratio: 1/1;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 10%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 10%);
  filter: blur(80px);
  z-index: 1;
}
.hero-img {
  position: relative;
  width: auto;
  height: 100%;
  /* max-width: 100%; */
  object-fit: contain;
  filter: grayscale(100%); /* Efek hitam putih sesuai screenshot */
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.row-end {
  border: none;
  border-top: 1px solid var(--muted) !important;
  opacity: 1px;
}

.label-stat,
.title-nav {
  color: var(--muted) !important;
}

.label {
  color: var(--primary-color);
}

.card-size {
  object-fit: cover;
  height: 200px;
}

.custom-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: default;
  transition:
    border-color 0.2s,
    transform 0.4s ease-out,
    opacity 0.4s ease-out;
  will-change: transform, opacity;
}

.text-bg-custom {
  min-width: 70px;
  border: 1px solid var(--border);
  background: #1a1a1a;
  color: #888;
  border-radius: 0.5rem;
  font-size: 11px;
  padding: 6px 6px;
}

.custom-card:hover {
  border-color: #444;
  transform: translateY(-2px) !important;
}

.btn-custom {
  background: var(--muted);
  font-size: 12px;
  line-height: 0.7rem;
  color: white;
  padding: 8px 6px;
  border-radius: 0.7rem;
  margin-bottom: 1.5rem;
  min-width: 80px;
}

.btn-custom:hover {
  background: #83fb0b;
  color: aliceblue;
  border-color: #ffff;
}

.text-card {
  font-size: 12px !important;
  letter-spacing: -0.5px;
  color: var(--muted);
  text-align: justify;
}

.box-contact {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px 32px;
  background: var(--card-bg);
}

.box-contact:hover {
  border-color: #444;
  transform: translateY(-2px) !important;
}

.title {
  letter-spacing: -1px;
}

.contact-desc {
  color: var(--muted);
  max-width: 450px;
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--primary-color);
}

.copyright {
  color: var(--border);
  line-height: 1.5;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 32px !important;
    letter-spacing: -1px;
  }
  .hero,
  .section-skills,
  .section-portofolio,
  .section-contact {
    padding: 30px 10px !important;
  }
}
@media (max-width: 767px) {
  .hero-title {
    letter-spacing: -1px;
  }
  .hero,
  .section-skills,
  .section-portofolio,
  .section-contact {
    padding: 30px 10px !important;
  }
}

@media (min-width: 576px) {
  .hero-status {
    justify-content: center;
    padding-bottom: 10px;
  }
}

/* stalyng pages cv */

.cv-page-header {
  padding: 45px 0px 32px;
  border-bottom: 1px solid var(--border);
}

.custom-section-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cv-page-title {
  font-family: "Montserrat" sans-serif;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -1, 5px;
  margin-bottom: 8px;
  color: #fff;
}

.cv-page-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.cv-container {
  padding-top: 40px;
  padding-bottom: 0px;
}

.cv-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.cv-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  position: relative;
}

.cv-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cv-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.cv-name {
  font-family: "Montserrat" sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--muted);
}

.cv-role {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.cv-card-title {
  font-family: "Montserrat" sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.cv-contact-list {
  padding: 0;
  margin: 0;
}
.cv-contact-list li {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.cv-contact-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #83fb0b;
}

.cv-skill-group {
  margin-bottom: 16px;
}

.cv-skill-group:last-child {
  margin-bottom: 0;
}

.cv-skill-group-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.custom-stack-pill {
  background: #1a1a1a;
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  color: #888;
}

.cv-lang-item {
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.cv-lang-item:last-child {
  border-bottom: none;
}

.cv-timeline-item {
  padding-bottom: 20px;
  position: relative;
}

/* .cv-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--border);
} */

/* .cv-dot-accent {
  background: var(--primary-color);
  border-color: 1px solid var(--primary-color);
} */
.cv-timeline-content {
  flex: 1;
}
.cv-item-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: #83fb0b;
}

.cv-item-place {
  font-size: 13px;
  color: #bbb;
}

.cv-item-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.cv-body-text {
  font-size: 13px;
  color: #aaa;
  line-height: 1.65;
  margin: 0;
  text-align: justify;
  line-height: 1.7;
}

.cv-list {
  padding-left: 16px;
  margin: 0;
}
.cv-list li {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 4px;
}

@media (max-width: 575px) {
  .cv-page-header {
    padding: 32px 0 20px;
  }
  .cv-card {
    padding: 16px;
  }
}

.btn-download {
  background-color: #83fb0b;
  color: black;
  font-size: 12px;
  font-weight: 600;
}

.btn-back {
  background-color: #fff;
  color: black;
  font-size: 12px;
  font-weight: 600;
}

.btn-back:hover {
  background-color: #e4e4e4;
}

.btn-download:hover {
  background: var(--primary-color);
}

.text-download {
  color: var(--muted);
  font-weight: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-link {
    border-bottom: none !important;
    position: relative !important;
    display: inline-block !important;
  }
  .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    /* transform: translateX(-50%); */
    width: 100%;
    height: 3px;
    background-color: #83fb0b;
    border-radius: 10px;
  }
}
