﻿@font-face {
    font-family: 'bkoodakbold';
    src: url('fonts/BKoodakBold.eot') format('embedded-opentype'), url('fonts/BKoodakBold.ttf') format('truetype'), url('fonts/BKoodakBold.woff') format('woff');
}

:root, [data-bs-theme=light] {
    --bs-primary: #38bdf8;
    --bs-secondary: #f59e0b;
    --bs-success: #17B8A6;
    --bs-info: #6c63ff;
    --bs-warning: #ffc700;
    --bs-danger: #F50057;
}

body {
    font-family: bkoodakbold,'bkoodakbold';
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.navbar-logo {
    height: 95px;
    margin-top: -22px;
    margin-bottom: -40px;
    z-index: 100;
    position: relative;
}

@media (max-width: 768px) {
    .navbar-logo {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.carousel-indicators .active{
    background-color: var(--bs-primary);
}

.navbar-brand {
    font-size: xx-large !important;
}
@media (min-width: 992px) {
    .responsive-rounded {
        border-radius: var(--bs-border-radius-pill);
    }
}

/* هدف قرار دادن کپشن در حالت نمایش دسکتاپ (md) و بالاتر */
@media (min-width: 768px) {
    .carousel-caption {
        /* 1. لغو تنظیمات پیش‌فرض بوت‌استرپ */
        left: auto !important;
        bottom: auto !important;
        /* 2. تنظیم عرض بر روی دو سوم صفحه (تقریباً 66.6%) */
        width: 66.66%;
        /* 3. فاصله از سمت راست (مثلاً 5% یا هر مقداری که مد نظر شماست) */
        right: 10%;
        /* 4. جادوی تراز عمودی (Vertical Alignment) */
        top: 50%;
        transform: translateY(-50%);
        /* 5. بهینه‌سازی برای خوانایی بیشتر محتوا */
        padding: 2rem;
        text-align: right; /* چون از سمت راست شروع می‌شود، تراز راست معمولاً زیباتر است */
        /* اگر محتوا خیلی زیاد شد، این خط کمک می‌کند اسکرول نشود */
        max-height: 90%;
        overflow: hidden;
    }
}

.footer-container {
    direction: rtl;
}

/* callout */

.footer-callout {
    background: var(--bs-primary);
    padding: 40px 0;
}

.callout-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/* main footer */

.footer-main {
    background: #1f1f1f;
    color: #e4e4e4;
    padding: 60px 0;
    font-size: large;

}



.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.9;
    color: #cfcfcf;
    font-size: medium;
}

/* titles */

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
}

/* links */

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #cfcfcf;
        text-decoration: none;
        transition: all .25s ease;
    }

        .footer-links a:hover {
            color: white;
            padding-right: 6px;
        }

/* contact */

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-left: 6px;
}

/* bottom */

.footer-bottom {
    background: #181818;
    color: #bdbdbd;
    padding: 18px;
    font-size: .9rem;
}



.footer-contact a {
    color: #cfcfcf;
    text-decoration: none;
    transition: all .25s ease;
}

    .footer-contact a:hover {
    }

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

/*.paw-divider {
    background: #1f1f1f;
    overflow: hidden;
    padding: 12px 0;
}

.paw-track {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 22px;
    animation: pawWalk 8s linear infinite;
}

.paw {
    color: var(--bs-primary);
}

    .paw.heart {
        color: var(--bs-secondary);
    }

@keyframes pawWalk {
    0% {
        transform: translateX(-20px);
    }

    50% {
        transform: translateX(20px);
    }

    100% {
        transform: translateX(-20px);
    }
}*/

.icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfcfcf;
    text-decoration: none;
    transition: .2s;
}

    .icon-link:hover {
        color: var(--bs-primary);
    }

.icon-btn {
    color: #cfcfcf;
    transition: .2s;
}

    .icon-btn:hover {
        color: var(--bs-primary);
        transform: translateY(-3px);
    }



.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* دکمه آیکون */

.icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2b2b2b;
    color: #cfcfcf;
    transition: all .25s ease;
}

    /* سایز آیکون */

    .icon-btn .icon {
        width: 20px;
        height: 20px;
    }

    /* hover */

    .icon-btn:hover {
        background: var(--bs-primary);
        color: white;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 18px rgba(0,0,0,.35);
    }


/* فقط برای موبایل */
@media (max-width: 767.98px) {

    .footer-contact {
        text-align: center;
    }

        /* عنوان بخش */
        .footer-contact h4,
        .footer-contact h5 {
            text-align: center;
        }

        .footer-contact .icon-link {
            justify-content: center;
        }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .footer-contact {
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {

    .footer-contact {
        background: var(--bs-gray-700);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

.cms-featured-image-container {
    position: relative;
/*    box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
    overflow: hidden;
    transition: transform 0.3s ease;
}
    

/* استایل خود تصویر */
.cms-featured-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px; /* جلوگیری از بزرگ شدن بیش از حد در دسکتاپ */
}

@media (max-width: 768px) {

    .cms-featured-image {
        max-height: 300px;
    }
}

.page-header{
    color: var(--bs-secondary);
}






