/* Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; scroll-behavior: smooth; overflow-x: hidden; } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } :root { --accent-color: #ff1a1a; --accent-bg: rgba(255,26,26,0.15); --bg-dark: #120000; --bg-darker: #300000; --text-color: #eee; --font-tech: 'Orbitron', sans-serif; } /* Light mode theme overrides */ [data-theme="light"] { --accent-color: #b30000; --accent-bg: rgba(179,0,0,0.15); --bg-dark: #f5f5f5; --bg-darker: #e0e0e0; --text-color: #111; } body { font-family: 'Cairo', sans-serif; background: var(--bg-dark); background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); color: var(--text-color); line-height: 1.6; } .snap-container { height: auto; overflow-y: visible; } .container { max-width: 1000px; margin: 0 auto; padding: 2rem; } /* Progress bar */ #progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(0,0,0,0.3); z-index: 9999; } #progress-bar { height: 100%; background: var(--accent-color); width: 0%; } /* Header البطولي */ .hero { background: linear-gradient(-45deg, #b30000, #800000, #e00000, #600000); background-size: 400% 400%; animation: gradient 10s ease infinite; color: var(--accent-color); padding: 4rem 0; text-align: center; position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; } .hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); } .hero .container { position: relative; z-index: 1; } .hero h1 { font-size: 4rem; font-family: var(--font-tech); margin-bottom: 0.5rem; text-shadow: 0 0 10px rgba(255,0,0,0.7); } .tagline { font-size: 1.5rem; margin-bottom: 2rem; } .cta-container { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 2rem; } /* Glitch effect */ .glitch { position: relative; color: #fff; } .glitch.active::before, .glitch.active::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .glitch.active::before { left: 2px; text-shadow: -2px 0 #ff0000; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; } .glitch.active::after { left: -2px; text-shadow: -2px 0 #00fff9; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim2 2.5s infinite linear alternate-reverse; } @keyframes glitch-anim { 0% { clip: rect(24px, 550px, 90px, 0); } 20% { clip: rect(125px, 550px, 140px, 0); } 40% { clip: rect(24px, 550px, 90px, 0); } 60% { clip: rect(125px, 550px, 140px, 0); } 80% { clip: rect(24px, 550px, 90px, 0); } 100% { clip: rect(125px, 550px, 140px, 0); } } @keyframes glitch-anim2 { 0% { clip: rect(85px, 550px, 140px, 0); } 20% { clip: rect(24px, 550px, 90px, 0); } 40% { clip: rect(85px, 550px, 140px, 0); } 60% { clip: rect(24px, 550px, 90px, 0); } 80% { clip: rect(85px, 550px, 140px, 0); } 100% { clip: rect(24px, 550px, 90px, 0); } } /* Navigation */ nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; } nav a { display: inline-block; background: var(--accent-bg); color: #fff; margin: 0 0.5rem; padding: 0.6rem 1.2rem; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); text-decoration: none; font-weight: 500; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; } nav a:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); } nav a.active { background: var(--accent-color); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.4); } nav a i { margin-right: 5px; } /* Theme toggle button */ .theme-btn { background: transparent; border: 2px solid var(--accent-color); color: var(--accent-color); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; } .theme-btn:hover { background: var(--accent-color); color: #fff; } /* Sections */ section { padding: 6rem 0; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; } section:nth-of-type(odd) { background: var(--bg-dark); } section:nth-of-type(even) { background: var(--bg-darker); } section.visible { opacity: 1; transform: translateY(0); } .section-header { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; position: relative; } .section-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: var(--accent-color); } .section-icon { font-size: 2rem; color: var(--accent-color); margin-right: 1rem; animation: pulse-icon 2s ease-in-out infinite; } @keyframes pulse-icon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } section h2 { font-size: 2.5rem; color: var(--accent-color); font-family: var(--font-tech); text-transform: uppercase; } /* About section */ .about-content, .skills-content, .projects-content, .certifications-content, .languages-content, .experience-content, .contact-content { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; } .about-image, .skills-image, .projects-image, .certifications-image, .languages-image, .experience-image, .contact-image { flex: 1; min-width: 250px; display: flex; justify-content: center; } .about-text, .skills-list, .projects-list, .certifications-list, .languages-list, .experience-list, .contact-info { flex: 2; min-width: 300px; } .hacker-avatar, .skills-icon, .projects-icon, .certifications-icon, .languages-icon, .experience-icon, .contact-icon { width: 200px; height: 200px; background: linear-gradient(135deg, #333, #000); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--accent-color); box-shadow: 0 0 30px var(--accent-color); position: relative; overflow: hidden; } .hacker-avatar::before, .skills-icon::before, .projects-icon::before, .certifications-icon::before, .languages-icon::before, .experience-icon::before, .contact-icon::before { content: ''; position: absolute; width: 150%; height: 150%; background: linear-gradient(90deg, transparent, rgba(255,0,0,0.2), transparent); transform: rotate(45deg); animation: scanline 3s linear infinite; } @keyframes scanline { 0% { top: -50%; left: -50%; } 100% { top: 150%; left: 150%; } } .hacker-avatar i, .skills-icon i, .projects-icon i, .certifications-icon i, .languages-icon i, .experience-icon i, .contact-icon i { font-size: 5rem; color: var(--accent-color); } .highlight { font-size: 1.2rem; line-height: 1.8; margin-bottom: 1rem; } .accent { color: var(--accent-color); font-weight: bold; font-family: var(--font-tech); } .stats-container { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; } .stat { flex: 1; min-width: 120px; background: rgba(0,0,0,0.2); padding: 1rem; border-radius: 8px; text-align: center; border-left: 3px solid var(--accent-color); } .stat-number { display: block; font-size: 2rem; font-weight: bold; color: var(--accent-color); font-family: var(--font-tech); } .stat-label { font-size: 0.9rem; } /* Skills, Projects, Certifications, Languages */ #skills ul, #projects ul, #certifications ul, #languages ul { list-style: none; max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } #skills li, #projects li, #certifications li, #languages li { position: relative; background: rgba(0,0,0,0.2); padding: 1rem 1rem 1rem 2rem; border-left: 4px solid var(--accent-color); border-radius: 4px; transition: transform 0.3s, box-shadow 0.3s; } #skills li:before, #projects li:before, #certifications li:before, #languages li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0.5rem; color: var(--accent-color); } #skills li:hover, #projects li:hover, #certifications li:hover, #languages li:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); background: rgba(179,0,0,0.1); } /* Experience timeline */ .timeline { position: relative; padding-left: 20px; max-width: 800px; margin: 0 auto; list-style: none; } .timeline:before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--accent-color); } .timeline li { position: relative; padding-left: 20px; background: rgba(0,0,0,0.2); margin: 1rem 0; padding: 1.5rem; border-left: 4px solid var(--accent-color); border-radius: 4px; transition: transform 0.3s, box-shadow 0.3s; } .timeline li:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); background: rgba(179,0,0,0.1); } .timeline li:before { content: ''; position: absolute; left: -12px; top: 50%; width: 20px; height: 20px; background: var(--accent-color); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 10px var(--accent-color); } .timeline li strong { color: var(--accent-color); font-family: var(--font-tech); } /* Testimonials */ .testimonials { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; } .testimonial { background: rgba(0,0,0,0.2); padding: 2rem; border-radius: 8px; max-width: 350px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; border-top: 3px solid var(--accent-color); transform: perspective(1000px) rotateY(0deg); transition: transform 0.5s, box-shadow 0.5s; } .testimonial:hover { transform: perspective(1000px) rotateY(5deg) translateY(-10px); box-shadow: -10px 10px 20px rgba(0,0,0,0.3); } .testimonials .testimonial:nth-child(1) { animation-delay: 0.3s; } .testimonials .testimonial:nth-child(2) { animation-delay: 0.6s; } .testimonials .testimonial:nth-child(3) { animation-delay: 0.9s; } @keyframes fadeInUp { to { opacity:1; transform: translateY(0); } } .testimonial p { font-style: italic; margin-bottom: 1rem; position: relative; } .testimonial p::before { content: '\201C'; font-size: 3rem; position: absolute; left: -1rem; top: -1rem; color: var(--accent-color); opacity: 0.3; } .testimonial span { font-weight: bold; display: block; text-align: right; color: var(--accent-color); } /* Contact section */ .contact-info p { margin-bottom: 1.5rem; display: flex; align-items: center; transition: transform 0.3s; } .contact-info p:hover { transform: translateX(10px); } .contact-info p i { width: 30px; color: var(--accent-color); margin-right: 1rem; font-size: 1.2rem; } .contact-info a { color: var(--accent-color); text-decoration: none; transition: color 0.3s; margin-left: 0.5rem; position: relative; } .contact-info a::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: -2px; left: 0; background-color: var(--accent-color); transform: scaleX(0); transform-origin: bottom right; transition: transform 0.3s; } .contact-info a:hover::after { transform: scaleX(1); transform-origin: bottom left; } /* Button CTA Styles */ .btn { display: inline-block; background: var(--accent-color); color: #fff; padding: 0.75rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 500; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.3); } .btn:hover { background: #ff4d4d; transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 25px rgba(0,0,0,0.5); } .btn i { margin-right: 5px; } /* Typewriter cursor animation */ .tagline.typing::after { content: '|'; margin-left: 0.2rem; animation: blink 0.7s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } /* Scroll-to-top button */ .scroll-to-top { position: fixed; bottom: 2rem; right: 2rem; background: var(--accent-color); color: #fff; border: none; padding: 0.75rem 1rem; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: none; z-index: 1000; transition: background 0.3s, transform 0.3s; } .scroll-to-top:hover { background: #ff4d4d; transform: scale(1.1); } /* Floating shapes animation */ .shape { position: absolute; border-radius: 50%; opacity: 0.6; filter: blur(10px); mix-blend-mode: screen; pointer-events: none; box-shadow: 0 0 50px var(--accent-color), 0 0 100px var(--accent-color); animation: float 12s ease-in-out infinite, pulse 6s ease-in-out infinite; } .shape1 { width:200px; height:200px; background: radial-gradient(circle at center, var(--accent-color) 0%, rgba(255,26,26,0.6) 60%, transparent 100%); top:10%; left:5%; } .shape2 { width:300px; height:300px; background: radial-gradient(circle at center, #e60000 0%, rgba(230,0,0,0.5) 60%, transparent 100%); top:50%; right:-50px; animation: float 14s ease-in-out infinite, pulse 6s ease-in-out infinite 3s, hueShift 12s linear infinite 5s; } .shape3 { width:150px; height:150px; background: radial-gradient(circle at center, #ff4d4d 0%, rgba(255,77,77,0.5) 70%, transparent 100%); bottom:20%; left:50%; animation: float2 12s ease-in-out infinite 6s, swirl 20s linear infinite, pulse 5s ease-in-out infinite 6s; } .shape4 { width:180px; height:180px; background: rgba(255,255,255,0.1); top:20%; right:20%; clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); border-radius: 0; animation: float2 10s ease-in-out infinite 1.5s, rotateShape 30s linear infinite; } .shape5 { width:250px; height:150px; background: rgba(255,0,0,0.08); top:60%; left:30%; border:2px solid var(--accent-color); border-radius:50%/30%; mix-blend-mode:overlay; animation: float2 12s ease-in-out infinite 2s, swirl 25s linear infinite 2s, pulse 8s ease-in-out infinite 2s; } @keyframes float { 0% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(30px); } 100% { transform: translateY(0) translateX(0); } } @keyframes float2 { 0% { transform: translateY(0) translateX(-10px) rotate(0deg); } 50% { transform: translateY(-20px) translateX(10px) rotate(45deg); } 100% { transform: translateY(0) translateX(-10px) rotate(0deg); } } @keyframes swirl { 0% { transform: rotate(0deg) translate(0,0); } 100% { transform: rotate(360deg) translate(0,0); } } @keyframes hueShift { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } } /* نبض التوهج وتدوير الأشكال */ @keyframes pulse { 0%,100% { box-shadow: 0 0 50px var(--accent-color), 0 0 100px var(--accent-color); } 50% { box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color); } } @keyframes rotateShape { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Wave animation */ .wave-container { overflow:hidden; line-height:0; } .wave { position:relative; display:block; width:200%; height:100px; animation: wave-animation 8s linear infinite; } @keyframes wave-animation { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* Particles container */ #particles-js { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Footer */ footer { background: var(--bg-darker); color: #aaa; text-align: center; padding: 2rem 0; font-size: 0.9rem; } .social { display: flex; justify-content: center; margin-bottom: 1rem; } .social a { color: var(--accent-color); margin: 0 0.5rem; font-size: 1.5rem; transition: color 0.3s, transform 0.3s; } .social a:hover { color: #ff4d4d; transform: translateY(-3px); } /* Responsive design */ @media (max-width: 768px) { .hero h1 { font-size: 3rem; } nav { flex-direction: column; align-items: center; } nav a { width: 100%; text-align: center; margin: 0.2rem 0; } .about-content, .skills-content, .projects-content, .certifications-content, .languages-content, .experience-content, .contact-content { flex-direction: column; } .testimonials { flex-direction: column; align-items: center; } #skills ul, #projects ul, #certifications ul, #languages ul { grid-template-columns: 1fr; } } /* Skill Bars Styling */ .skill-bars { width: 100%; padding: 25px 30px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .skill-bar { margin: 20px 0; } .skill-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 500; font-size: 17px; } .skill-progress { height: 35px; width: 100%; background: rgba(0, 0, 0, 0.3); border-radius: 5px; overflow: hidden; position: relative; } .skill-progress-bar { height: 100%; width: 0; border-radius: 5px; background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); position: relative; transition: width 1.5s ease-in-out; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); } /* Different colors for different skill bars */ .skill-bar:nth-child(1) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(2) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(3) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(4) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(5) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(6) .skill-progress-bar { background: linear-gradient(to right, #00ff00, #00ffff, #0099ff); } .skill-bar:nth-child(7) .skill-progress-bar { background: linear-gradient(to right, #ffffff, #ffffff, #0099ff); } /* تنسيق قسم لغات البرمجة */ .programming-languages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; background-color: #1a0000; /* خلفية حمراء غامقة جداً */ padding: 30px; border-radius: 10px; margin-top: 20px; } .language-item { display: flex; align-items: center; color: #ff3333; /* لون أحمر دموي */ font-size: 18px; font-weight: 500; padding: 10px 0; border-left: 3px solid #ff0000; padding-left: 15px; position: relative; } .language-item i { margin-right: 10px; color: #ff0000; /* لون أيقونة الصح */ } .section-header h2 i { margin-left: 10px; color: #ff0000; } #languages { background-color: #0a0000; /* خلفية داكنة جداً للقسم بأكمله */ } #languages .section-header h2 { color: #ff3333; /* لون العنوان أحمر دموي */ text-decoration: underline; text-underline-offset: 10px; } /* تنسيق شرائط المهارات لقسم لغات البرمجة */ .skill-bars { width: 100%; padding: 20px; background-color: #0a0000; /* خلفية داكنة كما كانت */ border-radius: 10px; } .skill-bar { margin-bottom: 25px; } .skill-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .skill-info span { color: #fff; font-size: 16px; font-weight: 500; } /* تعديل لون النسبة المئوية ليكون أبيض */ .skill-info .percent { color: #ffffff !important; /* أبيض مع !important لضمان تطبيق اللون */ font-weight: bold; /* جعل الخط سميك للتأكيد */ font-size: 18px; /* زيادة حجم الخط قليلاً */ } .skill-progress { height: 35px; width: 100%; background: rgba(0, 0, 0, 0.3); border-radius: 5px; overflow: hidden; position: relative; } .skill-progress-bar { height: 100%; width: 0; /* سيتم تعديله بواسطة JavaScript */ border-radius: 5px; background: linear-gradient(to right, #4e0000, #4e0000, #4e0000) !important; /* تدرج من الأخضر إلى الأزرق مع !important */ position: relative; transition: width 1.5s ease-in-out; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); } #languages { background-color: #0a0000; /* خلفية داكنة كما كانت */ padding: 50px 0; } #languages .section-header h2 { color: #ff3333; margin-bottom: 30px; } #send-message:hover { background-color: #700000; } .waiting-message { font-style: italic; color: #aaa; } /* لوحة المسؤول */ .admin-panel-button { position: fixed; bottom: 20px; left: 20px; z-index: 1000; } #admin-button { background-color: #700000; color: white; border: none; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); font-size: 20px; } .admin-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; max-width: 600px; height: 70%; background-color: #0a0000; border: 1px solid #4e0000; border-radius: 10px; display: none; flex-direction: column; z-index: 1001; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .admin-panel-header { background-color: #4e0000; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; border-radius: 10px 10px 0 0; } .admin-panel-header h3 { margin: 0; } .admin-panel-content { padding: 20px; overflow-y: auto; flex: 1; } .tickets-list { display: flex; flex-direction: column; gap: 10px; } .ticket-item { background-color: #111; border: 1px solid #333; border-radius: 5px; padding: 15px; cursor: pointer; transition: all 0.3s ease; } .ticket-item:hover { background-color: #222; border-color: #4e0000; } .ticket-header { display: flex; justify-content: space-between; margin-bottom: 10px; } .ticket-id { font-size: 12px; color: #888; } .ticket-time { font-size: 12px; color: #888; } .ticket-preview { color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ticket-details { background-color: #111; border: 1px solid #333; border-radius: 5px; padding: 15px; margin-top: 10px; display: none; } .ticket-messages { max-height: 200px; overflow-y: auto; margin-bottom: 15px; } .ticket-reply { display: flex; gap: 10px; } .ticket-reply input { flex: 1; padding: 8px 12px; border: 1px solid #333; border-radius: 20px; background-color: #222; color: white; } .ticket-reply button { background-color: #4e0000; color: white; border: none; border-radius: 5px; padding: 8px 15px; cursor: pointer; } .ticket-close { background-color: #333; color: white; border: none; border-radius: 5px; padding: 8px 15px; cursor: pointer; margin-top: 10px; } /* زر فتح نافذة تسجيل الدخول - يكون صغير وغير ملحوظ */ .admin-trigger { position: fixed; bottom: 5px; left: 5px; z-index: 999; } #admin-trigger-button { background-color: transparent; color: #333; border: none; width: 30px; height: 30px; opacity: 0.3; font-size: 14px; cursor: pointer; } #admin-trigger-button:hover { opacity: 0.8; }