/* استيراد الخط العربي Tajawal */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

header {
    margin-top: 70px; /* مسافة 50 بكسل قبل الهيدر */
}

body {
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://wallpaperaccess.com/full/937110.jpg');
    background-size: cover;
    background-position: center;
    direction: rtl;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/* تحسين عرض المحتوى */
.container {
    max-width: 950px;
    margin: 15px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    text-align: center;
}

/* تحسين تنسيق الأقسام */
.title-separator {
    width: 100px;
    height: 3px;
    background-color: #d4af37;
    margin: 10px auto;
    border-radius: 2px;
}

h1 {
    color: #d4af37;
    font-weight: bold;
    font-size: 50px;
    text-align: center;
    margin: 5px 0;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background-color: #d4af37;
    margin: 10px auto;
    border-radius: 2px;
}

h2 {
    color: #d4af37;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin: 10px 0;
}

.btn {
    display: block;
    padding: 12px 40px;
    background: #9c8128;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
    text-align: center;
    margin: 10px auto;
    width: fit-content;
}

.btn:hover {
    background: #b59630;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul li {
    font-size: 18px;
    padding: 8px 0;
    text-align: center;
}

.contact-info {
    text-align: center;
    margin: 15px 0;
}

.contact-info p {
    font-size: 16px;
    margin: 5px 0;
}

.contact-info i {
    color: #d4af37;
    margin-left: 5px;
}

.contact-info a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* تلوين الخط الساخن والبريد الإلكتروني */
.contact a[href^="tel"], .contact a[href^="mailto"] {
    color: #d4af37;
    font-weight: bold;
    text-decoration: none;
}

.contact a[href^="tel"]:hover, .contact a[href^="mailto"]:hover {
    text-decoration: underline;
}

.footer {
    background: rgba(24, 19, 19, 0.164);
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .developer {
    display: block;
    margin-top: 10px;
}

.footer .developer a {
    color: #d4af37;
    font-weight: bold;
    text-decoration: none;
}

.footer .developer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 24px;
    }

    p, ul li {
        font-size: 16px;
    }

    .container {
        width: 90%;
        padding: 15px;
    }
    
    .btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}
