/* Vlastní styly pro stránku Agrone */

body {
    font-family: "Helvetica Neue", sans-serif;
    color: #1a1a1a;
    background-color: #d2d2d2;
}

#main {
    max-width: 1400px;
    background-color: white;
    margin: auto;
    padding: 1rem;
    position: relative;
}

#home_wrapper {
    width: 100%;
    background-color: #626f47;
}

#home {
    max-width: 100%;
    min-height: 900px;
    position: relative;
    overflow: hidden;
    margin: auto;
    /*height: 96vh;*/
    background-color: white;

    .top-bar,
    .text,
    .text2 {
        max-width: 90%;
        min-width: 90%;
        margin: 0 auto;
        z-index: 1;
        position: relative;
        background-color: transparent;
    }

    .top-bar {
        display: flex;
        margin-top: 2rem;

        .icon {
            max-width: 300px;

            a {
                padding-left: 30px;
            }
        }

        .icon,
        .contact {
            font-size: 1.2rem;
        }

        ul {
            background-color: rgba(255, 255, 255, 0.8);
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

            margin: 0rem 1rem 0rem 1rem;
            padding: 0.3rem 1rem 0.3rem 1rem;

            li {
                a {
                    color: #34542D;
                    font-weight: bolder;
                }
            }
        }


        img {
            height: auto;
            margin: 0px;
            margin-right: 0.3rem;
            border: none;

            position: absolute;
            left: 20px;
            top: 10px;
            ;
        }

    }

    .bg {
        z-index: 0;
        position: absolute;
        top: 1rem;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        background-size: cover;

        img {
            border-radius: 55px;
            width: 100%;
            height: 100%;
        }
    }

    .drone,
    .core {
        position: relative;
        z-index: 1;
    }

    .text {
        max-width: 90%;
        margin: 0 auto;
        padding: 2rem;
        padding-top: 0rem;

        .cell {
            padding: 1rem;
        }

        h1 {
            font-size: 4rem;
            color: white;

            /*text-shadow: 0 2px 4px rgba(0,0,0,0.6);*/
            span {
                margin-left: 60%;
            }

            line-height: 120%;
        }

        p {
            font-size: 1.5rem;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

            span {
                margin-left: 20%;
                ;
            }
        }

    }

    .text2 {
        max-width: 90%;
        min-width: 90%;
        margin: 0 auto;
        padding: 3rem;
        padding-left: 0px;
        padding-right: 0px;
        ;

        position: absolute;

        bottom: 0px;
        ;
        left: 50%;
        transform: translateX(-50%);

        .cell {
            padding: 1rem;
        }

        .drone,
        .core {

            margin: left;
            min-width: 100%;
            min-height: auto;
            background-color: white;
            padding: 0.6rem;
            border-radius: 15px;
            display: inline-flex;

            img {
                width: 240px;
                height: 240px;
                margin-right: 1rem;
                border-radius: 15px;
                border: 1px solid black;
            }


            h2 {
                font-size: 2.2rem;
                padding-top: 0.5rem;
                color: #34542D;
                text-align: left;
                margin-bottom: 1rem;
            }

            p {
                font-size: 1.1rem;
                text-align: left;
                margin-bottom: 1;
            }

            .button.custom-green {
                border-radius: 15px;
                background-color: #34542D;
                ;
                border-color: #013322;
                ;
                color: white;
                /* aby text byl dobře vidět */

                position: absolute;
                right: 2rem;
                bottom: 1rem;
            }

            .button.custom-green:hover {
                background-color: #7aa847;
                /* trochu tmavší na hover */
                border-color: #7aa847;
                color: white;
            }

            .button.custom-blue {
                border-radius: 15px;
                background-color: #34542D;
                border-color: #34542D;
                color: white;

                position: absolute;
                right: 2rem;
                bottom: 1rem;
            }

            .button.custom-blue:hover {
                background-color: #2e4d70;
                /* trochu tmavší na hover */
                border-color: #2e4d70;
                color: white;
            }

            .headline {
                padding-left: 0;
            }
        }

        .core {
            /*
              min-width: 240px;
              max-width: 290px;
              */

            h2,
            p {
                text-align: center;
                text-align: left;
            }

            p {
                padding: 1rem;
            }

            h2 {
                color: #34542D;
            }

            .more {
                /*margin: auto;*/
                background-color: #34542D;
            }
        }

    }
}

.page {
    /*height: 100vh;*/
    min-height: 700px;
    max-width: 100%;
    padding: 3rem 1rem 0 1rem;
    background-color: white;
    margin: auto;


    h1 {
        position: relative;

        img {
            margin-right: 0.5rem;
            margin-top: 0rem;
            max-height: 1.4em;
            vertical-align: middle;
            position: absolute;
            left: 10px;
            top: 40px;
            border: none;
        }

        padding-left: 70px;
        color: #013322;
        font-size: 3rem;
        text-align: left;
        padding-bottom: 2rem;
        padding-top: 2rem;
        line-height: 120%;

        span {
            margin-left: 20%;
        }
    }

    p {
        font-size: 1.1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .htext {
        font-size: 1.2rem;
        font-weight: bolder;
    }

    img {
        vertical-align: top;
        border: 1px solid black;
    }

    .text {
        h2 {
            font-size: 1.3rem;
            color: #5D8952;
            ;
            margin-top: 0px;
            line-height: 110%;
            text-align: left;
            font-weight: bolder;
            margin-bottom: 0px;
            ;
        }

        div {
            text-align: left;
            padding-left: 1rem;
            padding-bottom: 2rem;
            padding-top: 0px;
            ;
        }
    }

    p {
        text-align: left;
        padding-left: 1rem;
        padding-top: 1rem;
    }
}

/* Základní rámečky pro všechny tři sekce */
#monitoring,
#multispectral,
#cloud {
    border: 3px solid #5D8952;
    border-radius: 25px;
    padding: 2rem;
    margin: 1rem;
}

#monitoring {
    h1 {
        margin-left: 0rem;
        text-align: left;
        padding-top: 0.5rem;
        margin-top: 0rem;
        line-height: 1.2;
        color: #34542D;
        padding-left: 0px;
    }

    h1 img {
        margin-right: 0rem;
        margin-top: 0rem;
        vertical-align: middle;
        position: relative;
        left: 0px;
        top: 0px;
    }

    h1 span {
        margin-left: 0 !important;
        display: block;
        margin-top: 0.5rem;
    }

    .small-3 {
        img {
            width: 310px;
            height: 420px;
            border-radius: 15px;
        }

        padding: 0px;
        text-align: center;
    }

}

#cloud {
    h1 {
        margin-left: 0rem;
        text-align: left;
        padding-top: 0.5rem;
        margin-top: 0rem;
        line-height: 1.2;
        color: #34542D;
        padding-left: 0px;
    }

    .text {
        text-align: left;

        h2 {
            color: #5D8952;
            text-align: left;
        }

        div {
            text-align: left;
            padding-left: 1rem;
            padding-right: 0rem;
        }
    }
}

#multispectral {
    .custom-arrow {
        font-size: 2rem;
        cursor: pointer;
        color: #34542D;
        color: #013322;
        ;
        padding: 10px;
        user-select: none;
    }

    .cell { }

    h1 {
        margin-left: 0rem;
        text-align: left;
        padding-top: 0.5rem;
        margin-top: 0rem;
        line-height: 1.2;
        color: #34542D;
        padding-left: 0px;
    }

    h1 img {
        margin-right: 0rem;
        margin-top: 0rem;
        vertical-align: middle;
        position: relative;
        left: 0px;
        top: 0px;
    }

    h1 span {
        margin-left: 0 !important;
        display: block;
        margin-top: 0.5rem;
    }

    img {
        max-height: 700px;
        border-radius: 15px;
        ;
    }

    .small-2 {
        text-align: center;
    }

    .text {
        div {
            padding-bottom: 1rem;
            padding-left: 1rem;
            text-align: left;
            padding-right: 0rem;
        }
    }
        .page {
            padding-bottom: 1rem;
            /* místo třeba 3rem */     }

}

#contact {
    max-width: 100%;
    height: 500px;
    position: relative;x3
    overflow: hidden;
    margin: auto;
    /*height: 96vh;*/
    background-color: transparent;

    .text {
        margin: 0 auto;
        z-index: 1;
        background-color: transparent;
        padding-top: 5rem;
        color: white;
        max-width: 100%;
        margin: auto;

        .ftext {
            background-color: white;
            width: 350px;
            margin: auto;
            padding: 1rem;
            padding-top: 1rem;
            border-radius: 15px;
            opacity: 1;
            color: black;
        }

        .cell {
            text-align: center;
            padding-top: 60px;
        }
    }

    .bg {
        z-index: 0;
        position: absolute;
        top: 0px;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        background-size: cover;

        img {
            border-radius: 55px;
            width: 100%;
            height: 100%;
        }
    }
}

#contact_wrapper {
    width: 1300px;
    position: absolute;
    bottom: 180px;
    left: 50px;
    z-index: 2;
}

#monitoring_wrapper {
    width: 100%;

}

#cloud_wrapper {
    width: 100%;
    margin-bottom: 15rem;
}

#multispectral_wrapper {
    width: 100%;
}

.footer {
    max-width: none;
    margin: -200px auto 0 auto;
    background-color: #34542D;
    text-align: center;
    color: white;
    padding: 6rem 3rem 3rem 3rem;
    position: relative;
    left: calc(-1rem - 3px);
    /* Zvětšil jsem offset */
    width: calc(100% + 2rem + 6px);
    /* Zvětšil jsem šířku */
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;


    h1 {
        font-size: 8rem;
        color: white;

        /*text-shadow: 0 2px 4px rgba(0,0,0,0.6);*/
        span {
            margin-left: 60%;
        }

        line-height: 120%;
        position: absolute;
        bottom: -32px;
    }

    font {}
}

/* Sjednocení velikosti všech ikonek - identické jako monitoring */
#monitoring h1 img,
#multispectral h1 img,
#cloud h1 img {
    width: 35px !important;
    height: 35px !important;
    vertical-align: middle;
    position: relative;
    top: -2px;
    /* přidá vertikální posun dolů */
}

.your-carousel {
    position: relative;
}


.your-carousel .slick-prev,
.your-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    /*background: rgba(0,0,0,0.4);*/
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;

}

.your-carousel .slick-prev {
    left: 10px;
}

.your-carousel .slick-next {
    right: 30px;
}


.your-carousel .slick-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 99;
}

.your-carousel .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 1;
}

