/* ============================================
   HERO VIDEO — βίντεο με fade από αριστερά
   Φόρτωσέ το ΜΕΤΑ το hero.css
   ============================================ */

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 4rem 2rem;
}


/* --------------------------------------------
   ΤΟ ΒΙΝΤΕΟ
   -------------------------------------------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  /* Απαλή σβήση και στην ίδια την εικόνα του βίντεο,
     ώστε το fade να μη μοιάζει με "τζάμι" από πάνω. */
  -webkit-mask-image: linear-gradient(to right,
                      transparent 0%, rgba(0,0,0,0.6) 18%, #000 42%);
          mask-image: linear-gradient(to right,
                      transparent 0%, rgba(0,0,0,0.6) 18%, #000 42%);
}


/* --------------------------------------------
   ΤΟ FADE
   Πρώτο layer = cream από αριστερά (σβήνει προς τα δεξιά)
   Δεύτερο layer = σκούρο πέπλο για να διαβάζεται το badge
   -------------------------------------------- */
.hero-video-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right,
      var(--cream) 0%,
      rgba(248, 250, 249, 0.88) 10%,
      rgba(248, 250, 249, 0.35) 26%,
      rgba(248, 250, 249, 0) 44%),
    linear-gradient(to bottom,
      rgba(18, 66, 59, 0.30) 0%,
      rgba(18, 66, 59, 0.55) 100%);
}


/* --------------------------------------------
   ΛΟΓΟΤΥΠΟ + BADGE — πάνω απ' όλα
   -------------------------------------------- */
.hero-right .hero-image {
  position: relative;
  z-index: 2;
  width: min(46%, 300px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.35));
}

.hero-right .hero-role-badge {
  position: relative;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(18, 66, 59, 0.6);
}

/* Το παλιό glow δεν χρειάζεται πια πάνω από βίντεο */
.hero-right::before { display: none; }


/* --------------------------------------------
   ΚΙΝΗΤΟ
   Το panel είναι από κάτω, οπότε το fade γίνεται
   από ΠΑΝΩ αντί για αριστερά.
   -------------------------------------------- */
@media (max-width: 900px) {
  .hero-video {
    -webkit-mask-image: linear-gradient(to bottom,
                        transparent 0%, rgba(0,0,0,0.6) 12%, #000 30%);
            mask-image: linear-gradient(to bottom,
                        transparent 0%, rgba(0,0,0,0.6) 12%, #000 30%);
  }
  .hero-video-veil {
    background:
      linear-gradient(to bottom,
        var(--cream) 0%,
        rgba(248, 250, 249, 0.85) 8%,
        rgba(248, 250, 249, 0) 32%),
      linear-gradient(to bottom,
        rgba(18, 66, 59, 0.20) 40%,
        rgba(18, 66, 59, 0.55) 100%);
  }
  .hero-right {
    min-height: 44svh;
    padding: 4rem 1.5rem 3rem;
    gap: 1.75rem;
  }
  .hero-right .hero-image { width: min(52%, 190px); }
  .hero-right .hero-role-badge { font-size: 0.62rem; letter-spacing: 0.16em; }
}


/* --------------------------------------------
   FALLBACK — reduced motion / αποτυχία φόρτωσης
   Δείχνει το poster αντί για κινούμενο βίντεο.
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-right {
    background: var(--ink) url('../images/hero-poster.jpg') center/cover no-repeat;
  }
}
