@font-face {
  font-family: "Mont";
  src: url("FONTS/1 Mont/Mont_Trial-Regular.otf");
  font-weight: 400;
}

@font-face {
  font-family: "Mont";
  src: url("FONTS/1 Mont/Mont_Trial-SemiBold.otf");
  font-weight: 600;
}

@font-face {
  font-family: "Mont";
  src: url("FONTS/1 Mont/Mont_Trial-Bold.otf");
  font-weight: 700;
}


/* =========================
   HEADER (GLOBAL)
========================= */

.project-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  padding: 18px 48px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #f0f0f0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: transform 0.5s ease; /* smooth hide/show */
}


.header-left {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.header-right {
  font-size: 0.8rem;
  color: #888;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
  position: fixed;
  top: 90px;              /* sedikit di bawah header */
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 900;

  transition: transform 0.3s ease; /* ikut header naik */
}

.main-nav a {
  font-size: 0.75rem;
  text-decoration: none;
  color: #2f2f2f;
  letter-spacing: 0.18em;
  transition: 0.25s ease, background 0.25s ease, border-bottom 0.25s ease;

  padding: 6px 12px;
  border: 1px solid #444;     /* outline dark grey */
  border-radius: 4px;
  background: #fff;           /* solid white default */
}

.main-nav a:hover {
  background: rgba(63,169,245,0.1); /* soft blue saat hover */
}

.main-nav a.active {
  background: rgba(179, 223, 255, 1); /* soft blue bg */
  border-bottom: 2px solid rgba(63,169,245,0.5); /* underline biru */
}

body {
  background: white;
  font-family: "Mont", sans-serif;
  padding-top: 70px;
}

body.home {
  margin: 0;
  overflow: hidden;
}

.hero-title {
  margin: 0;
}

.home .container {
  padding: 0;
}



.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #2f2f2f; /* natural black */
  letter-spacing: 0.5px;
}

.hero-sub {
  margin-top: 12px;
  font-weight: 400;
  font-size: 0.95rem;
  color: #8a8a8a; /* paler grey */
  letter-spacing: 0.4px;
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-intro {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #b3b3b3;   /* softer, lighter grey */
  letter-spacing: 0.2px;
}

/* navigation */

.page-nav {
  position: fixed;
  bottom: 40px;
  right: 50px;
  display: flex;
  gap: 18px;
}

.nav-btn {
  font-family: "Mont", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  color: #3a3a3a;
  transition: 0.25s ease;
}

.nav-btn:hover {
  color: black;
  transform: translateY(-2px);
}

.nav-hint {
  font-size: 0.75rem;
  color: #9a9a9a;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  text-align: right;
}

.nav-hint {
  animation: floatHint 2.5s ease-in-out infinite;
}

@keyframes floatHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.intro-section {
  max-width: 860px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.intro-title {
  font-family: "Mont";
  font-weight: 700;
  font-size: 1.6rem;
  color: #2f2f2f;
  margin-bottom: 22px;
}

.intro-points {
  font-family: "Mont";
  font-weight: 400;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

.intro-subheading {
  font-family: "Mont";
  font-weight: 600;
  font-size: 1.05rem;
  color: #2f2f2f;
  margin-top: 28px;
  margin-bottom: 10px;
}

.intro-text {
  font-family: "Mont";
  font-weight: 400;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

.excel {
  color: #217346;
  font-weight: 700;
}

.param-image-wrapper {
  display: flex;
  justify-content: center; /* centers the image horizontally */
  margin: 24px 0;          /* vertical spacing from heading */
}

.param-image-wrapper img {
  max-width: 100%;         /* scales down on smaller screens */
  width: auto;             /* keeps natural aspect ratio */
  height: auto;            /* ensures no distortion */
}


/* INTRO GRID HOVER */

.nav-grid {
  margin-top: 60px;
  margin-bottom: 80px;
}

.grid-item {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0));
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-family: "Mont";
  font-size: 0.8rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.04);
}

.grid-item:hover .overlay {
  opacity: 1;
}

