/* --- Root Variables (من ثيم Halal) --- */
:root {
    --black: #050505;
   --dark-red: #cd8501;
    --red: #ee9236;
    --white: #ffffff;
    --light-gray: #d0d0d0;
    --dark-gray: #121212; /* لون بطاقات الفوتر والفورم */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* --- Navbar (نفس الناف بار من ثيم Halal بالضبط) --- */
/* --- Updated Navbar (Premium Style) --- */
.navbar {
    height: 90px; /* تم حذف حرف s الزائد هنا ليقرأ المتصفح الأكواد بشكل صحيح */
    background-color: rgba(0, 0, 0);
    backdrop-filter: blur(200px); /* تأثير ضبابي فخم */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0, 0.08);
    display: flex;
    align-items: center;
    position: fixed; /* هذه الخاصية ستبقى ثابتة وتجعل النافبار مستقرة في الأعلى أثناء السكرول */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 90px; width: auto; object-fit: contain; }

.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-red { background-color: var(--red); color: var(--white); border: 1px solid var(--red); }
.btn-red:hover { background-color: transparent; color: var(--red); transform: translateY(-3px); }

.mobile-only-item { display: none; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; }
.menu-toggle .bar { width: 28px; height: 2px; background-color: var(--white); transition: var(--transition); }

/* --- Contact Page Main Style --- */
.contact-page-main {
    margin-top: 130px; /* إزاحة لأسفل لتفادي الناف بار */
    padding-bottom: 80px;
    min-height: 70vh;
}

.hero-title {
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span { color: var(--red); }

.eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(179, 0, 0, 0.15);
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* التخطيط (يمين ويسار) */
.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* تنسيق النصوص والمعلومات */
.inset-contact-title {
    color: var(--red);
    font-size: 1.2rem;
    margin: 30px 0 10px;
    border-bottom: 1px solid rgba(179,0,0,0.3);
    padding-bottom: 5px;
}

.footer-item {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* تنسيق الخريطة (تم جعلها Dark Mode باستخدام الفلاتر) */
.map-box {
    width: 100%;
    height: 250px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0; 
}

/* أزرار السوشيال ميديا */
.social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.social a {
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--dark-gray);
    transition: var(--transition);
}

.social a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

/* --- تصميم الفورم (اليمين) --- */
.contact-form {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.219);
    margin-top: 40px; /* ليتماشى مع عنوان القسم الأيسر */
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #000000;
    border-left: 4px solid var(--red);
    padding-left: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    /* background: rgba(0,0,0,0.6); */
    border: 1px solid rgba(0, 0, 0, 0.548);
    border-radius: 6px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
    /* background: rgba(0,0,0,0.9); */
}

.contact-form button {
    margin-top: 10px;
    width: 100%;
    font-size: 1rem;
    padding: 15px;
}

/* --- تصميم الفوتر (متناسق مع الثيم) --- */
.site-footer {
    padding: 60px 0 30px;
    background-color: #030303;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-card {
    background: var(--dark-gray);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-title {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--light-gray);
    font-size: 0.85rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    /* Navbar Mobile Settings (نفس إعدادات الموبايل بحلال) */
    .menu-toggle { display: flex; z-index: 1001; }
    .nav-actions { display: none; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; 
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column; justify-content: center; align-items: center; 
        transition: 0.5s ease-in-out; gap: 25px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-menu.active { right: 0; }
    .mobile-only-item { display: block; width: 80%; text-align: center; margin-top: 10px; }
    .mobile-only-item .btn { width: 100%; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Contact Layout Settings */
    .contact-flex {
        grid-template-columns: 1fr; /* وضع العناصر فوق بعضها */
        gap: 20px;
    }
    .hero-title { font-size: 2.8rem; }
    .contact-form { padding: 25px; margin-top: 20px; }
}