/* ===============================
   GLOBAL / RESET
=============================== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  margin: 0;
  line-height: 1.6;

  background-image: url("gunung2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

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

/* ===============================
   HEADER
=============================== */
.site-header { 
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner { 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { 
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.top-nav a {
  color: #555;
  margin-left: 16px;
  text-decoration: none;
  font-weight: 500;
}

.top-nav a.active {
  color: #000;
  font-weight: 600;
}

/* ===============================
   HERO
=============================== */
.hero {
  display: flex;
  align-items: center;
  gap: 32px;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 48px;
  border-radius: 20px;
  margin-top: 48px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hero-left { 
  flex-shrink: 0;
}

.avatar {
  width: clamp(120px, 35vw, 180px);
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-right { 
  flex: 1;
}

.name { 
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

.role { 
  margin: 8px 0;
  color: #555;
  font-size: 18px;
}

.about-short { 
  color: #333;
  max-width: 520px;
}

/* ===============================
   BUTTON
=============================== */
.cta-row { 
  margin-top: 20px; 
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s ease;
}

.btn-primary {
  background: #fff;
  border: 1px solid #ccc;
  color: #111;
}

.btn-primary:hover {
  background: #f5f5f7;
  border-color: #aaa;
}

/* ===============================
   FOOTER
=============================== */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #eee;
  font-size: 14px;
  margin-top: 40px;
}

/* ===============================
   RESPONSIVE – MOBILE FIRST FIX
=============================== */
@media (max-width: 768px) {

  /* Container aman di HP */
  .container {
    max-width: 100%;
    padding: 0 14px;
  }

  /* Header tengah */
  .header-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .brand {
    font-size: 22px;
  }

  .top-nav a {
    margin: 0 10px;
    font-size: 15px;
  }

  /* HERO STACK */
  .hero {
    flex-direction: column;
    padding: 26px 18px;
    text-align: center;
    margin-top: 32px;
  }

  .hero-left {
    flex: none;
  }

  .name {
    font-size: 24px;
  }

  .role {
    font-size: 15px;
  }

  .about-short {
    max-width: 100%;
    font-size: 14.5px;
  }

  .cta-row {
    display: flex;
    justify-content: center;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* ===============================
   DESKTOP ONLY
=============================== */
@media (min-width: 769px) {
  body {
    background-attachment: fixed;
  }
}