/* إعداد الخط */
body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffafa;
  color: #333;
  max-width: 100%;
  overflow-x: hidden; /* يمنع السكرول الأفقي */
}

/* التوب بار */
.top-bar {
  position: fixed;
  top: 0;
  background-color: #ffe1ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px; /* ده البدل margin */
  height: 50px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 20px;
  margin: 0 20px; /* مسافة من الجانبين */
  left: 0;
  right: 0;
}


.social-icons a {
  color: #d63384;
  font-size: 20px;
  margin-left: 30px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ee5ea9;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #d63384;
  font-weight: bold;
}



.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #d63384;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* المسافة بين مورا وMORA */
  margin: 10px 0;
}

.logo .ar {
  font-weight: bold;
  letter-spacing: 5px;
 
}

.logo .en {
  font-weight: bold;
  letter-spacing: 3px;
 }





/* الهيرو */
.hero {
  margin-top: 60px;
  height: 600px;
  background: url('./images/flower-girl-9574211_1280.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255, 225, 236, 0.6);
}

.hero-text {
  position: relative;
  color: #880e4f;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3em;
  margin: 0;
}

.hero-text p {
  font-size: 1.5em;
}

/* الأقسام */
.categories {
  padding: 60px 20px;
  text-align: center;
}

.categories h2 {
  font-size: 2em;
  color: #d63384;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px ;
  max-width: 1000px;
  margin: 0 auto;
}



.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  
  transition: transform 0.3s ease;
}
.cards a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cards a h3 {
  text-decoration: none;
}


.card:hover {
  transform: translateY(10px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 10px;
  color: #880e4f;
  font-size: 1.3em;
  text-decoration: none;
}

.card button {
  background-color: #d63384;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-bottom: 15px;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card button:hover {
  background-color: #ad1457;
}

/* الفوتر */
.footer {
  background-color: #ffe1ec;
  padding: 30px 20px 10px;
  color: #880e4f;
  text-align: center;
  margin-top: 60px;
  border-top: 2px solid #f8bbd0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links a {
  color: #d63384;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ad1457;
}

.footer-social a {
  color: #d63384;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ad1457;
}

.footer-bottom {
  margin-top: 15px;
  font-size: 0.9em;
  color: #880e4f;
}


.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none; /* نبدأ بإخفائه */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  text-align: center;
  text-decoration: none;
}


.about {
  background-color: #fff0f6;
  padding: 50px 20px;
  text-align: center;
  color: #880e4f;
}

.about h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}






/* ميديا كويري للشاشات الصغيرة */
@media (max-width: 768px) {

   .floating-whatsapp {
    display: flex;
  }
  .top-bar {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    margin: 0 10px;
    border-radius: 15px;
    background-color: #ffe1ec;
    box-shadow: none;
    overflow-x: hidden;
    
  }

  .logo {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 8px;
  }

  .top-bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.9em;
    padding: 2px 4px;
  }

  .social-icons {
    display: flex;
    gap: 10px;
  }

  .social-icons a {
    font-size: 1.2em;
  }

  .hero {
    margin-top: 55px;
  }


  .hero-text h1 {
    font-size: 1.5em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .cards {
    grid-template-columns: 1fr; /* عمود واحد */
    gap: 20px;
  }

  .card img {
    height: 180px;
 
    width: 100%;
    height: auto;       /* ارتفاع تلقائي */
    object-fit: contain; /* تمنع القص */
  }
}


@media (min-width: 1400px) {
  body {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 3.5em;
  }

  .hero-text p {
    font-size: 2em;
  }

  .categories h2 {
    font-size: 2.5em;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr); /* يفضلوا 3 كروت بالصف */
    gap: 50px; /* تزودي المسافة بين الكروت */
    max-width: 1400px; /* توسعة عرض الشبكة */
  }

  .card {
    font-size: 1.2em;
  }

  .card img {
    height: 250px;
  }

  .card button {
    font-size: 1.1em;
    padding: 12px 25px;
  }

  .footer {
    font-size: 1.1em;
  }
}

@media (min-width: 2000px) {
  body {
    font-size: 24px;
  }

  .hero-text h1 {
    font-size: 4.5em;
  }

  .hero-text p {
    font-size: 2.5em;
  }

  .categories h2 {
    font-size: 3em;
  }

  .cards {
    gap: 60px;
    max-width: 1800px;
  }

  .card img {
    height: 300px;
  }

  .card h3 {
    font-size: 1.8em;
  }

  .card button {
    font-size: 1.3em;
    padding: 14px 30px;
  }

  .footer {
    font-size: 1.3em;
  }
}





