


/* بخش سازه‌های فلزی */
:root {
    --primary: #0F3D6E;
    --secondary: #082340;
    --accent: #F47A20;
    --bg-light: #F8FAFC;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.60);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow-lg: 0 25px 50px -12px rgba(8, 35, 64, 0.20);
    --shadow-xl: 0 40px 80px -16px rgba(8, 35, 64, 0.25);
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart_right{
    background-image: url('../images/sazefelezi2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px !important;
    position: relative;
    overflow: hidden;
    /* transition: 0.2s; */
    box-shadow: 0px 0px 30px 5px rgba(8, 35, 64, 0);
}
.cart_right:hover{
    transform: translateY(-10px) !important;
    /* box-shadow: 0px 0px 30px 5px #08234061 ; */
}
.image_layer{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.292); 
    z-index: 1;
}
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    cursor: default;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(244, 122, 32, 0.25);
    background: rgba(255, 255, 255, 0.80);
}
.feature-card:hover::before {
    height: 100%;
}
.feature-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(244, 122, 32, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 14px;
    transition: var(--transition);
}
.feature-card:hover .icon-wrap {
    background: var(--accent);
    color: #fff;
    transform: scale(1.02);
}
.feature-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.feature-card .card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 44px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(244, 122, 32, 0.30);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 21vw;
    transition: 1s;
}
.btn-accent:hover {
    background-color: #e06a18;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(244, 122, 32, 0.40);
}

/* بخش محصولات */
.div_product{
    min-width: 220px; 
    flex: 0 0 auto;
    width: 240px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.5s !important;
}
.div_product:hover{
    box-shadow: 0 5px 30px rgba(244, 122, 32, 0.3);
    cursor: pointer;
    transform: translateY(-10px) !important;
}
.div_product a{
    transition: 0.5 !important;
}
.div_product a:hover{
    color: #0f3d6e !important;
}
.btn_left,.btn_right{
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #F47A20;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px; 
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.btn_right{
    right: 0;
}
.btn_left{
    left: 0;
}
#movieScroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#movieScroll::-webkit-scrollbar {
    display: none;
}
.btn_left:disabled, .btn_right:disabled {
    /* opacity: 0.2 !important;
    cursor: not-allowed;
    pointer-events: none;
    background: #ccc !important; */
    display: none;
}

/* بخش قیمت امروز */
.select_price_today{
    border: solid #E2E8F0 2px;
    width: 95vw;
    border-radius: 10px;
}
.select_price_today input:focus-visible{
    outline: none;
}
.select_price_today input:focus{
    outline-offset: none;
}
.btn_select_price{
    border-color: #e9ebed6f;
    border-radius: 10px;
    transition: 0.3s;
}
.btn_select_price:hover{
    color: #ffffff;
    background-color: #0f3d6e !important;
}
.active_btn{
    background-color: #0F3D6E;
    color: white;
}



/* بخش چرا جعفری پور */
.why_jafaripour .col:hover{
    cursor: pointer;
    transform: translateY(-10px);
}

/* بخش استعلام قیمت */
.input_information{
    width: 80vw;
    direction: rtl;
    border-radius: 20px;
    border: solid #ecf2f9 2px;
}
.input_information input,.input_information select,.input_information textarea{
    background-color: #e2e8f048;
    border: solid #E2E8F0 2px;
    border-radius: 10px;
    padding: 14px 10px;
    font-size: 17px;
}
.input_information input:focus-visible,.input_information textarea:focus-visible{
    outline: none;
}
.input_information select:focus{
    border-color: none;
}
.input_information textarea{
    resize: none;
}
.input_information select{
    direction: rtl;
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2.5rem;
}
.input_information button{
    background-color: #F47A20;
    border-radius: 10px;
    border: none;
}
.natije{
    width: 100vw;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.dakhel_natije{
    background: white;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}
.dakhel_natije button{
    margin-top: 15px;
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    background: #1B3C73;
    color: white;
    cursor: pointer;
}

/* درباره ما */
.img_resize{
    width: 44vw;
}

/* بخش پروژه ها */
.project .col-lg-4{
    transition: 0.5s !important;
}
.project .col-lg-4:hover{
    cursor: pointer;
    box-shadow: 0 5px 30px #0f3d6e53;
    transform: translateY(-20px) !important;
}
.project .col-lg-4 a{
    transition: 0.5s;
}
.project .col-lg-4 a:hover{
    color: #0f3d6e !important;
}
.chatbot_link{
    position: fixed;
    z-index: 1000;

}

@media (max-width: 768px) {
    h2, .h2-lg, .cart_right span, .cart_right p {
        white-space: normal !important;
        word-break: break-word;
    }
    .content1_header{
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%);
        z-index: 2;
        padding: 10px;
        border-radius: 20px;
        background-color: #f478204f;
        border: solid #F47A20 1px;
        white-space: nowrap;
    }
    .content1_header span{
        font-size: 10px;
    }
    .content2_header h1{
        top: 50%;
        font-size: 17px;
        width: 90%;
        margin: 0;
    }
    .content2_header span {
        top: 53%;
        left: 5%;
        right: 5%;
        text-align: center;
        font-size: 14px;
    }
    .btn_header{
        left: 50%;
        top: 65%;
        transform: translateX(-50%);
        flex-wrap: wrap;
        width: 90%;
        text-align: center;
    }
    .btn_price_today,.btn_popular_products{
        padding: 10px 15px;
        border-radius: 10px;
        font-size: 12px;
    }

    /* هدر بخش ها */
    .header_section {
        margin: auto;
        text-align: center;
        width: 90vw;
    }
    /* بخش سازه‌ها فلزی */
    .span_metal_structure {
        display: block;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        text-align: center !important;
        direction: rtl;
        unicode-bidi: plaintext;   /* ✅ مهم: متن را با RTL/LTR ترکیبی درست وسط‌چین می‌کند */
        line-height: 1.9;
        color: #475569;
        font-size: 15px;
        padding: 0 10px;
    }

    /* بخش محصولات */
    .btn_left, .btn_right {
        display: none !important;
    }
    /* والد کارت‌ها */
    div[style*="padding: 0 50px"] {
        padding: 0 10px !important;
    }

    .cart_right {
        height: auto !important;
        min-height: 220px;
        padding: 20px !important;
    }
    .cart_right span {
        font-size: 16px !important;
    }
    .cart_right p {
        font-size: 12px !important;
        white-space: normal !important;
    }

    /* قیمت روزانه */
    .btn_select_price{
       font-size: 14px;
    }


    /* بخش استعلام قیمت */
    .input_information {
        width: 95vw !important;
        padding: 15px !important;
    }
    .input_information label {
        font-size: 15px !important;
    }
    .input_information input,
    .input_information select,
    .input_information textarea {
        font-size: 15px !important;
        padding: 12px 10px !important;
    }

    /* بخش درباره ما */
    .img_resize{
        width: 80vw;
    }
}