@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

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

/* ===== Global ===== */
body {
  font-family: "Cairo", sans-serif;
  background: radial-gradient(circle at 20% 20%, #111 0%, #000 80%);
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/noise-texture.png");
  opacity: 0.05;
  z-index: -1;
}

  /* ===== Hero Section ===== */
  .about-hero {
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), #000), url('assets/img/about-bg.jpg') center/cover no-repeat;
    padding: 140px 20px;
    text-align: center;
    overflow: hidden;
  }
  .about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(229,9,20,0.15), transparent 70%);
    animation: pulse 5s infinite alternate;
  }
  @keyframes pulse {
    from { opacity: 0.3; }
    to { opacity: 0.8; }
  }


/* ===== Features ===== */
.features {
  background: radial-gradient(circle at top, #111, #000);
  padding: 100px 0;
}

.section-title {
  position: relative;
  text-align: center;
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 70px;
  text-shadow: 0 0 25px rgba(229,9,20,0.5);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 15px rgba(229,9,20,0.3); }
  50% { text-shadow: 0 0 30px rgba(229,9,20,0.6); }
}

.features-grid {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 20px;
  padding: 35px 25px;
  transition: 0.4s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(229,9,20,0.1);
}

.feature:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 40px rgba(229,9,20,0.4);
}

.feature i {
  font-size: 50px;
  color: #e50914;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(229,9,20,0.5);
}

.feature h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Film Types ===== */
.film-types {
  background: #0b0b0b;
  padding: 120px 0;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  width: 90%;
  margin: auto;
}

.type-card {
  background: rgba(25, 25, 25, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.type-card img {
  width: 70%;
  height: 250px;
  /* object-fit: cover; */
  transition: transform 0.4s ease;
}

.type-card h3 {
  color: #fff;
  margin: 20px 0 10px;
}

.type-card p {
  color: #aaa;
  padding: 0 20px 25px;
}

.type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(229,9,20,0.4);
}

.type-card:hover img {
  transform: scale(1.05);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #e50914, #700000);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15), transparent 60%);
  animation: moveLight 6s linear infinite alternate;
}

@keyframes moveLight {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.cta h2 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.cta p {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn {
  background: #fff;
  color: #e50914;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* ===== Footer ===== */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 0, 0, 0.3);
  text-align: center;
  padding: 25px 0;
  color: #aaa;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }
}












/* Preloader full screen */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a; /* خلفية داكنة سينمائية */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Preloader full screen */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* gradient سينمائي */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Floating particles effect (سينمائي) */
#preloader::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: moveStars 20s linear infinite;
  opacity: 0.5;
  top: -50%;
  left: -50%;
}

/* Logo animation */
.preloader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 40px;
  animation: fadeScale 1.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px rgba(255, 50, 50, 0.7));
  z-index: 2;
}

/* Dots container */
.dots {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Individual dots */
.dots span {
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  animation: bounceGlow 0.8s infinite alternate;
  box-shadow: 0 0 10px rgba(255, 50, 50, 0.6);
}

/* Delay each dot differently */
.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

/* Keyframes for dots */
@keyframes bounceGlow {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(255,50,50,0.4); }
  50% { transform: translateY(-18px) scale(1.2); box-shadow: 0 0 20px rgba(255,50,50,0.8); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(255,50,50,0.4); }
}

/* Keyframes for logo */
@keyframes fadeScale {
  0% { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Floating stars background animation */
@keyframes moveStars {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

/* Hide preloader smoothly */
#preloader.hide {
  opacity: 0;
  pointer-events: none;
}




/* ===== PPF HERO ===== */
.ppf-hero {
  background: radial-gradient(circle at top left, #131415, #0e1118);
  padding: 80px 20px;
  color: #fff;
  overflow: hidden;
}

.ppf-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Badge */
.ppf-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 0, 0, 0.15);
  color: #e50914;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Text */
.ppf-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.ppf-content p {
  color: #d1d1d1;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 600px;
}

/* Button */
.ppf-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e50914, #ff1a1a);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
}

.ppf-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.4);
}

/* Image */
.ppf-image {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.ppf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.ppf-image:hover img {
  transform: scale(1.08);
}

/* ===== CSS Animations ===== */
.animate-left {
  animation: slideLeft 1s ease forwards;
}

.animate-right {
  animation: slideRight 1s ease forwards;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .ppf-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ppf-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .ppf-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .ppf-content h1 {
    font-size: 2rem;
  }

  .ppf-hero {
    padding: 60px 15px;
  }
}


/* ===== Simple Wholesale PPF ===== */
.why-wholesale-ppf-simple {
  padding: 80px 20px;
  color: #fff;
}

.why-wholesale-ppf-simple .section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
}

/* Text blocks */
.ppf-points {
  max-width: 900px;
  margin: 0 auto 60px;
}

.ppf-point {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ppf-point:last-child {
  border-bottom: none;
}

.ppf-point h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.ppf-point p {
  color: #cfcfcf;
  line-height: 1.8;
}

/* Images */
.ppf-images {
  gap: 25px;
  max-width: 800px;
  margin: auto;
}

.ppf-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0,0,0,0.4);
}

.ppf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.ppf-image:hover img {
  transform: scale(1.06);
}

/* ===== Animations ===== */
.animate-up {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.animate-left {
  opacity: 0;
  animation: slideLeft 1s ease forwards;
}

.animate-right {
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .why-wholesale-ppf-simple {
    padding: 60px 15px;
  }

  .why-wholesale-ppf-simple .section-title {
    font-size: 2rem;
  }

  .ppf-images {
    grid-template-columns: 1fr;
  }
}



.ppf-steps-section {
  background: radial-gradient(circle at top, #18191b, #0b0e14);
  padding: 90px 20px;
  color: #fff;
  direction: rtl;
}

.ppf-container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 60px;
  align-items: start;
}

/* Text */
.ppf-text h2 {
  font-size: 2.6rem;
  line-height: 1.4;
}

.ppf-text span {
  color: #ff2a2a;
  font-weight: 700;
}

/* Grid */
.ppf-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Step */
.ppf-step {
  position: relative;
}

.ppf-step img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.ppf-step p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #dcdcdc;
  line-height: 1.6;
}

/* Number */
.step-number {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff0000, #ff0000);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* Hover */
.ppf-step img {
  transition: transform .6s ease;
}

.ppf-step:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .ppf-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .ppf-steps-grid {
    grid-template-columns: 1fr;
  }

  .ppf-text h2 {
    font-size: 2rem;
    text-align: center;
  }
}


/* ===== Full Width Image ===== */
.full-width-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* الصورة */
.full-width-image img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

/* ===== Mobile Fix ===== */
@media (max-width: 768px) {
  .full-width-image img {
    height: 55vh;      /* ارتفاع مريح للموبايل */
    min-height: 320px; /* يمنع الضغط الزائد */
  }
}

/* ===== Small Phones ===== */
@media (max-width: 480px) {
  .full-width-image img {
    height: 45vh;
    min-height: 260px;
  }
}
