:root{
    --lux-green: #13522A;
    --lux-white: #F8F8F8;
    --lux-gold: #D1AD54;
    --lux-placeholder: #AAAAAA;
    --lux-marker: #E74C3C;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

* {
    font-family: "Vazirmatn", serif;
    font-size: 18px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#in-city-section{
    background-color: var(--lux-green);
}

#modern-household-section{
    background-image: url("/images/lisce.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: var(--lux-white);
}

#parking-section{
    background-color: var(--lux-green);
}

#message-section{
    background-color: var(--lux-white);
}

#form-section{
    background-color: var(--lux-green);
}

#form {
    display: flex;
    flex-direction: column;
}

#green-background{
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--lux-white);
    opacity: 63%;
}

.green-span {
    color: var(--lux-green);
    font-size: 24px;
}

.gold-span {
    color: var(--lux-gold);
    font-size: 24px;
}

section {
    padding: 50px 0 50px 0;
}

.social-networks-box{
    pointer-events: none;
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 15px;
    gap: 15px;
    right: 0px;
    z-index: 2;
}

.hide-pc{
    display: none;
}

.social-networks-icons{
    display: flex; 
    flex-direction:column; 
    gap: 15px;
}

.social-networks-box a, img, div{
    pointer-events: all;
}

.social-networks-box img{
    width: 52px;
    float: right;

}

.clickable-icon{
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    margin-left: 15px;
}

.contact-container{
    display: flex;
    justify-content: end;
    width: 270px;
}

.contact-box{
    width: fit-content;
    display: none;
    float: left;
    background-color: var(--lux-green);
    color: var(--lux-gold);
    padding: 10px 10px;
    text-align: center;
    border: 2px solid var(--lux-gold);
    border-radius: 10px;
}

.mobile-icons-box{
    display: flex;
    gap: 15px
}

.mobile-contact-container{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.navbar{
    height: 60px;
    width: 100%;
    background-color: var(--lux-white);
    z-index: 1;
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px 0px var(--lux-gold);

}

.logo{
   display: flex;
   align-items: center;
   margin-left: 20px;
}

.logo-image{
    height: 40px;
}

.logo-text{
    height: 35px;
}

.nav-links{
    margin-right: 40px;
}

.nav-links a{
    font-size: 16px;
    margin-left: 40px;
    text-decoration: none;
    color: var(--lux-green);
}

.hamburger-menu-box{
    display: none;
}

.content-wrapper{
    padding: 0 100px 0 100px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


.video-container {
    width: 100%;
    height: calc(100vh - 60px);
    position: relative;
    overflow: hidden;
} 

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
  }


.location-text-box{
    width: 50%;
    text-align: justify;
}

.porodica-image-box {
    width: 40%;
}

.map-box{
    height: 400px;
    position: relative;
}

.map {
    height: 100%;
}

.green-marker{
    width: 4%;
    position: absolute;
    left: 38%;
    top: 72%;
    animation: heart-anim 1s ease-in-out infinite;
}



.map-marker{
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    position: absolute;
    background-color: var(--lux-marker);
    cursor: pointer;
    transition: 1s;
}



.map-marker::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--lux-marker);
    transform-origin: center;
    box-sizing: border-box;
    animation: border-anim 1s linear infinite;
}

.map-marker:hover {
    transform: rotate(225deg);
}


.map-marker:hover + .info-box{
    width: 16%; 
    opacity: 100%;
}

.info-box{
    opacity: 0%;
    position: absolute;
    width: 0;
    height: 9.3%;
    background-color: var(--lux-marker);
    border-radius: 10px;
    padding-top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    white-space: nowrap;
    transition: 1s;
}

.marker-background{
    background-color: var(--lux-marker);
    opacity: 50%;
    width: 32px;
    height: 32px;
}

.map-marker:hover + .dud-info-box{
    width: 25%; 
    opacity: 100%;
}

.map-marker:hover + .cvijic-info-box{
    width: 23%; 
    opacity: 100%;
}

.green-marker{
    background-color: var(--lux-green);
}

.green-marker::after {
    border: 2px solid var(--lux-green);
}

.green-info-box{
    background-color: var(--lux-green);
}

.green-marker:hover + .green-info-box{
    width: 20%; 
    opacity: 100%;
}

.in-city-text-box{
    width: 100%;
    padding: 0 100px;
    text-align: justify;
}

.in-city-text-box .in-city-title{
    color: var(--lux-gold);
    font-size: 2em;
    text-align: center;
}

.in-city-text-box p{
    color: white;
    text-align: justify;

}

.in-city-list-box{
    display: flex;
    flex-direction: column;
    background-color: #ebe3cd;
    justify-content: center;
    width: 35%;
    height: 400px;

}

.in-city-list-title{
    font-size: 24px;
    text-align: center;
    padding: 30px 0;
}

.in-city-list-box ul{
    list-style: none;
    width: 100%;
}

.in-city-list-box li{
    margin: auto;
    width: 60%;
    border-bottom: 2px solid black;
    display: flex;
    justify-content: space-between;
    line-height: 12px;
    margin-bottom: 40px;
}

.in-city-list-box li span{
    position: relative;
    margin-bottom: -2px;
    background-color: #ebe3cd;
}

.modern-household-title{
    color: var(--lux-green);
    font-size: 2em;
    width: 472px;
    text-align: center;
    margin: 0 auto 50px;
}

.household-text-box{
    width: 45%;
    text-align: justify;
}

.household-text-box li{
    color: black;
    margin-left: 20px;
}

.household-image-box{
    width: 45%;
}

#soul-section{
    padding: 50px 150px 50px 150px;
    text-align: justify;
    background-color: var(--lux-green);
}

.soul-title{
    text-align: center;
    font-size: 32px;
    color: var(--lux-gold);
    margin: 0 0 40px 0;
}

.soul-wrapper{
    display: flex;
}

.soul-text{
    color: white;
}

#building-section{
    background-color: var(--lux-white);
    padding: 50px 150px 50px 150px;
    text-align: justify;
}

.building-title{
    font-size: 32px;
    color: var(--lux-green);
    text-align: center;
    margin: 0 0 40px 0;
}

.parking-image-box{
    width: 40%;
}

.parking-text-box{
    width: 50%;
    color: white;
    text-align: justify;
}

.parking-text-title{
    color: var(--lux-gold);
    font-size: 2em;
    text-align: center;
}

#message-section p{
    color: #13522A;
    width: 650px;
    margin: auto;
    font-size: 40px;
    text-align: center;
}

#message-section span{
    font-size: 65px;
    font-family: "Allura", cursive;
}

#form-section .content-wrapper{
    flex-direction: column;
}

.form-title{
    color: var(--lux-gold);
    font-size: 2em;
    margin-bottom: 30px;
}

#form input::placeholder{
    color: var(--lux-placeholder);
}

#form input, select{
    font-size: 14px;
    width: 500px;
    height: 48px;
    padding: 4px 0 0 18px;
    margin-bottom: 20px;
    outline: none;
    border: none;
    border-left: 5px solid var(--lux-gold);
}

#form select{
    color: var(--lux-placeholder);
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background-image: url("/images/down-arrow.png");
    background-size: 15px 15px;
    background-position: 97% 16px;
    background-repeat: no-repeat;
}

#form select .option{
    color: black;
}

.select-placeholder {
    color: var(--lux-placeholder);
    background-color: none;
}


#form textarea{
    font-size: 14px;
    resize: none;
    width: 500px;
    padding: 12px 0 0 18px;
    margin-bottom: 20px;
    outline: none;
    border: none;
    border-left: 5px solid var(--lux-gold);
}

#form textarea::placeholder{
    color: var(--lux-placeholder);
}
 
#form select:hover{
    cursor: pointer;
}

.submit-button{
    width: 160px;
    height: 60px;
    background-color: transparent;
    border: 3px solid var(--lux-gold);
    color: var(--lux-gold);
    padding-top: 5px;
    margin: 0 auto 0;
}

.submit-button:hover{
    background-color: #D1AD54;
    transition: all 0.5s;
    color: var(--lux-green);
    cursor: pointer;
}

.errors-box, .success-box{
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    background-color: var(--lux-green);
    padding: 20px 10px 0 10px;
    position: fixed;
    border-radius: 15px;
    border: 2px solid var(--lux-gold);
}

.errors-paragraph, .success-paragraph{
    color: white;
    margin-bottom: 20px;
}

.errors-button, .success-button{
    width: 80px;
    height: 50px;
    background-color: transparent;
    border: 2px solid var(--lux-gold);
    margin-bottom: 20px;
    color: var(--lux-gold);
    padding-top: 6px;
    cursor: pointer;
}


@media only screen and (max-width: 1160px) {


    #location-desc-section{
        padding-top: 30px;
    }

    .social-networks-box{
        width: 100%;
        height: fit-content;
        flex-direction: row;
        justify-content: start;
        gap: 10px;
        margin: 0;
        top: 70px;
        left: 10px;
    }


    .hide-mobile{
        display: none;
    }

    .hide-pc{
        display: block;
    }


    .contact-box{
        position: relative;
    }

    .social-networks-box img{
        width: 32px;
    }

    .clickable-icon {
        width: fit-content;
    }

    p, li {
        font-size: 16px;
    }

    .not-scrollable{
        overflow: hidden;
    }

    .enabled  {
        display: flex !important;
    }

    .disabled {
        display: none !important;
    }

    .logo{
        margin-left: 20px;
    }

    .logo img{
        height: 30px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        padding-bottom: 30px;
        width: 100%;
        top: 60px;
        background-color: var(--lux-white);
    }

    .nav-links a{
        margin: 30px 0 0 0;
    }

    .nav-links a:first-child{
        margin-top: 10px;
    }

    .hamburger-menu-box{
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 25px;
    }

    .content-wrapper{
        padding: 0 32px 0 32px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .location-text-box{
        width: 100%;
        margin-bottom: 25px;
    }

    .porodica-image-box{
        width: 100%;
    }

    #in-city-section .content-wrapper{
        flex-direction: column-reverse;
        gap: 20px;
        padding: 0 20px;
    }

    .in-city-text-box{
        margin: auto;
        width: 90%;
        padding: 0px;
        margin-bottom: 25px;
    }
    
    .in-city-text-box .in-city-title{
        font-size: 32px;
    }

    .in-city-list-box{
        width: 100%;
        height: 100%;
        padding: 20px 0 0 0;
    }

    .in-city-list-box li{
        margin-bottom: 26px;
    }

    .in-city-list-box span{
        font-size: 14px;
    }

    .in-city-list-title{
        font-size: 24px;
        padding: 0;
        margin-bottom: 20px;
    }

    .map-box{
        width: 100%;
        height: fit-content;
    }

    .map{
        width: 100%;
    }

    .map-marker{
        width: 16px;
        height: 16px;
        font-size: 12px;
    }

    .info-box{
        font-size: 12px;
    }

    .modern-household-title{
        width: 90%;
        font-size: 32px;
    }

    .household-text-box{
        width: 100%;
        margin-bottom: 25px;
    }

    .household-image-box{
        width: 100%;
    }

    #soul-section{
        padding: 50px 32px 50px 32px;;
    }

    .soul-wrapper{
        display: block;
    }

    .soul-wrapper img{
        margin-top: 50px;
        width: 100%;
    }

    #building-section{
        padding: 50px 32px 50px 32px;;
    }

    #parking-section .content-wrapper{
        flex-direction: column-reverse;
    }
    
    .parking-text-box {
        width: 100%;
        margin-bottom: 25px;
    }

    .parking-text-title{
        font-size: 32px;
    }

    .parking-image-box{
        width: 100%;
    }

    #message-section p{
        width: 90%;
        font-size: 20px;
    }

    #message-section span{
        font-size: 38px;
    }

    .form-title{
        text-align: center;
        font-size: 32px;
        width: 100%;
    }

    #form-section{
        padding-bottom: 20px;
    }

    #form {
        width: 100%;
    }

    #form input, select{
        width: 100%;
    }

    #form textarea{
        width: 100%;
    }

}

@keyframes border-anim {
    0% 
    {
        transform: scale(1);
        opacity: 100%;
    }

    100%{
        transform: scale(1.6);
        opacity: 0%;
    }
}


@keyframes info-box-appear {
    0% {width: 0%; opacity: 0%;}
    100% { width: 23%; opacity: 100%;}
}