/* ═══════════════════════════════════════════
   hero.css — Hero section & search bar
   Change this file to update: hero background
   image, headline text, search bar style,
   overlay darkness/gradients
═══════════════════════════════════════════ */

/* ── Hero wrapper ── */
.hero{
  position:relative;min-height:100vh;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:130px 24px 100px;
}

/* ── Background image (change src in HTML .hero-img style or here) ── */
.hero-img{
  position:absolute;inset:0;
  background-image:url('../images/hero-bg.jpeg');
  background-size:cover;background-position:center center;
}

/* ── Dark overlay for text readability ── */
.hero-grade{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(13,5,33,.62) 0%,rgba(13,5,33,.15) 35%,rgba(13,5,33,.6) 100%),
    linear-gradient(90deg,rgba(13,5,33,.25) 0%,transparent 60%);
}

/* ── Bottom fade into next section ── */
.hero-fade{
  position:absolute;bottom:0;left:0;right:0;height:320px;
  background:linear-gradient(0deg,#0d0521 0%,rgba(13,5,33,.7) 50%,transparent 100%);
  z-index:1;
}

/* ── Top vignette ── */
.hero-top{
  position:absolute;top:0;left:0;right:0;height:180px;
  background:linear-gradient(180deg,rgba(13,5,33,.65) 0%,transparent 100%);
  z-index:1;
}

/* ── Hero text content ── */
.hero-content{position:relative;z-index:4;max-width:720px}

/* ── Logo wrapper — provides the glass + glow backing ── */
.hero-logo-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 32px;
  padding:28px 42px;
  /* Glassmorphism backing card */
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:28px;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:
    0 8px 48px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.07),
    inset 0 1px 0 rgba(255,255,255,0.12);
  /* Entrance animation */
  animation: logoEntrance 1s cubic-bezier(0.22,1,0.36,1) both;
}

/* Radial glow behind the wrap */
.hero-logo-glow{
  position:absolute;
  inset:-40px;
  border-radius:50%;
  background:radial-gradient(ellipse at center,
    rgba(139,92,246,0.38) 0%,
    rgba(99,57,201,0.18) 40%,
    transparent 70%
  );
  pointer-events:none;
  animation:glowPulse 3.2s ease-in-out infinite;
  z-index:0;
}

/* ── Large centered logo in hero ── */
.hero-logo{
  width:280px;
  height:auto;
  display:block;
  position:relative;
  z-index:1;
  filter:
    drop-shadow(0 0 18px rgba(139,92,246,0.55))
    drop-shadow(0 6px 24px rgba(0,0,0,0.6))
    brightness(1.15)
    saturate(1.2);
  animation: logoEntrance 1s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Entrance animation ── */
@keyframes logoEntrance{
  from{
    opacity:0;
    transform:scale(0.82) translateY(18px);
    filter:drop-shadow(0 0 0 rgba(139,92,246,0)) brightness(0.6);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}

/* ── Pulsing glow animation ── */
@keyframes glowPulse{
  0%,100%{ opacity:0.7; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.08); }
}

.hero h1{
  font-size:clamp(38px,5.2vw,68px);font-weight:900;line-height:1.06;
  letter-spacing:-1.5px;margin-bottom:14px;
  text-shadow:0 4px 32px rgba(0,0,0,.55);
  opacity:0.92;
}
.hero h1 em{font-style:normal;color:var(--gold2)}

.hero-sub{
  font-size:15.5px;color:var(--white50);font-weight:400;margin-bottom:38px;letter-spacing:.2px;
  text-shadow:0 2px 16px rgba(0,0,0,.4);
}

/* ── Search bar ── */
.search{
  display:flex;align-items:stretch;
  background:rgba(255,255,255,.96);
  border-radius:60px;overflow:hidden;
  box-shadow:0 28px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.15);
  width:100%;max-width:720px;margin:0 auto;
}
.s-field{
  flex:1;display:flex;align-items:center;gap:9px;
  padding:16px 22px;border-right:1.5px solid rgba(0,0,0,.09);cursor:pointer;
  min-width:0;
}
.s-field:last-of-type{border-right:none}
.s-field svg{flex-shrink:0;color:#5b21b6}
.s-field select,.s-field span,.s-field input{
  font-family:inherit;font-size:13.5px;color:#4b5563;font-weight:500;
  border:none;background:transparent;outline:none;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  width:100%;min-width:0;
}
.s-field input::placeholder{color:#9ca3af}
.s-field input{cursor:text}
.s-btn{
  background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);
  color:white;border:none;padding:16px 32px;margin:5px;border-radius:50px;
  font-size:14.5px;font-weight:700;font-family:inherit;cursor:pointer;
  transition:all .25s;white-space:nowrap;flex-shrink:0;
  box-shadow:0 4px 20px rgba(109,40,217,.45);
}
.s-btn:hover{
  background:linear-gradient(135deg,#8b47ff 0%,#7c3aed 100%);
  box-shadow:0 6px 28px rgba(109,40,217,.65);transform:translateY(-1px);
}
