:root{
    --primary-light: #c6c6c6;
    --secondary-light: #c6c6c6;
    --background-light: #F9F1F0;
    --text-light-mode: #000000;
    --border-radius: 20px;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@font-face {
    font-family: Monsterrat-italic;
    src: url(./assets/fonts/Montserrat-LightItalic.ttf);
}
@font-face {
    font-family: Monsterrat-bold;
    src: url(./assets/fonts/Montserrat-Bold.ttf);
}
@font-face {
    font-family: Monsterrat-light;
    src: url(./assets/fonts/Montserrat-Light.ttf);
}
@font-face {
    font-family: Monsterrat-medium;
    src: url(./assets/fonts/Montserrat-MediumItalic.ttf);
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--text-light-mode);
    color: var(--text-light-mode);
    overflow: hidden;
}

/* Custom Cursor Styles */
.custom-cursor-container {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}



.custom-cursor-inner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.custom-cursor-border {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Hide cursor on mobile devices */
@media (max-width: 768px) {
    .custom-cursor-container {
        display: none;
    }
}

.preloader{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--text-light-mode);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.preloader h2{
    font-size: 3rem;
    font-family: 'Monsterrat-bold', sans-serif;
    color: #fff;
}

.navbar{
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: 20px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
}

.mobile-navbar-links{
    display: none;
}

.navbar .logo{
    font-size: 1.5rem;
    font-family: 'Monsterrat-italic', sans-serif;
}

.navbar .logo span{
    font-family: 'Monsterrat-bold', sans-serif;
}

.navbar .logo-img{
    margin-top: 5px;
    width: 180px;
}

.navbar .nav-links{
    display: flex;
    gap: 35px;
}

.navbar .nav-links a{
    font-size: 1.5rem;
    font-family: 'Monsterrat-bold', sans-serif;
    color: var(--text-light-mode);
}

.mobile-navbar-btn{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    background: #000;
    z-index: 999;
    cursor: pointer;
}

#mobile-navbar-icon, #mobile-navbar-icon-close{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0.4rem;
    color: #ffffff;
    cursor: pointer;
}

#mobile-navbar-icon-close{
    display: none;
    cursor: pointer;
}


.hero{
    height: calc(100vh - 140px);
    width: 100%;
}

.hero .container{
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 0 20px 20px 20px;
}

.hero .container .left{
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: 1.75fr 1.25fr;
    gap: 20px;
}

.hero .container .left .top{
    display: flex;
    gap: 20px;  
}

.hero .container .left .top .cardIntro{
    height: 100%;
    width: 75%;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero .container .left .top .cardIntro .cardIntro-content{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.hero .container .left .top .cardIntro .vector-span{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.hero .container .left .top .cardIntro .vector-design{
    width: 20%;
    padding-right: 10px;
    padding-top: 10px;
}

.vector-design-about{
    width: 30%;
}

.vector-design-contact{
    width: 100%;
    height: 100%;
}

/* .hero .container .left .top .cardIntro .vector-span img{
    animation: rotate 20s linear infinite forwards;
    animation-delay: -2s;
} */
.hero .container .left .top .cardIntro h2{
    font-size: 2.6rem;
    font-family: 'Monsterrat-bold', sans-serif;
}

.hero .container .left .top .cardIntro .cardIntro-divider{
    width: 100%;
    height: 1px;
    border-top: 2px solid var(--text-light-mode);
    transform-origin: left center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.hero .container .left .top .cardIntro .cardIntro-subtitle{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero .container .left .top .cardIntro .cardIntro-role{
    font-size: 1.3rem;
    font-family: 'Monsterrat-bold', sans-serif;
    color: var(--text-light-mode);
}

.hero .container .left .top .cardIntro .cardIntro-tagline{
    font-size: 1rem;
    font-family: 'Monsterrat-light', sans-serif;
    color: var(--text-light-mode);
    font-style: italic;
}

.hero .container .left .top .cardIntro .cardIntro-badges{
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero .container .left .top .cardIntro .cardIntro-badge{
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--text-light-mode);
    color: var(--background-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Monsterrat-medium', sans-serif;
    font-style: italic;
}

.hero .container .left .top .cardIntro h2 span{
    font-family: 'Monsterrat-italic', sans-serif;
}

.hero .container .left .top .portrait{
    height: 100%;
    width: 25%;
    overflow: hidden;
    border-radius: var(--border-radius);
    z-index: 3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #BFBFBF;
    position: relative;
}

.hero .container .left .top .portrait .portrait-canvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container .left .top .portrait img{
    height: 90%;
    width: 90%;
    object-fit: cover;
    transition: 500ms transform ease;
    position: relative;
    z-index: 2;
}

.hero .container .left .top .portrait:hover img{
    transform: scale(1.1);
}
.hero .container .left .bottom{
    display: flex;
    gap: 20px;
    z-index: 1;
}

.hero .container .left .bottom .about, .contact{
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.hero .container .left .bottom .contact{
    background-color: var(--secondary-light);
}

.hero .container .left .bottom .about .star-span{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.hero .container .left .bottom .about h2{
    font-size: 1.5rem;
    font-family: 'Monsterrat-light', sans-serif;
}

.hero .container .left .bottom .about h2 span, .contact h2 span{
    font-family: 'Monsterrat-medium', sans-serif;
    padding: 0 3px;
}


.hero .container .left .bottom .contact .contact-text{
    width: 100%;
    display: flex;  
    justify-content: space-between;
}
.hero .container .left .bottom .contact .contact-text p{
    font-size: 1.3rem;
    font-family: 'Monsterrat-bold', sans-serif;
}

.hero .container .left .bottom .contact .contact-text img{
    height: 50px;
    width: 50px;
}

.hero .container .left .bottom .contact .contact-buttons{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 30px;
    z-index: 1;
}

.hero .container .left .bottom .contact .contact-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background-color: var(--text-light-mode);
    color: white;
    border-radius: 20px;
    font-size: 1.1rem;
    font-family: 'Monsterrat-bold', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.hero .container .left .bottom .contact .contact-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero .container .left .bottom .contact .contact-btn:hover::before{
    left: 100%;
}

.hero .container .left .bottom .contact .contact-btn img,
.hero .container .left .bottom .contact .contact-btn svg{
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.hero .container .left .bottom .contact .contact-btn svg{
    stroke: white;
    fill: none;
}

.hero .container .left .bottom .contact .discord-btn,
.hero .container .left .bottom .contact .email-btn,
.hero .container .left .bottom .contact .instagram-btn{
    background-color: var(--text-light-mode) !important;
    color: white !important;
}

.hero .container .left .bottom .contact .contact-btn:hover{
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero .container .left .bottom .contact .contact-btn:hover img,
.hero .container .left .bottom .contact .contact-btn:hover svg{
    transform: scale(1.15) rotate(5deg);
}

.hero .container .left .bottom .contact .contact-btn:active{
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.hero .container .right{
    height: 100%;
    width: 100%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.hero .container .right .projects{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 95%;
    width: 100%;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    z-index: 2;
    overflow-y: auto;
    overflow-x: hidden;
}

.hero .container .right .projects .video-player-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
}

.hero .container .right .projects .video-wrapper{
    width: 100%;
    flex: 1;
    min-height: 200px;
    max-height: 60%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero .container .right .projects .main-video-player{
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: #000;
    object-fit: contain;
}

.hero .container .right .projects .video-title{
    width: 100%;
}

.hero .container .right .projects .current-video-name{
    font-size: 1.5rem;
    font-family: 'Monsterrat-bold', sans-serif;
    color: var(--text-light-mode);
    display: none;
}

.hero .container .right .projects .video-thumbnails{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    min-height: 200px;
    max-height: 250px;
}

.hero .container .right .projects .video-thumbnail{
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 100px;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero .container .right .projects .video-thumbnail:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero .container .right .projects .video-thumbnail.active{
    border-color: var(--text-light-mode);
    box-shadow: 0 0 0 2px var(--text-light-mode);
}

.hero .container .right .projects .thumbnail-preview{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    flex: 1;
    overflow: hidden;
    min-height: 80px;
    background-color: #000;
    display: block !important;
    visibility: visible !important;
    border-radius: 12px 12px 0 0;
}

.hero .container .right .projects .thumbnail-video,
.hero .container .right .projects .thumbnail-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 1;
    background-color: #000;
    border-radius: 12px 12px 0 0;
}

.hero .container .right .projects .video-thumbnail:hover .thumbnail-image{
    transform: scale(1.05);
}

.hero .container .right .projects .play-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero .container .right .projects .play-overlay svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.hero .container .right .projects .video-thumbnail:hover .play-overlay{
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.hero .container .right .projects .thumbnail-title{
    font-size: 0.9rem;
    font-family: 'Monsterrat-medium', sans-serif;
    color: var(--text-light-mode);
    padding: 8px 12px;
    text-align: center;
    margin: 0;
    display: none;
}

.hero .container .right .socials{
    height: 10%;
    width: 100%;
    padding-top: 20px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    z-index: 1;
}

.hero .container .right .socials .social-links{
    height: 100%;
    width: 100%;
    display: flex;  
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.hero .container .right .socials .social-links a{
    font-size: 1.5rem;
    font-family: 'Monsterrat-bold', sans-serif;
    color: var(--text-light-mode);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container .right .socials .social-links a img{
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.hero .container .right .socials .social-links a:hover img{
    transform: scale(1.1);
}

@media screen and (max-width: 1392px) {
    .hero .container{
        display: block;
        height: auto;
    }

    .hero .container .right{
        padding-top: 20px;
        padding-left: 0;
    }
    .hero .container .left .top .cardIntro{
        width: 70%;
    }
    .hero .container .left .top .portrait{
        width: 30%;
    }
    .hero .container .right .projects{
        padding: 20px;
    }
    .hero .container .right .projects .video-thumbnails{
        grid-template-columns: repeat(2, 1fr);
        max-height: 180px;
    }
}

@media screen and (min-width: 673px) and (max-width: 850px){
    .hero .container .right .projects .main-video-player{
        min-height: 300px;
    }
    .hero .container .right .projects .video-thumbnails{
        grid-template-columns: repeat(2, 1fr);
        max-height: 150px;
    }
}

@media screen and (min-width: 850px) and (max-width: 1392px){
    .hero .container .right .projects .main-video-player{
        min-height: 400px;
    }
    .hero .container .right .projects .video-thumbnails{
        grid-template-columns: repeat(2, 1fr);
        max-height: 180px;
    }
}

@media screen and (max-width: 673px) {
    
    .navbar{
        display: flex;
        justify-content: center;
    }
    .navbar .nav-links{
        display: none;
    }
    .mobile-navbar-links{
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 100%;   
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 20px;
        padding-bottom: 150px;
        z-index: 999;
        background-color: #000000;
        transition: 800ms left ease;
        overflow: hidden;
    }

     .mobile-navbar-links.active{
        left: 0;   
        filter: opacity(100%);
    }
    .mobile-navbar-btn{
        display: block;
    }
    .mobile-navbar-btn.active #mobile-navbar-icon-close{
        display: flex;
        z-index: 999;
    }
    .mobile-navbar-btn.active #mobile-navbar-icon{
        display: none;
    }
    .mobile-navbar-links a{
        padding:0 20px;
        color: #fff;
        font-size: 5rem;
        font-family: 'Monsterrat-medium', sans-serif;
    }
    .mobile-navbar-links a:hover{
        color: rgb(20, 20, 255);
    }
    .hero .container .left{
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .hero .container .left .top{
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .hero .container .left .top .cardIntro,.hero .container .left .top .portrait{
        width: 100%;
    }
    .hero .container .left .top .portrait{
        height: 500px;
        min-height: 500px;
    }
    .hero .container .left .top .portrait img{
        height: 100%;
        width: 100%;
    }
    .hero .container .left .bottom .about, .contact{
        height: auto;
    }
}

@media screen and (max-width: 579px){
    .hero .container .left .bottom{
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .hero .container .left .bottom .about, .contact{
        height: 300px;
        width: 100%;
    }
}

@media screen and (max-width: 473px){
    .hero .container .left .top .cardIntro h2{
        font-size: 2.2rem;
    }
    .hero .container .left .bottom .contact .contact-btn{
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .hero .container .left .bottom .about h2{
        font-size: 1.3rem;
    }
    .hero .container .right .projects .current-video-name{
        font-size: 1.2rem;
    }
    .hero .container .right .projects .video-thumbnails{
        grid-template-columns: repeat(2, 1fr);
        max-height: 120px;
    }
    .hero .container .right .projects .thumbnail-title{
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    .hero .container .left .bottom .about h2 span{
        font-size: 1.3rem;
    }
    .hero .container .right .socials .social-links a{
        font-size: 0.7rem;
    }
    .hero .container .left .top .portrait{
        height: 450px;
        min-height: 450px;
    }
}   
@media screen and (max-width: 376px){
    .hero .container .right .projects .current-video-name{
        font-size: 1rem;
    }
    .hero .container .right .projects .main-video-player{
        min-height: 200px;
    }
    .hero .container .right .projects .video-thumbnails{
        grid-template-columns: repeat(2, 1fr);
        max-height: 100px;
    }
    .hero .container .right .projects .thumbnail-title{
        font-size: 0.7rem;
        padding: 4px 6px;
    }
    .mobile-navbar-links a{
        font-size: 4rem;
    }
}