﻿@import url(fontiran.css);
body {
    margin: 0 auto;
    padding-bottom: 100px;
    font-family: "PeydaWebFaNum";
    direction: rtl;
    background-color: #f0dccc /*#ecdcc1*/;
    z-index: 1;
}
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/images/bgimage.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.12;
        z-index: 0;
        pointer-events: none;
    }
.center {
    text-align :  center;
}
.right {
    text-align: right;
}
.pages-title-bar {
    margin:-30px 15px 25px;
}
.pages-title {
    
    position: relative;
    margin: 0px;
    color: #550231;
    font-family: "far.homa";
    font-size: 30px;
    text-shadow: -1px 2px 3px #9c849a;
}
.item-title {
    margin: auto;
    color: #803761;
    font-family: "far.homa";
    font-size: 24px;
    text-shadow: -1px 2px 3px #9c849a;
}
.item-colorfull-title {
    color: #c00973;
    font-size: 30px;
}
.container {
    position: relative;
    /*width: 87%;*/
    height: 100%;
    /*margin: 30px 80px 0 80px;*/
    /* padding-left: 40px;
    padding-right: 40px;*/
    /*border-radius: 10px;*/
    /*box-shadow: -5px 4px 20px 12px rgba(0, 0, 0, 0.07);*/
    /*background-image: url*/
}
.section_header {
    display: flex;
    height: 70px;
    align-items: end;
    direction: ltr;
}
    .section_header .logo-image {
        position : relative;
        /*left: 30px;  */         
        width: 165px;
        height: 93px;  
        top:40px;
        background-image: url("/images/MehrLogo.png");
        background-position : left center;
        background-size: contain; 
        background-repeat: no-repeat;        
    }

    .section_header .navbar-top {
        margin-left : auto;
        position: relative;
        /*right: 20px;*/
        width: auto;  
        bottom : 10px;
        direction : rtl;
    }
    .section_header .navbar-top .nav-link {
        background-color: #752d57;
        border: 1px solid #f2c716;
        padding: 1px 10px;
        border-radius: 999px;
        font-family: "far.homa" !important;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.25s ease;
        text-align: center;
        position: relative;
        margin-right: 10px;
        color: #a5c13d;
        text-decoration: none;
    }
    .section_header .navbar-top .nav-link:hover {
        background-color: rgba(127, 22, 87, 0.8);
       
    }
.nav-link.active {
    background-color: rgba(128, 55, 97, 0.7);
}

    /* خطوط سبز بالا و پایین لینک فعال */
   /* .nav-link.active::before,
    .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #a5c13d;
    }*/

    /*.nav-link.active::before {
        top: -2px;
    }

    .nav-link.active::after {
        bottom: -2px;
    }*/

.bx-shadow {
    box-shadow: -1px 2px 8px 0px rgba(0, 0, 0, 0.25)
}
.section_main {
    height: 553px; 
    align-items : flex-end;
    direction: ltr;
    display : flex;
    flex-direction : column;
}
.slide {
    display: none;
}

    .slide.active {
        display: flex;
    }

.prev-btn, .next-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: #73851e;
    color: #fff;
    border: none;
    border-radius : 50%;
    font-size: 24px;
    /*padding: 10px;*/
    cursor: pointer;
}

.prev-btn {
    right: 30px;
}

.next-btn {
    left: 10px;
}
    .section_main .section_service {
       
        position: relative;
        display: flex;
        height: 79%;
        width: 100%
    }
.section_detail {        
    position: relative;
    display: flex;
    height: 79%;
    width: 100%;
    font-size: 24px;
    color: #350520;
}

.rsvlink {
    background-color: #879a2e;
    border: 1px solid #afc44d;
    padding: 4px;
    width: 27%;
    height: 11%;
    margin: auto;
    border-radius: 15px;
    font-family: "far.homa" !important;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;    
    color: #fff;
    text-decoration: none;
    z-index: 5;
}
.rsvlink:hover {
    background-color: #afc44d;
}
    .rsvlink a,
    .rsvlink a:visited,
    .rsvlink a:hover,
    .rsvlink a:active {
        color: #fff;
        text-decoration: none;
    }
.section_service a {    
    text-decoration: none;    
}

    .service-item a {        
        text-decoration: none;
    }
    .service-item a:hover .item-title {
        color: #c00973;
        transform: scale(1.1);
    }
.section_product a {
    text-decoration: none;
}

.product-item a {
    text-decoration: none;
}

    .product-item a:hover .item-title {
        color: #c00973;
        transform: scale(1.1);
    }
    
.section_service_image {   
    width: 595px;
    
    position : relative;            
    position: relative;
    margin-left: 30px;            
}
.service_image {
    width: 1255px;
}
.section_service_title  {               
    text-align: center;
    position: relative;
/*    flex: 1;*/
}
.thumbnail_img {
    height: 150px;
}
.thumbnail_text {
    position: relative;
    bottom: 37px;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    gap: 60px;
}

.video-gallery {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumbnail_clip {
    display: flex;
    gap: 15px;
    overflow: hidden;
    flex: 1;
}

.video-thumb {
    flex: 0 0 calc((100% - 75px) / 6);
}

    .video-thumb img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }

.fix_title1 {
    position: relative;
    margin: 0px;
    color: #550231;
    font-family: "far.homa";
    font-size: 50px;
    text-shadow: -1px 2px 3px #9c849a;
}
.fix_title2 {
    position: relative;
    margin: 0px;
    color: #73851e;
    font-family: "far.homa";
    font-size: 32px;
    font-weight: 900;
    text-shadow: -1px 2px 3px #9c849a;
}
.fix_title3 {
    position: relative;
    margin: 0px;
    color: #000;
    font-family: "far.homa";
    font-size: 22px;    
    text-shadow: -1px 2px 3px #9c849a;
}
.product_title {
    width: 100%;
    position: relative;
    text-align: center;
    color: #74861f;
    font-family: "far.homa";
    font-size: 22px;    
}
.section_product {
    display: flex;   
    width: 75%;
    margin : auto;  
}
/*.section_product a {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 80%;
}*/
.section_product_image {
    width: 23%;
    margin: auto;  
    padding: 10px;
    border : 1px solid #afc44d;
    border-radius: 15px;
    text-align : center;
}
.product_image {
    width: 160px;    
} 
.section_product_title {
    text-align: center
}
.contact {
    position: relative;
    margin: auto;
    height: 540px;
    direction: rtl;    
    width: 96%;
    flex-direction: row;   
    gap: 10px;        
   /* align-items: flex-start;*/
}
.contact-info {
    width: 42%;
    font-family: "far.homa";
    font-size: 22px;
    margin-right: 20px;
    color: #550231;
}
    .contact-info img{
        width: 28px;    
    }
    .contact-info h2 {
        color: #803761;
    }
    .contact-info a {
        color: #550231;
        text-decoration: none;
    }
    .contact-info a:visited {
        color: #350520;
    }
.contact-phone {
    color: #a92c73;
}
.contact-whatsapp {
    color: #20bb3a; /* سبز واتساپ */
}
.contact-location {
    color: #c61419; /* سبز زیتونی طب سنتی */
}
.contact-clock {
    color: #ea8319; /* طلایی گرم */
}
.contact-map {
    width: 58%;
    text-align: center;  
    align-content: end;
}
.section-servicelist {
    position: relative;
    height: 540px;
    margin: auto;
    width: 96%;
    border: 2px #957889;
    border-radius: 10px;    
}
.section-productlist {
    position: relative;
    height: 540px;
    margin: auto;
    width: 96%;
    border: 2px #957889;
    border-radius: 10px;
}

.pageframe {
    /* background-image: url("/images/Frame.png");*/
    width: 100%;
    border: 3px solid #a8b762;
    border-radius: 20px;
    height: 550px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*gap: 20px;*/
    text-align: center;    
}
.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*gap: 40px;*/
    text-align: center;    
}
.service-item {
    /*width: 225px;  */
    border: 2px #957889; 
    margin: 5px 40px;
}
    .service-item img{
        width: 240px;
    }
.product-item {
    /*width: 225px;*/
    border: 2px #957889;
    margin: 5px 40px;
}
    .product-item img {
        width: 240px;
    }
.product-title {
    color: #803761;    
    font: "far.homa";
    font-weight: 700;
}
.product-desc {
    color: #c00973;    
    font: "far.homa";
    font-weight: 700;
}
.product-price {
    color: #73851e;    
    font: "far.homa";
    font-weight: 700;
}
.product-item p {
    font-size: 20px;
}

/*@media (max-width: 768px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}*/
.servicedetail {
    direction: rtl;
    position: relative;
    height: 553px;
    margin: auto;
    width: 60%;    
}

.detail-text {
    text-align: justify;
    font: 20px "far.homa";
    color: #803761;
    margin : -30px 20px 0;
}
.detail-img {
    width : 400px;
}
.detail-rsv-button {
    background-color : #879a2e;
    border : 1px solid #afc44d;
    padding : 1px 18px;
    border-radius : 999px; 
    font-size : 18px;
    cursor : pointer;
    transition : all 0.25s ease;
    text-align : center;
    position : absolute;
    right :180px;
    bottom : 200px;
    text-decoration : none;
    color : #ffffff;
    z-index : 5;
    }
.general-text {
    font-size: 24px;
    font-weight: 500;
    color: #550231;
    text-align: center;
    margin-top: 200px;
    text-shadow: -1px 2px 3px #9c849a;
}
.section-gift {    
    text-align: center;
    font-size: 20px;
    color: #350520;
}
.section-gift-button {
    width: 60%;
    display: flex;
    margin: auto;
}
.gift-button{
    background-color: #879a2e;
    border: 1px solid #afc44d;
    padding: 12px;
    width: 18%;
    margin:auto;
    border-radius: 20px;
    font-family: "far.homa" !important;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    color: #fff;
    text-decoration: none;
    z-index: 5;
    display: grid;
}
    .gift-button:hover {
        background-color: #afc44d;
    }

    .gift-button a,
    .gift-button a:visited,
    .gift-button a:hover,
    .gift-button a:active {
        color: #fff;
        text-decoration: none;
    }
    .gift-button img{
        width: 60px;
        margin: auto;
    }
@media (max-width: 768px) {
    body:: before {
        background-image: url("/images/Mobilebgimage.jpg");
    }

    .section_header {
        height: auto;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        direction: rtl;
        margin-top: 20px;
    }

        .section_header .logo-image {
            width: 130px;
            height: 70px;
            top: 0;
            margin-bottom: 20px;
        }

        .section_header .navbar-top {
            width: 100%;
            position: static;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            direction: rtl;
        }

            .section_header .navbar-top .nav-link {
                margin-right: 0;
                padding: 3px 8px;
                font-size: 15px;
                white-space: nowrap;
            }

    .section_main .section_service {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        /*min-height: 650px;*/
        margin-top: 20px;
    }

    /* تصویر اسلایدر */
    .section_service .slide {
        width: 100%;
        height: auto;
    }

    .section_service_image {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .service_image {
        width: 100%;
        height: auto;
        display: block;
    }

    /* متن روی فضای اسلایدر */
    .section_service_title {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0 !important;
        text-align: center;
        z-index: 3;
    }

    .main_service_text {
        position: relative;
        transform: translateY(-129px);
        width: 90%;
        z-index: 10;
        text-align: end;
        /* margin: auto;*/
    }

    .fix_title1 {
        font-size: 22px;
        text-align: end;
    }

    .fix_title2 {
        font-size: 16px;
        transform: translateX(-50px);
    }

    .fix_title3 {
        font-size: 16px;
        text-align: end;
    }

    .main_service_text img {
        transform: translateX(15px);
    }

    /* thumbnail پایین */
    .thumbnail_img {
        height: auto;
        display: grid;
        transform: translateY(-118px);
    }
    /*.thumbnail_img img{
        width: 390px;
    }*/
    .thumbnail_text {
        font-size: 13.5px;
        gap: 25px;
        bottom: 28px;
    }
    /* رزرو پایین */
    .rsvlink {
        transform: translateY(-120px);
        width: 30%;
        height: auto;
        font-size: 20px;
    }

    .prev-btn, .next-btn {
        position: absolute;
        transform: translateY(-150px);
        width: 22px;
        height: 22px;
        font-size: 14px;
        margin-left: -15px;
        margin-right: -25px;
    }

    .product_title {
        transform: translateY(-120px);
        font-size: 18px;
    }

    .product-item p {
        font-size: 17px;
    }

    .section_product {
        transform: translateY(-120px);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .section_product_image {
        width: 100%;
    }

    .pages-title {
        font-size: 21px;
        text-wrap: nowrap;
    }

    .services-list {
        margin: 10px 0px;
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }

    .product-list {
        margin-right: 0px;
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }

    .service-item {
        margin: 0px;
    }

        .service-item img {
            width: 135px;
        }

    .product-item {
        margin: 0px
    }

        .product-item img {
            width: 135px
        }

    .pageframe {
        justify-content: center;
        height: auto;
        display: flow !important;
    }

    .item-title {
        font-size: 22px;
    }

    .item-colorfull-title {
        font-size: 25px;
    }

    .pages-title-bar {
        margin: -10px 5px 15px;
    }

    .section_detail {
        display: inline !important;
    }

        .section_detail p {
            font-size: 21px !important;
            text-align: justify;
            margin: 20px 10px;
            white-space: pre-wrap;
            direction: rtl;
        }

        .section_detail .rsvlink {
            transform: translateY(-5px);
        }

        .section_detail .thumbnail_img {
            transform: translateY(5px);
        }

    .detail-img {
        width: 310px;
        margin-top: 20px !important;
        margin: auto;
    }

    .contact-info {
        width: 90%;
        margin: 20px;
    }

    .contact-map iframe {
        width: 310px;
        height: 241px;
        margin: 5px;
    }

    .general-text {
        font-size: 22px;
    }

    .section-gift img {
        width: 350px;
    }
    .section-gift-button{
        width: 94%;
        margin-top: 40px !important;
    }
    .gift-button{
        width: 35%;
    }
    .gift-button img {
        width: 40px;
    }
}