/* تنسيقات CSS للتصميم الجديد لموقع مؤسسة نفاخ للصناعات الغذائية */

:root {
  --primary-color: #1a5276; /* اللون الأزرق الداكن من الشعار */
  --secondary-color: #f5eacf; /* اللون البيج الفاتح */
  --text-color: #ffffff;
  --button-radius: 12px;
  --button-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background-color: #121212;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="10" y="30" font-family="monospace" font-size="20" fill="rgba(255,255,255,0.05)">01</text><text x="50" y="70" font-family="monospace" font-size="20" fill="rgba(255,255,255,0.05)">10</text></svg>');
  color: var(--text-color);
  line-height: 1.6;
  direction: rtl;
  padding: 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}

/* رأس الصفحة */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  text-align: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 15px;
}

.profile-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.profile-location {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

/* أيقونات وسائل التواصل الاجتماعي */
.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 8px;
  font-size: 20px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.email { background-color: #D44638; }
.social-icon.whatsapp { background-color: #25D366; }
.social-icon.instagram { background-color: #C13584; }
.social-icon.facebook { background-color: #3b5998; }
.social-icon.phone { background-color: #0077B5; }

/* أزرار المنتجات */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-button {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: var(--button-radius);
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: transform 0.3s ease;
  box-shadow: var(--button-shadow);
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}

.link-button:hover {
  transform: translateY(-3px);
}

.link-button .icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  margin-left: 15px;
  flex-shrink: 0;
}

.link-button .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-button .text {
  flex-grow: 1;
}

.link-button .title {
  font-size: 18px;
  margin-bottom: 3px;
}

.link-button .description {
  font-size: 14px;
  opacity: 0.8;
}

/* ألوان الأزرار */
.link-button.tahini { background-color: #8E44AD; border-color: #9B59B6; }
.link-button.olives { background-color: #27AE60; border-color: #2ECC71; }
.link-button.zaatar { background-color: #D35400; border-color: #E67E22; }
.link-button.pickles { background-color: #16A085; border-color: #1ABC9C; }
.link-button.pomegranate { background-color: #C0392B; border-color: #E74C3C; }
.link-button.contact { background-color: #2980B9; border-color: #3498DB; }

/* التذييل */
.footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* التصميم المتجاوب */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  
  .profile-image {
    width: 100px;
    height: 100px;
  }
  
  .link-button {
    padding: 12px;
  }
  
  .link-button .icon {
    width: 40px;
    height: 40px;
    margin-left: 10px;
  }
  
  .link-button .title {
    font-size: 16px;
  }
  
  .link-button .description {
    font-size: 12px;
  }
}
