/* ======= 📌 التصميم العام ======= */
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: right;
    direction: rtl;
}

/* ✅ تحسين تصميم الهيدر (Header) */
header {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* 🔥 تحسين اسم المشروع (LOOPA) */
header .logo a {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff !important;  /* 🔹 تغيير اللون إلى الأبيض */
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
}

/* ✅ تحسين القائمة العلوية */
header nav {
    flex-grow: 1;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s, transform 0.2s;
    font-size: 18px;
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ✅ تحسين أزرار تسجيل الدخول */
header .auth-buttons {
    display: flex;
    gap: 10px;
    position: absolute;
    left: 20px;
}

header .auth-buttons .btn {
    padding: 12px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    background: #ffcc00;
    color: black;
    transition: background 0.3s, transform 0.2s;
}

header .auth-buttons .btn:hover {
    background: #ffd633;
    transform: scale(1.05);
}

/* ======= 🚀 تحسين تصميم قسم البطل (Hero Section) ======= */
.hero {
    background: url('../images/Hero%20Section.png') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: #fff;
    font-size: 22px;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: bold;
}

.hero-text .btn-primary {
    background: #ffcc00;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: black;
    transition: 0.3s;
}

.hero-text .btn-primary:hover {
    background: #ffd633;
    transform: scale(1.05);
}

/* ======= 🔥 تحسين تصميم الخدمات ======= */
.services {
    text-align: center;
    padding: 50px 0;
}

.services h2 {
    font-size: 28px;
    color: #333;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* ✅ ضبط حجم الصور في قسم الخدمات */
.service-item img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

/* ======= 🚖 تحسين تصميم قسم خيارات النقل المتنوعة ======= */
.service-types {
    text-align: center;
    padding: 50px 0;
    background: #f8f9fa;
}

.service-types h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

/* ✅ جعل تصميم القسم مطابقًا لقسم الخدمات */
.service-types-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ✅ تعديل التصميم ليصبح متطابقًا مع الخدمات */
.service-type-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.service-type-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* ✅ ضبط حجم الصور */
.service-type-item img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

/* ✅ تحسين العناوين والوصف */
.service-type-item h3 {
    font-size: 20px;
    margin: 10px 0;
}

.service-type-item p {
    font-size: 16px;
    color: #666;
}

/* ======= 🏆 تحسين الشريط السفلي (Footer) ======= */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    padding: 10px;
}

.footer .footer-logo h1 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}
