/* =========================
GLOBAL STYLE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    color: #f0f6fce5;
    scroll-behavior: smooth;
}

body {
    background-color: #0D1117;
}

.title > a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

nav {
    background-color: #010409;
    box-shadow: 1px 1px 99px 19px rgba(10, 132, 255, 0.531);
    -webkit-box-shadow: 1px 1px 99px 19px rgba(10, 132, 255, 0.531);
    -moz-box-shadow: 1px 1px 99px 19px rgba(10, 132, 255, 0.531);
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

ul {
    display: flex;
}

ul > li {
    list-style: none;
    margin-right: 30px;
}

ul > li > a {
    text-decoration: none;
    font-size: 17px;
}

ul > li > a:hover {
    transition: all 0.3s;
    color: rgba(10, 132, 255, 0.531);
}

.btn {
    color: rgba(255, 255, 255, 0.678);
    padding: 8px 20px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.btn-profile {
    background-color: #00d0ff5c;
}

.btn-profile:hover {
    transition: all 0.4s;
    color: white;
    background-color: #00d0ffac;
}

#wrapper {
    width: 70%;
    margin: 120px auto;
    padding-bottom: 80px;
}

#wrapper > h2 {
    font-weight: 500;
    margin-bottom: 10px;
}

#wrapper > input {
    width: 100%;
    height: 45px;
    padding: 10px;
    border-radius: 10px;
    background-color: #161d27;
    border: solid 1px rgba(255, 255, 255, 0.282);
    font-size: 16px;
    color: #dddddd;
    outline: none; /* biar gak ada garis biru default */
    transition: all 0.3s ease; /* biar halus pas berubah */
}

#wrapper > input:hover {
    border: solid 1px rgba(10, 132, 255, 0.531);
}

#wrapper > input:focus {
    border: solid 1px rgba(10, 132, 255, 0.8);
    box-shadow: 0 0 8px rgba(10, 132, 255, 0.5); /* efek glow biru */
}


.media {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    display: flex;
}

.card {
    width: 130px;
    border-radius: 25px;
    border: solid 1px rgba(255, 255, 255, 0.297);
    background-color: #010409;
    display: flex;
}

.card > i {
    margin: 10px;
}

.card > a {
    text-decoration: none;
    margin-top: 7px;
    margin-left: 3px;
}

.card > a:hover {
    transition: all 0.2s;
    color: rgba(10, 132, 255, 0.531);
}

.youtube,
.github {
    margin-left: 15px;
}

.linktree {
    width: 100px;
    margin-left: auto;
}

.project {
    width: 100%;
    height: auto; /* auto supaya ikut tinggi konten */
    margin-top: 100px;
}

.project > h2 {
    text-align: center;
    border-bottom: solid 1px rgba(255, 255, 255, 0.68);
    padding-bottom: 10px;
}

.pc {
    background-color: #161d27;
    height: 180px;
    margin-top: 15px;
    border-radius: 15px;
    padding-top: 1px;
    display: flex;
}

.image {
    width: 30%;
    height: 155px;
    border-radius: 11px;
    margin: 10px;
}

.image > img {
    width: 100%;
    object-fit: cover;
    height: 155px;
    border-radius: 12px;
    border: solid 1.5px #ffffff4c;
}

.deskripsi {
    width: 63%;
    height: 155px;
    border-radius: 11px;
    margin: 10px;
}

.deskripsi > h2 {
    margin: 5px 0 0 10px;
}

.deskripsi > p {
    margin: 5px 0 18px 10px;
    text-align: justify;
}

.btn-more {
    background-color: #06080b;
    margin-left: 10px;
    border: solid 1px rgba(255, 255, 255, 0.284);
}

.btn-more:hover {
    transition: all 0.3s;
    background-color: rgb(98, 98, 98);
}

.album {
    width: 100%;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.foto {
    background-color: #161d273a;
    border-radius: 12px;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 15px); /* default: 3 kolom */
    max-width: calc(33.333% - 15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.4);
}

.foto > img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    border-radius: 12px;
}


/* =============== HAMBURGER MENU FOR MOBILE =============== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}





/* =========================
RESPONSIVE BREAKPOINTS
========================= */

/* 📱 HP */
@media screen and (max-width: 768px) {
nav {
    height: auto;
    padding: 15px 25px;
    flex-direction: column;
    align-items: flex-start;
}

.title{
    margin-left: -5px;
}

.menu-toggle {
    display: flex;
    margin-left: auto;
    margin-top: 5px;
}

.nav-list {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #010409;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-list.active {
    display: flex;
}

ul {
    flex-direction: column;
    width: 100%;
}

ul > li {
    width: 100%;
    text-align: left;
    padding: 10px 25px;
}

ul > li > a {
    width: 100%;
    display: block;
    font-size: 18px;
}

ul > li > a:hover {
    color: rgba(10, 132, 255, 0.9);
}

#wrapper {
    width: 90%;
    margin: 60px auto;
}

.project {
    width: 100%;
    height: 320px;
    margin-top: 100px;
}

.media {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pc {
    flex-direction: column;
    align-items: center;
    height: 430px;
    padding: 10px;
}

.image {
    width: 90%;
    height: auto;
}

.deskripsi {
    width: 90%;
    text-align: center;
    margin-bottom: 50px;
}

.deskripsi > p {
    margin: 5px 0 23px 10px;
    text-align: justify;
}

.album {
    gap: 10px;
}

.foto {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
}

.foto > img {
    max-height: 400px;
}


}

/* 💻 TABLET */
@media screen and (min-width: 768px) and (max-width: 1023px) {
nav {
    padding: 20px 30px;
    height: 9vh;
}

ul {
    gap: 18px;
}

ul > li > a {
    font-size: 16px;
}

.title{
    margin-left: 30px;
}

#wrapper {
    width: 85%;
    margin: 100px auto;
}

.pc {
    flex-direction: row;
}

.btn-more{
    display: none;
}

.album {
    gap: 12px;
}

.foto {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    height: auto;
}

.foto > img {
    max-height: 450px;
}

}

/* 🧑‍💻 LAPTOP */
@media screen and (min-width: 1024px) and (max-width: 1919px) {
nav {   
    padding: 25px 40px;
}

#wrapper {
    width: 70%;
}

.album {
    width: 100%;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.foto {
    background-color: #161d273a;
    border-radius: 12px;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 15px); /* default: 3 kolom */
    max-width: calc(33.333% - 15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.4);
}

.foto > img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    border-radius: 12px;
}

}

