@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: 20px;
  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: 100%;
  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;
}