/* ==========================================================
   استایل‌های اختصاصی صفحه درباره ما
   نکته: متغیرهای رنگی (--primary, --secondary, --accent و ...)
   از فایل style.css به ارث می‌رسند و نیازی به تعریف دوباره نیست
   ========================================================== */


: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);
}
/* بخش هدر صفحه درباره ما */
.about_header{
    position: relative;
    width: 100%;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -20px;
    background-image: url('../images/about_hero_bg.jpg');
    background-size: cover;
    background-position: center;
}
.about_header_overlay{
    position: absolute;
    inset: 0;
    background: url(../images/header_about.jpg);
    background-size: cover;
    z-index: 1;
}
.content_about_header{
    position: relative;
    z-index: 2;
    width: 80%;
    margin: auto;
    padding-top: 60px;
}
.badge_about{
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background-color: #f478204f;
    border: solid var(--accent) 1px;
    font-weight: bold;
}
.content_about_header h1{
    color: white;
    direction: rtl;
    font-size: 36px;
}
.content_about_header > span{
    color: rgba(255, 255, 255, 0.886);
    direction: rtl;
    font-size: 15px;
}


/* بخش داستان ما و تعهد به کیفیت */
.story_gallery{
    width: 100%;
    margin: auto;
}
.story_img{
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}
.label_accent{
    color: var(--accent);
    font-weight: bold;
    font-size: 14px;
}
.box_vision_mission{
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 16px;
    height: 100%;
    text-align: end;
}
.box_vision_mission h6{
    color: var(--primary);
    margin-bottom: 10px;
}
.box_vision_mission span{
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* بخش آمار کلی هلدینگ */
.stats_about{
    background-color: var(--primary);
    color: white;
}
.icon_stats_about{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.stats_about small{
    color: rgba(255, 255, 255, 0.75);
}

/* بخش گالری تجهیزات و انبار اختصاصی */
.gallery_grid{
    display: grid;
    width: 95vw;
    max-width: 1247px;
    gap: 20px;
    grid-template-columns: 1fr 1fr 2.07fr;
    grid-template-rows: 220px 240px;
}
.g_item{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.g_item1{ grid-column: 1 / 2; grid-row: 1 / 2; }
.g_item2{ grid-column: 2 / 3; grid-row: 1 / 2; }
.g_item3{ grid-column: 1 / 3; grid-row: 2 / 3; }
.g_item4{ grid-column: 3 / 4; grid-row: 1 / 3; }

/* بخش مجوزها و استانداردهای ملی */
.license_card{
    background-color: rgba(255, 255, 255, 0.8);
    border: solid white 1px;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    text-align: right;
    transition: 0.4s;

}
.license_card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.license_card h6{
    right: 0;

}
.license_card .icon-wrap{
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    background-color: #f4782017;
    color: var(--accent);
    display: flex;
    border-radius: 24px;
    justify-content: center;
    align-items: center;
}
.license_sub{
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

/* بخش پروژه‌های عمرانی و صنعتی شاخص */
.project_card_about{
    border: solid #E2E8F0 2px;
    border-radius: 20px;
    overflow: hidden;
    text-align: end;
    height: 100%;
    transition: 0.5s;
}
.project_card_about:hover{
    box-shadow: 0 5px 30px #0f3d6e53;
    transform: translateY(-15px);
}
.project_card_about img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.link_project_about{
    color: var(--accent) !important;
    transition: 0.4s;
}
.link_project_about:hover{
    color: var(--primary) !important;
}

/* بخش دعوت به اقدام */
.cta_about{
    position: relative;
    background-image: url('../images/about_cta_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
    overflow: hidden;
}
.cta_about_overlay{
    position: absolute;
    inset: 0;
    background: url(../images/cta-section.jpg);
    background-size: cover;
    z-index: 1;
}
.content_cta_about{
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 900px;
    margin: auto;
}
.content_cta_about span{
    font-size: 14px;
}

/* ==========================================================
   حالت موبایل و تبلت
   ========================================================== */
@media (max-width: 768px){
    .about_header{
        min-height: 60vh;
    }
    .content_about_header{
        width: 92%;
        padding-top: 40px;
    }
    .content_about_header h1{
        font-size: 22px;
    }
    .content_about_header > span{
        font-size: 13px;
    }
    .badge_about{
        font-size: 11px;
        white-space: nowrap;
    }

    .story_gallery{
        max-width: 100%;
    }

    .stats_about .col-6{
        flex-direction: column;
        text-align: center;
    }
    .stats_about .text-end{
        text-align: center !important;
    }

    .gallery_grid{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px 200px;
        width: 90vw;
    }
    .g_item1{ grid-column: 1 / 2; grid-row: 1 / 2; }
    .g_item2{ grid-column: 2 / 3; grid-row: 1 / 2; }
    .g_item3{ grid-column: 1 / 3; grid-row: 2 / 3; }
    .g_item4{ grid-column: 1 / 3; grid-row: 3 / 4; height: 200px; }

    .content_cta_about{
        width: 92%;
    }
    .content_cta_about h2{
        font-size: 20px;
    }
}
