/* GLOBAL */

body {
    margin: 0;
    background-color: #0d0d0d;
    background-image: url("../assets/images/bg/pattern/p-008.png");
    background-repeat: repeat;
    background-size: 600px;
    min-height: 300vh;
}

video {
    width: 100%;
    border-radius: 8px;
    background: black;
}



/* HERO */



/* hero background image */
.personal-hero {
    padding: 300px 8% 140px;
}

.hero-layout {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.hero-text-block {
    flex: 1;
}

.hero-video {
    flex: 1;
}

.hero-video video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
}
.hero-text-block {
    flex: 1;
    text-align: left;
}

.hero-title {
    text-align: left;
}

.hero-text {
    text-align: left;
    line-height: 1.6;
    max-width: 650px;
}


/* LONG FORM */

.personal-long {
    padding: 120px 8%;
}

.long-video {
    max-width: 1100px;
    margin: 60px auto;
    cursor: pointer;
}

.long-video video {
    aspect-ratio: 16/9;
    object-fit: cover;
}



/* SHORTS */

.personal-shorts {
    padding: 120px 8%;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

.short-video video {
    aspect-ratio: 9/16;
    object-fit: contain;
    background: black;
}

.short-video p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}



/* MORE WORK */

.personal-more {
    padding: 10px 8%;
    max-width: 700px;
    margin: auto;
    flex: 1;
    text-align: left;
}

.youtube-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    border: 1px solid white;
    text-decoration: none;
    color: white;
    transition: 1s;
}

.youtube-link:hover {
    background: white;
    color: black;
}



/* VIDEO FULLSCREEN */

video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
}

video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
}



/* RESPONSIVE */

@media (max-width: 900px) {

    .shorts-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .shorts-grid {
        grid-template-columns: 1fr;
    }

}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.image-grid img {
    width: 100%;
    height: 280px;
    max-width:500px;
    object-fit: cover;
    
}

.personal-style {
    padding: 120px 8%;
}

.style-layout {
    display: flex;
    gap: 50px;
    max-width: 1800px;
    margin: auto;
}

.style-text {
    flex: 1;
    /* 1/3 */
}

.image-grid {
    flex: 2;
    /* 2/3 */

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
/* IMAGE LIGHTBOX */

#img-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(6px);
}

#img-lightbox-display {
    max-width: 92%;
    max-height: 92%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* MOBILE FIX */

@media (max-width: 768px) {

    .hero-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-text-block,
    .hero-video {
        width: 100%;
    }

    .personal-hero {
        padding: 120px 8% 100px;
    }

}
