/*
Theme Name: Golden Vision
Theme URI: https://example.com/
Author: Shady & ChatGPT
Author URI: https://example.com/
Description: ثيم عربي بسيط ونظيف باسم Golden Vision بدون أي إضافات أو صفحات جاهزة، جاهز لإضافة المحتوى.
Version: 1.0.0
Text Domain: goldenvision
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
  background-color: #f5f5f5;
  color: #222;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* حاوية عامة */
.container {
  width: 100%;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

/* الروابط */
a {
  color: #b8860b; /* ذهبي غامق */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* الهيدر */
.site-header {
 	 background-color:#ffecf0;
  color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;

}

/* البراند (اللوجو + اسم الموقع) */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.site-branding .custom-logo {
  max-height: 48px;
  width: auto;
  border-radius: 8px;
}

.site-title-text {
  font-size: 1.2rem;
  font-weight: 600;
}

/* القائمة الأساسية */
.primary-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  color: #fff;
  font-size: 0.95rem;
  padding: 6px 0;
}

.primary-navigation a:hover {
  color: #ffd700;
  text-decoration: none;
}

/* زر البرجر للموبايل */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 10px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.menu-toggle-box {
  display: inline-block;
  width: 18px;
  height: 14px;
  position: relative;
}

.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-inner {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle-inner::before {
  top: -5px;
}

.menu-toggle-inner::after {
  top: 5px;
}

.menu-toggle.is-open .menu-toggle-inner {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-inner::before {
  top: 0;
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-inner::after {
  top: 0;
  transform: rotate(-90deg);
}

/* محتوى الصفحة */
.site-main {
  min-height: 60vh;
  padding: 30px 0;
}

/* المقالات */
.content-article {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.content-article .entry-title {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #222;
}

.content-article .entry-meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 10px;
}

.content-article .entry-excerpt {
  margin-top: 0;
}

/* الأزرار */
.button,
a.button {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #111;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.button:hover,
a.button:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* الفوتر */
.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 20px 0;
  font-size: 0.85rem;
}

.site-footer a {
  color: #ffd700;
}

/* الأزرار العائمة (واتساب + اتصال) */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.floating-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: none;
}

.floating-button .icon {
  font-size: 1.1rem;
}

.floating-button.whatsapp {
  background-color: #25d366;
}

.floating-button.call {
  background-color: #111;
}

/* موبايل */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row-reverse; /* عشان البرجر يبقى يسار والبراند يمين في RTL */
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #111;
    flex-direction: column;
    padding: 10px 0;
    display: none;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .primary-navigation li {
    padding: 4px 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* اتجاه RTL لبعض العناصر */


[dir="rtl"] .primary-navigation ul {
  flex-direction: row;
}
