انتقل إلى المحتوى

الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

من موسوعة زيارة الاربعين
لا ملخص تعديل
لا ملخص تعديل
سطر ٧: سطر ٧:
   --accent-gold: #c9a961;
   --accent-gold: #c9a961;
   --accent-green: #5d8f47;
   --accent-green: #5d8f47;
  --accent-bright: #7fb069;
   --background-white: #fefefe;
   --background-white: #fefefe;
   --background-cream: #faf9f7;
   --background-cream: #faf9f7;
سطر ١٥: سطر ١٦:
   --shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1);
   --shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1);
   --shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15);
   --shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15);
   --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.3);
   --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   --serif-font: 'Amiri', 'Times New Roman', serif;
   --serif-font: 'Amiri', 'Times New Roman', serif;
   --sans-font: 'Cairo', 'Segoe UI', sans-serif;
   --sans-font: 'Cairo', 'Segoe UI', sans-serif;
سطر ٢١: سطر ٢٣:


/* ========================
/* ========================
   Base Styling
   Animated Background
========================= */
========================= */
body {
body {
   background: linear-gradient(135deg, #f8f7f4 0%, #f2f0eb 100%);
   background: linear-gradient(-45deg, #f8f7f4, #f2f0eb, #f5f3f0, #f0ede8);
  background-size: 400% 400%;
  animation: gradientFlow 8s ease infinite;
   color: var(--text-dark);
   color: var(--text-dark);
   line-height: 1.7;
   line-height: 1.7;
سطر ٣١: سطر ٣٥:
   font-size: 16px;
   font-size: 16px;
   font-family: var(--serif-font);
   font-family: var(--serif-font);
  position: relative;
  overflow-x: hidden;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Floating particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(93, 143, 71, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 60% 40%, rgba(127, 176, 105, 0.06) 0%, transparent 20%);
  animation: floatParticles 12s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes floatParticles {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(90deg); }
  50% { transform: translateY(5px) rotate(180deg); }
  75% { transform: translateY(-5px) rotate(270deg); }
}
}


/* ========================
/* ========================
   Header Styling - Sacred & Professional
   Dynamic Header - More Exciting
========================= */
========================= */
.mw-body-header {
.mw-body-header {
   background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%);
   background: linear-gradient(135deg,  
   border-bottom: 3px solid var(--accent-gold);
    var(--primary-color) 0%,  
   padding: 24px 40px;
    var(--secondary-color) 25%,
    var(--tertiary-color) 50%,
    var(--accent-green) 75%,
    var(--accent-bright) 100%);
  background-size: 300% 300%;
  animation: headerGradient 6s ease infinite;
   border-bottom: 4px solid var(--accent-gold);
   padding: 28px 40px;
   text-align: center;
   text-align: center;
   font-family: var(--sans-font);
   font-family: var(--sans-font);
   font-size: 20px;
   font-size: 22px;
   color: var(--background-white);
   color: var(--background-white);
   font-weight: 600;
   font-weight: 700;
   letter-spacing: 1px;
   letter-spacing: 1.2px;
   box-shadow: var(--shadow-elevated);
   box-shadow: var(--shadow-elevated), var(--shadow-glow);
   position: relative;
   position: relative;
   overflow: hidden;
   overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}
.mw-body-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 71, 42, 0.2), var(--shadow-glow);
}
@keyframes headerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
}


سطر ٥٥: سطر ١١١:
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: -100%;
   right: 0;
   width: 100%;
   height: 4px;
   height: 100%;
   background: linear-gradient(90deg,  
   background: linear-gradient(90deg,  
     transparent 0%,  
     transparent,  
     var(--accent-gold) 20%,  
     rgba(255,255,255,0.2),  
    #f4e4a6 40%,  
     transparent);
    var(--accent-gold) 60%,  
   animation: shine 3s ease-in-out infinite;
    var(--accent-green) 80%,  
}
     transparent 100%);
 
   animation: shimmer 3s ease-in-out infinite;
@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}
}


.mw-body-header::after {
.mw-body-header::after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   top: 50%;
   top: 50%;
   left: 50%;
   right: 30px;
   width: 200px;
   transform: translateY(-50%);
   height: 200px;
   font-size: 24px;
   background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
   color: var(--accent-gold);
   transform: translate(-50%, -50%);
   animation: starTwinkle 2s ease-in-out infinite alternate;
  pointer-events: none;
}
}


@keyframes shimmer {
@keyframes starTwinkle {
   0%, 100% { opacity: 0.7; }
   0% { opacity: 0.5; transform: translateY(-50%) scale(1); }
   50% { opacity: 1; }
   100% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}
}


/* ========================
/* ========================
   Dropdown Menu - Enhanced
   Enhanced Dropdown Menu
========================= */
========================= */
.vector-dropdown {
.vector-dropdown {
سطر ٩٢: سطر ١٤٩:
   display: inline-block;
   display: inline-block;
   cursor: pointer;
   cursor: pointer;
  transition: var(--transition-smooth);
}
.vector-dropdown:hover {
  transform: scale(1.05);
}
}


سطر ٩٧: سطر ١٥٩:
   display: none;
   display: none;
   position: absolute;
   position: absolute;
   background: var(--background-white);
   background: rgba(254, 254, 254, 0.95);
   min-width: 220px;
  backdrop-filter: blur(15px);
   border: 1px solid var(--border-gold);
   min-width: 240px;
   border-radius: 8px;
   border: 2px solid var(--border-gold);
   box-shadow: var(--shadow-elevated);
   border-radius: 12px;
   box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.2);
   z-index: 1000;
   z-index: 1000;
   overflow: hidden;
   overflow: hidden;
  backdrop-filter: blur(10px);
}
}


.vector-dropdown:hover .vector-dropdown-content {
.vector-dropdown:hover .vector-dropdown-content {
   display: block;
   display: block;
   animation: slideDown 0.3s ease-out;
   animation: dropdownBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
}


@keyframes slideDown {
@keyframes dropdownBounce {
   from {  
   0% {  
     opacity: 0;  
     opacity: 0;  
     transform: translateY(-10px) scale(0.95);  
     transform: translateY(-20px) scale(0.8) rotateX(-90deg);  
   }
   }
   to {  
   60% {
    transform: translateY(5px) scale(1.05) rotateX(0deg);
  }
  100% {  
     opacity: 1;  
     opacity: 1;  
     transform: translateY(0) scale(1);  
     transform: translateY(0) scale(1) rotateX(0deg);  
   }
   }
}
}
سطر ١٢٥: سطر ١٩٠:
.vector-dropdown-content a {
.vector-dropdown-content a {
   display: block;
   display: block;
   padding: 14px 18px;
   padding: 16px 20px;
   color: var(--text-dark);
   color: var(--text-dark);
   text-decoration: none;
   text-decoration: none;
   font-family: var(--sans-font);
   font-family: var(--sans-font);
   font-size: 14px;
   font-size: 15px;
  font-weight: 500;
   border-bottom: 1px solid var(--border-elegant);
   border-bottom: 1px solid var(--border-elegant);
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
   position: relative;
   position: relative;
  overflow: hidden;
}
.vector-dropdown-content a::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
  transition: var(--transition-smooth);
}
}


.vector-dropdown-content a:last-child {
.vector-dropdown-content a::after {
   border-bottom: none;
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--accent-gold);
   font-weight: bold;
}
}


.vector-dropdown-content a:hover {
.vector-dropdown-content a:hover {
   background: linear-gradient(90deg, var(--background-cream) 0%, #f5f3ef 100%);
   background: linear-gradient(135deg, var(--background-cream) 0%, #f5f3ef 100%);
  padding-left: 24px;
   color: var(--primary-color);
   color: var(--primary-color);
  padding-left: 30px;
  font-weight: 600;
  transform: translateX(5px);
}
}


.vector-dropdown-content a::before {
.vector-dropdown-content a:hover::before {
  content: '';
   left: 100%;
  position: absolute;
   left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gold);
  transform: scaleY(0);
  transition: var(--transition-smooth);
}
}


.vector-dropdown-content a:hover::before {
.vector-dropdown-content a:hover::after {
   transform: scaleY(1);
  opacity: 1;
   transform: translateY(-50%) translateX(0);
}
}


/* ========================
/* ========================
   Content Styling - Scholarly & Sacred
   Interactive Content Area
========================= */
========================= */
#content {
#content {
   background: var(--background-white);
   background: linear-gradient(135deg, var(--background-white) 0%, rgba(250, 249, 247, 0.95) 100%);
   border: 1px solid var(--border-elegant);
  backdrop-filter: blur(10px);
   padding: 50px 60px;
   border: 2px solid var(--border-elegant);
   border-radius: 12px;
   padding: 60px 70px;
   border-radius: 20px;
   font-family: var(--serif-font);
   font-family: var(--serif-font);
   font-size: 17px;
   font-size: 17px;
   color: var(--text-dark);
   color: var(--text-dark);
   box-shadow: var(--shadow-elevated);
   box-shadow: var(--shadow-elevated), 0 0 40px rgba(26, 71, 42, 0.1);
   direction: rtl;
   direction: rtl;
   margin: 30px auto;
   margin: 40px auto;
   position: relative;
   position: relative;
   max-width: 1200px;
   max-width: 1200px;
  transition: var(--transition-smooth);
  overflow: hidden;
}
#content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(26, 71, 42, 0.15), 0 0 60px rgba(201, 169, 97, 0.2);
}
}


سطر ١٨٤: سطر ٢٧٣:
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   width: 6px;
   width: 8px;
   height: 100%;
   height: 100%;
   background: linear-gradient(180deg,  
   background: linear-gradient(180deg,  
     var(--accent-gold) 0%,  
     var(--accent-gold) 0%,  
     var(--accent-green) 50%,  
     var(--accent-green) 30%,
    var(--accent-bright) 60%,
     var(--primary-color) 100%);
     var(--primary-color) 100%);
   border-radius: 0 6px 6px 0;
   border-radius: 0 8px 8px 0;
  animation: borderPulse 3s ease-in-out infinite;
}
 
@keyframes borderPulse {
  0%, 100% { opacity: 0.8; width: 8px; }
  50% { opacity: 1; width: 12px; }
}
}


#content::after {
#content::after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   top: 20px;
   top: 30px;
   right: 20px;
   right: 30px;
   width: 60px;
   font-size: 28px;
   height: 60px;
   color: var(--accent-gold);
   background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
   opacity: 0.3;
   border-radius: 50%;
   animation: crescentFloat 4s ease-in-out infinite;
  pointer-events: none;
}
}


#content h2 {
@keyframes crescentFloat {
   color: var(--accent-green);
   0%, 100% { transform: rotate(0deg) translateY(0px); opacity: 0.3; }
   font-weight: 700;
   25% { transform: rotate(5deg) translateY(-5px); opacity: 0.5; }
   border-bottom: 2px solid var(--border-gold);
   50% { transform: rotate(0deg) translateY(-8px); opacity: 0.4; }
  padding-bottom: 8px;
   75% { transform: rotate(-5deg) translateY(-3px); opacity: 0.6; }
   margin-bottom: 20px;
}
}


سطر ٢١٦: سطر ٣١٠:
   color: var(--primary-color);
   color: var(--primary-color);
   text-align: center;
   text-align: center;
   font-size: 2rem;
   font-size: 2.2rem;
   margin-bottom: 30px;
   margin-bottom: 40px;
   position: relative;
   position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
@keyframes titleGlow {
  0% { text-shadow: 0 0 10px rgba(26, 71, 42, 0.3); }
  100% { text-shadow: 0 0 20px rgba(201, 169, 97, 0.5), 0 0 30px rgba(26, 71, 42, 0.2); }
}
#content h1::before {
  content: '✦';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite;
}
}


#content h1::after {
#content h1::after {
  content: '✦';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite reverse;
}
@keyframes starRotate {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
#content h2 {
  color: var(--accent-green);
  font-weight: 700;
  border-bottom: 3px solid var(--border-gold);
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  transition: var(--transition-smooth);
}
#content h2:hover {
  color: var(--primary-color);
  transform: translateX(-10px);
}
#content h2::before {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   bottom: -10px;
   bottom: -3px;
   left: 50%;
   left: 0;
  transform: translateX(-50%);
   width: 0;
   width: 80px;
   height: 3px;
   height: 3px;
   background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
   background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
  transition: var(--transition-smooth);
}
 
#content h2:hover::before {
  width: 100%;
}
}


سطر ٢٣٩: سطر ٣٨٥:
   line-height: 1.3;
   line-height: 1.3;
   color: var(--secondary-color);
   color: var(--secondary-color);
  transition: var(--transition-smooth);
}
}


#content h1 { font-size: 28px; }
#content h3:hover, #content h4:hover, #content h5:hover, #content h6:hover {
#content h2 { font-size: 24px; }
  color: var(--accent-green);
#content h3 { font-size: 20px; }
  transform: translateX(-5px);
}


#content p {
#content p {
   margin-bottom: 1.4em;
   margin-bottom: 1.5em;
   text-align: justify;
   text-align: justify;
   line-height: 1.8;
   line-height: 1.9;
  transition: var(--transition-smooth);
}
 
#content p:hover {
  color: var(--text-dark);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
}


سطر ٢٥٥: سطر ٤٠٩:
   text-decoration: underline;
   text-decoration: underline;
   text-decoration-color: var(--accent-gold);
   text-decoration-color: var(--accent-gold);
   text-underline-offset: 3px;
   text-underline-offset: 4px;
  transition: var(--transition-smooth);
  font-weight: 600;
  position: relative;
}
 
#content a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
  font-weight: 500;
}
}


#content a:hover {
#content a:hover {
   color: var(--primary-color);
   color: var(--primary-color);
   text-decoration-color: var(--accent-green);
   text-decoration-color: transparent;
   text-shadow: 0 1px 2px rgba(26, 71, 42, 0.1);
  transform: translateY(-1px);
   text-shadow: 0 2px 4px rgba(26, 71, 42, 0.2);
}
 
#content a:hover::before {
  width: 100%;
}
}


/* ========================
/* ========================
   Categories Styling - Islamic Design
   Dynamic Categories Section
========================= */
========================= */
#catlinks {
#catlinks {
   background: linear-gradient(135deg, var(--background-cream) 0%, #f4f2ee 100%);
   background: linear-gradient(135deg,  
   border: 2px solid var(--border-gold);
    var(--background-cream) 0%,  
   padding: 25px 30px;
    rgba(244, 242, 238, 0.9) 50%,
   border-radius: 12px;
    var(--background-white) 100%);
   margin-top: 40px;
  backdrop-filter: blur(10px);
   border: 3px solid var(--border-gold);
   padding: 30px 35px;
   border-radius: 20px;
   margin-top: 50px;
   font-family: var(--sans-font);
   font-family: var(--sans-font);
   font-size: 14px;
   font-size: 15px;
   box-shadow: var(--shadow-subtle);
   box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.15);
   color: var(--text-muted);
   color: var(--text-muted);
   margin-left: auto;
   margin-left: auto;
   margin-right: auto;
   margin-right: auto;
   position: relative;
   position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
#catlinks:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(26, 71, 42, 0.2), 0 0 50px rgba(201, 169, 97, 0.25);
}
}


سطر ٢٨٩: سطر ٤٧١:
   font-weight: 700;
   font-weight: 700;
   color: var(--primary-color);
   color: var(--primary-color);
   margin-bottom: 16px;
   margin-bottom: 20px;
   font-size: 16px;
   font-size: 18px;
   letter-spacing: 0.5px;
   letter-spacing: 0.8px;
   text-align: center;
   text-align: center;
   position: relative;
   position: relative;
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1);
  animation: categoryTitle 2s ease-in-out infinite alternate;
}
@keyframes categoryTitle {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}
}


سطر ٢٩٩: سطر ٤٨٨:
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   top: 10px;
   top: -50%;
   right: 10px;
   left: -50%;
   width: 30px;
   width: 200%;
   height: 30px;
   height: 200%;
   background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
   background: conic-gradient(from 0deg, transparent, rgba(201, 169, 97, 0.05), transparent);
   border-radius: 50%;
   animation: rotateBg 10s linear infinite;
  pointer-events: none;
}
 
@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
}


#catlinks a {
#catlinks a {
   color: var(--text-dark);
   color: var(--text-dark);
   font-weight: 500;
   font-weight: 600;
   text-decoration: none;
   text-decoration: none;
   padding: 10px 18px;
   padding: 12px 22px;
   margin: 6px 8px 6px 0;
   margin: 8px 10px 8px 0;
   background: linear-gradient(135deg, var(--background-white) 0%, #fcfbf9 100%);
   background: linear-gradient(135deg,  
    var(--background-white) 0%,  
    rgba(252, 251, 249, 0.9) 100%);
   border: 2px solid var(--border-elegant);
   border: 2px solid var(--border-elegant);
   border-radius: 25px;
   border-radius: 30px;
   display: inline-block;
   display: inline-block;
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
   font-size: 13px;
   font-size: 14px;
   position: relative;
   position: relative;
   overflow: hidden;
   overflow: hidden;
   font-family: var(--sans-font);
   font-family: var(--sans-font);
  backdrop-filter: blur(5px);
}
}


سطر ٣٣١: سطر ٥٢٩:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.15), transparent);
   background: linear-gradient(90deg,  
    transparent,  
    rgba(201, 169, 97, 0.3),  
    transparent);
  transition: var(--transition-smooth);
}
 
#catlinks a::after {
  content: '✧';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) scale(0);
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
  color: var(--accent-gold);
}
}


#catlinks a:hover {
#catlinks a:hover {
   background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
   background: linear-gradient(135deg,  
    var(--primary-color) 0%,  
    var(--secondary-color) 50%,
    var(--accent-green) 100%);
   color: var(--background-white);
   color: var(--background-white);
   transform: translateY(-2px);
   transform: translateY(-4px) scale(1.05);
   box-shadow: 0 4px 12px rgba(26, 71, 42, 0.25);
   box-shadow: 0 6px 20px rgba(26, 71, 42, 0.3), 0 0 30px rgba(201, 169, 97, 0.4);
   border-color: var(--accent-gold);
   border-color: var(--accent-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
}


#catlinks a:hover::before {
#catlinks a:hover::before {
   left: 100%;
   left: 100%;
}
#catlinks a:hover::after {
  transform: translateY(-50%) scale(1) rotate(360deg);
}
}


/* ========================
/* ========================
   Responsive Design
   Responsive Animations
========================= */
========================= */
@media (max-width: 768px) {
@media (max-width: 768px) {
   #content {
   #content {
     margin: 20px 15px;
     margin: 25px 15px;
     padding: 30px 25px;
     padding: 35px 30px;
   }
   }
    
    
   .mw-body-header {
   .mw-body-header {
     padding: 20px 25px;
     padding: 24px 25px;
     font-size: 18px;
     font-size: 20px;
   }
   }
    
    
   #catlinks {
   #catlinks {
     margin: 25px 15px;
     margin: 30px 15px;
     padding: 20px 25px;
     padding: 25px 30px;
   }
   }
    
    
   #content h1 {
   #content h1 {
     font-size: 1.5rem;
     font-size: 1.8rem;
   }
   }
}
}


/* ========================
/* ========================
   Accessibility & Print
   Advanced Effects
========================= */
========================= */
@media (prefers-reduced-motion: reduce) {
@media (prefers-reduced-motion: reduce) {
   *, *::before, *::after {
   * {
     animation-duration: 0.01ms !important;
     animation-duration: 0.01ms !important;
     animation-iteration-count: 1 !important;
     animation-iteration-count: 1 !important;
سطر ٣٨٥: سطر ٦٠٤:
   body {
   body {
     background: white;
     background: white;
    animation: none;
   }
   }
    
    
سطر ٣٩٥: سطر ٦١٥:
     border: 1px solid #ccc;
     border: 1px solid #ccc;
     padding: 20px 0;
     padding: 20px 0;
    animation: none;
   }
   }
}
}


/* Focus states for accessibility */
/* Enhanced Focus States */
a:focus, .vector-dropdown:focus {
a:focus, .vector-dropdown:focus {
   outline: 3px solid var(--accent-gold);
   outline: 3px solid var(--accent-gold);
   outline-offset: 2px;
   outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.2);
}
}


سطر ٤١٢: سطر ٦٣٤:
}
}


/* Enhanced scrollbar */
/* Glowing Scrollbar */
::-webkit-scrollbar {
::-webkit-scrollbar {
   width: 10px;
   width: 12px;
}
}


::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
   background: var(--border-elegant);
   background: var(--border-elegant);
   border-radius: 5px;
   border-radius: 6px;
}
}


::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, var(--tertiary-color), var(--primary-color));
   background: linear-gradient(180deg, var(--accent-gold), var(--accent-green));
   border-radius: 5px;
   border-radius: 6px;
   border: 1px solid var(--border-elegant);
   border: 1px solid var(--border-elegant);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}
}


::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
   background: linear-gradient(180deg, var(--accent-bright), var(--primary-color));
}
   box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
 
/* ========================
  Islamic Geometric Patterns (Subtle)
========================= */
body::before {
  content: '';
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(201, 169, 97, 0.02) 0%, transparent 25%),
    radial-gradient(circle at 75% 75%, rgba(93, 143, 71, 0.02) 0%, transparent 25%);
  pointer-events: none;
  z-index: -1;
}
}

مراجعة ١٠:٣٨، ٢٠ يوليو ٢٠٢٥

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1a472a;
  --secondary-color: #2d5a3d;
  --tertiary-color: #4a7c59;
  --accent-gold: #c9a961;
  --accent-green: #5d8f47;
  --accent-bright: #7fb069;
  --background-white: #fefefe;
  --background-cream: #faf9f7;
  --text-dark: #2c2c2c;
  --text-muted: #666666;
  --border-elegant: #e8e5e0;
  --border-gold: #d4b76a;
  --shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1);
  --shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15);
  --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.3);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --serif-font: 'Amiri', 'Times New Roman', serif;
  --sans-font: 'Cairo', 'Segoe UI', sans-serif;
}

/* ========================
   Animated Background
========================= */
body {
  background: linear-gradient(-45deg, #f8f7f4, #f2f0eb, #f5f3f0, #f0ede8);
  background-size: 400% 400%;
  animation: gradientFlow 8s ease infinite;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: var(--serif-font);
  position: relative;
  overflow-x: hidden;
}

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

/* Floating particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(93, 143, 71, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 60% 40%, rgba(127, 176, 105, 0.06) 0%, transparent 20%);
  animation: floatParticles 12s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes floatParticles {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(90deg); }
  50% { transform: translateY(5px) rotate(180deg); }
  75% { transform: translateY(-5px) rotate(270deg); }
}

/* ========================
   Dynamic Header - More Exciting
========================= */
.mw-body-header {
  background: linear-gradient(135deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 25%,
    var(--tertiary-color) 50%,
    var(--accent-green) 75%,
    var(--accent-bright) 100%);
  background-size: 300% 300%;
  animation: headerGradient 6s ease infinite;
  border-bottom: 4px solid var(--accent-gold);
  padding: 28px 40px;
  text-align: center;
  font-family: var(--sans-font);
  font-size: 22px;
  color: var(--background-white);
  font-weight: 700;
  letter-spacing: 1.2px;
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.mw-body-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 71, 42, 0.2), var(--shadow-glow);
}

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

.mw-body-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mw-body-header::after {
  content: '✦';
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent-gold);
  animation: starTwinkle 2s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  100% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

/* ========================
   Enhanced Dropdown Menu
========================= */
.vector-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vector-dropdown:hover {
  transform: scale(1.05);
}

.vector-dropdown-content {
  display: none;
  position: absolute;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(15px);
  min-width: 240px;
  border: 2px solid var(--border-gold);
  border-radius: 12px;
  box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.2);
  z-index: 1000;
  overflow: hidden;
}

.vector-dropdown:hover .vector-dropdown-content {
  display: block;
  animation: dropdownBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes dropdownBounce {
  0% { 
    opacity: 0; 
    transform: translateY(-20px) scale(0.8) rotateX(-90deg); 
  }
  60% {
    transform: translateY(5px) scale(1.05) rotateX(0deg);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1) rotateX(0deg); 
  }
}

.vector-dropdown-content a {
  display: block;
  padding: 16px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--sans-font);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-elegant);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.vector-dropdown-content a::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
  transition: var(--transition-smooth);
}

.vector-dropdown-content a::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--accent-gold);
  font-weight: bold;
}

.vector-dropdown-content a:hover {
  background: linear-gradient(135deg, var(--background-cream) 0%, #f5f3ef 100%);
  color: var(--primary-color);
  padding-left: 30px;
  font-weight: 600;
  transform: translateX(5px);
}

.vector-dropdown-content a:hover::before {
  left: 100%;
}

.vector-dropdown-content a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ========================
   Interactive Content Area
========================= */
#content {
  background: linear-gradient(135deg, var(--background-white) 0%, rgba(250, 249, 247, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-elegant);
  padding: 60px 70px;
  border-radius: 20px;
  font-family: var(--serif-font);
  font-size: 17px;
  color: var(--text-dark);
  box-shadow: var(--shadow-elevated), 0 0 40px rgba(26, 71, 42, 0.1);
  direction: rtl;
  margin: 40px auto;
  position: relative;
  max-width: 1200px;
  transition: var(--transition-smooth);
  overflow: hidden;
}

#content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(26, 71, 42, 0.15), 0 0 60px rgba(201, 169, 97, 0.2);
}

#content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--accent-gold) 0%, 
    var(--accent-green) 30%,
    var(--accent-bright) 60%,
    var(--primary-color) 100%);
  border-radius: 0 8px 8px 0;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.8; width: 8px; }
  50% { opacity: 1; width: 12px; }
}

#content::after {
  content: '☪';
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 28px;
  color: var(--accent-gold);
  opacity: 0.3;
  animation: crescentFloat 4s ease-in-out infinite;
}

@keyframes crescentFloat {
  0%, 100% { transform: rotate(0deg) translateY(0px); opacity: 0.3; }
  25% { transform: rotate(5deg) translateY(-5px); opacity: 0.5; }
  50% { transform: rotate(0deg) translateY(-8px); opacity: 0.4; }
  75% { transform: rotate(-5deg) translateY(-3px); opacity: 0.6; }
}

#content h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 10px rgba(26, 71, 42, 0.3); }
  100% { text-shadow: 0 0 20px rgba(201, 169, 97, 0.5), 0 0 30px rgba(26, 71, 42, 0.2); }
}

#content h1::before {
  content: '✦';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite;
}

#content h1::after {
  content: '✦';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite reverse;
}

@keyframes starRotate {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

#content h2 {
  color: var(--accent-green);
  font-weight: 700;
  border-bottom: 3px solid var(--border-gold);
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  transition: var(--transition-smooth);
}

#content h2:hover {
  color: var(--primary-color);
  transform: translateX(-10px);
}

#content h2::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
  transition: var(--transition-smooth);
}

#content h2:hover::before {
  width: 100%;
}

#content h1, #content h3, #content h4, #content h5, #content h6 {
  font-weight: 700;
  font-size: 1.4rem !important;
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

#content h3:hover, #content h4:hover, #content h5:hover, #content h6:hover {
  color: var(--accent-green);
  transform: translateX(-5px);
}

#content p {
  margin-bottom: 1.5em;
  text-align: justify;
  line-height: 1.9;
  transition: var(--transition-smooth);
}

#content p:hover {
  color: var(--text-dark);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#content a {
  color: var(--tertiary-color);
  text-decoration: underline;
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 4px;
  transition: var(--transition-smooth);
  font-weight: 600;
  position: relative;
}

#content a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
  transition: var(--transition-smooth);
}

#content a:hover {
  color: var(--primary-color);
  text-decoration-color: transparent;
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.2);
}

#content a:hover::before {
  width: 100%;
}

/* ========================
   Dynamic Categories Section
========================= */
#catlinks {
  background: linear-gradient(135deg, 
    var(--background-cream) 0%, 
    rgba(244, 242, 238, 0.9) 50%,
    var(--background-white) 100%);
  backdrop-filter: blur(10px);
  border: 3px solid var(--border-gold);
  padding: 30px 35px;
  border-radius: 20px;
  margin-top: 50px;
  font-family: var(--sans-font);
  font-size: 15px;
  box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.15);
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

#catlinks:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(26, 71, 42, 0.2), 0 0 50px rgba(201, 169, 97, 0.25);
}

#catlinks::before {
  content: 'التصنيفات';
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1);
  animation: categoryTitle 2s ease-in-out infinite alternate;
}

@keyframes categoryTitle {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

#catlinks::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201, 169, 97, 0.05), transparent);
  animation: rotateBg 10s linear infinite;
  pointer-events: none;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#catlinks a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  margin: 8px 10px 8px 0;
  background: linear-gradient(135deg, 
    var(--background-white) 0%, 
    rgba(252, 251, 249, 0.9) 100%);
  border: 2px solid var(--border-elegant);
  border-radius: 30px;
  display: inline-block;
  transition: var(--transition-smooth);
  font-size: 14px;
  position: relative;
  overflow: hidden;
  font-family: var(--sans-font);
  backdrop-filter: blur(5px);
}

#catlinks a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(201, 169, 97, 0.3), 
    transparent);
  transition: var(--transition-smooth);
}

#catlinks a::after {
  content: '✧';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition: var(--transition-smooth);
  color: var(--accent-gold);
}

#catlinks a:hover {
  background: linear-gradient(135deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 50%,
    var(--accent-green) 100%);
  color: var(--background-white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(26, 71, 42, 0.3), 0 0 30px rgba(201, 169, 97, 0.4);
  border-color: var(--accent-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#catlinks a:hover::before {
  left: 100%;
}

#catlinks a:hover::after {
  transform: translateY(-50%) scale(1) rotate(360deg);
}

/* ========================
   Responsive Animations
========================= */
@media (max-width: 768px) {
  #content {
    margin: 25px 15px;
    padding: 35px 30px;
  }
  
  .mw-body-header {
    padding: 24px 25px;
    font-size: 20px;
  }
  
  #catlinks {
    margin: 30px 15px;
    padding: 25px 30px;
  }
  
  #content h1 {
    font-size: 1.8rem;
  }
}

/* ========================
   Advanced Effects
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
    animation: none;
  }
  
  .mw-body-header, #catlinks {
    display: none;
  }
  
  #content {
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 20px 0;
    animation: none;
  }
}

/* Enhanced Focus States */
a:focus, .vector-dropdown:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.2);
}

/* ========================
   Utility Classes
========================= */
.printfooter, 
.vector-menu h3 {
  display: none;
}

/* Glowing Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--border-elegant);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-green));
  border-radius: 6px;
  border: 1px solid var(--border-elegant);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-bright), var(--primary-color));
  box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
}