/* أساسي عام */
body {
  font-family: "Tahoma", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}

a {
  color: #0077b6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00a6c2;
}

/* الحاويات */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 15px;
}

/* رأس الصفحة */
header {
  background: #0077b6;
  color: #fff;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav a {
  margin-left: 15px;
  font-weight: bold;
  color: #ffd700;
}

header nav a:last-child {
  margin-left: 0;
}

/* أزرار */
button, .btn {
  background: linear-gradient(45deg, #0077b6, #00a6c2);
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

button:hover, .btn:hover {
  background: linear-gradient(45deg, #00a6c2, #0077b6);
  transform: scale(1.05);
}

/* النماذج */
input[type="text"], input[type="url"], input[type="number"], textarea {
  width: 100%;
  padding: 8px 10px;
  margin: 8px 0 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  resize: vertical;
}

/* الصور */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* العناوين */
h1, h2, h3 {
  color: #0077b6;
  margin-bottom: 10px;
}

/* قائمة المواقع */
.site-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* عنصر الموقع */
.site-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.site-item:hover {
  box-shadow: 0 0 18px rgba(0,0,0,0.15);
}

/* استايل الروابط الاجتماعية */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-links img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.15);
}

/* استايل للفوتر */
footer {
  background: #222;
  color: #ccc;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

/* متجاوب */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  
  header nav a {
    display: block;
    margin: 10px 0 0;
  }
  
  .site-item {
    padding: 15px;
  }
}
