/* تخصيص الشريط الموحد (تسجيل الدخول / الخروج واسم الموقع) */
.navbar {
  padding: 20px 0;
  background-color: #343a40; /* لون خلفية الشريط */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* تأثير ظل خفيف */
}

/* تخصيص النص في الشريط الموحد */
.navbar .navbar-brand {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar .navbar-brand:hover {
  color: #ffd700; /* تغيير اللون إلى الذهبي عند المرور */
}

/* تخصيص روابط المستخدم (تسجيل الدخول والخروج) */
.user-links a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.user-links a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7); /* تأثير اللمعة الذهبية */
}

/* تخصيص الشريط الأقسام */
.sections-bar {
  background-color: #007bff;
  padding: 15px 0;
  margin-top: 20px; /* المسافة بين الشريط الموحد والشريط الأقسام */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* تأثير الظل */
}

.sections-bar .nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 5px;
  margin: 0 10px; /* مسافة بين كل عنصر وآخر */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sections-bar .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
  transform: translateY(-5px); /* تأثير الحركة عند التمرير */
}

/* تخصيص المسافات بين الأقسام */
.container {
  margin-top: 30px; /* مسافة بين الشريط الأقسام والمحتوى */
}

.mt-4 {
  margin-top: 30px !important; /* مسافة إضافية إذا كنت بحاجة لتعديلها بشكل مباشر */
}
        .store-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        .store-cover-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 8px;
        }
        .product-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: transform 0.2s;
        }
        .product-card:hover {
            transform: translateY(-5px);
        }
        .product-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .product-card .card-body {
            padding: 15px;
        }
        .product-main-img {
    max-width: 200px;
    display: block;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    background-color: #fff;
}

.product-thumb {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-thumb .delete-image {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    z-index: 1;
}

.product-thumb .delete-image:hover {
    background-color: #c82333;
}

.product-thumb .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
        body { background-color: #f9f9f9; }
        .section-title {
            margin: 40px 0 20px;
            border-bottom: 3px solid #0d6efd;
            padding-bottom: 8px;
            font-weight: 700;
            font-size: 1.6rem;
            color: #0d6efd;
        }
        .ad-store-card, .store-card {
            border: 1px solid #ddd;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 0 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            background-color: #fff;
        }
        .ad-store-card:hover, .store-card:hover {
            transform: scale(1.05);
            box-shadow: 0 0 12px rgba(13, 110, 253, 0.7);
        }
        .ad-store-img, .store-img {
            width: 100%; 
            height: 220px; 
            object-fit: cover;
            border-bottom: 1px solid #eee;
        }
        .card-body {
            padding: 15px;
            text-align: center;
        }
        .card-title {
            font-weight: 700;
            font-size: 1.3rem;
            color: #0d6efd;
            margin-bottom: 10px;
        }
        .btn-details {
            font-size: 0.9rem;
        }
        /* تصميم زر إنشاء الإعلان */
        .create-ad-alert {
            background-color: #e7f1ff;
            border: 1px solid #0d6efd;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 30px;
            font-weight: 600;
            font-size: 1.2rem;
            color: #0d6efd;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
            transition: background-color 0.3s ease;
        }
        .create-ad-alert:hover {
            background-color: #d0e4ff;
        }
        .create-ad-alert a {
            background-color: #0d6efd;
            color: white !important;
            padding: 8px 18px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 700;
            transition: background-color 0.3s ease;
        }
        .create-ad-alert a:hover {
            background-color: #084abe;
            color: white !important;
        }
        @media(max-width: 576px) {
            .create-ad-alert {
                flex-direction: column;
                gap: 10px;
                font-size: 1rem;
                text-align: center;
            }
            .create-ad-alert a {
                padding: 10px 20px;
                font-size: 1rem;
            }
        }
                .store-card {
            margin-bottom: 30px;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            background-color: #f8f9fa;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .store-card img {
            width: 100%;   /* تأكد من أن الصورة ستغطي العرض بالكامل */
            height: 200px; /* تحديد الارتفاع */
            object-fit: cover; /* تأكد من أن الصورة تتناسب مع المساحة المحددة */
            border-radius: 8px;
        }
        .store-card h5 {
            margin-top: 10px;
        }
        .store-card .category {
            color: #007bff;
            font-size: 1.1em;
        }
                /* الصورة الرئيسية بدون قص مع المحافظة على النسبة */
        .main-image {
            max-height: 400px;
            width: 100%;
            object-fit: contain; /* بدل cover عشان يحتفظ بنسبة الصورة */
            background-color: #f8f9fa; /* خلفية خفيفة لو الصورة صغيرة */
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0,0,0,0.15);
            margin-bottom: 20px;
        }
        /* معرض الصور الصغيرة */
        .thumbnail {
            max-height: 100px;
            cursor: pointer;
            border-radius: 6px;
            margin: 5px;
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
            transition: transform 0.2s;
            object-fit: cover;
            height: 100px;
            width: auto;
        }
        .thumbnail:hover {
            transform: scale(1.1);
        }
                .store-cover-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
            margin-bottom: 30px;
        }

        .store-category {
            font-size: 1.3rem;
            font-weight: 700;
            color: #0d6efd;
            margin-bottom: 15px;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

    .job-card {
        border: 1px solid #ddd;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 0 6px #eee;
        margin-bottom: 20px;
        height: 100%;
        background-color: #fff;
    }
    .job-title {
        font-size: 18px;
        font-weight: bold;
        color: #0d6efd;
    }            
        /* نفس التنسيقات اللي انت عملتها */
    .service-card {
        border: 1px solid #ddd;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 0 6px #eee;
        margin-bottom: 20px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: #fff;
        transition: transform 0.2s;
    }
    .service-card:hover {
        transform: scale(1.02);
        box-shadow: 0 0 12px #ccc;
    }
    .service-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 5px;
        margin-bottom: 10px;
    }
    .service-title {
        font-size: 18px;
        font-weight: bold;
        color: #0d6efd;
        margin-bottom: 5px;
        min-height: 48px;
    }
    .service-details {
        font-size: 14px;
        margin-bottom: 8px;
        color: #333;
    }
    .btn-details {
        margin-top: auto;
    }
        body {
      background-color: #f8f9fa;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    .container {
      flex: 1;
    }
    .setting-card {
      border: 1px solid #ddd;
      padding: 20px;
      border-radius: 12px;
      background-color: #fff;
      transition: all 0.3s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
    .setting-card:hover {
      box-shadow: 0 2px 16px rgba(0,0,0,0.1);
      background-color: #e9f0ff;
      color: #0d6efd;
    }
    .setting-icon {
      font-size: 48px;
      margin-bottom: 15px;
    }
    /* زر العودة */
    .btn-back-site {
      position: fixed;
      top: 15px;
      right: 15px; /* هنا غيرت من left إلى right */
      z-index: 1050;
      background-color: #0d6efd;
      color: white !important;
      border-radius: 6px;
      padding: 8px 14px;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(13,110,253,.4);
      transition: background-color 0.3s;
      text-decoration: none;
    }
    .btn-back-site:hover {
      background-color: #0b5ed7;
      color: white !important;
      text-decoration: none;
    }
            .main-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid #ddd;
        }
        .thumbnail {
            width: 90px;
            height: 90px;
            object-fit: cover;
            margin: 5px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: 0.3s;
        }
        .thumbnail:hover {
            border-color: #28a745;
        }
                .property-card {
            cursor: pointer;
            transition: transform 0.2s ease;
            box-shadow: 0 0 8px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
        }
        .property-card:hover {
            transform: translateY(-5px);
        }
        .property-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        .card-img-top {
  width: 100%;         /* يعرض الصورة بعرض البطاقة */
  height: 200px;       /* ارتفاع ثابت لجميع الصور */
  object-fit: cover;   /* تقص الصورة إذا كانت أكبر بدون تشويه */
  border-radius: 8px 8px 0 0; /* شكل حواف الصور مثل الكارد */
}

/* ألوان إعلان المتجر (غيرها حسب ألوان متجرك) */


