/* css/contact.css */

/* --- Page Hero --- */
.page-hero { 
    position: relative; height: 350px; display: flex; align-items: center; justify-content: center; 
    text-align: center; border-bottom: 5px solid var(--brand-orange); overflow: hidden;
    background-color: #222;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
    filter: brightness(0.4);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 15px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.page-hero p { font-size: 1.1rem; background: var(--brand-orange); color: #fff; display: inline-block; padding: 6px 25px; border-radius: 50px; font-weight: 700; }

/* --- Contact Grid --- */
.section-padding { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }

/* --- Info Cards --- */
.info-card { 
    background: var(--bg-card); /* متغير */
    padding: 25px; border-radius: 15px; 
    border: 1px solid var(--border-color); 
    margin-bottom: 15px; display: flex; align-items: center; gap: 20px;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px var(--shadow-color);
}
.info-card:hover { transform: translateY(-3px); border-color: var(--brand-orange); }

.icon-box { 
    width: 45px; height: 45px; background: var(--bg-primary); 
    border: 2px solid var(--brand-orange); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    color: var(--brand-orange); font-size: 18px; flex-shrink: 0; 
}
.info-text h4 { color: var(--brand-orange); margin-bottom: 4px; font-weight: 900; font-size: 1.1rem; }
.info-text p, .info-text a { color: var(--text-secondary); font-weight: 700; font-size: 1rem; }
.info-text a:hover { color: var(--brand-orange); }

/* --- Form --- */
.form-frame { 
    border: 2px solid var(--brand-orange); padding: 40px; border-radius: 25px; 
    background: var(--bg-card); /* متغير */
    box-shadow: 0 10px 30px var(--shadow-color); position: relative; 
}
.form-frame::before { 
    content: 'تواصل معنا'; position: absolute; top: -15px; right: 40px; 
    background: var(--brand-orange); color: #fff; padding: 5px 20px; 
    border-radius: 20px; font-weight: 700; font-size: 13px; 
}
.form-group { margin-bottom: 15px; }
.form-input { 
    width: 100%; padding: 15px; border: 1px solid var(--border-color); 
    background: var(--bg-primary); /* متغير */
    color: var(--text-primary); /* متغير */
    border-radius: 10px; font-family: 'Cairo'; font-weight: 600; 
    font-size: 1rem; transition: 0.3s; 
}
.form-input:focus { 
    border-color: var(--brand-orange); background: var(--bg-card); 
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1); 
}
.btn-send { 
    width: 100%; padding: 16px; background: var(--brand-orange); color: #fff; 
    border: none; border-radius: 10px; font-weight: 900; font-size: 1.1rem; 
    cursor: pointer; box-shadow: 0 8px 20px rgba(245, 124, 0, 0.2); transition: 0.3s; 
}
.btn-send:hover { background: #d66d00; transform: translateY(-2px); }

/* --- Responsive --- */
@media (max-width: 992px) { 
    .contact-grid { grid-template-columns: 1fr; }
    .info-side { order: 2; } .form-frame { order: 1; margin-bottom: 40px; }
}

@media (max-width: 768px) { 
    .section-padding { padding: 40px 0 80px; }
    .page-hero { height: 280px; }
}