/* ============================================================
   HERO – Cinematic Dark Video (Global Maritime v4)
   فيديو ملء الشاشة + dark overlay 60% + نص مركزي أبيض
============================================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--navy);
}

/* ── Image Slider Background ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease-in-out, transform 7s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* ── Dark Overlay (60%) ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(11,42,69,.55) 0%,
      rgba(11,42,69,.40) 40%,
      rgba(11,42,69,.72) 100%
    ),
    linear-gradient(135deg,
      rgba(26,77,62,.30) 0%,
      transparent 60%
    );
}

/* ── Hero Content – centered ── */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 48px;
}

/* ── Heading ── */
#home h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Accent word → gold gradient */
#home h1 span {
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Subtitle ── */
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.80;
  margin-bottom: 44px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* btn-primary (gold) already defined in base.css */
/* btn-outline: white border for dark backgrounds */
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.60);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ── Trust Stats Bar ── */
.hero-stats-bar {
  background: rgba(11,42,69,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201,168,76,.25);
  position: relative;
  z-index: 2;
}

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

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-inline-end: 1px solid rgba(255,255,255,.08);
  transition: background .25s;
}
.hero-stat:last-child { border-inline-end: none; }
.hero-stat:hover { background: rgba(26,77,62,.20); }

.hero-stat i {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.hero-stat-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-stat-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

/* ============================================================
   PAGE BANNER – للصفحات الداخلية (dark cinematic)
============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--navy) 100%);
  padding: calc(var(--header-height) + 56px) 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
}

.page-banner h1 span {
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-banner p {
  font-size: 0.97rem;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  #home h1 { font-size: 1.5rem; }
  .hero-content { padding: 56px 0 40px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-inline-end: none; }
}
@media (max-width: 480px) {
  #home h1 { font-size: 1.32rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stat { padding: 18px 14px; }
}
