@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: "Evogria";
  src: url("assets/fonts/Evogria.otf") format('openType');
}
@font-face {
    font-family: "Adventure";
    src: url("../assets/fonts/ADVENTRUE.otf") format('openType');
  }
@font-face {
  font-family: "AkkuratMono-Regular";
  src: url('../assets/fonts/AkkuratMono-Regular.ttf') format('trueType');
}
@font-face {
    font-family: "Olympus-Mount";
    src: url('../assets/fonts/Olympus Mount.ttf') format('trueType');
  }
@font-face {
  font-family: "Psilograph";
  src: url('../assets/fonts/Psilograph-Bold.ttf') format('trueType');
}

html, body{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
    background-size: cover;
    font-family: "Poppins", sans-serif;
}
section{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-size: cover;
}
.project-hero {
    background: url('../assets/images/abstract-background.webp') no-repeat center;
    background-size: cover; /* Membuat gambar memenuhi area */
    width: 100%; /* Memastikan elemen memenuhi lebar */
    height: 100vh; /* Memastikan elemen memenuhi tinggi layar */
}

.project{
    width: 100%;
  height: 100%;
  /* min-height: 100vh; */
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  display:flex;
  gap: 2rem;
  flex-direction: column;
}
.project h1{
    font-family: "Olympus-Mount", sans-serif;

    font-weight: 500;
    font-size: 90px;
}
/* .buttons .bx{
  font-size: 20px;
} */
 .project img{
    border-radius: 10px;
 }
 .project p{
    font-family: "Inter", serif;
    font-weight: 300;
    font-size: 15px;
 }
 .project-2{
    width: 100%;
    height: 100%;
    margin-top: 6rem;
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
 }
 .project-2 h1{
    font-family: "Olympus-Mount", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 90px;
    padding: 15rem;
 }
 .project-2 span{
    color: #AFB1B7;
 }
 .latest-project{
    width: 100%;
    height: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    min-height: 100vh;
    /* background: #1E1E1E; */

 }
 .header-latest{
    display: flex;
    justify-content: space-between;
    padding: 10px 65px;
 }
 .header-latest h1{
    font-family: "Olympus-Mount", sans-serif;
    font-weight: 500;
    font-size: 70px;
 }
 .card-list .card-item {
    position: relative;
    width: 400px;
    overflow: hidden;
    border-radius: 10px;
}
.container{
    width: 70%;
}
.card-list .card-item .card-link {
    display: block;
    user-select: none;
    height: 360px; /* Default height */
    position: relative;
    transition:.5s cubic-bezier(.19,.47,.88,.55);
    z-index: -1;
}

.card-list .swiper-slide-active .card-link {
    width: 400px;
    height: 400px; 
    z-index: 1;
}

.card-wrapper{
    max-width: 1100x;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}
 
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    filter: brightness(0.7);
}

/* Menempatkan badge di atas gambar */
.bagde {
    position: absolute;
    bottom:50px;
    left: 10px;
   /* Background semi-transparan */
    color: white;
    font-size: 25px;
    font-weight: bold;
    /* padding: 8px 12px; */
    border-radius: 8px;
    font-family: 'Olympus-Mount', sans-serif;
    text-transform: uppercase;
}

/* Menempatkan tags di atas gambar */
.tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
}

.tag {
    background: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: black;
    /* font-weight: bold; */
}
.swiper-button-prev {
    left: 10px; /* Atur posisi tombol prev */
}

.swiper-button-next {
    right: 10px; /* Atur posisi tombol next */
}
.work-together{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    /* padding-top: 20rem; */
}
.collab h1{
    font-family: "Olympus-Mount", sans-serif;
    font-weight: 500;
    font-size: 90px;
    color: #fff;
}
.collab p{
    font-family: "Inter", serif;
    font-weight: 300;
    font-size: 30px;
    color: #fff;
}
.button-work{
    margin-top: 30px;
}
.button-work a{
    font-family: "Inter", serif;
    font-weight: 300;
    font-size: 25px;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 10rem;
    background-color: #fff;
    border-radius: 30px;
}
.work-img{
    width: 40%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
    position: relative;
}
.footer {
    width: 100%;
 /* Warna hijau dari screenshot */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    background-color: #000;
    /* bottom: 0; */
}

.footer p {
    font-family: "Inter", sans-serif;
    /* font-weight: bold; */
    font-size: 15px;
    color: #fff; /* Hitam sesuai gambar */
    margin: 0;
}

.button-top {
    font-family: "Inter", sans-serif;
    /* font-weight: bold; */
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px; /* Jarak antara teks dan ikon */
}

.material-symbols-outlined {
    font-size: 16px; /* Sesuaikan ukuran ikon */
    color: #fff;
}
/* menu animation */
.logo, .menu-logo{
    position: absolute;
    top: 2em;
    left: 2em;
}
.logo a ,  .menu-logo a{
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Psilograph', sans-serif;
    font-size: 60px;
    font-weight: lighter;
}
.logo a{
    color: #fff;
}
.menu-logo a{
    color: #fff;
}

.menu-toggle{
    position: fixed;
    top: 2em;
    right: 2em;
    width: 120px;
    height: 60px;
    background-color: #0f0f0f;
    border-radius: 8em;
    transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform-origin: left;
    cursor: pointer;
    z-index: 2;
}

.menu-toggle.opened{
    width: 60px;
}

.menu-copy{
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 1;
}

.menu-copy p{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12;
    margin: 0;
    padding: 0;
    color: #fff;
}
.menu-toggle{
    z-index: 999;
}
.menu-toggle:hover .menu-copy{
    left: 20px;
}
.menu-toggle.opened .menu-copy{
    opacity: 0;
}
.menu-toggle-icon{
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    clip-path: circle(10% at 50% 50%);
    background-color: white;
    transition: all 0.5s cubic-bezier(0.075, 0.82,  0.165, 1);
    overflow: hidden;
}

.menu-toggle:hover .menu-toggle-icon{
    clip-path:circle(35% at 50% 50%);
}
.menu-toggle.opened .menu-toggle-icon{
    clip-path: circle(50% at 50% 50%);
    transform: scale(1.125);
}
.hamburger{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.075, 0.82,  0.165, 1);
    opacity: 0;
}
.menu-toggle:hover .hamburger, 
.menu-toggle.opened .hamburger{
    top: 50%;
    opacity: 1;
}
.menu-bar{
    position: absolute;
    width: 15px;
    height: 1.5px;
    background-color: #000;
    transition-property: transform;
    transition: all 250ms ease-out;
}
.menu-bar[data-position="top"]{
    transform: translateY(-4px);
}
.menu-bar[data-position="top"]{
    transform: translateY(4px);
}
.menu-toggle.opened  .menu-bar[data-position="top"]{
    transform: translateY(0) rotate(45deg) scaleX(1.05);
}
.menu-toggle.opened  .menu-bar[data-position="bottom"]{
    transform: translateY(0) rotate(-45deg) scaleX(1.05);
}
.menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #0f0f0f;
    pointer-events:all;
    transform-style:preserve-3d ;
    perspective: 1000px;
    z-index: 100;
    clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.col{
    flex: 1;
}
.col-2{
    flex: 2;
}
.col{
    position: relative;
    height: 100%;
    padding: 10em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.link a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 125%;
    display: inline-block;
    transition: color 0.3s ease-in-out; /* Warna berubah halus */
}

.link a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    transition: all 0.3s ease-in-out; /* Underline bergerak */
}

.link a:hover {
    color: #898989; /* Ganti warna teks saat hover */
}

.link a:hover:before {
    visibility: visible;
    width: 100%; /* Underline muncul penuh */
}

.video-wrapper{
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    overflow: hidden;
    padding: 2em;
    clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.video-wrapper video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.socials{
    width: 50%;
    display: flex;
    gap: 2em;
    text-align: left
}
.socials .sub-col{
    flex: 1;
}
.socials .sub-col a{
    text-decoration: none;
    position: relative;
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    text-transform: uppercase;
    font-family: 'AkkuratMono-Regular', sans-serif;
    font-size: 12px;
    font-weight: 600;
}
.sub-col i{
    font-size: 15px;
    top: 10px;
}
.header h3{
    color: #fff;
    font-family: 'Psilograph', sans-serif;
    font-size: 500px;
    text-transform: uppercase;
    font-weight: lighter;
    line-height: 100%;
    height: 400px;
}
.header h3 span{
    position: relative;
    display: inline-block;
    transform: scale(0.75) translateY(0) rotateY(90deg);
    transform-origin: bottom;
}
/* project css */
@media screen and (max-width: 1024px) {
    .project h1 {
        font-size: 60px; /* Ukuran font lebih kecil */
    }
    .project-2 h1 {
        font-size: 60px;
        padding: 5rem;
    }
    .header-latest h1 {
        font-size: 50px;
    }
    .card-list .card-item {
        width: 100%;
    }
    .work-together {
        flex-direction: column; /* Stack content di layar tablet */
        align-items: center;
        text-align: center;
    }

    .work-img {
        width: 60%; /* Kurangi ukuran gambar */
    }
}
@media (max-width: 900px) {
    .col-1 {
        flex: 2;
        align-items: flex-start;
    }

    .link a {
        font-size: 30px;
    }
    .buttons a{
      font-size: 30px;
    }
    .project-hero h1{
      font-size: 50px;
    }
 
    .video-wrapper {
        padding: 0.4em;
        width: 100%;
        height: auto;
    }


    .socials {
        width: 100%;
        flex-direction: column;
        gap: 8em;
    }

    /* Penyesuaian ukuran header */
    .header h3 {
        font-size: 150px;
        height: 100px;
    }
}
@media screen and (max-width: 768px) {
    .project {
        padding: 20px;
    }
    .project h1 {
        font-size: 40px;
        text-align: center;
    }
    .project img {
        width: 50%;
    }
    .project-2 h1 {
        font-size: 40px;
        padding: 3rem;
        text-align: center;
    }
    .header-latest h1 {
        font-size: 40px;
        text-align: center;
    }
    .container {
        width: 100%;
        padding: 0 10px;
    }
    .card-list .card-item {
        width: 100%;
    }
    .collab h1 {
        font-size: 50px; 
    }
    .collab{
        padding: 2rem;
    }
    .collab p {
        font-size: 20px; 
    }

    .button-work a {
        font-size: 18px;
        padding: 8px 16px;
    }

    .footer {
        flex-direction: row; 
        text-align: center;
        padding: 1rem;
    }

    .button-top {
        margin-top: 10px;
    }
}
@media (max-width: 600px) {
    .menu-copy p {
        font-size: 10px;
    }

    .link a {
        font-size: 20px;
    }

    .header h3 {
        font-size: 100px;
        height: 80px;
    }
    .buttons a{
      font-size: 20px;
    }
    .project-hero h1{
      font-size: 35px;
    }
    
    /* .video-wrapper {
        padding: 0;
        aspect-ratio: 16/9;
    } */
    
}@media screen and (max-width: 480px) {
    .project h1 {
        font-size: 30px;
    }
    .project p {
        font-size: 12px;
    }
    .project img {
        width: 80%;
    }
    .project-2 h1 {
        font-size: 30px;
        padding: 2rem;
    }
    .header-latest h1 {
        font-size: 30px;
    }
    .work-together {
        padding-bottom: 100px; 
    }

    .work-img {
        width: 100%; 
    }

    .collab h1 {
        font-size: 40px; 
    }

    .collab p {
        font-size: 18px;
    }

    .button-work a {
        font-size: 16px;
        padding: 6px 12px;
    }

    .footer p {
        font-size: 13px;
    }

    .material-symbols-outlined {
        font-size: 14px;
    }
}