/* ===== Reset + Fonts ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #121212, #1e1e1e);
  color: #e0e0e0;
  min-height: 100vh;
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
}

/* ===== Custom Colors ===== */
:root {
  --primary-color: #ff9800;     
  --primary-hover: #f57c00;
  --border-color: #ffa726;
  --text-light: #e0e0e0;
  --bg-card: #1e1e1e;
  --shadow: rgba(255, 152, 0, 0.2);
}

/* ===== Header ===== */
/* ===== Header ===== */
.header {
  text-align: center;
  padding: 3rem 0; 
  animation: fadeIn 0.8s ease-out;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 240px;            /* ✅ تم التكبير - من 160 إلى 240px */
  height: 240px;           /* ✅ نفس الارتفاع */
  object-fit: cover;       /* يحافظ على الشكل بدون تشويه */
  /* border-radius: 50%; */ /* ❌ تم إزالة الدايرة - ممكن تعيد تفعيلها إن حبيت */
  /* border: 2px solid var(--primary-color); */ /* ❌ تم إزالة الحدود */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* ظل أقوى */
  transition: all 0.4s ease;
  background-color: transparent;
}

.logo:hover {
  transform: scale(1.08);  /* زووم خفيف */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.site-title {
  font-size: 2.4rem;       /* ✅ زيادة حجم العنوان قليلًا */
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ===== Hero Section ===== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1.6rem;
  margin: 2rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #bbbbbb;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ===== Buttons ===== */
.btn {
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  min-width: 180px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  color: white;
  box-shadow: 0 6px 14px var(--shadow);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--primary-hover), #e65100);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background-color: rgba(255, 152, 0, 0.1);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow);
}

.cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 0;
  color: #888;
  font-size: 0.95rem;
  border-top: 1px solid #333;
}

.copyright {
  opacity: 0.7;
}

/* ===== Animations ===== */
.animated {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Delay لكل عنصر */
.hero-title.animated { animation-delay: 0.3s; }
.hero-subtitle.animated { animation-delay: 0.6s; }
.cta.animated { animation-delay: 0.9s; }

/* ===== Responsive ===== */

/* ===== تابلت (768px) ===== */
@media (max-width: 768px) {
  .container {
    padding: 1.6rem;
  }

  .header {
    padding: 2.8rem 0;
  }

  .logo {
    width: 120px;         /* ✅ 120px بدل 80px */
  }

  .site-title {
    font-size: 1.7rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-width: 150px;
  }

  .cta {
    gap: 1.2rem;
  }
}

/* ===== موبايل صغير (480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 1.4rem;
  }

  .header {
    padding: 2.4rem 0;
  }

  .logo {
    width: 100px;         /* ✅ 100px بدل 80px */
  }

  .site-title {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    max-width: 200px;
  }

  .cta {
    flex-direction: column;
    align-items: center;
  }
}