@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

body {
  color: white;
  direction: rtl;
  transition: background 0.4s, color 0.4s;
}

html {
  scroll-behavior: smooth;
}

::selection{
  background-color: #8b0e2d;
  color: black;
}

::selection{
  color: white;
}

/* navbar */
.navbar {
  background-color: rgba(110, 3, 30, 0.9);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 40px;
  box-shadow: 0 0 25px rgba(255, 0, 76, 0.4);
  transition: 0.4s ease;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar:hover {
  box-shadow: 0 0 40px rgba(255, 0, 76, 0.6);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff004c;
}

.reservation-btn {
  background: linear-gradient(90deg, #a0153d, #ff004c);
  color: white;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255,0,76,0.5);
}

.reservation-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,0,76,0.9);
}

/* زر الهمبرغر */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: relative;
  margin-right: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* حالة التفعيل */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* منيو الموبايل */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    flex-direction: column;
    background-color: rgba(110, 3, 30, 0.95);
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 0 20px rgba(255,0,76,0.4);
    display: none;
  }

  .nav-links.show {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hamburger {
    display: flex;
  }
}

/* قسم البطل */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6rem;
  flex-wrap: wrap;
  background-color: inherit;
  position: relative;
  height: 100vh;
  overflow: hidden;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #6e031e; /* لون أساسي */
}

.hero {
  position: relative; /* مهم عشان ::before يكون بالنسبة للـ hero */
  height: 100vh;
  overflow: hidden;
  background: #6e031e; /* لون أساسي */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 20px,
    rgba(0,0,0,0) 20px,
    rgba(0,0,0,0) 40px
  );
  animation: waveMove 5s linear infinite;
  z-index: 0; /* يخليها تحت كل المحتوى */
}

/* تأكد إن النص والأزرار فوق */
.hero > * {
  position: relative;
  z-index: 1;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}


.hero-text {
  max-width: 500px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero .btn {
  background-color: #8b0e2d;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
  cursor: pointer;
}

.hero .btn:hover {
  background-color: #a0153d;
}

.hero-img img {
  width: 400px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-img img {
    width: 80%;   /* تقل 80% من عرض الشاشة على الموبايل */
  }
}

@media (max-width: 480px) {
  .hero-img img {
    width: 100%;  /* على الشاشات الصغيرة جداً تاخد كل العرض */
  }
}

/* قسم من نحن */
.about {
  background: linear-gradient(135deg, black, #8b0e2d); /* تدرج لوني */
  text-align: center;
  padding: 6rem 2rem;
}

.about p {
  max-width: 700px;
  margin: 1.5rem auto; /* مسافة أكبر بين الفقرات */
  color: #f0f0f0;
  line-height: 1.9; /* تحسين سهولة القراءة */
}

.about h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: '';
  display: block;
  width: 50%;
  margin: 0.5rem auto 0;
  border-bottom: 3px solid #fff; /* خط تحت العنوان */
  border-radius: 2px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 0.7rem 1.5rem;
  background-color: #6a0d2a;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: 0.3s;
}

.read-more-btn:hover {
  background-color: #8b0e2d;
  box-shadow: 0 0 15px rgba(139, 14, 45, 0.6);
}

/* متجاوب */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img img {
    width: 100%;
    margin-top: 2rem;
  }

  .contact {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero-logo {
  position: relative;
  width: 400px; /* الحجم الجديد الأكبر */
  margin-bottom: 25px;
  animation: fadeInDown 1s ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.first {
  display: none;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  direction: rtl; /* لأن النص بالعربية */
}

.about-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%; /* حواف دائرية */
  border: 5px solid #800000; /* فريم عنابي */
  box-shadow: 0 0 15px rgba(128, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.1);
}

.about-text {
  flex: 1;
}

.about p {
  line-height: 1.8;
  color: #f5f5f5;
}

/* في الشاشات الصغيرة: نخلي الصورة فوق النص */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }
}

.contact {
  background-image: url("assets/contact-bg.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* ياخد طول الشاشة بالكامل */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.contact h1 {
  background: linear-gradient(135deg, #8b0e2d, white);
  -webkit-background-clip: text;     /* يخلي التدرج جوه النص */
  -webkit-text-fill-color: transparent; /* يخفي اللون العادي */
  padding-bottom: 350px;
  padding-left: 500px;
}

.hotline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(90deg, #8b0e2d, #d81b60, #8b0e2d);
  background-size: 200%;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  animation: moveGradient 3s linear infinite;
  box-shadow: 0 0 20px rgba(139, 14, 45, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  left: 800px;
  cursor: pointer;
  text-decoration: none;
}

.hotline:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(216, 27, 96, 0.8);
}

@keyframes moveGradient {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.icon {
  font-size: 26px;
}

.number {
  cursor: pointer;
}

.social-section {
  text-align: center;
  padding: 80px 0;
}

.social-frame {
  margin-left: auto;   /* يدفع العنصر لليمين */
  margin-right: -1800px;  /* مسافة من الحافة اليمنى */
  display: flex;
  margin-top: 300px;
  display: inline-flex;
  gap: 25px;
  padding: 25px 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, #8b0e2d, #d81b60, #8b0e2d);
  position: relative;
  box-shadow: 0 0 30px rgba(139, 14, 45, 0.5);
}

.social-frame a{
  text-decoration: none;
}

.social-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 25px;
  background: #1d1b1b;
}

.social {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 0 20px rgba(216, 27, 96, 0.8);
}

.delivery-apps {
  background: linear-gradient(120deg, #8b0e2d, #1d1b1b, #d81b60);
  background-size: 300% 300%;
  animation: gradientShift 8s ease-in-out infinite;
  color: white;
  text-align: center;
  padding: 100px 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.delivery-apps h2 {
  font-size: 26px;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #8b0e2d, #d81b60, #8b0e2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s linear infinite;
}

.apps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap; /* صف أفقي واحد */
  overflow-x: auto; /* عشان لو الشاشة صغيرة */
  padding: 10px;
  scrollbar-width: none; /* يخفي الشريط */
}

.apps-container::-webkit-scrollbar {
  display: none;
}

.app-card {
  min-width: 130px;
  height: 130px;
  border-radius: 25px;
  background: linear-gradient(135deg, #8b0e2d, #d81b60);
  padding: 15px;
  box-shadow: 0 0 25px rgba(139, 14, 45, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
}

.app-card:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 40px rgba(216, 27, 96, 0.8);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.app-card:hover img {
  transform: scale(1.08);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.app-download {
  background: radial-gradient(circle at center, #6a0d2a, #0c0c0c);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-download::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 200%;
  background: conic-gradient(from 0deg, #8b0e2d, #d81b60, #8b0e2d, #8b0e2d);
  animation: spin 10s linear infinite;
  opacity: 0.08;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.app-content {
  position: relative;
  z-index: 2;
  color: white;
}

.app-logo {
  width: 120px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px #8b0e2d);
}

.app-download h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 35px;
  color: #fff;
}

.app-download h2 span {
  color: #d81b60;
  text-shadow: 0 0 10px rgba(216, 27, 96, 0.8);
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn img {
  width: 180px;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(216, 27, 96, 0.3);
}

.store-btn img:hover {
  transform: scale(1.08);
  filter: brightness(1.2) drop-shadow(0 0 10px #d81b60);
}

.branches {
  background: radial-gradient(circle at center, #6a0d2a, #0d0d0d);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.branches::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 200%;
  background: conic-gradient(from 0deg, #8b0e2d, #d81b60, #8b0e2d);
  opacity: 0.08;
  animation: spinBg 12s linear infinite;
}

@keyframes spinBg {
  to { transform: rotate(360deg); }
}

.branches h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 60px;
  text-shadow: 0 0 10px #d81b60;
  letter-spacing: 2px;
}

.branches-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.branch-card {
  position: relative;
  width: 580px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 25px rgba(216, 27, 96, 0.4);
  background: #111;
}

.branch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.branch-card:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.branch-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  padding: 15px 0;
  text-align: center;
}

.branch-info h3 {
  margin: 0;
  font-size: 20px;
  color: #d81b60;
}

.branch-info p {
  margin: 5px 0 0;
  font-size: 15px;
  color: #ddd;
}

.branch-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 40px rgba(216, 27, 96, 0.8);
}

.menu-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 10%;
  background: linear-gradient(135deg, #8b0e2d, #b01f44, #8b0e2d);
  background-size: 200% 200%;
  animation: gradientMove 6s infinite alternate ease-in-out;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* حركة subtle للخلفية */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* الضوء المتحرك */
.menu-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  animation: lightMove 8s infinite linear;
  z-index: 0; /* 👈 يخليها تحت كل حاجة */
}

@keyframes lightMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* النص والصورة فوق طبقة الضوء */
.menu-text, .menu-image {
  position: relative;
  z-index: 2;
}

/* حركة subtle للخلفية */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.menu-text {
  max-width: 45%;
  z-index: 2;
}

.menu-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.menu-text p {
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

.view-menu-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background: #fff;
  color: #8b0e2d;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s;
}

.view-menu-btn:hover {
  background: #1d1b1b;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.menu-image img {
  width: 420px;
  border-radius: 25px;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-image img:hover {
  transform: rotate(2deg) scale(1.05);
  box-shadow: 0 0 50px rgba(255,255,255,0.3);
}

.footer-bottom {
  background-color: #6a0d2a;
  border-top: 1px solid rgba(255, 42, 117, 0.3);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 0 5px rgba(255,42,117,0.5);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
