/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.2) 0%, transparent 60%), #0D0D0D;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover;
  opacity: 0.05;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0.4;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.hero-content { position: relative; z-index: 1; }
.hero .hero-title { color: #F5F5F0; }
.hero .btn-outline {
  color: #F5F5F0;
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-outline:hover { color: var(--red); border-color: var(--red); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.2);
  border: 1px solid rgba(192,57,43,0.4);
  color: #ff6b6b;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .line { display: block; animation: slideInRight 0.8s ease forwards; opacity: 0; }
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.4s; color: var(--red); }
.hero-desc {
  color: #bbb;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeIn 1s 0.6s ease forwards; opacity: 0;
}
.hero-btns {
  display: flex;
  gap: 15px;
  animation: fadeIn 1s 0.8s ease forwards; opacity: 0;
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hero-circle {
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.18) 0%, rgba(192,57,43,0.05) 60%, transparent 100%);
  border: 1.5px solid rgba(192,57,43,0.3);
  animation: pulse 3s ease infinite;
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.hero-circle::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(192,57,43,0.3);
  animation: rotate 20s linear infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ====== Free Floating Product Images ====== */
.hero-float-img {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
}

/* c.png — مكعبات اللحم — في وسط الدائرة، الطبقة الأولى (خلف) */
.img-c {
  width: 384px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.2));
  animation: floatVertC 7s ease-in-out infinite;
}

/* a.png — الدجاجة — فوق المكعبات */
.img-a {
  width: 336px;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.22));
  animation: floatVertA 5s ease-in-out infinite;
}

/* b.png — قطعة اللحم — في القمة */
.img-b {
  width: 240px;
  bottom: 280px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 20px 35px rgba(192,57,43,0.35));
  animation: floatVertB 4s ease-in-out infinite;
}

@keyframes floatVertC {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-15px); }
}
@keyframes floatVertA {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-20px); }
}
@keyframes floatVertB {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-25px); }
}

.floating-badge {
  position: absolute;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(192,57,43,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
  color: #F5F5F0;
  backdrop-filter: blur(10px);
}
.b1 { top: 60px; right: 0; animation-delay: 0s; }
.b2 { bottom: 80px; right: 20px; animation-delay: 1s; }
.b3 { top: 180px; left: 0; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.75rem;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); transform-origin: bottom; } }

/* Stats */
.stats-section {
  padding: 60px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: #F8F6F3;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s, transform 0.3s;
}
.stat-item:hover { border-color: rgba(192,57,43,0.4); transform: translateY(-5px); }
.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num::after { content: '+'; }
.stat-label { color: var(--gray); font-size: 0.9rem; }

/* Categories Hex */
.categories-section { padding: 80px 60px; }
.section-header { margin-bottom: 50px; }
.hex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hex-card {
  display: block;
  text-decoration: none;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  position: relative;
  overflow: hidden;
}
.hex-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.hex-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(192,57,43,0.4); box-shadow: 0 20px 60px rgba(192,57,43,0.12); }
.hex-card:hover::before { opacity: 1; }
.hex-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.hex-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.hex-count { color: var(--red); font-size: 0.85rem; font-weight: 600; }

/* Featured */
.featured-section { padding: 80px 60px; }
.h-scroll-wrap { overflow: hidden; position: relative; }
.h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll .product-card {
  min-width: 280px;
  scroll-snap-align: start;
  transform: rotate(-1.5deg);
}
.h-scroll .product-card:nth-child(even) { transform: rotate(1.5deg); margin-top: 15px; }
.h-scroll .product-card:hover { transform: rotate(0deg) translateY(-8px) !important; }

/* Why Us */
.why-section { padding: 80px 60px; background: #F0EDE8; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 35px 25px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(192,57,43,0.1), transparent);
  transition: transform 0.4s;
}
.why-card:hover { border-color: rgba(192,57,43,0.3); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(192,57,43,0.1); }
.why-card:hover::after { transform: scale(3); }
.why-icon { font-size: 2rem; margin-bottom: 15px; display: block; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #1A1A1A; }
.why-card p { color: #666; font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 110px 20px 40px;
    min-height: auto;
  }

  /* إظهار الصور الطايرة على الموبايل */
  .hero-visual {
    display: flex;
    height: 300px;
    width: 100%;
    position: relative;
    margin-top: 20px;
    overflow: visible;
  }

  .hero-circle {
    width: 260px;
    height: 260px;
    bottom: 20px;
  }

  /* تصغير الصور لتناسب الموبايل */
  .img-c {
    width: 220px;
    bottom: 10px;
  }
  .img-a {
    width: 190px;
    bottom: 80px;
  }
  .img-b {
    width: 140px;
    bottom: 160px;
  }

  /* إخفاء الشارات الجانبية على الموبايل لتوفير المساحة */
  .floating-badge { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hex-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-section, .categories-section { padding: 60px 20px; }
}
