/*
Theme Name: DLTA Custom
Theme URI: https://dlta-store4k.com
Author: Your Name
Description: Custom theme for DLTA Store 4K
Version: 1.0
Text Domain: dlta-custom
*/

/* ===== ألوان عامة للموقع ===== */
:root {
  --main-bg: #0f2027;       /* الخلفية الرئيسية */
  --main-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --text-color: #ffffff;
  --accent: #ffcc00;
  --accent-hover: #fff;
}

body {
  background: var(--main-bg);
  color: var(--text-color);
}

section {
  background: var(--main-gradient);
  color: var(--text-color);
  padding: 60px 20px;
  border-radius: 20px;
  margin: 40px auto;
  width: 95%;
  max-width: 1200px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
}
/* ===== قسم الدعوة للاشتراك CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  border-radius: 25px;
  margin: 80px auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}

.cta-section:hover {
  transform: translateY(-5px);
}

.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #ddd;
}

.btn-shop {
  background-color: #ffcc00;
  color: #0f2027;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-shop:hover {
  background-color: #fff;
  color: #0f2027;
  transform: scale(1.05);
}

/* للموبايل */
@media (max-width: 768px) {
  .cta-section {
    padding: 70px 15px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .btn-shop {
    padding: 12px 35px;
    font-size: 1rem;
   
  }
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* الهيدر */
.site-header {
  background: var(--main-gradient) !important;
  color: #fff;
}
/* ====== HERO ANIMATED SECTION ====== */
.hero-animated {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  background: linear-gradient(270deg, #0f2027, #203a43, #2c5364);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-inner {
  z-index: 2;
  position: relative;
  max-width: 90%;
  padding: 0 20px;
}

.hero-inner::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 70%);
  animation: lightMove 6s linear infinite;
  z-index: 1;
}

@keyframes lightMove {
  0% { transform: translateX(-100px) translateY(-100px); }
  50% { transform: translateX(100px) translateY(100px); }
  100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-inner h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
  animation: textGlow 4s ease-in-out infinite alternate;
}

.hero-inner h1 span {
  color: var(--highlight);
}

@keyframes textGlow {
  from { text-shadow: 0 0 10px #ffcc00; }
  to { text-shadow: 0 0 25px #ffcc00, 0 0 50px #ffcc00; }
}

.hero-inner p {
  font-size: 1.3rem;
  margin: 15px 0 30px;
  position: relative;
  z-index: 2;
  color: #f0f0f0;
}

.btn-hero {
  background: var(--highlight);
  color: #000;
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
 
}

.btn-hero:hover {
  background: #fff;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .hero-inner h1 {
    font-size: 2rem;
  }
  .hero-inner p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .hero-animated {
    height: 30vh;
  }
}
/* ===== التجاوب ===== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  section {
    padding: 40px 10px;
    margin: 20px auto;
  }
  .btn-hero {
    padding: 10px 20px;
  }
}
/* ===== تنسيق الهيدر والقائمة ===== */
.site-header {
  background: var(--main-gradient);
  color: var(--text-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 15px 0;
}

.logo a {
  color: var(--accent);
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
}

.menu-toggle {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.menu-toggle:hover {
  background: var(--accent-hover);
}

/* القايمة الأساسية */
.main-nav {
  width: 100%;
  background: var(--main-gradient);
}

.main-menu {
  display: none;
  flex-direction: column;
  text-align: center;
  list-style: none;
  padding: 20px 0;
  margin: 0;
  width: 100%;
}

.main-menu li {
  margin: 10px 0;
}

.main-menu li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.main-menu li a:hover {
  color: var(--accent);
}

/* لما تتفتح */
.main-menu.active {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}

/* حركة ناعمة */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* للكمبيوتر - نفس الشكل */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .main-menu {
    display: flex !important;
    justify-content: center;
    flex-direction: row;
  }

  .main-menu li {
    margin: 0 20px;
  }
}
/* ===== توحيد التصميم بين الموبايل والكمبيوتر ===== */

/* إلغاء كل التعديلات الخاصة بالموبايل */
@media all {
  body, html {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: "Tajawal", sans-serif;
    background: var(--main-bg);
    color: var(--text-color);
  }

  /* جميع الأقسام تبقى بنفس الترتيب والمقاس */
  section, .container, .feature, .package, .trust-section, .faq-section {
    width: 95%;
    max-width: 1200px;
    margin: 30px auto;
    background: var(--main-gradient);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    padding: 40px 20px;
    text-align: center;
  }

  /* الصور تكون بنفس النسبة دائمًا */
  img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* الخطوط تبقى نسبية */
  h1, h2, h3, p, li, a {
    font-size: clamp(14px, 1.2vw + 8px, 20px);
    line-height: 1.6;
  }

  /* نفس شكل الزرار في كل الشاشات */
  .btn-shop, button, .menu-toggle {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    margin-top: 80px;
  }

  .btn-shop:hover, button:hover, .menu-toggle:hover {
    background: var(--accent-hover);
    color: var(--text-color);
  }

  /* القائمة */
  .main-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--main-gradient);
    width: 100%;
    padding: 20px 0;
    border-radius: 0;
  }

  .main-menu li {
    list-style: none;
  }

  .main-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition
  }
  /* ===== تنسيق القائمة الموحدة بين الموبايل والكمبيوتر ===== */
.main-nav {
  position: relative;
}

.menu-toggle {
  display: block;
  font-size: 28px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  margin: 10px auto;
  width: fit-content;
  transition: 0.3s;
}

.menu-toggle:hover {
  background: var(--accent-hover);
}

/* القائمة نفسها */
.main-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--main-gradient);
  text-align: center;
  flex-direction: column;
  gap: 10px;
  padding: 15px 0;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.main-menu.active {
  display: flex;
}

/* روابط القائمة */
.main-menu li {
  list-style: none;
}

.main-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.main-menu a:hover {
  color: var(--accent);
}

/* خلي التصميم واحد في كل الشاشات */
@media (min-width: 769px) {
  .menu-toggle {
    display: block; /* يخليه يظهر حتى على الكمبيوتر */
  }
  .main-menu {
    position: absolute;
    width: 100%;
  }
}
/* ===== القايمة الجانبية ===== */
.menu-toggle {
  font-size: 30px;
  cursor: pointer;
  color: var(--accent);
  background: var(--main-gradient);
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.3s;
}

.menu-toggle:hover {
  background: var(--accent);
  color: #000;
}

/* شكل القائمة الجانبية */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px; /* تبدأ مخفية */
  width: 250px;
  height: 100%;
  background: var(--main-gradient);
  color: #fff;
  transition: right 0.4s ease;
  z-index: 9999;
  padding-top: 80px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}

.side-menu.active {
  right: 0; /* تظهر */
}

/* زر الإغلاق */
.side-menu .close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* قائمة الروابط */
.side-menu .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: right;
  padding-right: 20px;
}

.side-menu .menu-list a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.side-menu .menu-list a:hover {
  color: var(--accent);
}

/* عشان التصميم يبقى نفسه في الموبايل والكمبيوتر */
@media (min-width: 769px) {
  .menu-toggle {
    display: block;
  }
}
/* ============================= */
/* ===================== */
/* تنسيق الأسئلة الشائعة */
/* ===================== */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: right;
  padding: 10px 0;
  transition: all 0.3s ease;
}

/* لما المستخدم يضغط على السؤال */
.faq-item.active .faq-question {
  color: var(--accent); /* يخلي اللون الذهبي أو أي لون تختاريه */
}

/* شكل علامة + و - */
.faq-question::after {
  content: '+';
  float: left;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

/* الإجابة */
.faq-answer {
  display: none;
  padding: 10px 0;
  color: var(--text-color);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}
.faq-section {
  background: var(--main-gradient);
  padding: 60px 20px;
  border-radius: 20px;
  color: var(--text-color);
  width: 95%;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.2em;
  width: 100%;
  text-align: right;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.faq-question::after {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-top: 10px;
  color: #fff;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== تعديل موقع زر المينيو ليكون في اليمين من الهيدر ===== */
.menu-toggle {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  margin: 0;
}

/* عشان ما يتحركش في الموبايل */
@media (max-width: 768px) {
  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
  }
}
.features-section {
  background: var(--main-gradient);
  color: #fff;
  padding: 60px 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.feature {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 15px 0;
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.feature-header .icon {
  font-size: 1.8rem;
  margin-left: 10px;
}

.feature-header h3 {
  flex: 1;
  text-align: right;
  font-size: 1.4rem;
  margin: 0;
}

.feature-header .arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}


.feature.active .feature-text {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.feature.active .arrow {
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== تنسيق الباقة الذهبية ===== */
.package.gold h3 {
  color: #d4af37; /* ذهبي */
}
.package.gold .woocommerce ul.products li.product .price,
.package.gold .woocommerce ul.products li.product .woocommerce-Price-amount {
  color: #d4af37 !important;
}
.package.gold .woocommerce ul.products li.product .button {
  background-color: #d4af37 !important;
  color: #000 !important;
  border-radius: 8px;
  font-weight: bold;
}
.package.gold .woocommerce ul.products li.product .button:hover {
  background-color: #b7950b !important;
  color: #fff !important;
}

/* ===== تنسيق الباقة الفضية ===== */
.package.silver h3 {
  color: #c0c0c0; /* فضي */
}
.package.silver .woocommerce ul.products li.product .price,
.package.silver .woocommerce ul.products li.product .woocommerce-Price-amount {
  color: #c0c0c0 !important;
}
.package.silver .woocommerce ul.products li.product .button {
  background-color: #c0c0c0 !important;
  color: #000 !important;
  border-radius: 8px;
  font-weight: bold;
}
.package.silver .woocommerce ul.products li.product .button:hover {
  background-color: #a8a8a8 !important;
  color: #fff !important;
}

/* ===== تنسيق الباقة الماسية ===== */
.package.diamond h3 {
  color: #00c3ff; /* أزرق ماسي */
}
.package.diamond .woocommerce ul.products li.product .price,
.package.diamond .woocommerce ul.products li.product .woocommerce-Price-amount {
  color: #00c3ff !important;
}
.package.diamond .woocommerce ul.products li.product .button {
  background-color: #00c3ff !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: bold;
}
.package.diamond .woocommerce ul.products li.product .button:hover {
  background-color: #009edb !important;
  color: #fff !important;
}

/* تحسين العرض العام للباقات */
.products-section {
  text-align: center;
  padding: 40px 0;
  background-color: #0a0a0a; /* خلفية داكنة */
}
.products-section h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 2em;
}
.package {
  margin-bottom: 60px;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.feature-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.arrow {
  transition: transform 0.3s ease;
}