@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'Acari';
    /* custom name */
    src: url('fonts/acari-sans/AcariSans-Black.otf') format('opentype'),
        url('fonts/acari-sans/AcariSans-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acari-light';
    /* custom name */
    src: url('fonts/acari-sans/AcariSans-Light.otf') format('opentype'),
        url('fonts/acari-sans/AcariSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acari-bold';
    src: url('fonts/acari-sans/AcariSans-Bold.otf') format('opentype'),
        url('fonts/acari-sans/AcariSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ----------- fonts ------------------ */


:root {
    --Poppins: 'Poppins', sans-serif;
    --Hanken-Grotesk: 'Hanken Grotesk', sans-serif;
    --Acari-Sans: 'Acari', sans-serif;
    --Acari-Sans-Bold: 'Acari-bold', sans-serif;
    --Acari-Sans-Light: 'Acari-light', sans-serif;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    font-family: var(--Hanken-Grotesk);
    /* color: var(--text-color); */
}


body {
    overflow-x: hidden;
}

/* ---------------------------- header ----------------------------  */


header {
    width: 100%;
    height: 12vh;
    position: absolute;
    top: 0;
    /* background-color: black; */
    padding: 5vh 7vw 0 7vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(145, 145, 145, 0.325); */
}

.logo-container {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

.logo-container img {
    width: 160px;
}

.nav-container {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

nav {
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 15px 35px;
    border-radius: 3.40282e+38px;
    border: 1px solid #1c1c1c;
    background: #0b0b0bb3;
    backdrop-filter: blur(24px);
}

.nav-links {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3vw;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: 0.3s ease-in-out;
}

.cta-container {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.cta-button {
    width: 160px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #FF4C60; */
    border-radius: 3.40282e+38px;
    border: 1px solid #1c1c1c;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    background: #0b0b0bb3;
    backdrop-filter: blur(24px);
}

/*---------------------- Mobile */

/* Burger button */
.burger {
    position: fixed;
    top: 23px;
    right: 32px;
    display: none;
    /* hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    cursor: pointer;
    z-index: 200;
}

.burger span {
    display: block;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.width-50{
    width: 60%;
    align-self: flex-end;    
}

/* Burger → X animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    width: 100%;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav base */
.mobile-nav {
    position: fixed;
    top: -5.3vh;
    right: -100%;
    width: 100vw;
    height: 101vh;
    background: #0b0b0b;
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    padding: 20vh 15vw;
    gap: 10vh;
    border-radius: 0;
    transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
    /* hidden */
    pointer-events: none;
    /* prevent clicks when closed */
    z-index: 150;
}

/* Show state */
.mobile-nav.show {
    right: 0;
    opacity: 1;
    pointer-events: auto;
    /* clickable again */
}

/* Links */
.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animate links in when menu opens */
.mobile-nav.show a {
    opacity: 1;
    transform: translateX(0);
}

/* Optional: stagger effect for links */
.mobile-nav.show a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.show a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.show a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.show a:nth-child(4) {
    transition-delay: 0.4s;
}


/* /*---------------------- Mobile */
/* ------------------------ header ----------------------------  */



/* --------------------------- works-section ---------------------------- */

.works-section {
    width: 100%;
    min-height: 65vh;
    /* padding: 0 7vw; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 10px; */

}

.works-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 67vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.842), rgba(0, 0, 0, 0.562));
    pointer-events: none;
    /* let clicks pass through */
}


.works-section video {
    width: 100vw;
    height: 65vh;
    object-fit: cover;
    transform: rotate(-180deg);
}

.works-text {
    width: 100%;
    position: absolute;
    bottom: 45%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10;
}

.works-text :nth-child(1) {
    font-family: var(--Acari-Sans-Bold);
    font-weight: bold;
    font-size: 72px;
    text-align: center;
    /* background: linear-gradient(to right, #45c87d, #ffffff);  */

    background: linear-gradient(to right,
            #96d1b0 30%,
            /* orange starts at 0% */
            #f5f5f8 72%,
            /* pink in the middle at 50% */
            #ffffff 80%
            /* orange again at 100% */
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* border: 1px solid red; */
}

.works-text :nth-child(2) {
    font-family: var(--Acari-Sans-Bold);
    font-weight: bold;
    font-size: 72px;
    text-align: center;

    background: linear-gradient(to left,
            #96d1b0 30%,
            /* start */
            #f5f5f8 72%,
            /* middle */
            #ffffff 80%
            /* end */
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-top: -18px;
}

.eww-video{
    /* border: 5px solid black; */
}


/* ------------ Portfolio-Section ------------------ */

.Portfolio-Section {
    width: 100%;
    min-height: 100vh;
    padding: 80px 7vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    gap: 20px;
}



.vertical-column {
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.vertical-column-right {
    margin-top: 110px;
}

.Work-categories {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 10px;
    padding: 30px 0 0 20px;
    /* border: 1px solid #1c1c1c; */

}

.Work-categories span {
    width: auto;
    height: auto;
    border-radius: 0.5rem;
    /* background: linear-gradient(135deg, #96d1b0, #ffffff); */
    background-color: rgb(24, 24, 24);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 14px;
    /* font-size: 16px; */

}

.Work-categories p {
    color: #e4e4e4;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    font-family: var(--Hanken-Grotesk);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.Portfolio-Card {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    background: transparent;
}

/* Top half border (fade at bottom middle) */
.Portfolio-Card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* span full width */
    height: 1px;
    /* thickness */
    background: linear-gradient(to right, transparent, #ffffff2f, transparent);
}

/* Bottom half border (fade at top middle) */
/* .Portfolio-Card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; 
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
} */


.Portfolio-Card video {
    max-width: 100.15% !important;
    height: 50%;
    object-fit: cover;
    border-radius: 20px;
    background: transparent !important;
    transition: transform 0.5s ease;
}

.Portfolio-Link {
    text-decoration: none;
    color: inherit;
    display: block;
}



.Portfolio-Card-Text h3 {
    color: white;
    font-size: 30px;
    font-family: var(--Hanken-Grotesk);
    font-weight: 600;
    text-align: left;
    /* padding: 10px 20px; */

}

.Portfolio-Card-Text p {
    font-family: var(--Acari-Sans-Light);
    color: #C6C6C6;
    font-size: 16px;
    text-align: left;
}

.Portfolio-Card-Text {
    width: 100%;
    padding: 10px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    /* border: 1px solid #1c1c1c; */
    position: relative;
    /* needed for the ::after positioning */

}

.Portfolio-Card-Text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 0.7px;
    background: linear-gradient(to right, transparent, #ffffff19, transparent);
    border-radius: 2px;
}