/* css/about.css */

/* --- Hero Section --- */
.page-hero-wrapper {
    position: relative; width: 100%; height: 400px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: #fff; background-color: #222; border-bottom: 5px solid var(--brand-orange);
}

.hero-img-real {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; z-index: 0;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 { 
    font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 900; margin: 0; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.6); color: #fff;
}
.hero-content p { 
    font-size: 1.2rem; margin-top: 15px; color: #fff; font-weight: 700; 
    background: var(--brand-orange); display: inline-block; padding: 5px 15px; border-radius: 20px; 
}

/* --- About Content --- */
.section-padding { padding: 70px 0; }

.about-frame {
    background: var(--bg-secondary); /* متغير */
    border: 2px solid var(--border-color);
    padding: 40px 30px; border-radius: 30px; overflow: hidden;
}

.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }

.about-img-box {
    position: relative; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--brand-orange); 
    box-shadow: 12px 12px 0px var(--brand-orange); 
    background: #eee; aspect-ratio: 1/1.2;
}

.about-img-box img { 
    width: 100%; height: 100%; object-fit: cover; position: absolute; 
    top: 0; right: 0; transition: opacity 0.5s; 
}
.img-hover { opacity: 0; }
.about-img-box:hover .img-hover { opacity: 1; }
.about-img-box:hover .img-main { opacity: 0; }

.about-info h2 { 
    font-size: 2.2rem; color: var(--text-primary); /* متغير */
    margin: 0 0 20px; font-weight: 900; 
    border-right: 5px solid var(--brand-orange); padding-right: 20px; 
}

.about-info p { 
    font-size: 1.1rem; line-height: 1.8; 
    color: var(--text-secondary); /* متغير */
    margin-bottom: 20px; text-align: justify; font-weight: 400; 
}

/* --- Stats Cards --- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin-top: 30px; }

.stat-card { 
    background: var(--bg-card); /* متغير */
    padding: 15px; border-radius: 15px; text-align: center; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 4px 10px var(--shadow-color); 
}

.stat-card h4 { font-size: 1.8rem; color: var(--brand-orange); margin: 0; font-weight: 900; }
.stat-card p { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin: 5px 0 0; }

/* --- Detail Cards --- */
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; }

.detail-card { 
    background: var(--bg-card); /* متغير */
    padding: 30px; border-radius: 20px; 
    border-bottom: 4px solid var(--brand-orange); 
    box-shadow: 0 4px 12px var(--shadow-color);
}

.detail-card h3 { color: var(--brand-orange); font-size: 1.3rem; margin-bottom: 15px; font-weight: 900; }
.detail-card p { color: var(--text-secondary); }

.detail-card ul { padding: 0; list-style: none; }
.detail-card ul li { 
    padding: 10px 0; border-bottom: 1px solid var(--border-color); 
    display: flex; justify-content: space-between; font-weight: 600; 
    font-size: 0.95rem; color: var(--text-primary); 
}
.detail-card ul li span { color: var(--brand-orange); font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-box { aspect-ratio: auto; height: 400px; }
}

@media (max-width: 768px) {
    .about-frame { padding: 30px 20px; }
    .about-info h2 { font-size: 1.8rem; }
}