@font-face {
    font-family: "IranSans";
    font-weight: bold;
    src: url("../fonts/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2"),
    url("../fonts/IRANSansWeb(FaNum)_UltraLight.woff") format("woff"),
    url("../fonts/IRANSansWeb(FaNum)_UltraLight.ttf") format("ttf");
}

html {
    scroll-behavior: smooth;
}




/* -- scroll -- */
body::-webkit-scrollbar {
  width: 10px;          
}
body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
  background: #f11867;          

}
body::-webkit-scrollbar-thumb:hover {
  background: #f11867;
}
.my-scrollable-div::-webkit-scrollbar {
  width: 8px;
}
.my-scrollable-div::-webkit-scrollbar-track {
  background: lightblue;
}



body {
    font-family: 'IranSans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background-color: #ffffff;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    margin-bottom: 0px;
}

a {
    color: #ffffff;
}

a:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: .9;
}

section {
    padding: 80px 0;
}


.block-title {
    max-width: 700px;
    margin: 0 auto;
}

.topmargin-sm {
    margin-top: 30px !important; 
}

.topmargin-lg {
    margin-top: 60px !important;
}

.primary-btn {
    background: #ffffff;
    color: #222729;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 20px;
}

.primary-btn:hover {
    color: #222729;
    opacity: .9;
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin: 20px 5px 0 5px;
}

.secondary-btn:hover {
    background-color: #ffffff;
    color: #2d3234;
}

.navbar {
    background-color: #ffffff;
    z-index: 9999;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #222729;
    text-transform: uppercase;
    margin: 0 15px;
}

.nav-link:hover {
    color: #222729;
    opacity: .9;
}

.nav-item i {
    font-size: 20px;
    margin-left: 20px;
    color: #222729;
    
}

.navbar-toggler {
    font-size: 30px;
    color: #000000;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/*/////////////////////////////////////////
Properties
////////////////////////////////////////*/

#properties {
   color: #222729;
   margin-top: 60px; 
}

#properties h2 {
    font-size: 46px;
    font-weight: 400;
    text-align: right;
}

#properties p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.8;
}

.property-container {
    position: relative;
    overflow: hidden;
    margin: 18px 0;
}

.property-container img {
    max-width: 100%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}

.property-container:hover img {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.property-title, .property-title-sm {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    z-index: 9000;
    text-align: right;
    
}

.property-title h3 {
    font-size: 36px;
}

.property-title-sm h3 {
    font-size: 20px;
}

.property-title-sm span {
    font-size: 12px;
}

.text p{
    text-align: justify;
}
.property-button, .property-button-sm {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 9000;
}

.property-button-sm a {
    font-size: 12px;
}

.property-icon {
    position: absolute;
    bottom: 16px;
    left: 20px;
    z-index: 9000;
}

.property-icon i {
    font-size: 22px;
    color: #ffffff;
}

/*/////////////////////////////////////////
Call to Action
////////////////////////////////////////*/

#call-to-action {
    width: 100%;
    background-color: #2d3234;
    border-bottom: 1px solid hsla(0,0%,100%,.05);
    font-size: 200;
    text-align: center;
}

#call-to-action h3 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

#call-to-action p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.8;
}

/*/////////////////////////////////////////
Copyright
////////////////////////////////////////*/

#copyright {
    background-color: #222729;
    color: #919394;
    padding: 15px 0;
    text-align: center;
}

#copyright small {
    font-weight: 200;
}

#copyright a {
    color: #ffffff;
}

/*/////////////////////////////////////////
Media Queries
////////////////////////////////////////*/

@media (max-width: 575.98px) { 
    /*//////////// properties ////////////*/
    .property-title h3 {
        font-size: 20px;
    }
    .property-title span {
        font-size: 12px;
    }
    .property-button a {
        font-size: 12px;
    }
    /*//////////// Footer ////////////*/
    .list-inline-item {
        display: block;
        margin: 25px 0 !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) { 
    /*//////////// properties ////////////*/
    .property-title-sm h3 {
        font-size: 36px;
    }
    .property-button-sm a {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) { 
    /*//////////// hero ////////////*/
    .hero-container-mobile, .mobile-hero {
        display: none;
    }
    
    .hero-details {
        max-width: 350px;
        top: 70px;
    }
    .hero-details h1 {
        font-size: 26px;
    }
    .hero-details p {
        font-size: 14px;
    }
    /*//////////// properties ////////////*/
    .property-title h3 {
        font-size: 20px;
    }
    .property-title span {
        font-size: 12px;
    }
    .property-button a {
        font-size: 12px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) { 
    /*//////////// hero ////////////*/
    .hero-container-mobile, .mobile-hero {
        display: none;
    }
    .hero-details {
        max-width: 400px;
        top: 100px;
    }
    .hero-details h1 {
        font-size: 36px;
    }
    .hero-details p {
        font-size: 16px;
    }
}

@media (min-width: 1200px) { 
    .hero-container-mobile, .mobile-hero {
        display: none;
    }
}






.gallery-item {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            margin-bottom: 15px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }
        .gallery-item img {
            width: 100%;
            height: 200px; /* ارتفاع ثابت برای عکس‌ها */
            object-fit: cover; /* پوشش دادن فضا بدون تغییر نسبت ابعاد */
            display: block;
            border-radius: 8px;
        }
        .filter-buttons button {
            margin: 5px;
            border-radius: 20px;
            padding: 8px 18px;
            font-weight: 500;
        }
        .filter-buttons button.active {
            background-color: #f11867;
            color: white;
            border-color: #f11867;
        }
        .modal-dialog {
            max-width: 800px;
            margin: 20px auto;
        }
        .modal-content {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        .modal-body {
            text-align: center;
            padding: 20px;
        }
        .modal-body img {
            max-width: 100%;
            max-height: 70vh; /* حداکثر ارتفاع برای عکس در مودال */
            border-radius: 8px;
            display: block;
            margin: 0 auto;
        }
        .modal-header .btn-close {
            margin: 0;
        }
        .modal-footer {
            border-top: none;
            padding-bottom: 20px;
        }
        .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 10px;
            font-size: 0.9em;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .gallery-item:hover .caption {
            opacity: 1;
        }