/* ============================================================
   events.css – Cinematic video-only events page
   Premium dark theme with lighting effects & micro-animations
   ============================================================ */

/* ---- Reset (scoped) ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; }

/* ==============================
   HERO – Full-viewport video
   ============================== */
.ev-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

/* Ambient light flares */
.ev-hero__flare {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 2;
  pointer-events: none;
  animation: flare-pulse 6s ease-in-out infinite alternate;
}
.ev-hero__flare--left {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, #ff8c00, #ff4500, transparent 70%);
}
.ev-hero__flare--right {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, #ff6347, #ff1493, transparent 70%);
  animation-delay: 3s;
}
@keyframes flare-pulse {
  0%   { transform: scale(1); opacity: 0.25; }
  100% { transform: scale(1.3); opacity: 0.45; }
}

/* Background video (native or iframe) */
.ev-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ev-hero__video-wrap iframe,
.ev-hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Gradient overlay */
.ev-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 85%, rgba(10,10,10,1) 100%),
    linear-gradient(90deg, rgba(255,140,0,0.08) 0%, transparent 50%);
}

/* Content */
.ev-hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 800px;
  animation: hero-fade-up 1.2s ease-out 0.3s both;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ev-hero__tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255,140,0,0.2);
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff8c00;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.ev-hero__tag i { margin-right: 6px; }

.ev-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.ev-hero__title--accent {
  background: linear-gradient(135deg, #ff8c00, #ff4500, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ev-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.ev-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.ev-hero__btn {
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ev-hero__btn.btn-primary {
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(255,69,0,0.4);
}
.ev-hero__btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,69,0,0.6);
}
.ev-hero__btn.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
}
.ev-hero__btn.btn-outline:hover {
  border-color: #ff8c00;
  color: #ff8c00;
  transform: translateY(-2px);
}

.ev-hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  animation: bounce-hint 2s ease-in-out infinite;
}
@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ==============================
   STATS BAR
   ============================== */
.ev-stats {
  background: linear-gradient(135deg, #111, #1a1a2e);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,140,0,0.15);
  border-bottom: 1px solid rgba(255,140,0,0.15);
}
.ev-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.ev-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.ev-stats__number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ev-stats__plus {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ev-stats__label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ==============================
   VIDEO SHOWCASE
   ============================== */
.ev-showcase {
  background: #0a0a0a;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
/* Subtle background glow */
.ev-showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,140,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ev-showcase__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.ev-showcase__tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff6347;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.ev-showcase__tag i { margin-right: 6px; }

.ev-showcase__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}
.ev-showcase__desc {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* Video Grid */
.ev-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

/* Video Card */
.ev-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
}
.ev-video-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(255,140,0,0.15);
}

/* Glow behind card */
.ev-video-card__glow {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,140,0,0.25), rgba(255,69,0,0.15), rgba(255,99,71,0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(1px);
}
.ev-video-card:hover .ev-video-card__glow {
  opacity: 1;
}

.ev-video-card__inner {
  position: relative;
  z-index: 1;
  background: #151520;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Embed container */
.ev-video-card__embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.ev-video-card__embed iframe,
.ev-video-card__embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* Info section */
.ev-video-card__info {
  padding: 1.2rem 1.4rem 1.5rem;
}
.ev-video-card__badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}
.ev-video-card__badge i { margin-right: 4px; }

.ev-video-card__info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.ev-video-card__info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Featured card spans full width */
.ev-video-card--featured {
  grid-column: 1 / -1;
}

/* ==============================
   BENEFITS
   ============================== */
.ev-benefits {
  background: linear-gradient(180deg, #0a0a0a, #111118);
  padding: 6rem 0;
}
.ev-benefits__header {
  text-align: center;
  margin-bottom: 3rem;
}
.ev-benefits__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}
.ev-benefits__header p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
}
.ev-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.ev-benefit {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.ev-benefit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8c00, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ev-benefit:hover {
  background: rgba(255,140,0,0.05);
  border-color: rgba(255,140,0,0.2);
  transform: translateY(-4px);
}
.ev-benefit:hover::before {
  opacity: 1;
}

.ev-benefit__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,140,0,0.15), rgba(255,69,0,0.1));
  border-radius: 16px;
  font-size: 1.6rem;
  color: #ff8c00;
  transition: transform 0.3s ease;
}
.ev-benefit:hover .ev-benefit__icon {
  transform: scale(1.1) rotate(-3deg);
}

.ev-benefit h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.ev-benefit p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

/* ==============================
   PROPOSAL FORM
   ============================== */
.ev-proposal {
  background: #0a0a0a;
  padding: 6rem 0;
  position: relative;
}

.ev-proposal__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  overflow: hidden;
}

/* Corner glow */
.ev-proposal__glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,140,0,0.15), transparent 70%);
  pointer-events: none;
}

.ev-proposal__inner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}
.ev-proposal__inner h2 i {
  color: #ff8c00;
  margin-right: 8px;
}
.ev-proposal__desc {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.ev-proposal__form {
  display: grid;
  gap: 1.4rem;
}

.ev-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}
.ev-form-group label i {
  color: #ff8c00;
  margin-right: 6px;
  width: 16px;
  text-align: center;
}

.ev-form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}
.ev-form-group input::placeholder {
  color: rgba(255,255,255,0.25);
}
.ev-form-group input:focus {
  border-color: #ff8c00;
  background: rgba(255,140,0,0.05);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
}

.ev-proposal__submit {
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.ev-proposal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,69,0,0.45);
}

/* ==============================
   FADE ANIMATION (JS-driven)
   ============================== */
.fade-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   PARTICLES (optional JS canvas)
   ============================== */
#ev-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 992px) {
  .ev-showcase__grid {
    grid-template-columns: 1fr;
  }
  .ev-video-card--featured {
    grid-column: auto;
  }
}
@media (max-width: 768px) {
  .ev-hero { min-height: 500px; }
  .ev-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .ev-proposal__inner {
    padding: 2rem 1.5rem;
  }
  .ev-hero__actions {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .ev-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .ev-hero__title { font-size: 2rem; }
}

/* ==============================
   SECTION SPACING (general)
   ============================== */
.ev-benefits,
.ev-showcase,
.ev-proposal,
.ev-stats {
  position: relative;
  z-index: 1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility – remove link underline in cards */
.ev-video-card a {
  text-decoration: none;
  color: inherit;
}
