/*
Theme Name: BushehrBest
Theme URI: https://bushehrbest.com/
Template: hello-elementor
Author: Tejex
Author URI: https://tejex.net
Description: قالب اختصاصی بوشهر بست
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.2.1740763065
Updated: 2025-02-28 20:47:45

*/
@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 100;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Thin.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Thin.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-ExtraLight.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Light.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Light.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Medium.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Medium.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-SemiBold.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-ExtraBold.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Black.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Black.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Bold.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Bold.woff') format('woff');
}

@font-face {
    font-family: 'PeydaWebFaNum';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/peyda/woff2/PeydaWebFaNum-Regular.woff2') format('woff2'),
         url('assets/fonts/peyda/woff/PeydaWebFaNum-Regular.woff') format('woff');
}



body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, td, th, input, textarea, button, label, select, option {
    font-family: 'PeydaWebFaNum', sans-serif !important;
}

body {
	background: #f5f5f5;
}
table td, table th {
	padding: 2px;
}
.mapboxgl-map {
    border-radius: 12px;
}
.kk-star-ratings .kksr-muted {
    display: none;
}


/* استایل لودر */
.custom-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* پس‌زمینه نیمه‌شفاف */
    backdrop-filter: blur(5px); /* افکت بلور */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-box {
    background: #ffffff; /* رنگ پس‌زمینه کادر */
    border-radius: 12px; /* گوشه‌های گرد */
    padding: 20px; /* پدینگ داخلی کمتر برای کادر کوچیک‌تر */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 200px; /* عرض کادر مربعی */
    height: 200px; /* ارتفاع کادر مربعی */
    display: flex; /* برای وسط‌چین کردن محتوا */
    flex-direction: column; /* چیدمان عمودی */
    justify-content: center; /* وسط‌چین عمودی */
    align-items: center; /* وسط‌چین افقی */
}

.loader-logo {
    max-width: 150px; /* اندازه لوگو کوچیک‌تر */
    height: auto;
    margin-bottom: 20px; /* فاصله زیر لوگو کمتر */
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 6px; /* فاصله بین نقطه‌ها کمتر */
}

.loading-dots span {
    width: 15px; /* اندازه نقطه‌ها کوچیک‌تر */
    height: 15px;
    background: #2f5ccd; /* رنگ نقطه‌ها */
    border-radius: 50%;
    display: inline-block;
    animation: loading 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
.bg-blur {
   background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px); /* افکت بلور برای پس‌زمینه */
}



/* Bottom Navigation Bar - آپدیت برای Elementor */
.bottom-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999 !important; /* بالاتر از عناصر Elementor */
    display: none; /* پنهان پیش‌فرض */
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex !important; /* فقط موبایل */
    }
}


/* Bottom Navigation Bar - آپدیت با دایره، فاصله، و رفتار اسکرول */
.bottom-nav {
    position: fixed !important;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: space-between; /* فاصله بین آیتم‌ها */
    align-items: center;
    padding: 8px 15px; /* افزایش پدینگ برای فاصله بیشتر */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
    display: none;
    transition: transform 0.3s ease-in-out; /* برای اسکرول */
    transform: translateY(0); /* حالت اولیه */
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex !important;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #212121 !important; /* رنگ تیره با !important */
    text-decoration: none;
    font-size: 10px;
    padding: 5px;
    transition: color 0.3s;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    fill: #292D32;
    margin-bottom: 2px;
}

.bottom-nav-item span {
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
}

.bottom-nav-item.active {
    color: #0095f6;
}

.bottom-nav-item.active svg {
    fill: #0095f6;
}

/* استایل خاص برای آیتم وسطی (+) */
.bottom-nav-item:nth-child(3) {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #2f5ccd;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(47, 92, 205, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.bottom-nav-item:nth-child(3) svg {
    width: 24px;
    height: 24px;
    fill: #fff !important; /* رنگ سفید با !important برای آیکون + */
}

.bottom-nav-item:nth-child(3) span {
    display: none;
}

/* افکت هوور برای همه آیتم‌ها */
.bottom-nav-item:hover {
    color: #2f5ccd;
}

.bottom-nav-item:hover svg {
    fill: #2f5ccd;
}

/* مخفی کردن با اسکرول به پایین */
.bottom-nav.hidden {
    transform: translateY(120px); /* محو با حرکت به پایین */
}

/* پدینگ برای محتوای اصلی */
body.elementor-page {
    padding-bottom: 100px !important;
}

.bottom-nav-item:nth-child(2) {
    padding-left: 40px;
}

.bottom-nav-item:nth-child(4) {
    padding-right: 40px;
}

/* Table styling for WordPress with organizational color and rounded corners */
table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    font-family: Arial, sans-serif !important;
    table-layout: auto !important;
}

/* Table header styling */
th {
    background-color: #2f5ccd !important;
    color: #ffffff !important;
    padding: 15px !important;
    text-align: right !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Table cell styling */
td {
    padding: 12px !important;
    text-align: right !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 14px !important;
    color: #333 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Hover effect for rows */
tr:hover {
    background-color: #f5f7fa !important;
}

/* Alternating row colors */
tr:nth-child(even) {
    background-color: #fafafa !important;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    th, td {
        min-width: 0 !important;
        font-size: 13px !important;
        padding: 10px 5px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 150px !important;
    }
}

/* Further adjustments for smaller screens */
@media screen and (max-width: 480px) {
    th, td {
        font-size: 12px !important;
        padding: 8px 3px !important;
        max-width: 100px !important;
    }
}

/* Styling for h2 within .matn class in WordPress content editor */
.matn h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #333 !important;
    position: relative !important;
    padding-right: 20px !important;
    margin: 30px 0 15px 0 !important;
    line-height: 1.4 !important;
}

.matn h2::before {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 4px !important;
    background-color: #2f5ccd !important;
    border-radius: 2px !important;
}

/* Styling for h3 within .matn class in WordPress content editor */
.matn h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #333 !important;
    position: relative !important;
    margin: 25px 0 10px 0 !important;
    line-height: 1.4 !important;
}

.matn h3::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: -5px !important;
    width: 50px !important;
    height: 2px !important;
    background-color: #2f5ccd !important;
    border-radius: 1px !important;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .matn h2 {
        font-size: 20px !important;
        padding-right: 15px !important;
        margin: 25px 0 12px 0 !important;
    }

    .matn h2::before {
        width: 3px !important;
    }

    .matn h3 {
        font-size: 18px !important;
        margin: 20px 0 8px 0 !important;
    }

    .matn h3::after {
        width: 40px !important;
        height: 2px !important;
    }
}

/* Further adjustments for very small screens */
@media screen and (max-width: 480px) {
    .matn h2 {
        font-size: 18px !important;
        padding-right: 10px !important;
        margin: 20px 0 10px 0 !important;
    }

    .matn h2::before {
        width: 2px !important;
    }

    .matn h3 {
        font-size: 18px !important;
        margin: 15px 0 8px 0 !important;
    }

    .matn h3::after {
        width: 30px !important;
        height: 1px !important;
    }
}