:root{
    --bg:#111111;
    --bg2:#181818;
    --bg3:#151515;

    --text:#f2f2f2;
    --grey:#bdbdbd;

    --accent:#b7cf00;

    --content-width:1400px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Manrope',sans-serif;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
    text-decoration:none;
}

/* =====================
   NAVIGATION
===================== */

#navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:28px 70px;

    z-index:999;
    transition:.4s;
}

#navbar.scrolled{
    background:rgba(17,17,17,.75);
    backdrop-filter:blur(30px);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.nav-logo{
    width:220px;
    transition:.4s;
}

#navbar.scrolled .nav-logo{
    width:180px;
}

#nav-menu{
    display:flex;
    gap:45px;
    list-style:none;
}

#nav-menu a{
    position:relative;
    letter-spacing:1px;
    font-size:.92rem;
}

#nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;

    width:0;
    height:1px;

    background:var(--accent);

    transition:.4s;
}

#nav-menu a:hover::after{
    width:100%;
}
/* =====================
   HERO
===================== */

.hero{
    position:relative;
    height:100vh;
    min-height:700px;
    overflow:hidden;
}

.hero-image{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.80)
        ),
        url("../img/hero.jpg");

    background-size:cover;
    background-position:center;

    transform:scale(1.05);
}

.hero-content{
    position:relative;
    z-index:2;

    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.hero-logo{
    width:500px;
    max-width:80%;
    margin-bottom:60px;
}

.hero h1{
    font-size:4rem;
    line-height:1.05;
    font-weight:700;
}

.hero-subtitle{
    margin-top:25px;

    color:#d0d0d0;

    font-size:1rem;

    letter-spacing:2px;
    text-transform:uppercase;
}

.hero-button{
    margin-top:45px;

    background:var(--accent);
    color:#111;

    padding:16px 35px;

    font-weight:700;

    transition:.4s;
}

.hero-button:hover{
    transform:translateY(-4px);
}

.scroll-indicator{
    position:absolute;
    bottom:40px;

    font-size:2rem;

    animation:float 2s infinite;
}

@keyframes float{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(10px);
    }
}

/* =====================
   INTRO
===================== */

.intro{

    width:min(92%,var(--content-width));

    margin:0 auto;

    padding:110px 0;

    text-align:center;

    border-top:
        1px solid rgba(255,255,255,.04);
}

.intro span{
    color:var(--accent);
    letter-spacing:4px;
}

.intro h2{
    margin:20px 0;
    font-size:3.5rem;
    font-weight:700;
}

.intro p{
    max-width:700px;
    margin:auto;

    color:var(--grey);

    line-height:2;
}
/* =====================
   STANDARD SECTION
===================== */

.section{

    width:min(92%,var(--content-width));

    margin:0 auto;

    padding:120px 0;

}

.section-title{
    margin-bottom:50px;
}

.section-title span{
    color:var(--accent);
    letter-spacing:4px;
}

.section-title h2{
    margin-top:15px;
    font-size:3rem;
    font-weight:700;
}

/* =====================
   THEMEN GRID
===================== */

.masonry-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.tile{
    position:relative;
    overflow:hidden;

    color:#fff;

    box-shadow:
        0 30px 80px rgba(0,0,0,.30);

    transition:
        transform .5s,
        box-shadow .5s;
}

.tile:hover{
    transform:translateY(-10px);

    box-shadow:
        0 45px 90px rgba(0,0,0,.45),
        0 0 25px rgba(183,207,0,.08);
}

.tile img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:1s;
}

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

.automotive{
    height:560px;
    grid-row:span 2;
}

.aviation{
    height:270px;
}

.events{
    height:265px;
}

.lostplaces{
    height:420px;
    grid-column:1/-1;
}

.architecture{
    height:260px;
    grid-column:1/-1;
}

/* =====================
   PROJEKTE
===================== */

.project-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.project{
    position:relative;
    overflow:hidden;

    height:260px;

    color:#fff;

    box-shadow:
        0 30px 80px rgba(0,0,0,.30);

    transition:
        transform .5s,
        box-shadow .5s;
}

.project:hover{
    transform:translateY(-10px);

    box-shadow:
        0 45px 90px rgba(0,0,0,.45),
        0 0 25px rgba(183,207,0,.08);
}

.project img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:1s;
}

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

.project-large{
    height:560px;
    grid-row:span 2;
}
/* =====================
   OVERLAYS
===================== */

.tile-content{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:45px;

    background:
        linear-gradient(
            rgba(0,0,0,.05),
            rgba(0,0,0,.55)
        );

    transition:.5s;
}

.tile:hover .tile-content,
.project:hover .tile-content{
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.75)
        );
}

.tile-category{
    color:var(--accent);

    font-size:.75rem;

    text-transform:uppercase;

    letter-spacing:3px;

    margin-bottom:15px;
}

.tile-content h3{
    font-size:2.2rem;
    line-height:1.1;
    font-weight:700;
}

.tile-content p{
    margin-top:10px;
    color:#d8d8d8;
}

.tile-link{
    margin-top:20px;

    color:var(--accent);

    opacity:0;
    transform:translateY(15px);

    transition:.5s;
}

.tile:hover .tile-link,
.project:hover .tile-link{
    opacity:1;
    transform:none;
}

/* =====================
   ABOUT
===================== */

#about{

    padding:150px 10%;

    background:var(--bg2);

    border-top:
        1px solid rgba(255,255,255,.04);

}

.about-wrapper{

    display:grid;

    grid-template-columns:400px 1fr;

    gap:100px;

    align-items:center;

}

.about-image img{
    width:100%;
}

.about-content h2{
    font-size:3rem;
    margin:20px 0;
    font-weight:700;
}

.about-content p{
    color:var(--grey);
    line-height:2;
    margin-bottom:25px;
}

.about-tags{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:35px;
}

.about-tags span{
    padding:10px 20px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.05);

    font-size:.82rem;

    transition:.4s;
}

.about-tags span:hover{
    background:
        rgba(183,207,0,.12);

    border-color:
        rgba(183,207,0,.15);
}

/* =====================
   KONTAKT
===================== */

#contact{

    min-height:55vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:30px;

    padding:120px 10%;

}

.contact-line{
    width:80px;
    height:1px;

    background:
        rgba(255,255,255,.15);
}

#contact h2{
    font-size:3rem;
    text-align:center;
    font-weight:700;
}

.contact-text{
    max-width:500px;
    width:100%;

    margin:0 auto;
    padding:0 25px;

    text-align:center;
    line-height:1.8;

    color:var(--grey);
}

#contact a{
    color:var(--accent);

    transition:.3s;
}

#contact a:hover{
    opacity:.7;
}
/* =====================
   FOOTER
===================== */

footer{

    padding:60px 10%;

    border-top:1px solid rgba(255,255,255,.05);

}

.footer-bar{

    display:grid;

    grid-template-columns:1fr auto 1fr;

    align-items:center;

    color:#777;

}

.footer-left{

    justify-self:start;

}

.footer-center{

    justify-self:center;

}

.footer-right{

    justify-self:end;

    display:flex;

    gap:22px;

    align-items:center;

}

.footer-claim{

    margin-top:18px;

    text-align:center;

    color:#777;

}

/* =====================
   FADE
===================== */

.fade{
    opacity:0;

    transform:translateY(50px);

    transition:1s;
}

.fade.visible{
    opacity:1;

    transform:none;
}

/* =====================
   PORTFOLIO BUTTON
===================== */

.portfolio-button-wrapper{

    text-align:center;

    margin-top:60px;

}

.portfolio-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 36px;

    border:1px solid rgba(255,255,255,.12);

    color:var(--text);

    font-size:.95rem;

    letter-spacing:1px;

    transition:.35s;

}

.portfolio-button:hover{

    border-color:var(--accent);

    color:var(--accent);

    transform:translateY(-3px);

}

/* =====================
   HAMBURGER
===================== */

.menu-toggle{

    display:none;

    width:35px;
    height:25px;

    background:none;

    border:none;

    cursor:pointer;

    z-index:1001;

}

.menu-toggle span{

    display:block;

    width:100%;
    height:2px;

    background:#ffffff;

    margin:7px 0;

    transition:.4s ease;

}

.menu-toggle.active span:nth-child(1){

    transform:
        rotate(45deg)
        translate(6px,7px);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:
        rotate(-45deg)
        translate(6px,-7px);

}

/* =====================
   MOBILE
===================== */

@media(max-width:1000px){

    #navbar{
        padding:25px;
    }

    .menu-toggle{
        display:block;
    }

    #nav-menu{
        position:fixed;
        inset:0;

        background:#111;

        flex-direction:column;
        justify-content:center;
        align-items:center;

        gap:40px;

        transform:translateX(100%);

        transition:.5s;
    }

    #nav-menu.active{
        transform:none;
    }

    #nav-menu a{
        font-size:1.3rem;
    }

    .nav-logo{
        width:170px;
    }

    .hero{
        min-height:100svh;
    }

    .hero-logo{
        width:260px;
        margin-bottom:45px;
    }

    .hero h1{
        font-size:2.7rem;
    }

    .hero-subtitle{
        font-size:.85rem;
        padding:0 30px;
    }

    .hero-button{
        width:80%;
        max-width:320px;
    }

    .intro h2,
    .section-title h2,
    .about-content h2,
    #contact h2{
        font-size:2.5rem;
    }

    .masonry-grid,
    .project-grid,
    .about-wrapper{
        grid-template-columns:1fr;
    }

    .automotive,
    .aviation,
    .events,
    .lostplaces,
    .architecture,
    .project,
    .project-large{

        height:300px;

        grid-row:auto;
        grid-column:auto;

    }

    .tile-content h3{
        font-size:2rem;
    }

    .about-wrapper{
        gap:50px;
    }

    .contact-text{
        width:85%;
        padding:0;
    }

    .footer-content{
        flex-direction:column;

        gap:10px;

        text-align:center;
    }

    .footer-claim{
        margin-top:20px;
    }

}
/* ==========================================
   Portfolio Dropdown
========================================== */

.nav-dropdown{

    position:relative;

}

.nav-dropdown-toggle{

    display:flex;
    align-items:center;
    gap:8px;

}

.nav-dropdown-toggle::after{

    content:"▾";

    font-size:.7rem;

    transition:.25s;

}

.nav-dropdown:hover .nav-dropdown-toggle::after{

    transform:rotate(180deg);

}

.nav-dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);
    left:0;

    min-width:240px;

    background:#111;

    border:1px solid rgba(255,255,255,.08);

    opacity:0;
    visibility:hidden;

    transform:translateY(12px);

    transition:.25s ease;

    z-index:999;

}

.nav-dropdown:hover .nav-dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.nav-dropdown-menu a{

    display:block;

    padding:16px 22px;

    border-left:3px solid transparent;

    transition:.25s;

}

.nav-dropdown-menu a:hover{

    border-left-color:var(--accent);

    background:rgba(255,255,255,.03);

    padding-left:28px;

}

/* ==========================================
   FOOTER MOBILE
========================================== */

@media (max-width:768px){

    .footer-bar{

        display:flex;
        flex-direction:column;
        align-items:center;
        gap:18px;

    }

    .footer-left,
    .footer-center,
    .footer-right{

        width:100%;
        text-align:center;
        justify-self:center;

    }

    .footer-right{

        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        gap:10px 18px;

    }

    .footer-right span{

        display:none;

    }

    .footer-claim{

        margin-top:28px;

        text-align:center;

        letter-spacing:2px;

        line-height:1.7;

        padding:0 20px;

    }

}