@font-face {
    font-family: "Geist-Mono";
    src: url(GeistMono-Bold.woff2);
}



.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px; 
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;    
    will-change: transform;
    transform: translate(-50%, -50%); 
    transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease, backdrop-filter 0.2s ease, border-radius 0.2s ease;


    background-color: transparent; 




    backdrop-filter: invert(100%) grayscale(100%); 
}

.bold-arrow {
  width: 1em;
  height: 1em;
  stroke-width: 4px;
  vertical-align: -0.15em;
  display: inline-block;
}


.hover-cursor {
    width: 28px;
    height: 28px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fffefb;
}




a {
    all: unset;
}













.error-page-wrapper {
    display: flex;
    height: 105vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
}


.error-img {
    width: 400px;
    border-radius: 8px
}

@media (max-width: 750px) {
    .error-img {
    width: 80vw;

    }

    .error-page-wrapper {
    height: 100vh;

    }
}










nav {
    display: flex;
    height: 60px;
    width: 100%;
    top: 0vh;
    left: 0vw;
    font-size: 0.90vw;
    font-family: "Geist-Mono", sans-serif;
    letter-spacing: -1px;
    font-style: normal;
    z-index: 1000;
    background-color: #fffefb;
    color: #171717;
    position: fixed;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #171717;
}





.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 1vw 2vw;

    width: 100%;
    

}

.nav-main-container {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}







.nav-menu-btn {
    display: none;
}




















footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fffefb;
    

}





.footer-odkazy-obsah {
    width: 94vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1vh;
}




.footer-obsah {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 320px;
    margin: 3vh 3vh;
    
}




.footer-lower {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: 10px;
}

.footer-odkazy {
    display: flex;
    flex-direction: column;
    gap: 3px;

    
}

.footer-odkazy a {
    all: unset;
    font-family: "Geist-Mono", sans-serif;
    font-size: 16px;
    letter-spacing: -1px;
    color: #171717;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;


}


.footer-odkazy p {
    all: unset;
    font-family: "Geist-Mono", sans-serif;
    font-size: 16px;
    letter-spacing: -1px;
    color: #171717;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;

}


.footer-logo-wrapper {
    justify-content: center;
    display: flex;

}

.footer-logo {
    width: 100%;
    margin: 0;
}



@media (max-width: 750px) {
    .footer-odkazy-obsah {
        width: 94%;
        flex-direction: column;
        height: fit-content;
        margin-bottom: 30px;
    }

    .footer-obsah {
        margin: 10px 10px;
    }

    .footer-logo {
        margin-bottom: 2vh;
    }

    .footer-lower {
        margin-left: 2vw;
        padding-top: 4vh;
        padding-bottom: 4vh;
    }
}



















.button {
    all: unset;
    font-size: 15px;
    font-family: "Geist-Mono", sans-serif;
    font-style: normal;
    text-transform: uppercase;  
    border: 1px solid #171717;
    padding: 6px 20px;
    border-radius: 8px;
    width: fit-content;
    margin-top: 2vh;
    color: #171717;
    display: inline-block;
}



.scramble-button {
    display: inline-flex !important; 
    align-items: center;
    justify-content: center;
    flex-direction: row !important;
}


.scramble-button span {
    display: inline-block;
    white-space: pre;
}









.button2 {
    all: unset;
    font-size: 15px;
    font-family: "Geist-Mono", sans-serif;
    font-style: normal;
    text-transform: uppercase;  
    border: 1px solid #171717;
    padding: 6px 20px;
    border-radius: 8px;
    width: fit-content;
    margin-left: 1.5vw;
    display: inline-block;
}







.nav-text {

    display: flex;
    align-items: center;
    gap: 7vw;
    margin-right: 10px;

}

@media (max-width: 900px) {

    .nav-text {
        display: none;
    }


    .nav-menu-btn {
        display: flex;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .nav-menu-btn img {
        height: 25px;
    }

}

.nav-logo {
    height: 22px;
    margin-top: 2px;
}




.h1-homepage {
    font-family: "Geist-Mono";
    letter-spacing: -3px;
    font-style: normal;
    font-size: 2.5vw;
    color: #171717;
    line-height: 1;
    text-align: center;
    margin: 0;
    line-height: 0.9;
    text-transform: uppercase;
    word-spacing: -5px;
 
}







.main-contact {
    height: fit-content;
    display: flex;
    margin-top: 20vh;
    margin-bottom: 3vh;

}






.hero-wrapper {
    padding-top: 5vh;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4vh;
    margin-top: 12vh;

}

.hero-img {
    object-fit: cover;
    width: 55vw;
    height: 55vh;
    border-radius: 8px;
    object-position: 50% 65%;
}



.hero-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.section-hero {
    margin-bottom: 15vh;
}









.about-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    margin-top: 20vh;
    margin-bottom: 20vh;
    gap: 5vh;

}

.about-img {
    width: 90vw;
    border-radius: 8px;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.about-text p {
    all: unset;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 800;
    font-size: 1.2vw;
    color: #171717;
    display: flex;
    text-align: center;
    max-width: 84vw;
}














.text-projects {
    display: flex;
    flex-direction: row;
    gap: 20vw;
    margin-left: 2vw;
    margin-bottom: 10vh;
    margin-top: 10vh;
}















.section-all-projects {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25vh;
}

.main-all-projects {
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;

}



.all-projects-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: fit-content;
    align-items: center;
    gap: 2vw;
    width: 94vw;
}




.homepage-projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    align-items: center;
    margin-bottom: 10vh;
    gap: 2vh;
}

.all-projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    align-items: center;
    margin-bottom: 20vh;
    margin-top: 20vh;
    gap: 2vh;
}

.homepage-projects-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: fit-content;
    align-items: center;
    width: 93vw;
}




.h2-homepage {
    font-family: "Geist-Mono";
    letter-spacing: -3px;
    font-style: normal;
    font-size: 2.5vw;
    color: #171717;
    line-height: 1;
    text-align: center;
    margin: 0;
    line-height: 0.9;
    text-transform: uppercase;
    word-spacing: -4px;
}

.homepage-project-img {
    width: 30vw;
    height: 50vh;
    object-fit: cover;
}

.homepage-card {
  width: 30vw;
  height: 50vh;
  overflow: hidden;
  border-radius: 8px;
}

.homepage-card img {
  object-fit: cover;
  transition: transform 0.8s ease;
}

.homepage-card:hover img {
  transform: scale(1.07);
}



@media (max-width: 1200px) {

.h2-homepage {
    font-size: 35px;
    max-width: 90vw;
}

.h1-homepage {
    font-size: 35px;
    max-width: 90vw;
}


}


@media (max-width: 450px) {
    .homepage-project-img {
        height: 300px;
    }

    .homepage-card {
        height: 300px;
    }
}


@media (min-width: 1000px) and (max-width: 1300px) {
    .homepage-project-img {
        height: 300px;
    }

    .homepage-card {
        height: 300px;
    }
}



@media (max-width: 750px) {

.h1-homepage {
    font-size: 35px;
    max-width: 70vw;
    line-height: 1.1;
}

.hero-img {
    width: 93vw;
    height: 45vh;
}

}





.h1-all-projects {
    font-family: "Geist-Mono";
    letter-spacing: -3px;
    font-size: 2.5vw;
    line-height: 1;
    margin: 0;
    word-spacing: -5px;

}








.text-projects {
    display: flex;
    flex-direction: row;
    gap: 20vw;
    margin-left: 2vw;
}







@media (max-width: 750px) {



    .footer-odkazy-obsah {
        flex-direction: column;
        gap: 3vh;
    }
}



.projects-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: fit-content;
    align-items: center;
    gap: 2vw;
}







.project-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 4vw;
}


.project-card-wrapper img {
        border-radius: 8px;
}





.project-name {
    position: relative;
    bottom: 50px;
    font-size: 15px;
    font-family: "Geist-Mono";
    line-height: 1;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    background-color: #d9d9d9ab;
    backdrop-filter: blur;
    padding: 10px 20px;
    border-radius: 8px;
}


.project-img {

    height: 10vh;
    border-radius: 8px;
    object-fit: cover;
    object-position: 50%;
}
















.cta a {
    font-size: 2.5vw;
    font-family: "Geist-Mono";
    letter-spacing: -3px;
    font-size: 2.5vw;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    word-spacing: -5px;
}





.cta:hover {
    opacity: 0.80;
    transition: 0.3s ease-in-out;
}

.cta-wrapper {
    height: 20vh;
    margin-left: 3vw;
    max-width: 94vw;
}


@media (max-width: 750px) {
    .cta a {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -3px;
    }

    .cta-wrapper {
        margin-left: 3.5vw;
        max-width: 94vw;
        padding-bottom: 10vh;
        max-width: 80vw;
    }

}


@media (max-width: 400px) {

    .cta-wrapper {
        margin-bottom: 5vh;
    }
}







.h1-contact {
    font-family: "Geist-Mono";
    letter-spacing: -3px;
    font-size: 2.5vw;
    font-feature-settings: "liga" 1;
    font-variant-ligatures: common-ligatures;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    word-spacing: -5px;

}

.contact-h1-wrapper {
    height: fit-content;
    margin-left: 3vw;
    max-width: 90vw;
    display: flex;
    margin-bottom: 3vh;
}

@media (max-width: 1000px) {

.h1-contact {
    font-size: 35px;
    line-height: 1.2;
}

.main-contact {
    height: fit-content;
    display: flex;
    margin-top: 20vh;
    margin-bottom: 3vh;

}
}

@media (max-width: 500px) {

.h1-contact {
    max-width: 90%;
    
}
}

@media (max-width: 800px) {

.br-contact {
    display: none;
}
}






.line {
    height: 0.5px;
    background-color: #545454;
}

.line-nav {
    height: 1px;
    background-color: #171717;
}

.form-wrapper {
    display: flex;
    flex-direction: row;
    height: fit-content;
    margin-left: 3vw;
    margin-top: 10vh;
    margin-bottom: 25vh;
}

.contact-img {
    width: 15vw;
    border-radius: 8px;
}




.contact-form {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    width: 60vw;
    margin-left: 5vw;
}


.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vh 3vw;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}


.form-group label {
    font-family: "Geist-Mono";
    font-size: 14px;
    color: #171717;
    text-transform: uppercase;
}


.form-group input, 
.form-group textarea {
    background-color: transparent;
    border: 1px solid #171717;
    border-radius: 8px;
    padding: 14px 20px;
    font-family: "neue-haas-grotesk-display", sans-serif;  
    font-weight: 500;
    font-size: 15px;
    color: #171717;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}



.full-width {
    width: 100%;
}


.submit-btn {
    margin-left: 0 !important;
    margin-top: 1vh;
}


@media (max-width: 900px) {
    .form-wrapper {
        flex-direction: column;
        height: auto;
        gap: 5vh;
    }
    
    .contact-img {
        width: 40vw;
    }

    .contact-form {
        width: 90vw;
        margin-left: 0;
    }

    .form-grid {
        grid-template-columns: 1vw;
        gap: 2.5vh;
    }
}





.select-wrapper {
    position: relative;
    width: 100%;
}


.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-color: transparent;
    border: 1px solid #171717;
    border-radius: 8px;
    padding: 14px 45px 14px 18px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    color: #171717;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    cursor: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}



.select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%); 
    pointer-events: none; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-arrow svg {
    width: 12px; 
    height: auto;
    display: block;
}















@media (max-width: 1000px) {

.homepage-projects-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    align-items: center;
    gap: 2vw;
    width: 94vw;
}



.project-card-wrapper {
    width: 100%;
}



}













@media (max-width: 1000px) {
    .form-wrapper {
        flex-direction: column;
        align-items: flex-start; 
        height: auto;
        gap: 5vh;
        margin-left: 3vw;
    }
    
    .contact-img {
        width: 45vw;
        height: auto;
    }

    .contact-form {
        width: 94vw; 
        margin-left: 0;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 3vh 3vw;
        width: 100%;
    }
}


@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group input, .form-group textarea, .form-group select {

    padding: 20px;
}
}




@media (max-width: 700px) {
    .footer-obsah {
        height: 45vh;
    }

    .cta-wrapper {
        margin-bottom: 5vh;
    }
}

@media (max-width: 400px) {

    .cta-wrapper {
        margin-bottom: 12vh;
    }
}






/* Kontejner pro karty - nastavíme zobrazení na Grid o 2 sloupcích */
.homepage-projects-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Přesně 2 sloupce */
    gap: 2vw; /* Mezera mezi kartami */
    width: 93vw;
    margin-top: 3vh;
    justify-items: center; /* Vycentrování karet */
}

/* Obal karty s odkazem */
.project-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


.homepage-card {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Obrázek uvnitř karty */
.homepage-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




@media (max-width: 750px) {
    
    .homepage-projects-wrapper {
        grid-template-columns: 1fr;
    }
}

























@media (max-width: 750px) {

    /* Keep header navbar structure clean */
    nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fffefb !important;
        border-bottom: 1px solid #171717 !important;
        z-index: 10000 !important;
    }

    nav::after {
        display: none; /* Remove duplicate pseudoelement */
    }

    .nav-wrap {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* Target the toggle button specifically */
    .nav-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10002 !important; /* Keep icon on top of drawer */
        cursor: pointer;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .nav-menu-btn img {
        height: 26px;
        width: auto;
        display: block;
    }

    /* Rotate icon cleanly when open */
    .nav-menu-btn.active-btn {
        transform: rotate(-45deg); /* Rotates to a clean cross '+' shape */
    }

    /* Dropdown drawer expanding from top-right */
    .nav-text {
        position: fixed;
        top: 50px;
        right: 0;
        width: 45vw;              /* Controlled compact width */
        height: 100px;
        background-color: #fffefb;
        border-top: 1px solid #171717;
        border-bottom: 1px solid #171717;
        border-left: 1px solid #171717;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        
        padding: 40px 0px 40px 30px; /* Top padding clears the close button */
        gap: 20px;
        margin-right: 0;
        z-index: 10001 !important;    /* Behind button, above page content */


        transform-origin: top right;
        transform: scale(0);
        opacity: 0;
        transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.25s ease;
    }


    .nav-text.active {
        transform: scale(1);
        opacity: 1;
    }


    .nav-text a {
        font-size: 16px;
        font-family: "Geist-Mono", sans-serif;
        color: #171717;
        

        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.5s ease, transform 0.7s;
        transition-delay: 10s; 
    }

    .nav-text.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger delay for links */
    .nav-text.active a:nth-child(1) { transition-delay: 0.3s; }
    .nav-text.active a:nth-child(2) { transition-delay: 0.35s; }
    .nav-text.active a:nth-child(3) { transition-delay: 0.4s; }
}





@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none;
  } 
}

@media (hover: none) or (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}