/* ==========================================================
   التصميم الفاخر المخصص - Rose Gold, Velvet Mulberry & Pearl
   ========================================================== */

:root {
  --primary-color: #3D1C2A;
  --secondary-color: #5C2D3E;
  --rose-accent: #C97A87;
  --rose-light: #F7EBEF;
  --rose-gold: linear-gradient(135deg, #E8C39E 0%, #D49A89 50%, #B86B77 100%);
  --bg-light: #FCF8F9;
  --card-bg: #FFFFFF;
  --text-main: #2D1E24;
  --text-muted: #7A626C;
  --border-color: #F0E2E7;
  --whatsapp-color: #25D366;

  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-sm: 0 6px 20px rgba(61, 28, 42, 0.04);
  --shadow-hover: 0 16px 36px rgba(61, 28, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================
   Header / Hero Section مع خلفية ممزوجة وضياء روز غولد
   ========================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #2D141F 0%, #4A2033 50%, #25101A 100%);
  color: #ffffff;
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 3px solid #D49A89;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 122, 135, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  animation: pulseGlow 6s infinite alternate ease-in-out;
}

.profile-tag {
  display: inline-block;
  background: rgba(232, 195, 158, 0.15);
  color: #E8C39E;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 195, 158, 0.3);
  backdrop-filter: blur(5px);
  animation: float 4s infinite ease-in-out;
}

.name-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.en-name {
  font-size: 1.5rem;
  background: var(--rose-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  display: inline-block;
  direction: ltr;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #F0DADE;
  max-width: 800px;
  margin: 0 auto;
}

.en-sub {
  font-size: 0.95rem;
  color: #CBB2B8;
  display: block;
  margin-top: 6px;
  direction: ltr;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================
   Cards Layout & Animations
   ========================================================== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #E2C4CE;
}

.header-icon {
  display: inline-block;
  font-size: 1.4rem;
  margin-left: 6px;
}

.card-header h2 {
  font-size: 1.55rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header h2 span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  direction: ltr;
}

.center-header {
  text-align: center;
}

.center-header h2 {
  justify-content: center;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}
/* ==========================================================
   Bilingual Section
   ========================================================== */
.bilingual-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 15px;
}

.ar-text {
  color: var(--text-main);
  font-size: 1.05rem;
  border-right: 3px solid var(--rose-accent);
  padding-right: 18px;
}

.en-text {
  color: #5C4A52;
  font-size: 0.98rem;
  direction: ltr;
  text-align: left;
  border-left: 3px solid #D49A89;
  padding-left: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================
   Skills Grid
   ========================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 22px;
}

.skill-box {
  background: var(--rose-light);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.skill-box:hover {
  transform: scale(1.02);
}

.skill-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.skill-box h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.skill-box ul {
  list-style: none;
}

.skill-box li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.skill-box li span {
  display: block;
  font-weight: 700;
  color: var(--text-main);
}

.skill-box li small {
  display: block;
  color: var(--text-muted);
  direction: ltr;
  text-align: right;
  font-size: 0.82rem;
}

/* ==========================================================
   Projects Section & Interactive Cards
   ========================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 32px;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(61, 28, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--rose-accent);
  box-shadow: 0 12px 28px rgba(201, 122, 135, 0.2);
}

/* بطاقة Strike Zone المظلمة الأنيقة */
.dark-card {
  background: #23121A;
  color: #ffffff;
  border-color: #4A2837;
}

.dark-card:hover {
  box-shadow: 0 12px 28px rgba(232, 195, 158, 0.25);
  border-color: #D49A89;
}

.project-badge {
  display: inline-block;
  background: var(--rose-light);
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
  border: 1px solid var(--border-color);
}

.gold-badge {
  background: rgba(232, 195, 158, 0.15);
  color: #E8C39E;
  border: 1px solid rgba(232, 195, 158, 0.3);
}

.project-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.dark-card h3 {
  color: #ffffff;
}

.project-card h3 span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

.dark-card h3 span {
  color: #CBB2B8;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dark-card .project-desc {
  color: #E0C2C9;
}

.project-features {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.project-features li {
  margin-bottom: 6px;
}

.project-links {
  display: flex;
  gap: 10px;
}

/* الأزرار وأنماط الضغط */
.btn {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.btn-secondary {
  background: #F7EBEF;
  color: var(--primary-color);
  border: 1px solid #E2C4CE;
}

.btn-secondary:hover {
  background: #E8CFD8;
}

.btn-secondary-dark {
  background: #3B1F2D;
  color: #ffffff;
  border: 1px solid #5C3247;
}
 .btn-secondary-dark:hover {
  background: #4A283A;
}

.btn-primary {
  background: var(--rose-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(201, 122, 135, 0.3);
}

.btn-primary:hover {
  background: #B86B77;
  transform: translateY(-2px);
}

.btn-neon {
  background: var(--rose-gold);
  color: #2D141F;
  box-shadow: 0 4px 12px rgba(232, 195, 158, 0.3);
}

.btn-neon:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* ==========================================================
   Contact & Footer
   ========================================================== */
.contact-action {
  text-align: center;
  margin-top: 25px;
}

.whatsapp-btn-large {
  display: inline-block;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 35px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulseGlow 4s infinite ease-in-out;
}

.whatsapp-btn-large:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.main-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================
   Keyframe Animations (الحركات التفاعلية)
   ========================================================== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}