:root{
    --bg: #0e0e0e;
    --text: #f0f0f0;
    --text-dim: #888;
    --accent: #2962ff;
    --line: #2a2a2a;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body{
    background-color: var(--bg);
    color: var(--text);
}

h1, h2, h3, h4, p, ul{
    margin: 0;
}

ul{
    list-style: none;
    padding: 0;
}

a{
    text-decoration: none;
    color: var(--text);
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section{
    text-align: center;
}

/* HEADER */
.header{
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #161616;
    transition: background-color 0.3s ease;
    z-index: 1000
}


.header_logo_title{
    font-size: 1.5rem;
}

.header_menu{
    display: flex;
    margin: 5px;
}
.header_menu_a{
    margin-left: 10px;
}

.header.scrolled {
    background-color: #111;
}

/* HOME */
#home{
    height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.home_profile{
    width: 200px;
    height: 200px;
    border: 1px solid white;
    border-radius: 50%;
}

.home_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    line-height: 1.1;
    text-transform: uppercase;
}

.home_title_point {
    color: #2962ff;
}

.home_title_outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
}

.home_subtitle{
    font-size: 1.5rem;
}

/* ABOUT */
#about, #project{
    width: 100%;
}

.about, .project{
    min-height: 100vh;
    padding: 100px 8%;
    border-top: 1px solid #292929;
}

.about_inner,
.project_inner{
    max-width: 1400px;   
    margin: 0 auto;
}

.about_title,
.project_title{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.about_title span,
.project_title span{
    color: #2962ff;
    font-size: 1rem;
}

.about_title h2,
.project_title h2{
    font-size: 1.5rem;
    letter-spacing: 0.15em;
}

.about_profile h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 40px;
}

.about_profile h3 span{
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

.about_profile p{
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.8;
}

.about_info{
    margin-top: 40px;
}

.about_skills h4,
.about_career h4{
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.skills_list{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills_list span{
    padding: 8px 14px;
    border: 1px solid #444;
    border-radius: 20px;
    color: #ccc;
    font-size: 0.8rem;
}

.about_career{
    margin-top: 70px;
    border-top: 1px solid #333;
    padding-top: 40px;
}

.career_item{
    display: grid;
    align-items: center;
    grid-template-columns: 220px 320px 1fr;
    padding: 25px 0;
    border-bottom: 1px solid #292929;
}

/* PROJECT */
.project {
    padding: 100px 0;
}

.project_inner {
    max-width: 1400px;
    margin: 0 auto;
}

.project_title{
    margin-bottom: 30px;
}

.project_category {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.project_category span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project_category::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #292929;
}


.project_item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 200px;
}
.project_item.reverse {
    flex-direction: row-reverse;
}

.project_text{flex: 1;}

.company{
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.project_text h3{
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tags span{
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-right: 8px;
    margin-bottom: 8px;
}

.case_study{
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.case_row{
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.case_row strong{
    color: var(--text-dim);
    font-size: 13px;
    text-transform: uppercase;
    padding-top: 3px;
}
.case_row p{
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
}
.highlight { color: var(--accent); font-weight: 600; }

.desc{
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tablet_container {
    width: 600px; height: 380px;
    position: relative;
    transform-style: preserve-3d;
}

.tablet_mockup{
    width: 100%; height: 100%;
    background: #1a1a1a;
    border-radius: 24px;
    border: 1px solid #333;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.screen{
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen_content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen_content img,
.screen_content video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PERSONAL PROJECT */
.personal_grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.personal_item{
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #111;

    transition: transform 0.3s ease,
                border-color 0.3s ease;
}

.personal_item:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.personal_item--large {
    grid-column: span 2;

    display: grid;
    grid-template-columns: 1.5fr 1fr;
}


.personal_img{
    overflow: hidden;
}

.personal_img img{
    display: block;
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.personal_item:hover .personal_img img {
    transform: scale(1.03);
}

.personal_info{
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.personal_info h3{
    margin: 0 0 8px;
    font-size: 25px;
}

.personal_info p {
    margin: 0 0 20px;
    color: #aaa;
}

.personal_num{
    color: #2962ff;
    font-size: 13px;
    margin-bottom: 10px;
}


/* FOOTER */
.footer{
    padding: 100px 0 30px;
    border-top: 1px solid #333;
}

.footer_inner{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer_heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer_heading span {
    color: #2962ff;
    font-size: 14px;
}

.footer_heading h2 {
    font-size: 24px;
    letter-spacing: 4px;
}

.footer_main {
    margin-top: 100px;
}

.footer_main h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    line-height: 1.5;
    letter-spacing: -3px;
}

.footer_main h3 span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.footer_main > p {
    margin-top: 40px;
    color: #888;
}


.footer_contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 35px;
}

.footer_contact a {
    font-size: 18px;
    font-weight: 500;
}

.footer_links {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.footer_links a {
    padding: 10px 18px;
    border: 1px solid #444;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 1px;
    transition: .3s;
}

.footer_links a:hover {
    background: #2962ff;
    border-color: #2962ff;
}

.footer_bottom {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 120px;
    padding-top: 20px;

    border-top: 1px solid #292929;

    font-size: 11px;
    color: #666;
}

.footer_bottom strong {
    color: #fff;
    margin-right: auto;
}


/* TABLET */
@media (max-width: 1024px) {
    .home_title {
        font-size: 3rem;
    }

    .project_item,
    .project_item.reverse {
        flex-direction: column;
    }

    .tablet_container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* MOBILE */
@media(max-width:768px){
    .about, .project{
        padding: 80px 20px;
    }
    .about_content{
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about_profile h3 {
        font-size: 3rem;
    }

    .about_career{
        margin-top: 70px;
    }

    .career_item{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project_item{
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project_text h3 {
        font-size: 30px;
    }

    .project_visual {
        width: 100%;
    }

    .tablet_container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .personal_grid {
        grid-template-columns: 1fr;
    }

    .personal_image img {
        min-height: 200px;
    }

    .footer_main {
        margin-top: 70px;
    }

    .footer_main h3 {
        font-size: 2.2rem;
        line-height: 1.4;
        letter-spacing: -1.5px;
    }

    .footer_contact a {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .home_title{
        font-size: 2.4rem;
    }

    .about_profile h3{
        font-size: 2.6rem;
    }

    .project_text h3 {
        font-size: 26px;
    }

    .footer_main h3 {
        font-size: 1.8rem;
    }
}