/* RESET DASAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #0f172a;
  color: #e5e7eb;
  line-height: 1.7;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ================= HEADER (PARALLAX + BLUR) ================= */
header {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: url('assets/images/background.jpg') center/cover no-repeat fixed;
}

/* BLUR LAYER */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.3);
}

/* OVERLAY */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* ISI */
header .container {
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 10px;
}

header p {
  color: #e5e7eb;
  font-size: 15px;
}

/* ================= NAV ================= */
nav {
  margin-top: 15px;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* ================= HERO ================= */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  color: #94a3b8;
}

/* ================= BUTTON ================= */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #38bdf8;
  color: #020617;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

/* ================= SECTION ================= */
.section {
  padding: 60px 20px;
  border-bottom: 1px solid #1e293b;
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* ================= TEXT ================= */
p {
  margin-bottom: 15px;
}

/* HIGHLIGHT */
.highlight {
  color: #38bdf8;
  font-weight: bold;
}

/* QUOTE (AUTHORITY LOOK) */
.quote {
  border-left: 4px solid #38bdf8;
  padding-left: 15px;
  margin: 20px 0;
  color: #94a3b8;
  font-style: italic;
}

/* LIST */
ul {
  margin: 10px 0 20px 20px;
}

li {
  margin-bottom: 6px;
}

/* ================= CARD ================= */
.card {
  background: #020617;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  margin-bottom: 20px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
}

/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ================= ANIMASI ================= */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  header {
    height: 260px;
    background-attachment: scroll; /* parallax off biar smooth di HP */
  }

  header h1 {
    font-size: 26px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .section {
    padding: 40px 15px;
  }
}

/* =========================
   IMAGE
========================= */

.profile-img {
  display: block;
  margin: 25px auto;
  width: 160px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  transition: 0.3s;
}

/* HERO INTRO BLOCK */
.hero-intro {
  text-align: center;
  margin-bottom: 30px;
}

/* TAGLINE */
.hero-tag {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* DESKRIPSI */
.hero-desc {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 5px;
}

/* LINK */
.hero-link a {
  color: #38bdf8;
  text-decoration: none;
}

.hero-link a:hover {
  text-decoration: underline;
}

.profile-img:hover {
  transform: scale(1.05);
}
