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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

/* الهيدر */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
  font-size: 14px;
}

.lang-switch {
  display: flex;
  background-color: #f3f4f6;
  padding: 4px;
  border-radius: 8px;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #4b5563;
  cursor: pointer;
}

.lang-btn.active {
  background-color: #f59e0b;
  color: #ffffff;
  border-radius: 4px;
}

/* العنوان والمسار */
.hero-text-section {
  max-width: 1200px;
  margin: 25px auto 15px auto;
  padding: 0 20px;
}

.breadcrumb {
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #8c8c8c;
  text-decoration: none;
}

.main-title {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
}

/* سكشن الصور والكارت */
.project-details-section {
  max-width: 1200px;
  margin: 20px auto 40px auto;
  padding: 0 20px;
}

.project-grid-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* الصور */
.project-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.main-img {
  grid-row: 1 / span 2;
}

/* الكارت */
.project-info-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.card-top-header {
  background: #1f242e;
  color: #ffffff;
  padding: 20px 24px;
}

.price-label {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.price-value {
  font-size: 26px;
  font-weight: 800;
}

.price-value span {
  font-size: 16px;
  font-weight: 600;
}

.highlights-row {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.highlight-box strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
}

.highlight-box span {
  font-size: 12px;
  color: #64748b;
}

.details-list {
  padding: 20px 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  color: #64748b;
}

.detail-row .val {
  font-weight: 600;
  color: #1e293b;
}

/* الأزرار */
.card-buttons {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
}

.btn-call {
  background-color: #f59e0b;
}

.btn-whatsapp {
  background-color: #25d366;
}
/* سكشن المحتوى والفورم */
.main-content-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.content-grid-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

/* صندوق المحتويات (TOC) */
.toc-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.toc-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

/* المقال والعناوين */
.intro-paragraph {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 25px;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 25px 0 15px 0;
}

.content-list {
  padding-left: 20px;
  margin-bottom: 20px;
  color: #334155;
  font-size: 15px;
}

/* كارت الاستفسار الداخلي */
.info-cta-banner {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin: 30px 0;
}

.info-cta-banner h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.info-cta-banner p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.cta-buttons-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
}

.btn-wa {
  background-color: #25d366;
}

.btn-talk {
  background-color: #f59e0b;
}

.btn-inquiry {
  background-color: #1e293b;
}

/* كارت النموذج Contact Us */
.contact-form-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
}

.form-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.sales-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #334155;
}

.avatar-icon {
  width: 36px;
  height: 36px;
  background-color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background-color: #ffffff;
  color: #0f172a;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f59e0b;
}

.btn-send-message {
  width: 100%;
  background-color: #f59e0b;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 5px;
}

.btn-send-message:hover {
  background-color: #d97706;
}

/* الموبايل */
@media (max-width: 992px) {
  .content-grid-container {
    grid-template-columns: 1fr;
  }
}
/* تنسيق جدول التفاصيل */
.details-table-wrapper {
  margin: 25px 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.project-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
}

.project-details-table th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.project-details-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.project-details-table tr:last-child td {
  border-bottom: none;
}

.project-details-table td:first-child {
  font-weight: 700;
  color: #1e293b;
  width: 35%;
  background-color: #f8fafc;
}

/* صورة المقال العريضة */
.content-banner-img {
  margin-top: 25px;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.content-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* اتصال مباشر بالسايدبار */
.direct-contact {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.direct-contact span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.direct-contact .phone-num {
  font-weight: 800;
  font-size: 16px;
  color: #f59e0b;
  text-decoration: none;
}

.direct-contact .phone-num:hover {
  text-decoration: underline;
}
/* جعل العمود الأيمن ثابتاً أثناء السكرول */
.sidebar-column {
  position: sticky;
  top: 20px; /* المسافة من أعلى الشاشة أثناء التثبيت */
  align-self: start;
}
