133 lines
4.0 KiB
PHP
133 lines
4.0 KiB
PHP
<?php
|
|
// includes/header.php
|
|
if (!isset($page_title)) {
|
|
$page_title = 'لوجستيك برو | حلول الشحن الذكية';
|
|
}
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="ar" dir="rtl">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?php echo htmlspecialchars($page_title); ?></title>
|
|
<!-- SEO Meta Tags -->
|
|
<meta name="description" content="<?php echo htmlspecialchars($page_description ?? 'تتبع شحنتك بسهولة مع لوجستيك برو. خدمات شحن بحري وجوي وتخليص جمركي بأعلى المعايير.'); ?>">
|
|
|
|
<!-- Fonts: Inter for numbers/English, System UI for Arabic fallback -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
|
|
|
<!-- FontAwesome -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
|
|
<!-- Custom/Theme Styles -->
|
|
<link rel="stylesheet" href="assets/css/custom.css">
|
|
<!-- Note: We are moving inline styles to assets/css/custom.css -->
|
|
|
|
<style>
|
|
/* Critical CSS or variables */
|
|
:root {
|
|
--primary: #0A192F; /* Deep Navy */
|
|
--accent: #C5A059; /* Elegant Gold */
|
|
--bg-light: #F8F9FA;
|
|
--surface: #FFFFFF;
|
|
--text-dark: #1E293B;
|
|
--text-muted: #64748B;
|
|
--border: #E2E8F0;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
background-color: var(--bg-light);
|
|
color: var(--text-dark);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Utility */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.8rem 1.5rem;
|
|
border-radius: 4px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
.btn-primary {
|
|
background-color: var(--accent);
|
|
color: white;
|
|
}
|
|
.btn-primary:hover {
|
|
background-color: #b08d4b;
|
|
}
|
|
|
|
/* Navbar Styles (needed for include/nav.php) */
|
|
.navbar {
|
|
background-color: var(--primary);
|
|
height: 70px;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
.nav-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
.nav-links a {
|
|
color: rgba(255,255,255,0.8);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
transition: color 0.2s;
|
|
}
|
|
.nav-links a:hover, .nav-links a.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: var(--primary);
|
|
color: rgba(255,255,255,0.6);
|
|
padding: 3rem 0;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* Layout fix for sticky footer */
|
|
body {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
</style>
|
|
|
|
<?php if (isset($extra_styles)) echo $extra_styles; ?>
|
|
</head>
|
|
<body>
|
|
|
|
<?php require_once __DIR__ . '/nav.php'; ?>
|