/*------ GENERAL ----------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", system-ui;
}

body {
    overflow-x: hidden;
}


body {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}


img {
    user-select: none;
    -webkit-user-drag: none;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*------- GENERAL end ----------------------------------------------*/

/*------ NAVBAR ----------------------------------------------*/
nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: white;
    padding: 10px 5%;
    position: relative;
    width: 100%;
    z-index: 10;
}

nav a.active
{
    color: #47A6FF;
}

nav a,
nav .mobile-menu a {
    text-decoration: none;
    color: inherit;
}


.jan-pech-logo {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: 100;
    display: flex;
    align-items: center; 
}

.jan-pech-logo .hover-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.jan-pech-logo .hover-link:hover {
    color: #47A6FF;
}


.nav-horni-radek,
.nav-spodni-radek {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 10px 0;
    gap: 30px;
}


.nav-horni-radek {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}


.nav-horni-radek li:not(:last-child),
.nav-spodni-radek li:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    padding-right: 15px;
}

.nav-horni-radek li,
.nav-spodni-radek li {
    padding: 10px;
    font-size: 1.5rem;
    color: black;
    transition: color 0.3s;
}

.nav-horni-radek li:hover,
.nav-spodni-radek li:hover {
    color: #47A6FF;
}

/*------ NAVBAR mobile ----------------------------------------------*/
.mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    list-style: none;
    padding: 0;
    gap: 10px;
    text-align: center;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9;
}


.mobile-menu li {
    padding: 10px 0;
    font-size: 18px;
    color: black;
    transition: color 0.3s;
}

.mobile-menu li:hover {
    color: #47A6FF;
}


.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 30px;
    margin: 10px;
}

/*------ responsivity NAVBAR----------------------------------------------*/
@media (max-width: 1200px) {
    .jan-pech-logo {
        font-size: 2.5rem;
        font-weight: 100;
    }

    .nav-horni-radek li,
    .nav-spodni-radek li {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .jan-pech-logo {
        font-size: 2rem;
        font-weight: 100;
    }

    .nav-horni-radek li,
    .nav-spodni-radek li {
        font-size: 1rem;
        gap: 10px;
    }

    nav {
        padding: 5px 4%;
    }
}

@media (max-width: 768px) {
    .jan-pech-logo {
        font-size: 1.75rem;
        font-weight: 100;
    }

    .nav-horni-radek li,
    .nav-spodni-radek li {
        font-size: 0.875rem;
    }

    .menu-icon {
        display: block;
    }

    .nav-horni-radek,
    .nav-spodni-radek {
        display: none;
    }
}

@media (max-width: 480px) {
    .jan-pech-logo {
        font-size: 1.5rem;
    }

    .nav-horni-radek li,
    .nav-spodni-radek li {
        font-size: 0.75rem;
    }
}
/*------- NAVBAR end ----------------------------------------------*/

/*------ LINE ----------------------------------------------*/

.vertical-line3 {
    position: fixed;
    top: 0;
    left: 29%;
    width: 1px;
    height: 100%;
    background-color: rgb(0, 0, 0);
    transform: translateX(-50%);
    z-index: -1;
}

/*------ LINE end ----------------------------------------------*/


/*------ GALLERY ----------------------------------------------*/
.gallery-about {
    display: flex;
    background: transparent;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin: 7% 0;
    position: relative;
}


.about-content {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
}

.about-img {
    flex: 1;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-right: 20px;
}

.about-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    position: relative;
}

.about-text h1 {
    font-size: 2.2rem;
    margin: 0 0 10px;
    font-weight: 400;
    padding-left: 2%;
}

.about-text h2 {
    font-size: 1.5em;
    margin: 0 0 10px;
    text-align: right;
    font-weight: 400;
    margin-right: 3%;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 10px 20px;
    margin-right: 3%;
    
    text-align: right;
}

.button-container {
    margin-left: auto;
    margin-top: auto;
    align-self: flex-end;
}

.about-button {
    background-color: #828282;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
    width: fit-content;
    max-width: 120px;
    margin-right: 3%;
    white-space: nowrap;
}

.about-button:hover {
    background-color: #8e8e8eb3;
}


/*------ responsivity GALLERY ----------------------------------------------*/

@media (min-width: 2560px) {
    .gallery-about {
        margin: 10% 0;
    }

    .about-content {
        max-width: 1800px;
    }

    .about-img {
        max-width: 600px;
        margin-right: 40px;
    }

    .about-text h1 {
        font-size: 3.5rem;
        padding-left: 3%;
    }

    .about-text h2 {
        font-size: 2.5rem;
        margin-right: 5%;
    }

    .about-text p {
        font-size: 1.5rem;
        margin-right: 5%;
    }

    .button-container {
        margin-top: auto;
    }

    .about-button {
        padding: 16px 24px;
        font-size: 1.2rem;
        max-width: 160px;
        margin-right: 5%;
    }
}


@media (min-width: 1025px) and (max-width: 1400px) {
    .about-content {
        width: 80%;
    }

    .about-img {
        width: 100%;
        max-width: 400px;
    }

    .about-content img {
        margin-right: 0rem;
    }

    .about-text h1 {
        margin-left: 2.5rem;
        font-size: 2.5rem;
    }



    .about-text p {
        width: 88%;
        margin-left: 8%;
    }

    .vertical-line3 {
        margin-left: -3%;
    }


}

@media (max-width: 1200px) {
.vertical-line3 {
    margin-left: -2%;
}

}


@media (max-width: 1024px) {
        .about-content {
            width: 80%;
            flex-direction: column;
            align-items: center;
        }
    
        .about-img {
            width: 100%;
            max-width: 400px;
            margin-bottom: 20px;
        }
    
        .about-content img {
            margin-right: 0rem;
            margin-bottom: 2rem;
        }
    
        .about-text {
            flex: 1;
            align-items: center;
        }
    
        .about-text h1 {
            font-size: 1.8rem;
            text-align: left;
            width: 100%;
            padding-left: 9%;
            margin-top: 2%;
            margin-left: 9%;
        }
    
        .about-text h2 {
            font-size: 1.3rem;
            text-align: right;
            width: 100%;
            margin-right: 27%;
        }
    
        .about-text p {
            font-size: 0.9rem;
            width: 90%;
            text-align: justify;
            text-align: right;
            padding: 0 8%;
            margin-bottom: 7%;
        }
    
        .button-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin: 0;
        }
    
        .about-button {
            padding: 8px 12px;
            font-size: 0.75rem;
            margin: 0;
        }
    

         .vertical-line3 {
            display: none;
        }
    }
    

@media (min-width: 481px) and (max-width: 770px) {
    .about-text h1 {
        font-size: 1.5rem;
        text-align: left;
        width: 100%;
        padding-left: 5%;
    }

    .about-text h2 {
        font-size: 1.2rem;
        text-align: right;
        width: 70%;
        margin-left: 36%;
    }

    .about-text p {
        font-size: 0.85rem;
        padding: 0 5%;
        text-align: center;
        margin-bottom: 10%;
    }
}


@media (max-width: 480px) {
    .about-img {
        width: 80%;
        max-width: 200px;
        margin-right: 10rem;
        margin-left: 4.2rem;
        
    }


    .about-content img {
        margin-right: 3.5rem;
        margin-bottom: 2rem;
    }

    .about-text h1 {
        font-size: 1.5rem;
        text-align: left;
        width: 100%;
        padding-left: 7%;
    }

    .about-text h2 {
        font-size: 1.2rem;
        text-align: right;
        width: 90%;
        margin-right: 5%;
    }

    .about-text p {
        font-size: 0.85rem;
        text-align: justify;
        text-align-last: center;
        padding: 0 5%;
    }

    .button-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .about-button {
        padding: 6px 10px;
        font-size: 0.7rem;
        margin: 0;
    }


        .vertical-line3 {
            display: none;
        }


        .section-footer {
            margin-top: 10%;
        }
}


/*------ GALLERY end ----------------------------------------------*/




/*------ GALLERY ITEM ----------------------------------------------*/
.gallery, .gallery1 {
    width: 100%;
    padding: 10px;
    background: white;
    column-count: 3;
    column-gap: 5px;
}


.gallery-item, .gallery-item1 {
    display: inline-block;
    margin-bottom: 1px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}


.gallery-item img, .gallery-item1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.gallery-item:hover, .gallery-item1:hover {
    transform: scale(1.01);
}


@media (max-width: 768px) {
    .gallery, .gallery1 {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery, .gallery1 {
        column-count: 1;
    }
}



/*------ GALLERY ITEM end ----------------------------------------------*/


/*------ MODAL ----------------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}


.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: transform 1.0s ease, opacity 0.5s ease;
}



.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ff4757;
}


.modal:target {
    display: block;
}

/*------ responsivity MODAL ----------------------------------------------*/
@media only screen and (max-width: 768px) {


    .modal-content {
        max-width: 95%;
        max-height: 85%;
        border-radius: 10px;
        transform: translateY(140%);
    }

    .close {
        top: 300px;
        right: 20px;
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .modal-content {
        max-width: 90%;
        max-height: 80%;
        border-radius: 8px;
    }

    .close {
        top: 10px;
        right: 15px;
        font-size: 1.2rem;
    }
}

/*------ MODAL end ----------------------------------------------*/

/*------ FOOTER ----------------------------------------------*/

.section-footer {
    position: relative;
    padding: 50px 0;
    background: white;
    opacity: 1;
    z-index: 1;

  }

    p a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
  }
  
  p a:hover {
    color: inherit;
  }
  
  .section-footer::before {
    content: '';
    background-image: url('../_WEB/BUSINESS PORTRET/livestyle-portret-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  
  .footer {
    color: rgb(0, 0, 0);
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-left: 10%;
  }
  
  .footer h3 {
    font-weight: 600;
    font-size: 18px;
  }
  .footer-column {
    width: 30%;
    padding: 0 15px;
  }
  
  .footer-center {
    text-align: left;
    width: 30%;
    font-weight: 300;
  }
  
  .footer-left,
  .footer-right {
    text-align: left;
  }

  .footer-left {
    font-weight: 300;
  }

  .footer-right {
    font-weight: 500;
    line-height: 2.5;
  }
  
  .footer-right svg {
    margin: 2%;
  }

  .footer-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    margin: 20px 0;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
  }
  
  .footer-bottom img {
    max-width: 90px;
    margin-top: 10px;
  }
  
/*------ responsivity FOOTER ----------------------------------------------*/
  @media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }

    .footer-column {
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }


    .footer-center {
        order: 0;
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-left: auto;
        margin-right: auto;
    }


    .footer h3 {
        font-size: 16px;
    }

    .footer-right {
        line-height: 2;
    }


    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom img {
        max-width: 70px;
    }
}


@media (max-width: 480px) {
    .footer h3 {
        font-size: 14px;
    }

    .footer-right {
        line-height: 1.8;
    }

    .footer-column {
        width: 95%;
    }
}
/*------ FOOTER end ----------------------------------------------*/

/*   thank you for
/*   choosing us. :)                   */


/*                   *
██████╗  █████╗ ███╗   ██╗ ██████╗ 
██╔══██╗██╔══██╗████╗  ██║██╔═══██╗
██████╔╝███████║██╔██╗ ██║██║ * ██║
██╔═══╝ ██╔══██║██║╚██╗██║██║   ██║
██║  *  ██║  ██║██║ ╚████║╚██████╔╝
╚═╝     ╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝ 
*/                  
        /*
    ████       * ██████╗  █████╗ ███╗ * ██╗
  ████████       ██╔══██╗██╔══██╗████╗  ██║
 ██████████      ██████╔╝███████║██╔██╗ ██║
  ████████       ██╔══██╗██╔══██║██║╚██╗██║
    ████     *   ██║  ██║██║  ██║██║ ╚████║
                                        ╚═╝     */