/* ===== EasyOrders 16:9 HERO ===== */
.eo-hero16x9 {
  width: 100%;
  max-width: 1200px; /* تقدر تشيله لو عاوز Full Width */
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0b0b0b;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

/* 16:9 ratio */
.eo-hero16x9::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 9/16 = 0.5625 */
}

.eo-hero16x9__link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.eo-hero16x9__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
}

/* overlay to place button */
.eo-hero16x9__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  pointer-events: none; /* يخلي الكليك على السكشن كله */
}

/* glassy button */
.eo-hero16x9__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  min-width: 180px;

  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 15px;

  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);

  transition: transform 180ms ease, background 180ms ease;
  animation: eoGlow 2.4s ease-in-out infinite;
}

/* gentle glow on/off */
@keyframes eoGlow {
  0%, 100% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.22),
      0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(255, 255, 255, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.24),
      0 0 18px rgba(255, 255, 255, 0.20),
      0 0 46px rgba(255, 255, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.18);
  }
}

.eo-hero16x9__btn:hover {
  transform: translateY(-1px) scale(1.01);
  background: rgba(255, 255, 255, 0.20);
}

.eo-hero16x9__btn:active {
  transform: translateY(0) scale(0.99);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .eo-hero16x9 {
    border-radius: 14px;
  }
  .eo-hero16x9__overlay {
    padding: 14px;
  }
  .eo-hero16x9__btn {
    min-width: 160px;
    padding: 11px 16px;
    font-size: 14px;
  }
}
