@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Almarai", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fafafa;
  color: #222;س
  line-height: 1.7;
}

/* ✅ الشريط العلوي */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #ffcc00;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #ffcc00;
}

/* ✅ الرئيسية */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(-45deg, #000, #2a2a2a, #ffcc00, #e6b800);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: slideUp 1.2s ease-out;
}

.hero h1 {
  font-size: 46px;
  color: #ffcc00;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #eee;
}

/* ✅ الأزرار */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 13px 35px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.primary-btn {
  background: linear-gradient(135deg, #ffcc00, #ffda4d);
  color: #000;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #e6b800, #ffd84d);
  transform: scale(1.05);
}

.secondary-btn {
  background: linear-gradient(135deg, #ffcc00, #ffda4d);
  color: #000;
  border: none;
}

.secondary-btn:hover {
  background: linear-gradient(135deg, #e6b800, #ffd84d);
  transform: scale(1.05);
}

/* ✅ من نحن */
section {
  padding: 100px 10%;
  transition: all 0.8s ease;
}

.about {
  background: #fff;
  text-align: center;
}

.about h2 {
  color: #ffcc00;
  font-size: 32px;
  margin-bottom: 15px;
}

.about p {
  color: #444;
  max-width: 700px;
  margin: auto;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stats .card {
  background: #f8f8f8;
  padding: 30px 25px;
  border-radius: 12px;
  width: 180px;
  transition: 0.3s;
}

.stats .card:hover {
  transform: translateY(-8px);
  background: #fffbcc;
}

/* ✅ الخدمات */
.services {
  background: linear-gradient(180deg, #fff, #fff8d1);
  text-align: center;
}

.services h2 {
  color: #ffcc00;
  font-size: 32px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ✅ تواصل معنا */
.contact {
  background: #000;
  color: #fff;
  text-align: center;
}

.contact h2 {
  color: #ffcc00;
  font-size: 32px;
  margin-bottom: 25px;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.contact input,
.contact textarea {
  width: 80%;
  max-width: 500px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
}

.contact textarea {
  height: 120px;
  resize: none;
}

.info {
  color: #ccc;
  font-size: 14px;
}

/* ✅ الفوتر */
footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ✅ الحركات */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
