@font-face {
  font-family: 'DGAgnadeen';
  src: url('fonts/DGAgnadeen-Thin.ttf') format('truetype');
  font-weight: 200;
}
@font-face {
  font-family: 'DGAgnadeen';
  src: url('fonts/DGAgnadeen-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'DGAgnadeen';
  src: url('fonts/DGAgnadeen-Heavy.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: 'DGAgnadeen';
  src: url('fonts/DGAgnadeen-Extrabold.ttf') format('truetype');
  font-weight: 900;
}
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DGAgnadeen', sans-serif;
}

body {
  background-color: #fffefb;
  color: #232323;
  line-height: 1.6;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
   right: 0;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 50px;
  box-shadow: 0 3px 10px #e5830e;
  z-index: 10;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #e5830e;
}

.nav-links a {
  text-decoration: none;
  color: #232323;
  margin: 0 10px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover { color: #e5830e; }
.lang-switch button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
  color: #555;
}

.lang-switch button:hover { color: #e5830e; }

.banner {
  
  position: relative;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
 
  position: relative;
  height: auto;
  display: block;
}
.banner img.banner-image
{ position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6; /* تظليل خفيف لتوضيح النص */
  z-index: 2;
}

.banner-text {
  position: absolute;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 20px 30px;
  background: #e5830e;
  border-radius: 12px;
  max-width: 90%;
}

.banner-text h1 {
   background: #e5830e;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.banner-text p {
   background: #e5830e;
  font-size: 1.3rem;
  line-height: 1.6;
}
.banner-text {
  position: absolute;
  top: 250px; /* المسافة بين الهيدر والنص، عدلها حسب شكل موقعك */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 20px 30px;
  background: #e5830e;
  border-radius: 12px;
  max-width: 90%;
}
.section {
  
  padding: 80px 50px;
  text-align: center;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.product-card {
  background: #e5830e;
  padding: 20px;
  border-radius: 10px;
  width: 260px;
  box-shadow: 0 3px 8px #232323;
  cursor: pointer;
  transition: 0.3s;
}
.product-card:hover { transform: translateY(-5px); }

#product-details.hidden { display: none; }

.product-content {
nav-up: root;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 5px 20px #232323;
  text-align: left;
}

.product-content h2, .product-content h3 {
  color: #e5830e;
  margin-bottom: 10px;
}

.product-content ul { margin: 10px 0 20px 25px; }

.product-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.product-content table, th, td {
  border: 1px solid #f6f6f6;
}
th, td {
  padding: 10px;
  text-align: left;
}

.close-btn {
  background: #e5830e;
  color: #f6f6f6;
  border: none;
  float: right;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

footer {
  text-align: center;
  background: #e5830e;
  color: #f6f6f6;
  padding: 20px;
}
.background-section {
  width: 100%;
 
  background: url("images/background.jpg") no-repeat center center/cover;
 
}#about, #products, #contact, footer {
  background-attachment: fixed;
  color: #f6f6f6; /* يخلي النص مقروء على خلفية غامقة */
}.banner {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
  position: relative;
  height: 200vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background: url("images/background.jpg") no-repeat center center/cover;
}
.banner img.banner-image 
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* تظليل خفيف لتوضيح النص */
  z-index: 2;
}

/* 🔸 خلفية من نحن */
/* ===== تلوين الأقسام بالبرتقالي ===== */
#about.section{  display: inline-block; /* يجعل الكارت يلتف حول المحتوى */
  background-color: #ff9800;
  color: #fff;
  padding: 25px 35px; /* تحكم في المسافة حول النص */
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin: 20px auto;
  max-width: 90%;
  position: relative;
  right: 10%;
  left: 10%;}
/* تنسيق كارت تواصل معنا */
#contact.section {
  display: inline-block; /* يجعل الكارت يلتف حول المحتوى */
  background-color: #ff9800;
  color: #fff;
  padding: 25px 35px; /* تحكم في المسافة حول النص */
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin: 20px auto;
  max-width: 90%;
  position: relative;
  right: 30%;
  left: 30%;
}

/* تكبير النصوص بشكل متناسق */
#contact h2 {
  font-size: 1.8rem; /* العنوان */
  margin-bottom: 10px;
}

#contact p {
  font-size: 1.2rem; /* النص */
  line-height: 1.8;
}
/* ===== الفوتر ===== */
footer {
  background-color: #ff9800 !important;
  color: white !important;
  text-align: center;
  padding: 20px 10px;
  font-weight: bold;
}

/* 🔸 خلفية الفوتر */
#footer {
  color: white;
  background-color: #ff9800; /* برتقالي */
  text-align: center;
  padding: 15px 10px;
  font-weight: bold;
}
/* تصميم الكارت البرتقالي */
.orange-card {
  background: rgba(229, 131, 14, 0.95); /* برتقالي شبه شفاف */
  color: #fff;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(3px); /* تأثير أنيق فوق الخلفية */
}

.orange-card h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.orange-card p {
  font-size: 1.2rem;
  line-height: 1.8;
}
html, body {overflow-x: hidden;
overflow-y: auto;}
/* ⚙ إعدادات العرض على الموبايل */
@media (max-width: 768px) {
  .banner-text {
    font-size: 1rem;
    padding: 15px;
    max-width: 95%;
  }

  .banner-text h1 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 1rem;
  }

  .contact-card, .about-card {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }
}
/* ⚙ إعدادات العرض على الموبايل */
@media (max-width: 768px) {
  .banner-text {
    font-size: 1rem;
    padding: 15px;
    max-width: 95%;
  }

  .banner-text h1 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 1rem;
  }

  .contact-card, .about-card {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }
}
/* ✅ جعل الكروت في منتصف الشاشة أفقيًا */
#about.section,
#contact.section,
#products.section {
  display: block;
  margin: 50% auto; /* يجعلها في المنتصف تلقائيًا */
  left: auto !important;
  right: auto !important;
  max-width: 800px; /* عرض مناسب للشاشات الكبيرة */
}

/* ✅ رفع النص في البانر ليكون تحت الهيدر بمسافة بسيطة */
.banner-text {
  top: 120px !important; /* قربه من الهيدر */
  transform: translateX(-50%);
}

/* ✅ جعل التصميم متجاوب بالكامل مع الموبايل */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .banner {
    height: auto;
    min-height: 80vh;
  }

  .banner-text {
    top: 100px !important;
    font-size: 1rem;
    padding: 10px 15px;
    max-width: 90%;
  }

  .banner-text h1 {
    font-size: 1.3rem;
  }

  .banner-text p {
    font-size: 0.9rem;
  }

  #about.section,
  #contact.section,
  #products.section {
    width: 90%;
    margin: 25px auto;
    padding: 20px;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }
}