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

/* BASE */
body {
    background: black;
    font-family: sans-serif;
    position:relative;
    z-index:1;
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    background: black;

    z-index: 2;

}


/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);

    z-index: 1000;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;

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

    padding: 1.5rem 2rem;
}

/* LOGO */
.nav-logo img {
    height: 56px;
    display: block;
}

/* LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;

    list-style: none;
}

.nav-links a {
    color: #F8F1E2;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* BURGER */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;

    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #F8F1E2;
    display: block;
}

/* pink banner */
.pink-banner {
    overflow: hidden;
    width: 100%;
}

.banner-track {
    display: flex;              /* 🔥 MEGET vigtig */
    animation: scroll 10s linear infinite;
}

.banner-track img {
    width: 50vw;
    flex-shrink: 0;             /* 🔥 stopper dem fra at kollapse */
}

/* animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}










/* BUTTON */
.btn {
    background: #9c4c63;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    color: #F8F1E2;
}

/* HERO IMAGE */
.hero-art {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
}


/* KNAPPER */
.btn {
    background: #9c4c63;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    transition:
            background 0.25s ease,
            transform 0.25s ease;
}

.btn:hover {
    background: #b8647a;
    transform: translateY(-2px);
}




.scroll-banner{
    width:100%;
    overflow:hidden;
    background:#9c4c63;   /* din farve */
    color:#F8F1E2;
    padding:12px 0;
}

.scroll-text{
    display:flex;
    gap:60px;
    white-space:nowrap;
    animation:scroll 20s linear infinite;
    font-family:'Poppins', sans-serif;
    font-size:14px;
    letter-spacing:2px;
}

.scroll-text span{
    display:flex;
    align-items:center;
}



















/* ABOUT SECTION */
.about {

    min-height: 100vh;
    padding: 6rem 2rem;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;
    color: #F8F1E2;

}

/* TYPOGRAFI */
.name {
    font-family: 'Imperial Script', cursive;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.script {
    font-family: 'Imperial Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    max-width: 460px;
    line-height: 1.8;
    opacity: 0.9;
}

.about p {
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 1.5rem;

}

/* BUTTON */
.btn {
    background: #9c4c63;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #b35a73;
    transform: translateY(-4px);
}

/* IMAGE */
.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 360px;
    transform: rotate(-4deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: rotate(-2deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* FADE-IN */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}







/* what´s in my bag */
.bag{
    display:flex;
    justify-content:center;
}

.bag img{
    width:100%;
    max-width:900px;
    height:auto;
}











.nametag{
  display:flex;
  justify-content:center;
}

.nametag img{

  width: 700px;
    margin-top: 50px;

  }





/* CREATIVE SECTION */
.creative {
    min-height: 100vh;
    padding: 8rem 2rem;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;

    color: #F8F1E2;
}

/* SCRIPT TITLE */
.script-title {
    font-family: 'Imperial Script', cursive;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 2rem;
}

/* TEXT */
.creative-text p {
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 1.5rem;

}




.creative-card {
    display: flex;
    justify-content: center;

}

.folder-img {
    width: 900px;
    max-width: 420px;
    height: auto;

    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;

}

/* lille hover effekt */
.folder-img:hover {
    transform: translateY(-8px);
    filter: brightness(1.05);
}





/* OM MIG SIDE */
body {
    background: black;
    color: #F8F1E2;
    font-family: 'Poppins', sans-serif;
}

/* TITLE */
.name {
    text-align: center;
    font-family: 'Imperial Script', cursive;
    font-size: 60px;
    margin: 80px 0 40px;
}

/* GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

/* TEXT */
.about-text {
    max-width: 450px;
}

.about-text h3 {
    margin-top: 20px;
    margin-bottom: 1px;
    font-size: 14px;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* NAMETAG */
.nametag {
    display: flex;
    justify-content: center;
}

.nametag img {
    width: 100%;
    max-width: 650px;
    transform: rotate(15deg);
}

.nametag img {
    width: 100%;
    max-width: 650px;

    transform-origin: top center;
    animation: swing 4s ease-in-out infinite;
}

@keyframes swing {
    0%   { transform: rotate(15deg); }
    50%  { transform: rotate(8deg); }
    100% { transform: rotate(15deg); }
}


/* BUND GRID */
.bottom-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.bottom-grid h3 {

    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.bottom-grid p {
    font-size: 15px;
    line-height: 1.8;
}




.skills-banner {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
}

.skills-track {
    display: flex;
    gap: 40px;

    width: max-content;
    animation: scroll 15s linear infinite;
}

.skills-track img {
    width: 50px;
    opacity: 0.8;
    transition: 0.3s;
}

.skills-track img:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}






.tools {
    background: black;
    padding: 5rem 2rem;
    text-align: center;
}

/* TITLE */
.tools-title {
    font-family: 'Imperial Script', cursive;
    font-size: 3rem;
    color: #F8F1E2;
    margin-bottom: 3rem;
}

/* GRID */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ITEM */
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* IKON */
.tool img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* TEXT */
.tool p {
    font-size: 0.75rem;
    color: #F8F1E2;
    letter-spacing: 1px;
}

.tool span {
    opacity: 0.8;
}

.tool {
    transition: transform 0.3s ease;
}

.tool:hover {
    transform: translateY(-6px);
}

.tool {
    transition: transform 0.3s ease;
}

.tool:hover {
    transform: translateY(-8px);
}

.tool img {
    transition: transform 0.3s ease;
}

.tool:hover img {
    transform: scale(1.1);
}





















/* PROJEKT SIDE */

.projects {
    padding: 6rem 2rem;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
    gap: 3rem;
}

/* CARD STYLE */
.project {
    color: #F8F1E2;
}

/* IMAGE */
.project img {
    width: 100%;
    height: 380px;
    object-fit: cover;

    display: block;
    margin-bottom: 1rem;
}

/* TEXT */
.title {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.desc {
    font-size: 0.75rem;
    opacity: 0.8;
}




/* hoover */
.project {
    transition: transform 0.3s ease;
}

.project img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.project:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}






.case {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;

    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* TEXT */
.case-text h2 {
    font-size: 1.8rem;
}

.case-text p {
    font-size: 0.90rem;
    line-height: 1.6;
}

.case-text strong {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* MAIN IMAGE */
.case-main img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
}

/* THUMBNAILS */
.case-thumbs {
    grid-column: span 2;

    display: flex;
    gap: 1rem;
    margin-top: 1rem;

    overflow-x: visible;
}

.case-thumbs img {
    width: 90px;
    height: 70px;
    object-fit: cover;

    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;

    transition: 0.3s;
}

.case-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}


.case-main img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* når billede skifter */
.case-main img.fade {
    opacity: 0;
    transform: scale(0.98);
}

/* aktiv thumbnail */
.case-thumbs img.active {
    opacity: 1;
    border: 2px solid #9c4c63;
}

.case-thumbs img {
    opacity: 0.5;
    transition: 0.3s;
}




























/* FOOTER BAGGRUND */
.footer-contact-section {
    background: url("images/striber.png") center/cover no-repeat;

    display: flex;
    justify-content: center;

    align-items: flex-start; /* 🔥 i stedet for center */

    padding-top: 180px; /* 🔥 skubber den ned fra navbar */
    padding-bottom: 100px;
}

/* CARD */
.footer-card {
    background: #d9d1c2;
    border-radius: 40px;

    padding: 4rem 3rem;

    width: 90%;
    max-width: 700px;

    text-align: center;
}

.footer-card a {
    color: inherit;
    text-decoration: none;
}

.footer-card a:hover {
    text-decoration: underline;
}

/* IKON */
.mail-icon {
    width: 200px;

}

/* TITLE */
.footer-card h2 {
    font-family: 'Imperial Script', cursive;
    font-size: 5rem;
    color: #4a2e2e;
    margin-bottom: 1.5rem;
}

/* TEXT */
.footer-card p {
    max-width: none;
    text-align: center;
    color: #4a2e2e;
}

/* SOCIALS */
.socials {
    margin-top: 1.5rem;
}

.socials img {
    width: 60px;
    margin: 0 6px;
    opacity: 0.7;
    transition: 0.3s;
}

.socials img:hover {
    opacity: 1;
    transform: scale(1.1);
}



























@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }


}






/* 📱 MOBIL */
@media (max-width: 970px) {

    .navbar {
        position: sticky;
        top: 0;
    }

    .banner-track,
    .skills-track {

        animation: none;

    }


    .nav-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #8f3d56;

        flex-direction: column;
        align-items: center;
        gap: 1.2rem;

        padding: 1.5rem 0;

        display: none;
    }

    .nav-links.active {
        display: flex;

    }


    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about p {
        margin: 0 auto 2rem;
    }

    .about-image img {
        transform: rotate(0);
    }

    
    
    

    .bag img {
        max-width: 92%;
    }



    .creative {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 5rem 1.5rem;
        gap: 3rem;
    }

    .script-title {
        font-size: clamp(2.8rem, 9vw, 4rem);
        line-height: 1.1;
    }

    .creative-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .creative-text p {
        max-width: 380px;
        margin: 0 auto 1.5rem;
        line-height: 1.6;
    }

    .folder-img {
        max-width: 260px;
        margin-top: 1rem;
    }

    .btn {
        margin-top: 1rem;
    }


    .grid{
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
        margin: 0 auto; /* CENTER! */
    }









    /* om mig */
    .name {
        font-size: 36px;
        text-align: center;
        padding: 0 1rem;
    }

    /* GRID → bliver column */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* TEXT */
    .about-text {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    /* NAMETAG */
    .nametag {
        position: static; /* 🔥 vigtigt */
        margin-top: 2rem;
    }

    .nametag img {
        width: 250px;
        transform: rotate(10deg);
    }

    /* BUND GRID */
    .bottom-grid {
        gap: 2rem;
        margin-top: 60px;
    }

    .nametag img {
        width: 250px;
        transform: rotate(10deg);
    }










    .intro-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-vertical {
        display: none;
    }

    .intro-text p {
        margin: 0 auto 2rem;
    }


    /* projekt side */
    .cards-section {
        padding: 6rem 2rem;
    }

    /* GRID */
    .cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 280px);
        justify-content: center;
        gap: 2rem;
    }

    /* CARD */
    .card {
        background: transparent;
        border: none;
        color: #F8F1E2;
    }

    /* IMAGE */
    .card-img-top {
        width: 100%;
        height: 350px;
        object-fit: cover;

        display: block;
    }

    /* TEXT */
    .card-text {
        margin-top: 1rem;
        font-size: 0.8rem;
    }




    .projects-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .project {
        width: 280px;
    }






    .tools-grid {

        grid-template-columns: repeat(2, 1fr);

    }





    .case {

        display: flex;

        flex-direction: column;

    }

    .case-thumbs {

        overflow-x: auto;   /* ✅ scroll ON */

        overflow-y: hidden;

        display: flex;

        flex-wrap: nowrap;

        gap: 0.6rem;

        -webkit-overflow-scrolling: touch;

    }

    .case-thumbs img {

        flex: 0 0 auto;  /* 🔥 DET HER ER DET VIGTIGSTE */

        width: 65px;

        height: 50px;

    }



}







