/* ========================================== */
/* Plan B - Site Header (transparent over hero, solid after) */
/* ========================================== */

#site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#site-header.header-solid {
  background: rgba(14, 74, 84, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 155, 74, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ========================================== */
/* Plan B - Hero Video (must actually display) */
/* ========================================== */

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0e4a54;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(6, 31, 36, 0.6) 0%, rgba(6, 31, 36, 0.25) 40%, rgba(6, 31, 36, 0.82) 100%);
}

/* ========================================== */
/* Plan B - Custom Styles & Reveal Animations */
/* ========================================== */

/* ========================================== */
/* Plan B - Custom Styles & Reveal Animations */
/* ========================================== */

.reveal-item {
  opacity: 0;
  transform: translateY(96px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* تأخير ظهور الصورة الشمال */
#reveal-img-left {
  transition-delay: 0.2s;
}

/* تأخير ظهور النص اللي في النص (عشان يتأخر شوية حلوين) */
#reveal-text {
  transition-delay: 0.4s;
}

/* تأخير ظهور الصورة اليمين */
#reveal-img-right {
  transition-delay: 0.6s;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================== */
/* Plan B - Custom Styles & Reveal Animations */
/* ========================================== */

.reveal-item {
  opacity: 0;
  transform: translateY(96px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

#reveal-img-left {
  transition-delay: 0.2s;
}

#reveal-text {
  transition-delay: 0.4s;
}

#reveal-img-right {
  transition-delay: 0.6s;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================== */
/* Ambient Background Motion Lines (الخطوط الرفيعة في الخلفية) */
/* ========================================== */

.ambient-line {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(201, 155, 74, 0.03) 49.5%,
    rgba(201, 155, 74, 0.08) 50%,
    rgba(201, 155, 74, 0.03) 50.5%,
    transparent 52%
  );
  transform: rotate(25deg);
  animation: ambientDrift 20s linear infinite;
  pointer-events: none;
}

.ambient-line-2 {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    -35deg,
    transparent 48%,
    rgba(255, 255, 255, 0.02) 49.5%,
    rgba(201, 155, 74, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 50.5%,
    transparent 52%
  );
  transform: rotate(-15deg);
  animation: ambientDriftReverse 30s linear infinite;
  pointer-events: none;
}

@keyframes ambientDrift {
  0% { transform: translateY(0) rotate(25deg); }
  50% { transform: translateY(-30px) rotate(28deg); }
  100% { transform: translateY(0) rotate(25deg); }
}

@keyframes ambientDriftReverse {
  0% { transform: translateX(0) rotate(-15deg); }
  50% { transform: translateX(30px) rotate(-12deg); }
  100% { transform: translateX(0) rotate(-15deg); }
}
/* حل مشكلة الخط الحاد ودمج السيكشنين بانسيابية */
#cinematic-reveal-section {
  position: relative;
  background: #0e4a54;
}

#cinematic-reveal-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #0e4a54);
  pointer-events: none;
}