/* root */
@import url('https://fonts.googleapis.com/css2?family=Schoolbell&family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css?family=Indie+Flower');
/* === FONT CUSTOM === */
.schoolbell-regular {
  font-family: 'Schoolbell', cursive;
  font-weight: 400;
  font-style: normal;
}

.indie-flower-regular {
  font-family: 'Indie Flower', cursive;
  font-weight: 400;
  font-style: normal;
}

/* === GLOBAL STYLING === */
:root {
  /* Warna kertas utama */
  --bg-paper: #f9f9f8;

  /* Alternatif warna kertas */
  --bg-paper-classic: #fdfaf5;     /* krem klasik */
  --bg-paper-vintage: #f8f2e4;     /* kuning kusam seperti buku lama */
  --bg-paper-grayish: #eeeeee;     /* abu muda netral */
  --bg-paper-bluish: #f1f4f9;      /* biru pucat, kesan dingin dan modern */
  --bg-paper-warm: #fff9f2;        /* agak peach, hangat dan lembut */
  --bg-paper-cotton: #fcfcfb;      /* putih halus, mirip tekstur kertas katun */
  --bg-paper-sepia: #f5ecd8;       /* sepia elegan, cocok untuk suasana nostalgia */

  /* Warna tinta */
  --ink-black: #000000;

  /* Bayangan lembut */
  --soft-shadow: 8px 8px 0 var(--ink-black);
}

/* === FONT CUSTOM === */
.schoolbell-regular {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
}

.indie-flower-regular {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}

/* === GLOBAL STYLING === */
/* === FOOTER JUMBO MODERN === */
.footer-jumbo {
  width: 100vw;
  background-color: transparent;
  color: #fffdfd;
  padding: 130px 0 0 0;
  margin: 0;
  background-image: url('../img/footer-texture.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  font-size: 2.1rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  margin-bottom: 28px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}
.footer-logo i {
  color: #00bcd4;
  font-size: 2.2rem;
}
.footer-menu {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-menu li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-menu li a:hover {
  color: #00bcd4;
}
.footer-social {
  display: flex;
  gap: 28px;
  margin-bottom: 38px;
  justify-content: center;
}
.footer-social a {
  color: #cbd5e1;
  font-size: 1.45rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  color: bisque;
  transform: scale(1.18);
}
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}
.footer-lang {
  flex: 1;
  min-width: 120px;
}
.footer-lang select {
  background: transparent;
  color: #cbd5e1;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  margin-left: 8px;
}
.footer-copyright {
  flex: 2;
  text-align: right;
  font-size: 0.98rem;
  color: #7b8ca7;
  min-width: 180px;
}
@media (max-width: 700px) {
  .footer-jumbo {
    padding: 60px 0 0 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 220px;
  }
  .footer-container {
    padding: 0 2vw;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .footer-menu {
    gap: 10px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .footer-social {
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 18px;
    width: 100%;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    width: 100%;
  }
  .footer-copyright {
    text-align: left;
    font-size: 0.9rem;
    width: 100%;
    min-width: unset;
  }
  .footer-logo {
    font-size: 1.3rem;
    margin-bottom: 18px;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .footer-logo i {
    font-size: 1.5rem;
  }
  small {
    font-size: 0.9rem;
    padding: 0 2vw;
    text-align: center;
    display: block;
    width: 100%;
  }
}

/* Responsive: Footer Language Dropdown */
@media (max-width: 600px) {
  .footer-jumbo {
    padding: 40px 0 0 0;
    background-size: cover;
    background-position: center top;
    min-height: 160px;
  }
  .footer-container {
    padding: 0 1vw;
    max-width: 100vw;
  }
  .footer-lang {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-lang select {
    width: 95vw;
    max-width: 320px;
    font-size: 0.98rem;
    padding: 8px 8px;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
  .footer-logo {
    font-size: 1.1rem;
    margin-bottom: 12px;
    gap: 6px;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .footer-logo i {
    font-size: 1.2rem;
  }
  .footer-menu {
    gap: 6px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .footer-social {
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 8px;
    width: 100%;
  }
  .footer-copyright {
    text-align: left;
    font-size: 0.85rem;
    width: 100%;
    min-width: unset;
  }
  small {
    font-size: 0.85rem;
    padding: 0 1vw;
    text-align: center;
    display: block;
    width: 100%;
  }
}


/* === BODY === */
*,
*::before,
*::after {
  box-sizing: border-box;
  
}

body {
  font-family: 'Schoolbell', 'Indie Flower', cursive, sans-serif; /* Corrected font-family */
  background-color: var(--bg-paper-classic); /* vibes kertas */
  background-image: url('../img/paper-ci');
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* color: #fff;  Hapus agar font Google tidak di-render putih dan tetap terbaca */
}

header h3 {
    font-size: 10px;
    font-weight: 200;
    font-style: italic;
    opacity: 0.8;
    margin: 0;  
}


header.navbar-container {
  width: 100%;
  max-width: 1200px;
  
  padding-block: 1.5rem;
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
}
header.navbar-container .logo img {
  width: 150px;
}

header.navbar-container .nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem 1rem;
}
header.navbar-container .nav-list ul {
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 2rem 1rem;
}
header.navbar-container .nav-list li {
  list-style-type: none;
}
header.navbar-container .nav-list li a {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgb(0, 0, 0);
  transition: all 0.2s ease-in-out;
}
header.navbar-container .nav-list li:hover a {
  
  background-color: #00bcd4;
  color: #fff;
    font-size: 18px;
    background: linear-gradient(to right, #1d1f20, #0e0f10);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#container {
  position: fixed;
  bottom: 8%;
  left: 83%;
  z-index: 1000;
  cursor: grab;
  touch-action: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  will-change: transform, opacity;
  width: 160px;
  height: 160px;
  min-width: 120px;
  min-height: 120px;
  max-width: 180px;
  max-height: 180px;
  padding: 0;

  background-image: url('../img/paper-circle.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Gak usah pakai border-radius karena bentuk bulat udah dari PNG */
  /* border-radius: 50%; */

  border: none; /* transparan aja */
  box-shadow: none; /* karena bayangan udah di gambar PNG */
  transition: transform 0.2s;
  
}

#container:hover {
  transform: scale(1.05) rotate(-1deg);
}
#container.active {
  transform: scale(1.1);
  transition: transform 0.2s;
}

#container img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 6px auto;
  display: block;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border: none;
  background: transparent;
  transition: transform 0.2s, box-shadow 0.2s;
  object-fit: cover;
}

#container img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 18px 0 rgba(0,0,0,0.18);
}


main {
  flex: 1 0 auto;
  width: 100%;
  flex-direction: column;
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem 4rem;
  display: block;
}
.footer-jumbo {
  margin-top: auto;
}

main .content {
  flex: 1;
  display: flex;
  align-items: center;
}
main .content .content-description {
  flex: 1 1;
}
main .content .content-description .title {
  margin-block: 1rem;
  font-size: 3rem;
  color: #0e0f10;
}
main .content .content-description p {
  font-size: 1.2rem;
  line-height: 1.7rem;
}
.box-button {
  cursor: pointer;
  border: 4px solid black;
  background-color: gray;
  padding-bottom: 10px;
  transition: 0.1s ease-in-out;
  user-select: none;
  display: inline-block;
}

.button {
  background-color: #dddddd;
  border: 4px solid #fff;
  padding: 3px 8px;
}

.button span {
  font-size: 0.8em;
  letter-spacing: 1px;
}

.box-button:active {
  padding: 0;
  margin-bottom: 10px;
  transform: translateY(10px);
}

/* main .content .content-description button {
  display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: transparent;
    border: 2px solid transparent;
    color: #00bcd4;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
main .content .content-description button:hover {
  background-color: #fff;
    border: 2px solid #00bcd4;
    color: #00bcd4;
} */
/* main .content .content-image {
  flex: 1;
  display: flex;
}
main .content .content-image img {
  width: 300px;
  min-width: 250px;
  margin: auto;
  border-radius: 999px;
  
} */

/* === Content Image Stack/Card === */
.content-image-stack {
  width: 55%;
  max-width: 400px;
  transition: 0.25s ease;
  margin: 0 auto;
  position: relative;
}
.content-image-stack:hover {
  transform: rotate(5deg);
}
.content-image-stack:hover .content-image-card:before {
  transform: translateY(-2%) rotate(-4deg);
}
.content-image-stack:hover .content-image-card:after {
  transform: translateY(2%) rotate(4deg);
}

.content-image-card {
  aspect-ratio: 3 / 2;
  border: 4px solid #222;
  background-color: #fff;
  position: relative;
  transition: 0.15s ease;
  cursor: pointer;
  padding: 5% 5% 15% 5%;
}
.content-image-card:before,
.content-image-card:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  border: 4px solid #222;
  background-color: #fff;
  transform-origin: center center;
  z-index: -1;
  transition: 0.15s ease;
  top: 0;
  left: 0;
}
.content-image-card:before {
  transform: translateY(-2%) rotate(-6deg);
}
.content-image-card:after {
  transform: translateY(2%) rotate(6deg);
}

.content-image-img {
  width: 100%;
  border: 4px solid #222;
  background-color: #eee;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-image-img img {
  display: block;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}
/* Divider */
        .divider {
            width: 100%;
            height: 2px;
            background:transparent;
            margin: 50px 0;
        }

/* Terminal Section */
#terminal-section {
    background-color: transparent;
    color: var(--ink-black);
    padding: 2rem 1rem;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Schoolbell', 'Indie Flower', cursive, sans-serif; /* Corrected font-family */
}

#terminal-output {
    white-space: pre-wrap;
    margin-bottom: 1rem;
    min-height: 150px;
    font-family: 'Schoolbell', 'Indie Flower', cursive, sans-serif; /* Corrected font-family */
}

#terminal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-black);
    color: var(--ink-black);
    font-size: 1rem;
    outline: none;
    font-family: 'Schoolbell', 'Indie Flower', cursive, sans-serif; /* Corrected font-family */
}

.terminal-hint {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--ink-black);
    margin-top: 0.5rem;
}

main aside {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 99; /* pastikan di atas footer */
  bottom: 90px; /* beri jarak dari bawah agar tidak ketimpa footer */
  pointer-events: auto;
}
@media (max-width: 700px) {
  main aside {
    bottom: 120px; /* lebih tinggi di mobile, biar ga ketimpa */
    right: 0;
    left: unset;
  }
}

main aside .social-media {
  height: 100%;
  display: flex;
}
main aside .social-media ul {
  padding: 1.5rem 1rem;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  margin: auto;

  background-image: url('../img/aside-kertas.png');
   background-size: 220%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
main aside .social-media li {
  list-style-type: none;
}

main aside .social-media li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
  transition: all 0.1s ease-in-out;
}
main aside .social-media li a:hover {
  color: #89b0d9;
}
 @media screen and (max-width: 768px) {
    header.navbar-container .nav-list {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 70vw;
      max-width: 320px;
      background: var(--bg-paper-vintage);
      box-shadow: 2px 0 16px rgba(0,0,0,0.2);
      padding: 3.5rem 1.5rem 2rem 1.5rem;
      transform: translateX(-100%);
      transition: transform 0.3s cubic-bezier(.77,0,.18,1);
      z-index: 9999;
      border-top-right-radius: 18px;
      border-bottom-right-radius: 18px;
    }
    header.navbar-container .nav-list.active {
      transform: translateX(0);
    }
    header.navbar-container .nav-list ul {
      flex-direction: column;
      gap: 1.5rem;
      align-items: flex-start;
    }
    header.navbar-container .nav-list li a {
      font-size: 1.2rem;
      padding: 0.7rem 1.2rem;
      border-radius: 8px;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.7em;
    }
    header.navbar-container .nav-list li a:before {
      content: '\25B6';
      font-size: 1em;
      color: #00bcd4;
      margin-right: 0.5em;
      opacity: 0.7;
    }
    header.navbar-container .hamburger {
      display: flex;
      top: -1rem;
      text-align: left;
    }
    
  }


  

/* Medium devices (768px dan di bawahnya) */
@media screen and (max-width: 768px) {
    header.navbar-container {
    flex-direction: column;
    padding: 1rem;
  }

    header.navbar-container .nav-list ul {
    flex-wrap: wrap;
    column-gap: 0.5rem;
    
  }
  
  main {
   
    
  }

   main .content {
    flex-direction: column;
    gap: 1rem;
     padding: 3rem 5rem;
  }

  main .content .content-description .title {
    font-size: 2rem;
  }
  main .content .content-description p {
    font-size: 0.95rem;
    line-height: 1.5rem;
  }
  main .content .content-description button {
    font-size: 0.95rem;
    padding: 0.7rem 2rem;
  }
  main .content .content-image {
    order: -1;
    width: 100%;
    min-width: unset;
    margin-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main .content .content-image img {
    width: 300px;
    min-width: 150px;
  }

  

  #container {
    top: unset;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    min-width: 70px;
    min-height: 70px;
    max-width: 120px;
    max-height: 120px;
    border-radius: 50%;
    padding: 0;
  }
  #container img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
  }
  #text {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 50px;
  }
}

html, body {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  html, body {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  #about, .about-container, main, .content, header.navbar-container, .nav-list, .nav-list ul {
    box-sizing: border-box;
    max-width: 100vw;
  }
  /* Fix padding/margin yang bisa bikin overflow */
  main {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .about-container {
    
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 16px;
  }
}

#terminal-section {
    padding: 1rem 4rem;
    font-size: 0.95rem;
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 7px;
  }
  #terminal-output {
    font-size: 0.95rem;
  }
  #terminal-input {
    font-size: 0.95rem;
  }

@media screen and (max-width: 600px) {
  #about {
    padding: 30px 50px;
  }
  #about h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  #about p {
    font-size: 0.95rem;
    line-height: 1.5rem;
  }
  #skills {
    padding: 30px 5px;
  }
  #skills .skills-container {
    max-width: 100vw;
    padding: 0;
  }
  #skills h3 {
    font-size: 1.3rem;
    margin-bottom: 11px;
    text-align: center;
  }
  
  .skill-list {
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* lebih lebar */
    gap: 12px;
    padding: 20px 50px;
    
  }
  .skill-list li {
    padding: 12px;
    font-size: 0.8rem;
  }

  #education {
    padding: 30px 50px;
  }
  #education .education-container {
    max-width: 100vw;
    padding: 0;
  }
  #education h2 {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  #education p{
    font-size: 0.8rem;
    line-height: 1.5rem;
  }
  
}



/* ========== ABOUT SECTION ========== */

/* === ABOUT PAPER SECTION === */
/* ...existing code... */

/* About-Paper Section Styles (Paper Design Reference) */
#s-about {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 550px;
  background: #ededed;
  margin: 0 auto 40px auto;
  border: 8px solid #111;
  box-shadow: 16px 16px 0 0 #111, 0 0 0 0 #000;
  box-sizing: border-box;
  z-index: 2;
}
.about-paper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 550px;
  background: none;
  margin: 0 auto 40px auto;
}
.about-paper-paper {
  position: relative;
  min-height: 550px;
  width: 450px;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
   border: 4px solid #111;
  box-shadow: 8px 8px 0 0 #111, 0 0 0 0 #000;
  border-radius: 1px;
  overflow: hidden;
}
.about-paper-paper::before {
  content: '';
  position: absolute;
  left: 45px;
  height: 100%;
  width: 2px;
  background: rgba(0, 0, 0, 0.4);
}
.about-paper-lines {
  margin-top: 40px;
  height: calc(100% - 40px);
  width: 100%;
  background-image: repeating-linear-gradient(white 0px, white 24px, steelblue 25px);
}
.about-paper-text {
  position: absolute;
  top: 65px;
  left: 55px;
  bottom: 10px;
  right: 10px;
  line-height: 25px;
  font-family: 'Indie Flower', 'Schoolbell', cursive, sans-serif;
  font-size: 1.18rem;
  color: #222;
  overflow: hidden;
  outline: none;
  background: none;
}
.about-paper-quote {
  display: block;
  margin-top: 18px;
  font-size: 1rem;
  color: steelblue;
  font-family: 'Schoolbell', 'Indie Flower', cursive, sans-serif;
  font-style: italic;
}
.about-paper-holes {
  position: absolute;
  left: 10px;
  height: 25px;
  width: 25px;
  background: lightgoldenrodyellow;
  border-radius: 50%;
  box-shadow: inset 0px 0px 2px 0px #888;
  z-index: 2;
}
.about-paper-hole-top {
  top: 10%;
}
.about-paper-hole-middle {
  top: 50%;
  transform: translateY(-50%);
}
.about-paper-hole-bottom {
  bottom: 10%;
}
@media (max-width: 900px) {
  .about-paper-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .about-paper-left, .about-paper-right {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
  .about-paper-paper {
    width: 95vw;
    max-width: 340px;
    height: 340px;
  }
}