/* Zarrafeh custom styles */
@charset "UTF-8";

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.eot');
    src: local('../fonts/Vazir'), url('../fonts/Vazir.woff') format('woff'), url('../fonts/Vazir.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #c0c0c0;
    background-image: url("../images/bg.webp");
    background-position: top center;
    background-size: contain;
    font-size: 15px;
    font-family: 'Vazir';
    line-height: 30px;
}

img {
    max-width: 100%;
}

h1 {
    font-weight: bold;
}

.hr-separator {
    padding: 15px 0;
}

#header-content {
    background-image: url("../images/header-bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 950px;
}

#lang a {
    font-weight: normal;
    color: whitesmoke;
    opacity: .7;
}

#lang a:hover {
    opacity: .9;
}

#header-pic {
    position: absolute;
    margin-top: 30px;
    padding-top: 250px;
    background-image: url("../images/header-pic.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 600px;
}

#company-title {
    font-size: 50px;
}

.header-item {
    background-image: url("../images/header-item-bg.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 242px;
    height: 279px;
    max-width: 100%;
    font-weight: 600;
    font-size: 20px;
    padding: 105px 10px 0 10px;
}

/* About Section */
#about-bg {
    margin-top: 0px;
    min-height: 1100px;
    max-width: 100%;
    background-image: url('../images/about-bg.webp');
    background-position: center left;
    background-size: 100%;
    background-repeat: no-repeat;
}

#about h1 {
    padding-right: 16px;
    color: #ff660b;
    font-weight: normal;
}

#about-content-box {
    background-color: #363636;
    margin-top: 300px;
}

#about-content {
    border: none;
}

/* Scrollbar styles */
.scroll-bar {
    width: 100%;
    height: 288px;
    overflow-y: scroll;
    padding: 0 10px;
}

.scroll-bar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scroll-bar::-webkit-scrollbar-track {
    border: 1px solid whitesmoke;
    border-radius: 10px;
}

.scroll-bar::-webkit-scrollbar-thumb {
    background: whitesmoke;
    border-radius: 10px;
}

.scroll-bar::-webkit-scrollbar-thumb:hover {
    background: whitesmoke;
}
/* /About Section */

/* Services */
.service-item {
    min-height: 284px;
}

.service-item h2 {
    font-size: 26px;
    padding-top: 105px;
}

.service-item-text {
    background-color: #363636;
    border-radius: 36px;
}

.service-item-title-odd {
    background-image: url("../images/service-item-title-bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 230px;
    height: 284px;
    position: absolute;
    left: 50px;
    margin-top: -32px;
}

.service-item-title-even {
    background-image: url("../images/service-item-title2-bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 230px;
    height: 284px;
    position: absolute;
    right: 50px;
    margin-top: -32px;
}
/* /Services */

/* Footer */
#footer {
    background-image: url("../images/footer-bg.webp");
    background-position: top center;
    background-repeat: repeat-x;
    background-size: cover;
    min-height: 760px;
    margin-top: 120px;
}

#footer .title {
    font-size: 31px;
    font-weight: 400;
    color: #ff660b;
    padding-top: 80px;
    padding-bottom: 10px;
}

.footer-box i {
    font-size: 26px;
    color: #ff660b;
    line-height: 34px;
}

#footer-left-box {
    background-image: url("../images/footer-left-box-bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    min-height: 450px;
}

#footer-right-box {
    background-image: url("../images/footer-right-box-bg.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    min-height: 450px;
}

.social-link {
    font-size: 20px;
    width: 30px;
    padding: 3px 8px;
    border: 2px solid white;
    border-radius: 10px 0 0 10px;
}

@media only screen and (max-width: 992px) {
    #header-content {
        background-image: none;
        min-height: 100px;
    }

    #header-content h1, #header-content p, #header-content #nav-bar-title {
        color: #363636;
    }

    #header-content p {
        font-weight: bold;
    }

    #about-content-box {
        background-color: #363636;
        margin-top: 40px;
    }

    #footer {
        background-image: none;
        min-height: 760px;
        margin-top: 60px;
    }

    #footer .title {
        font-size: 31px;
        font-weight: 400;
        color: #ff660b;
        padding-top: 30px;
        padding-bottom: 10px;
    }

    #footer-left-box {
        background-image: none;
        background-color: #363636;
        width: 100%;
        min-height: 200px;
        border-radius: 10px 10px 0 0;
    }

    #footer-right-box {
        background-image: none;
        background-color: #363636;
        width: 100%;
        min-height: 200px;
        border-radius: 0 10px 10px 0;
        padding-bottom: 30px;
    }

    #footer-intro * {
        color: #363636;
    }
}
/* /Footer */

/* Gallery */
.photo-gallery {
    color:#313437;
    background-color:#fff;
}

.photo-gallery p {
    color:#7d8285;
}

.photo-gallery h2 {
    font-weight:bold;
    margin-bottom:40px;
    padding-top:40px;
    color:inherit;
}

@media (max-width:767px) {
    .photo-gallery h2 {
        margin-bottom:25px;
        padding-top:25px;
        font-size:24px;
    }
}

.photo-gallery .intro {
    font-size:16px;
    max-width:500px;
    margin:0 auto 40px;
}

.photo-gallery .intro p {
    margin-bottom:0;
}

.photo-gallery .photos {
    padding-bottom:20px;
}

.photo-gallery .item {
    padding-bottom:30px;
}
/* /Gallery */
