* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  overflow: hidden;
  color: #fff;
  background: #ffb6c1;
}

/* NAVIGASI */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 105, 180, 0.6);
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 15px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #ffe4f0;
}

/* SLIDE */
.slides-container {
  display: flex;
  height: 100vh;
  width: 500vw;
  transition: transform 0.8s ease-in-out;
}

section {
  flex: 1 0 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
}

/* HOME */
#home img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 20px;
}

/* ABOUT */
#about img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 20px;
}

/* SKILL */
.skill-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-content img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 20px;
  border: 4px solid #fff;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.3);
  padding: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* SERTIFIKAT */
.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 80%;
}

.certificates img {
  width: 100%;
  border-radius: 12px;
  border: 3px solid #fff;
  transition: 0.3s;
}

.certificates img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* KONTAK */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-links a {
  background: rgba(255, 255, 255, 0.25);
  padding: 15px 25px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.contact-links a:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.4);
}

/* PANAH */
.arrows {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 15px;
  z-index: 20;
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 1.5em;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #ff69b4;
}

footer {
  position: absolute;
  bottom: 10px;
  color: #fff;
  font-size: 0.9em;
}

#skills {
  background-color: pink;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 50px 20px;
  height: 100vh;
}

.skill-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
}

.skill-content img {
  width: 180px;  /* sebelumnya 250px */
  height: 180px; /* sebelumnya 250px */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.skill-text ul {
  list-style: none;
  padding: 0;
}

.skill-text li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.4;
}
/* Atur setiap slide agar bisa discroll */
.slides-container section {
  min-height: 100vh;        /* tetap minimal 1 layar penuh */
  overflow-y: auto;          /* aktifkan scroll vertikal */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Tambahan agar tampilan tetap halus dan konsisten */
section::-webkit-scrollbar {
  width: 8px;
}
section::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
section::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Contoh untuk SKILL agar tetap rapi di layout scroll */
#skills {
  background-color: pink;
  text-align: left;
}

.skill-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  max-width: 900px;
  flex-wrap: wrap; /* agar responsif di layar kecil */
}

.skill-content img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.skill-text ul {
  list-style: none;
  padding: 0;
}

.skill-text li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.4;
}
/* ABOUT SECTION */
#about {
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  text-align: center;
  padding: 60px 20px;
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 20px;
}

#about h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

#about p {
  max-width: 650px;
  font-size: 1.1em;
  color: #fffafa;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Tombol Download CV di About */
.about-download-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #ff69b4;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.5);
  transition: all 0.3s ease;
}

.about-download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(255, 105, 180, 0.6);
  background-color: #ffe4f0;
}
/* HOME SECTION */
#home {
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  text-align: center;
  padding: 60px 20px;
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#home h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  color: #fff;
}

#home p {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 40px;
}

/* Galeri Foto Berjajar */
.home-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 900px;
}

.home-gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6);
}

/* Scrollbar kecil dan halus */
#home::-webkit-scrollbar {
  width: 8px;
}
#home::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
#home::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
#about {
  background-color: pink;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* ubah dari center agar bisa beri jarak atas */
  text-align: center;
  padding: 80px 20px 50px; /* tambah jarak atas */
  height: 100vh;
  overflow-y: auto; /* agar bisa scroll jika konten terlalu panjang */
}

.about-content img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin-top: 20px; /* beri jarak antara teks dan gambar */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.about-content p {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.6;
  margin: 30px auto;
}

.download-btn {
  display: inline-block;
  background-color: #ff66b2;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #ff3385;
  transform: scale(1.05);
}
