@font-face {
    font-family: 'Yekan';
    src: url('../fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
a {
    text-decoration: none !important;
}

body { font-family: 'Yekan', Tahoma, sans-serif; background-color: #fff; }
.bg-dark-custom { background-color: rgba(52, 55, 59, 0.94) !important; }
.text-gold { color: #d4a74c; }
.btn-gold { background-color: #d4a74c; color: #34373b; }
.btn-gold:hover { background-color: #b88d3f; color: #fff; }
.btn-outline-gold { border: 1px solid #d4a74c; color: #d4a74c; }
.btn-outline-gold:hover { background-color: #d4a74c; color: #34373b; }
.service-box { background: #fff; padding: 20px; border-radius: 8px; text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: 0.3s; }
.service-box:hover { transform: translateY(-5px); color: #d4a74c;cursor: pointer /* طلایی روی هاور */}
.about-images { position: relative; }
.about-images img.img-overlay { position: absolute; top: 20px; left: 20px; width: 80%; opacity: 0.9; }

/*__________________________ slider btn ------------------------*/

.carousel-item {
    position: relative;
}

.slider-btn {
    position: absolute;
    bottom: 30px; /* فاصله از پایین عکس */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 25px;
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
    font-family: 'Vazir', sans-serif;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #d4af37; /* طلایی */
    color: #000; /* مشکی */
    border-color: #d4af37;
}

/*__________________________ slider btn ------------------------*/


.text-justify {
    text-align: justify !important;
}
.back_black{
    background-color: #000 !important;
}
.img-overlay-container {
    position: relative;
    overflow: hidden;
}

.img-overlay-container img {
    display: block;
    width: 100%;
    transition: transform 0.4s ease;
}

.img-overlay-container:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    right: 0; /* چون RTL هستی */
    bottom: 0;
    left: 0;
    background: rgba(212, 167, 76, 0.7); /* طلایی با شفافیت */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.img-overlay-container:hover .overlay {
    opacity: 1;
}
.radius_7_375_rem {
    border-radius: 7.375rem !important;
}
#page_banner{
    width: 100%;
    height: 400px;
    background-color: rgba(52, 55, 59, 0.94) !important;
}

/*__________________________ Page Header ------------------------*/

.page-header {
    background-color: #111;
    border-bottom: 1px solid #d4a74c;
    margin-top: 85px; /* یا همون ارتفاع منو */

}
.page-title {
    color: #d4a74c;
    font-weight: bold;
    font-size: 26px;
}
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-item a {
    color: #d4a74c;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
}
.breadcrumb-item.active {
    color: #ccc;
}

/*__________________________ Page Header ------------------------*/

/*__________________________ Services ------------------------*/
.services-section {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    color: #d4a74c;

}
.services-section a {
    text-decoration: none;
    color: #d4a74c;
}
.services-section h2 {
    color: #d4a74c;
    font-weight: bold;
    margin-bottom: 40px;
}
.services-box {
    background-color: #111;
    border: 1px solid #d4a74c;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.services-box:hover {
    background-color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(255, 215, 0, 0.4);
}
.services-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #d4a74c;
}
.services-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.services-desc {
    color: #ccc;
    font-size: 15px;
}
/*__________________________ Services ------------------------*/


/*__________________________ Portfolio ------------------------*/
/* Portfolio Section */
.portfolio-section {
    padding: 50px 0;
}
.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    background-color: #111;
    border: 1px solid #d4a74c;
    flex: 0 0 auto; /* مهم برای اسکرول افقی */
    width: 80%; /* عرض کارت در موبایل */
    max-width: 350px; /* در دسکتاپ محدودیت */
    transition: transform 0.3s ease, filter 0.3s ease;
}
.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    filter: brightness(0.85);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}
.portfolio-info {
    padding: 15px;
    text-align: center;
}
.portfolio-title {
    font-size: 18px;
    font-weight: bold;
    color: #d4a74c;
    margin-bottom: 5px;
}
.portfolio-tech {
    font-size: 14px;
    color: #bbb;
}

/* Horizontal Scroll in Mobile */
.horizontal-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll .portfolio-item {
    scroll-snap-align: start;
}

/* Hide scrollbar in Webkit browsers */
.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .horizontal-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        overflow: visible;
    }
    .portfolio-item {
        width: 100%;
        max-width: 100%;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .horizontal-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item {
        width: 100%;
        max-width: 100%;
    }
}
/*__________________________ Portfolio ------------------------*/

/*__________________________ Portfolio Detail------------------------*/

.lb-prev, .lb-next {
    background-size: 190px 190px !important;
    width: 140px !important;
    height: 140px !important;
    opacity: 1 !important;
    margin-top: 18px !important;
}

.lb-prev {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="20,8 12,16 20,24" fill="%23d4a74c"/></svg>') !important;
}

.lb-next {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><polygon points="12,8 20,16 12,24" fill="%23d4a74c"/></svg>') !important;
}
.lb-prev:hover, .lb-next:hover {
    filter: brightness(1.2);
}

/*__________________________ Portfolio Detail------------------------*/


/*__________________________ contact us ------------------------*/
.contact-form {
    background-color: #ffffff;
    border: 1px solid #d4a74c !important;
    border-radius: 10px;
    padding: 30px;
    color: #000 !important;
}
/* استایل زمینه مشکی و متن طلایی برای فیلدها */
.form-control {
    background-color: transparent;
    border: 1px solid #d4a74c;
    color: #000 !important; /* متن داخل فیلد طلایی */
    border-radius: 8px;

}

/* موقع فوکوس روی فیلد */
.form-control:focus {
    background-color: transparent;
    color: #d4a74c;
    border-color: #d4a74c;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* سفید کردن placeholder */
::placeholder {
    color: #fff;
    /*opacity: 0.9 !important;*/
}
/* برای مرورگرهای قدیمی‌تر */
:-ms-input-placeholder {
    color: #fff;
}
::-ms-input-placeholder {
    color: #fff;
}
/* دکمه */
.btn-gold {
    background-color: #d4a74c;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}
.btn-gold:hover {
    background-color: #e6c200;
}
/*__________________________ contact us ------------------------*/

/*__________________________ about us ------------------------*/

/* بخش اصلی متن */
.about-content {
    padding: 60px 0;
}
.about-text {
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
}
/* ویژگی‌ها */
.feature-box {
    border: 1px solid #d4a74c;
    padding: 20px;
    border-radius: 12px;
    background-color: #111;
    transition: 0.3s;
    height: 100%;
    color: #ffffff;
}
.feature-box:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #d4a74c;
}

/*__________________________ about us ------------------------*/

/*__________________________ posts ------------------------*/

/* کارت‌ها */
.article-card {
    background-color: #fff;
    border: 1px solid #d4a74c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}
.article-card img {
    transition: transform 0.3s;
    width: 100%;
}
.article-card:hover img {
    transform: scale(1.05);
}
.article-card-body {
    padding: 20px;
}
.article-card-body h5 {
    color: #000;
}
.article-card-body p {
    color: #555;
    opacity: 0.9;
}
/* دکمه طلایی */
.btn-gold {
    background-color: #d4a74c;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.btn-gold:hover {
    background-color: #e6c200;
}

/*__________________________ posts ------------------------*/

/*__________________________ post detail ------------------------*/

.article-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 20px;
}
.article-meta {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
}
.article-meta span {
    display: inline-block;
}
.article-meta .author {
    float: right;
}
.article-meta .date {
    float: left;
}
.article-content {
    line-height: 1.8;
}
/* تگ‌ها */
.article-tags {
    margin-top: 20px;
}
.article-tags span {
    display: inline-block;
    background-color: #d4a74c;
    color: #000;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    border-radius: 15px;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}
.article-tags span:hover {
    background-color: #e6c200;
}

/* دسته‌بندی‌ها */
.category-list {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.category-list h5 {
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #000;
}
.category-list ul {
    list-style: none;
    padding: 0;
}
.category-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
/* آخرین مقالات */
.recent-articles {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}
.recent-articles h5 {
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #000;
}
.recent-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.recent-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-left: 10px;
    object-fit: cover;
}
.recent-item h6 {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}
/* ریسپانسیو */
@media (max-width: 768px) {
    .article-meta .author, .article-meta .date {
        float: none;
        display: block;
        text-align: center;
    }
}

/*__________________________ post detail ------------------------*/

/*__________________________ login ------------------------*/

.login-box {
    max-width: 400px;
    margin: 80px auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
    color: #000;
}
.login-box h3 {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}
.form-control {
    border-radius: 8px;
}
.input-group-text {
    background-color: #d4a74c;
    color: #000;
    border-radius: 8px 0 0 8px;
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}
.btn-gold {
    background-color: #d4a74c;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.btn-gold:hover {
    background-color: #e6c200;
}

/*__________________________ login ------------------------*/


/*__________________________ consulting ------------------------*/

.consult-box {
    max-width: 450px;
    margin: 60px auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
}
.consult-box h3 {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}
.form-control {
    border-radius: 8px;
}
.input-group-text {
    background-color: #d4a74c;
    color: #000;
    border-radius: 8px 0 0 8px;
}
.btn-gold {
    background-color: #d4a74c;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.btn-gold:hover {
    background-color: #e6c200;
}

/*__________________________ consulting ------------------------*/

/*__________________________ otp code ------------------------*/

.text-gold { color: #d4af37; }
.border-gold { border: 1px solid #d4af37 !important; }
.border-bottom-gold { border-bottom: 1px solid #d4af37 !important; }
.btn-gold {
    background-color: #d4af37;
    color: #000;
    border: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: #b89b30;
    color: #fff;
}

/*__________________________ otp code ------------------------*/

