* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #F1F1F1;
}
html {
    scroll-behavior: smooth;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5);
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px 100px 20px 100px;
    border: 1px solid #888;
    width: 50%;
    height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    position: relative;
    border-radius: 50px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
#modalMessage,
.modalMessageCSS{
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: #000;
    text-align: center;
}
.close {
    color: #000;
    float: right;
    font-size: 36px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}
.margin-div {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    position: relative;
}

.margin-div_v2{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 15px;
}

.wrapper-kontakt{
    position: relative;
    background-image: url(./images/kontakt-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: calc(100vh - 30px);
    width: calc(100% - 30px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.wrapper-carousel {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: calc(100vh - 30px);
    width: calc(100% - 30px);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.wrapper-carousel::after,
.wrapper-kontakt::after {
    content: "";
    position: absolute;
    border-radius: 50px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}


.wrapper-carousel h1 {
    font-family: "Playfair Display", serif;
    text-align: center;
    color: #fff;
    font-size: 40px;
    max-width: 830px;
    z-index: 10;
    margin-bottom: 10px;
}


.t2-text {
    color: #E0E0E0;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
    z-index: 10;
}


.t1-text {
    font-family: "Raleway", sans-serif;
    color: #ededed;
    text-align: center;
    font-weight: 500;
    font-size: 22px;
    max-width: 590px;
    margin: 10px 0 15px 0;
    z-index: 10;
}


.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }


    to {
        opacity: 1;
    }
}


nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background-color: #fff;
    padding: 8px 8px 8px 44px;
    opacity: 1 !important;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: top 0.3s ease;
}


ul {
    display: flex;
    flex-direction: row;
    gap: 50px;
    width: fit-content;
    list-style: none;
}


li {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    margin: auto 0;
    transition: .3s ease;
    font-size: 20px;
}


li a {
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    /*text-transform: capitalize;*/
}


.fancy-btn {
    background-color: #8AA573;
    padding: 21px 36px 21px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    z-index: 10;
}

.l-switch {
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 5px 5px 5px 5px;
    position: absolute;
    right: 15px;
}


.s-flag {
    width: 40px;
}


.outer-div h3,
.outer-div h2 {
    font-size: 40px;
    color: #8AA573;
    font-family: "Playfair Display", serif;
    text-align: center;
    margin-top: 40px;
}


.outer-div {
    width: calc(100% - 30px);
    margin: 0 auto;
}


.inner-flex-div {
    display: flex;
    flex-direction: row;
    margin-top: 34px;
    gap: 40px;
}


.text-part {
    background-color: #B9D0A5;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.cenik-div{
    margin-top: 40px;
    background-color: rgba(185, 208, 165, 0.7);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.cenik-div p{
    margin: 110px;
    max-width: 920px;
    font-size: 26px;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
}


.text-part p {
    font-size: 24px;
    font-family: "Raleway", sans-serif;
    text-align: center;
    font-weight: 500;
    margin: 0 100px 0 100px;
}


.img-part img {
    width: 40vw;
    border-radius: 50px;
}


.img-part-reversed img {
    width: 50vw;
    border-radius: 50px;
}


.menu {
    width: 50px;
    height: 50px;
    display: none;
    cursor: pointer;
}


.footer{
    background-color: #000;
    font-family: "Raleway", sans-serif;
    margin: 0 auto;
    width: calc(100% - 30px);
    border-radius: 50px;
    padding: 40px 0 40px 0;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.footer p{
    color: #fff;
    font-size: 22px;
    text-align: center;
}
.footer a{
    color: #A6F7BD;
    font-size: 22px;
}


form{
    background: rgba(255, 255, 255, 0.6);
    /* width: 678px; */
    width: 40vw;
    border-radius: 50px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.form-input{
    width: 90%;
    border: none;
    background-color: #fff;
    height: 75px;
    border-radius: 50px;
    padding: 26px 0 26px 40px;
    color: #000;
    font-size: 20px;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
}


.margin-20px{
    margin-bottom: 20px;
}


form input.form-input:first-child {
    margin-top: 40px;
}


.form-input::placeholder{
    font-size: 20px;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
}


.submit-btn{
    border: none;
    background-color: #B9D0A5;
    padding: 25px 125px;
    border-radius: 50px;
    color: #000;
    font-size: 20px;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    transition: .3s ease;
    margin-bottom: 40px;
}
.submit-btn:hover,
.submit-btn:focus{
    text-decoration: underline;
    background-color: #8AA573;
}


.msg{
    resize: none;
    padding: 26px 0 0 40px;
    height: calc(100% - 200px);
}


.k-text h4{
    font-family: "Playfair Display", serif;
    font-size: 40px;
    color: #fff;
    text-align: center;
}


.k-text p{
    color: #fff;
    font-size: 20px;
    font-family: "Raleway", sans-serif;
    max-width: 800px;
    text-align: center;
    margin-bottom: 1rem;
}


.k-text{
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 3rem;
}


.k-inner-flex-div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: calc(100% - 80px);
    width: calc(100% - 80px);
}


.s-icon img{
    width: 80px;
    height: 80px;
}


.k-text a{
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
}


.icons-div{
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
}

.footer-inner-div{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.webigo-link img{
    width: 30px;
    height: 30px;
}

.webigo-link{
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Responsive Styles */
@media screen and (max-width: 1400px){
    .k-text{
        max-width: 600px;
    }
    form{
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    ul {
        gap: 20px;
    }


    .wrapper-carousel h1 {
        font-size: 35px;
    }


    .t1-text {
        font-size: 18px;
    }


    .l-switch {
        flex-direction: row;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: fit-content;
    }


    .text-part p {
        font-size: 18px;
    }
    .cenik-div p{
        margin: 100px 20px;
        font-size: 18px;
    }
}

@media screen and (max-width: 1000px){
  .k-inner-flex-div{
      flex-direction: column-reverse;
  }
    .k-text{
      margin: 0 auto;
    }
    .msg{
        min-height: 12vh;
    }
}

@media screen and (max-width: 900px) {
    .inner-flex-div {
        flex-direction: column-reverse;
    }


    .text-part {
        padding: 100px 0 100px 0;
    }


    .text-part p {
        margin: 0 20px 0 20px;
    }


    .img-part img {
        width: 100%;
    }
    .img-part-reversed img {
        width: 100%;
    }
}


@media screen and (max-width: 560px) {


    /*stejny okraje nahore i na strane u menu*/
    li a {
        font-size: 16px;
    }


    nav {
        padding: 6px 6px 6px 25px;
    }


    .fancy-btn {
        padding: 16px 28px 16px 28px;
    }
}


@media screen and (max-width: 460px) {
    ul {
        flex-direction: column;
        gap: 12px;
    }

    .submit-btn{
        padding: 25px 85px;
    }

    nav {
        padding: 20px;
        width: 86%;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        overflow: hidden;
    }

    .padding-fix{
        padding: 15px 36px 21px 36px;
    }

    .menu-item {
        display: none;
    }


    .menu {
        display: block;
    }


    li {
        text-align: center;
    }


    .wrapper-carousel h1 {
        font-size: 26px !important;
    }
}


@media screen and (max-width: 769px) {
    .wrapper-carousel h1 {
        font-size: 30px;
        margin: 0 10px 12px 10px;
    }

    .t1-text {
        font-size: 16px;
        margin: 10px 10px 15px 10px;
    }

    .wrapper-kontakt{
        height: fit-content;
        padding: 40px 0 40px 0;
    }

    .k-inner-flex-div{
        width: calc(100% - 40px);
        gap: 3rem;
    }

    .k-text{
        margin-top: 1rem;
    }
    .k-text h4{
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 8px;
    }
    .k-text p{
        font-size: 16px;
    }
    .k-text a{
        font-size: 26px;
    }

    .s-icon img{
        width: 60px;
        height: 60px;
    }

    .msg{
        min-height: 20vh;
    }

    .form-input{
        font-size: 16px;
        height: 60px !important;
    }
    .form-input::placeholder{
        font-size: 16px;
    }
    .submit-btn{
        font-size: 16px;
    }

    .footer p,
    .footer a{
        font-size: 16px;
    }
}
.login-img{
    width: 20px;
    height: 20px;
    margin-left: 1rem;
}