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

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Chiron GoRound TC",sans-serif;
    background:#161616;
    color:#ECECEC;
    line-height:1.7;
}

::-webkit-scrollbar{
    display: none;
}

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(20,20,20,.9);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #2a2a2a;
}

/*---SPLASHSCREEN/ABOUT/SHOWREEL---*/

.hero{
    width:100%;
    min-height:650px;
    height:80vh;
    max-height:850px;
    position:relative;
    overflow:hidden;
}

.hero::before{

    content:"";

    position: absolute;
    inset:0;

    background:linear-gradient(
    90deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,.05) 100%
    );

    z-index:1;
}

.hero h2{
    font-size:2.5rem;
    color:#83D483;
}

.hero-overlay{
    position:absolute;
    top:50%;
    left:max(5%, calc((100vw - 1400px) / 2));
    transform:translateY(-50%);
    z-index:2;

    max-width:550px;

    display:flex;
    flex-direction:column;
    gap:18px;

    color:white;
}

.hero-overlay h1{
    font-size:4rem;
    line-height:1.1;
}

.hero-overlay h2{
    font-size:1.8rem;
    font-weight:500;
    color:#83D483;
}

.hero-overlay p{
    font-size:1.25rem;
    max-width:38rem;
    color:#DDDDDD;
}

.hero-video{
    display: block;
    width:100%;
    height:100%;
    object-fit:cover;
    box-shadow: 0 12px 35px rgba(0,0,0,.35);
    border:1px solid #2A2A2A;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:30px;
}

.hero-buttons a{
    display:inline-block;
    padding:16px 34px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    font-size:1.1rem;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.primary{
    background:#83D483;
    color:#161616;

    border:2px solid #83D483;
}

.primary:hover{
    transform:translateY(-3px);
    background:#9BE09B;
    box-shadow:
        0 8px 20px rgba(131,212,131,.25);
}

.secondary{
    color:white;
    border:2px solid rgba(255,255,255,.4);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(6px);
}

.secondary:hover{
    transform:translateY(-3px);
    border-color:#83D483;
    color:#83D483;
    background:rgba(131,212,131,.08);
}

/*---NAVBAR---*/

.navbar{
    width:98%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 20px 0;
}

.navbar ul{
    display:flex;
    gap:40px;
    list-style:none;
    padding:0;
}

.navbar a{
    text-decoration:none;
    color:#DDDDDD;
    font-weight:600;
    transition:.25s;
    position:relative;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#83D483;
    transition:.25s;
}

.navbar a:hover{
    color:#83D483;
}

.navbar a:hover::after{
    width:100%;
}

/*---FEATURED PROJECTS---*/

.featured-projects{
    width:min(90%,1200px);
    margin:120px auto;
}

.featured-projects h2{
    font-size:3rem;
    font-weight:700;
    color:white;
    margin-bottom:50px;
    position:relative;
}

.featured-projects h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#83D483;
    margin-top:15px;
    border-radius:5px;
}

.project-grid{
    display:flex;
    flex-direction:column;
    gap:50px;
}

.project-card{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:40px;
    align-items:center;
    background:#1E1E1E;
    border-radius:20px;
    overflow:hidden;
    border:2px solid #2A2A2A;
    transition:.3s;
    text-decoration:none;
    color:inherit;
}

.project-image{
    width:100%;
    height: 100%;
    background:#1E1E1E;
    border:1px solid #2A2A2A;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.3s ease;
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-card:hover{
    transform:translateY(-5px);
    border-color:#83D483;
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-content{
    padding:35px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.project-content h3{
    font-size:2rem;
    margin-bottom:18px;
    color:#83D483;
}

.project-content p{
    color:#D4D4D4;
    line-height:1.8;
    margin-bottom:20px;
}

.project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.project-link{
    color:white;
    font-weight:600;
    transition:.25s;
}

.project-card:hover .project-link{
    color:#83D483;
    transform:translateX(5px);
}

.project-content h3{
    font-size: 2rem;
    font-weight: 700;
    color: #83D483;
    margin-bottom: 15px;
}

.project-tags span{
    padding:8px 16px;
    background:#2A2A2A;
    border:1px solid #353535;
    border-radius:999px;
    color:#83D483;
    font-size:.9rem;
}

.project-card:nth-child(even){
    direction:rtl;
}

.project-card:nth-child(even) .project-content{
    direction:ltr;
}

/*---FOOTER---*/

footer{
    margin-top:100px;
    background:#0D0D0D;
    border-top:1px solid #2A2A2A;
    padding:60px 0;
}

.footer-content{
    width:min(90%,1200px);
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
    text-align:left;
}

.footer-content h2{
    color:#83D483;
    font-size:2rem;
}

.footer-content p{
    color:#AAAAAA;
}

.footer-links{
    display:flex;
    gap:30px;
    margin:10px 0;
}

.footer-links a{
    color:#ECECEC;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.footer-links a:hover{
    color:#83D483;
}

.footer-message{
    max-width:500px;
}

.footer-copyright{
    font-size:.9rem;
    color:#666;
}
