/* ===========================
   AFRIQUE ALU — STYLE.CSS
   =========================== */

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #ffc400;
  --black:  #050505;
  --white:  #ffffff;
  --gray:   #f4f4f4;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --wa:     #25D366;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Rubik', 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  background: var(--white);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ======= HEADER ======= */
.header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  gap: 12px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.btn-wa-header {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 11px;
  padding: 9px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.btn-wa-header:hover { opacity: 0.9; transform: translateY(-1px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: #111;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid #222;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--yellow); }

/* ======= FEATURES BAR ======= */
.features-bar {
  background: var(--black);
  padding: 12px 0;
  border-top: 1px solid #1a1a1a;
}

.features-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 8px 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 3px;
  background: #111;
  border-radius: 10px;
  border: 1px solid #222;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}
.feature-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.feature-item span {
  color: var(--white);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}

/* ======= HERO ======= */
.hero {
  background: var(--gray);
  padding: 24px 16px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hero-content {
  padding: 28px 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--black);
}
.hero-title span { color: var(--yellow); }

.hero-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.hero-list li .check {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-list li .check svg { width: 14px; height: 14px; fill: var(--black); }

.price-badge {
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.price-badge .label { font-size: 13px; opacity: 0.7; }
.price-badge .price { font-size: 26px; font-weight: 900; color: var(--yellow); }

.btn-order-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 50px;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-order-hero:hover { opacity: 0.9; transform: translateY(-1px); }

/* ======= CALCULATOR ======= */
.calculator {
  padding: 40px 16px;
  background: var(--white);
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  color: var(--black);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 8px auto 0;
}

.calc-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 20px 14px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.calc-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.type-btn {
  padding: 9px 6px;
  border-radius: 10px;
  border: 2px solid #ddd;
  background: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.type-btn:hover { border-color: var(--yellow); }
.type-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #444;
}

.form-group input,
.form-group select {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #ddd;
  background: var(--white);
  font-size: 15px;
  font-family: inherit;
  direction: rtl;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--yellow); }

.form-full { grid-column: 1 / -1; }

.price-result {
  background: var(--black);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
}
.price-result .result-label { color: #aaa; font-size: 13px; margin-bottom: 6px; }
.price-result .result-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--yellow);
}
.price-result .result-value span { font-size: 18px; margin-right: 4px; }

.btn-wa-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.btn-wa-calc:hover { opacity: 0.88; }
.btn-wa-calc svg { width: 22px; height: 22px; fill: var(--white); }

/* ======= GALLERY ======= */
.gallery {
  padding: 40px 16px;
  background: var(--gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-label {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--black);
}

/* ======= WHY CHOOSE ======= */
.why {
  padding: 40px 16px;
  background: var(--white);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--gray);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.why-icon {
  width: 42px;
  height: 42px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.why-text span { font-size: 13px; color: #666; }

/* ======= WHAT YOU RECEIVE ======= */
.receive {
  padding: 40px 16px;
  background: var(--gray);
}

.receive-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.receive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.receive-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.receive-list li .dot {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.receive-img-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.receive-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ======= HOW TO ORDER ======= */
.how {
  padding: 40px 16px;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
  flex-shrink: 0;
}

.step-icon { margin-bottom: 4px; }
.step-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}
.step-text { font-size: 14px; font-weight: 600; line-height: 1.5; }

/* ======= FINAL CTA ======= */
.cta {
  padding: 40px 16px;
  background: var(--gray);
}

.cta-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.cta-content { order: 1; }

.cta-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 12px;
}
.cta-title span { color: var(--yellow); }

.cta-sub {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 20px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.badge svg { width: 16px; height: 16px; fill: var(--black); }

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  transition: opacity 0.2s;
}
.btn-wa-cta:hover { opacity: 0.88; }
.btn-wa-cta svg { width: 22px; height: 22px; fill: var(--white); }

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid #444;
  transition: border-color 0.2s, color 0.2s;
}
.btn-call:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-call svg { width: 22px; height: 22px; fill: currentColor; }

.cta-img { order: 2; }

.cta-img-wrap {
  border-radius: 16px;
  overflow: hidden;
}

.cta-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ======= FOOTER ======= */
.footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 24px 16px 90px;
}
.footer p { font-size: 13px; opacity: 0.6; }
.footer .brand { font-size: 15px; font-weight: 700; color: var(--yellow); margin-bottom: 6px; }

/* ======= STICKY BOTTOM BAR ======= */
.sticky-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: var(--black);
  border-top: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  z-index: 200;
  gap: 10px;
}

.sticky-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}
.sticky-phone svg { width: 14px; height: 14px; fill: var(--yellow); }

.sticky-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.sticky-wa:hover { opacity: 0.88; }
.sticky-wa svg { width: 18px; height: 18px; fill: var(--white); }

/* ======= DESKTOP ======= */
@media (min-width: 768px) {

  .header-inner { padding: 14px 32px; }
  .btn-wa-header { font-size: 15px; padding: 12px 24px; }
  .btn-wa-header svg { width: 20px; height: 20px; }

  .features-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    gap: 12px;
    padding: 8px 32px;
  }
  .feature-item {
    min-width: 0;
    padding: 12px 10px;
  }
  .feature-item svg { width: 30px; height: 30px; }
  .feature-item span { font-size: 11px; }

  .hero-card {
    flex-direction: row;
  }
  .hero-img {
    width: 45%;
    height: auto;
    min-height: 420px;
    flex-shrink: 0;
    object-position: center;
  }
  .hero-content { padding: 40px 36px; flex: 1; }
  .hero-title { font-size: 36px; }

  .calc-card { padding: 36px 32px; }
  .calc-row  { flex-direction: row; }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item img { height: 200px; }

  .why-list { max-width: 100%; }

  .receive-inner {
    flex-direction: row;
    align-items: flex-start;
  }
  .receive-list { flex: 1; }
  .receive-img-wrap { flex-shrink: 0; width: 340px; }

  .steps-grid { grid-template-columns: repeat(4, 1fr); }

  .cta-card {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 48px 40px;
  }
  .cta-content { order: 1; flex: 1; }
  .cta-img { order: 2; flex-shrink: 0; width: 340px; }
  .cta-title { font-size: 28px; }
  .cta-buttons { flex-direction: row; }

  .footer { padding-bottom: 32px; }

  .sticky-bar { display: none; }
}

@media (min-width: 1024px) {

  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-item img { height: 170px; }

  .hero { padding: 40px 32px; }
  .hero-img { min-height: 480px; }

  .section-title { font-size: 28px; }
}

/* ==============================
   ANIMATIONS
   ============================== */

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulseYellow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,196,0,.6); }
  60%       { box-shadow: 0 0 0 14px rgba(255,196,0,0); }
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  60%       { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  30%     { transform: translateY(-8px); }
  60%     { transform: translateY(-4px); }
}
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(.25,.8,.25,1), transform 0.65s cubic-bezier(.25,.8,.25,1);
}
.reveal.up    { transform: translateY(24px); }
.reveal.right { transform: translateY(20px); }
.reveal.scale { transform: scale(0.94); }
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* --- Pulse only — no fadeInUp to avoid opacity:0 conflict --- */
.btn-order-hero {
  animation: pulseYellow 2.4s ease-in-out 1s infinite;
}
.btn-wa-header {
  animation: pulseYellow 2.8s ease-in-out infinite;
}

/* --- Sticky WA bounce --- */
.sticky-wa {
  animation: waBounce 3.5s ease-in-out infinite;
}
.sticky-wa:hover { animation: none; }

/* --- Badge shimmer --- */
.badge {
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shimmer 2.2s ease-in-out infinite;
}

/* --- Gallery card lift --- */
.gallery-item {
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0,0,0,.15);
}

/* --- Step card lift --- */
.step-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* --- Why item slide --- */
.why-item {
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}

/* --- Feature item pop --- */
.feature-item {
  transition: transform .2s ease, border-color .2s ease;
}
.feature-item:hover {
  transform: scale(1.06);
  border-color: var(--yellow);
}

/* --- CTA buttons hover lift --- */
.btn-order-hero:hover,
.btn-wa-header:hover {
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 8px 24px rgba(255,196,0,.45);
}
