/* =========================
   TRANSISI HALAMAN
========================= */
.page {
  display: none;
  animation: fade 0.6s ease-in-out;
}

.page.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================
   BODY
========================= */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0d0d0d, #1a001a);
  color: white;
}

/* =========================
   HOME
========================= */
.home-container {
  text-align: center;
  padding: 50px 20px;
  animation: slideIn 1.5s ease-in-out;
}

.home-container h3 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
}

.home-container p {
  color: #d9d9d9;
}

.foto-home {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #ff69b4;
  object-fit: cover;
  margin-top: 20px;

  box-shadow:
    0 0 15px rgba(255, 15, 147, 0.7),
    0 0 30px rgba(255, 15, 147, 0.5);

  animation: bounce 3s infinite;
}

.menu-box {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: #1a1a1a;
  color: #ff69b4;
  padding: 20px 40px;
  border-radius: 15px;
  border: 2px solid #ff0f93;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: 0 0 20px rgba(255, 15, 147, 0.3);
}

.card:hover {
  background: #ff0f93;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 15, 147, 0.8);
}

/* =========================
   PORTOFOLIO
========================= */
.container {
  display: flex;
  max-width: 1000px;
  margin: 40px auto;
  background: #141414;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 15, 147, 0.3);
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 35%;
  background: linear-gradient(180deg, #ff0f93, #cc006f);
  color: white;
  padding: 25px;
  text-align: center;
}

.sidebar img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;

  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(255, 15, 147, 0.6);

  animation: bounce 3s infinite;
}

.sidebar h2 {
  margin-top: 15px;
}

.motto {
  font-style: italic;
  font-size: 14px;
  margin-top: 15px;
  color: #ffe3f3;
}

/* =========================
   KONTAK
========================= */

/* =========================
   HOBI
========================= */
.hobi {
  margin-top: 25px;
  text-align: left;
}

.hobi h3 {
  color: white;
}

.hobi ul {
  list-style: none;
  padding: 0;
}

.hobi ul li {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  margin: 8px 0;
  border-radius: 10px;
  transition: 0.3s;
}

.hobi ul li:hover {
  background: white;
  color: #ff0f93;
  transform: translateX(5px);
}

/* =========================
   PROJECT
========================= */

.project{
    margin-top:25px;
    text-align:left;
}

.project h3{
    color:white;
}

.project ul{
    list-style:none;
    padding:0;
}

.project ul li{
    background:rgba(255,255,255,0.2);
    padding:10px;
    margin:8px 0;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.project ul li:hover{
    background:white;
    color:#ff0f93;
    transform:translateX(5px);
}

/* =========================
   MAIN CONTENT
========================= */
.main {
  width: 65%;
  padding: 25px;
  background: #1a1a1a;
}

.main h3 {
  color: #ff69b4;
  border-bottom: 2px solid #ff69b4;
  padding-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.main p,
.main li {
  color: #e0e0e0;
}

.section {
  margin-bottom: 25px;
}

.social-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin-top:20px;
}

.social-buttons a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:25px;
    color:white;
    text-decoration:none;
    transition:0.3s;
}




/* logo */

.social-buttons a:nth-child(1){
    background:#E1306C;
}

.social-buttons a:nth-child(2){
    background:#222;
}

.social-buttons a:nth-child(3){
    background:#000;
}

.social-buttons a:nth-child(4){
    background:#0A66C2;
}


.social-buttons a:hover{
    transform:translateY(-5px);
}

/* =========================
   GALERI MOMENTS
========================= */

.galeri{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:40px;
    margin-top:30px;
    width:100%;
}

.story-card{
    width:180px;
    text-align:center;
    cursor:pointer;
}

.story-card img{
    width:180px;
    height:180px;
    object-fit:cover;

    border-radius:50%;
    border:4px solid #ff69b4;

    box-shadow:
        0 0 15px rgba(255,15,147,.6),
        0 0 30px rgba(255,15,147,.3);

    transition:.4s;
}

.story-card img:hover{
    transform:scale(1.08);
    box-shadow:
        0 0 20px rgba(255,15,147,.8),
        0 0 40px rgba(255,15,147,.5);
}

.story-card h4{
    margin-top:12px;
    color:#ff69b4;
    font-size:16px;
}

#galeri .container{
    max-width: 1400px;
    width: 80%;
}

#galeri .main{
    width: 100%;
}

/* =========================
   POPUP ALBUM
========================= */
.album-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.album-content {
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;

  overflow-y: auto;

  background: #1a1a1a;
  border: 2px solid #ff69b4;
  border-radius: 20px;

  padding: 25px;

  box-shadow:
    0 0 20px rgba(255, 15, 147, 0.5),
    0 0 40px rgba(255, 15, 147, 0.2);
}

.album-content h2 {
  text-align: center;
  color: #ff69b4;
  margin-bottom: 20px;
}

.album-galeri {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.album-galeri img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-radius: 15px;
  border: 2px solid #ff69b4;

  transition: 0.3s;
}

.album-galeri img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 15, 147, 0.8);
}

.catatan {
  margin-top: 25px;
  background: #222;
  border-radius: 15px;
  padding: 20px;
}

.catatan h3 {
  color: #ff69b4;
}

.catatan p {
  color: #ddd;
  line-height: 1.8;
}

.close-btn {
  float: right;
  font-size: 35px;
  color: #ff69b4;
  cursor: pointer;
}

.close-btn:hover {
  color: white;
}

#galeri .main h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #ff69b4;
}
/* =========================
   TOMBOL KEMBALI
========================= */
.back-btn {
  display: block;
  margin: 25px auto;
  padding: 12px 25px;

  background: #1a1a1a;
  color: #ff69b4;

  border: 2px solid #ff0f93;
  border-radius: 30px;

  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.back-btn:hover {
  background: #ff0f93;
  color: white;
  box-shadow: 0 0 20px rgba(255, 15, 147, 0.8);
}

/* =========================
   ANIMASI
========================= */
@keyframes bounce {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .container {
    flex-direction: column;
  }

  .sidebar,
  .main {
    width: 100%;
  }

  .menu-box {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 220px;
  }

  .album-galeri {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card img {
    width: 130px;
    height: 130px;
  }

  .popup-box {
    width: 90%;
    padding: 20px;
  }
}

/* =========================
   POPUP WELCOME
========================= */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.85);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.popup-box {
  width: 380px;
  background: #1a1a1a;
  color: white;

  padding: 30px;
  border-radius: 20px;
  border: 2px solid #ff69b4;

  text-align: center;

  animation:
    popupShow 0.8s ease,
    floating 3s ease-in-out infinite;
}

.popup-box h2 {
  color: #ff69b4;
  margin-bottom: 15px;
  animation: fadeText 1s ease;
}

.popup-box p {
  color: #d9d9d9;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* =========================
   TOMBOL POPUP
========================= */
.popup-box button{
    margin: 8px;
    padding: 10px 25px;

    border: none;
    border-radius: 30px;

    background: #ff69b4;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.popup-box button:hover{
    background: #d94b95;
    transform: translateY(-3px);
}

.popup-box button:active{
    transform: scale(0.95);
}

/* =========================
   ANIMASI POPUP
========================= */
@keyframes popupShow{
    0%{
        opacity: 0;
        transform: scale(0.5);
    }

    100%{
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeText{
    from{
        opacity: 0;
        transform: translateY(-15px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating{
    0%,100%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-8px);
    }
}

/* =========================
   CATATAN MOMEN
========================= */

.catatan{
    margin-top:25px;
    background: linear-gradient(
        135deg,
        #1f1f1f,
        #2b0d24
    );

    border:2px solid #ff69b4;
    border-radius:20px;

    padding:25px;

    box-shadow:
        0 0 15px rgba(255,105,180,.3),
        0 0 30px rgba(255,105,180,.15);
}

.catatan h3{
    color:#ff69b4;
    text-align:center;
    margin-bottom:20px;
    font-size:24px;
}

.note-item{
    display:flex;
    align-items:center;
    gap:15px;

    background:rgba(255,255,255,.05);

    padding:12px 15px;
    margin-bottom:12px;

    border-radius:12px;

    transition:.3s;
}

.note-item:hover{
    transform:translateX(5px);
    background:rgba(255,105,180,.15);
}

.note-item span{
    font-size:22px;
}

.note-item p{
    margin:0;
    color:#f0f0f0;
    line-height:1.6;
}
/* =========================
   link
========================= */
.note-link{
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;

    background: #ff69b4;
    color: #fff;
    text-decoration: none;

    border-radius: 8px;
    font-size: 12px;

    transition: .3s;
}

.note-link:hover{
    background: #ff3d9a;
    transform: scale(1.05);
}

.popup-content{
    text-align: center;
    padding: 10px;
}

.popup-content h2{
    margin: 0;
    color: #ff69b4;
    font-size: 22px;
}

.popup-content p{
    margin: 5px 0 px;
    color: #f0f0f0;
    font-size: 14px;
}

/* gambar tanpa border */
.popup-content img{
    width: 120px;
    height: 120px;
    object-fit: cover;

    border: none;      
    outline: none;

    border-radius: 12px;
}

#bg-gif{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.klik-hobi{
    cursor:pointer;
}

.hobi-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    z-index:999;
}


.hobi-box{
    background:#ff69b4;
    width:350px;
    padding:20px;
    border-radius:20px;
    text-align:center;
}

.hobi-box img{
    width:100%;
    border-radius:15px;
}

.close-hobi{
    float:right;
    font-size:30px;
    cursor:pointer;
}

/* =========================
   POPUP HOBI SEPEDA
========================= */

.hobi-popup{

    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.8);
    justify-content:center;
    align-items:center;
    z-index:999;

}

.hobi-box{

    width:85%;
    max-width:900px;
    max-height:90vh;
    overflow-y:auto;
    background:#111;
    padding:30px;
    border-radius:25px;
    text-align:center;
    border:3px solid #ff69b4;
    box-shadow:0 0 25px #ff69b4;

}

.hobi-box h2{
    color:#ff69b4;
    margin-bottom:25px;

}

/* FOTO SEPEDA */
.hobi-box img{
    width:200px;
    height:200px;
    object-fit:cover;
    margin:10px;
    border-radius:12px;
    border:3px solid #ff69b4;
    transition:.3s;
}

.hobi-box img:hover{
    transform:scale(1.08);
    box-shadow:0 0 20px #ff69b4;
}

.hobi-box p{

    color:white;
    line-height:1.7;
    margin-top:20px;
}

.project-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}


.project-item{

    padding:15px;
    background:white;
    border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);

}

.project-item a{

    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    background:#222;
    color:white;
    padding:8px 15px;
    border-radius:20px;

}

.project-item a:hover{

    opacity:0.8;

}

@media (max-width:768px){

.container{
    width:95%;
    display:flex;
    flex-direction:row;
}

.sidebar{
    width:35%;
    padding:12px;
}

.main{
    width:65%;
    padding:15px;
}


.sidebar img{
    width:80px;
    height:80px;
}


.sidebar h2{
    font-size:14px;
}


.motto{
    font-size:10px;
}


.main h3{
    font-size:14px;
}


.main p{
    font-size:11px;
}


.project ul li,
.hobi ul li{
    font-size:10px;
    padding:7px;
}


.social-buttons{
    gap:8px;
}


.social-buttons a{
    width:30px;
    height:30px;
    font-size:15px;
}



/* VOLUNTEER */
#galeri .container{
    width:95%;
}


#galeri .main{
    width:100%;
}


#galeri .main h3{
    font-size:20px;
    white-space:normal;
}


.story-card{
    width:100px;
}


.story-card img{
    width:90px;
    height:90px;
}

}

/* SOCIAL MEDIA */
.social-buttons{
    justify-content:center;
    align-items:center;
    gap:12px;
}

.social-buttons a{
    width:45px;
    height:45px;
    font-size:22px;
}


/* PROJECT & HOBI */
.project ul,
.hobi ul{
    padding:0;
}

.project ul li,
.hobi ul li{
    font-size:14px;
}


/* FOTO GALERI */
.story-card{
    width:140px;
}

.story-card img{
    width:130px;
    height:130px;
}


/* POPUP HOBI */
.hobi-box{
    width:90%;
    padding:15px;
}

.hobi-box img{
    width:120px;
    height:120px;
}


/* HOME */
.home-container h3{
    font-size:30px;
}

.foto-home{
    width:140px;
    height:140px;
}

.card{
    width:180px;
}

}
.social-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
}
