/* ============================================================
   Protopia Event Landing – Elementor Widget Styles
   Mirrors the Figma / React design exactly.
   Font: Load "Fustat" from Google Fonts in your theme or use
         Appearance > Customize > Additional CSS:
         @import url('https://fonts.googleapis.com/css2?family=Fustat:wght@300;400;500;600&display=swap');
   ============================================================ */

/* ── Base resets for all pel- elements ────────────────────── */
.pel-hero,
.pel-value-prop,
.pel-spotlights,
.pel-event-cards,
.pel-footer {
  font-family: 'Fustat', 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
}

.pel-hero *,
.pel-value-prop *,
.pel-spotlights *,
.pel-event-cards *,
.pel-footer * {
  box-sizing: border-box;
}

/* ── Container ────────────────────────────────────────────── */
.pel-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scroll fade-in – JS progressive enhancement ─────────────
   Content is visible by default. The JS adds .pel-js-ready to
   <body> which opts elements in to the animation. This prevents
   invisible content if Elementor's JS initialisation is slow.   */
.pel-js-ready .pel-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.pel-js-ready .pel-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section defaults ─────────────────────────────────────── */
.pel-section {
  padding: 64px 0;
  background: #020617 !important;
  color: #f8fafc !important;
  position: relative;
}

/* ── Typography helpers ───────────────────────────────────── */
.pel-heading-xl {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 24px;
}
.pel-muted { color: #64748b; }

.pel-section-title { margin-bottom: 48px; }
.pel-section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.pel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: pointer;
  border: none;
}
.pel-btn:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.pel-btn--secondary { color: #0f172a; font-weight: 600; }

.pel-btn--outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}
.pel-btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.pel-btn--ghost {
  color: #fff;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.pel-btn--full { width: 100%; justify-content: center; }

.pel-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Badge (hero pill) ────────────────────────────────────── */
.pel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  margin-bottom: 32px;
}
.pel-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pel-ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes pel-ping {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 0.8; }
  70%  { box-shadow: 0 0 0 8px transparent; opacity: 0; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ============================================================
   HERO
   ============================================================ */
.pel-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 32px;
  background: #020617 !important;
  color: #f8fafc !important;
}

.pel-hero__bg {
  position: absolute;
  inset: 0;
  background: #020617;
  z-index: 0;
}

.pel-hero__image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  opacity: 0.7;
}
.pel-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.pel-hero__image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #020617 0%, rgba(2,6,23,0.6) 40%, transparent 100%);
}

.pel-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pel-hero__inner {
  position: relative;
  z-index: 2;
}

.pel-hero__content { max-width: 600px; }

.pel-hero__headline {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}
.pel-hero__connector { color: #64748b; }
.pel-hero__event-name {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   VALUE PROP
   ============================================================ */
.pel-value-prop { background: #020617; }

.pel-value-prop__heading { max-width: 768px; margin-bottom: 64px; }

.pel-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pel-feature-card {
  padding: 32px;
  border-radius: 24px;
  background: #0f1729;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.25s;
  height: 100%;
}
.pel-feature-card:hover { background: #151f36; }

.pel-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pel-feature-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}
.pel-feature-card__desc {
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================
   SPOTLIGHTS
   ============================================================ */
.pel-spotlights { background: rgba(15,23,42,0.5); position: relative; overflow: hidden; }

.pel-spotlights__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.pel-spotlights__sub {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: #fff;
  margin: -16px 0 40px;
}

.pel-spotlight-card {
  padding: 32px;
  border-radius: 24px;
  border: 2px solid;
  background: #0a1121;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.25s;
  height: 100%;
}
.pel-spotlight-card:hover { opacity: 0.9; }

.pel-spotlight-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  width: fit-content;
}
.pel-spotlight-card__name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}
.pel-spotlight-card__desc {
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0 0 24px;
  flex: 1;
}
.pel-spotlight-card__footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.pel-spotlight-card__booth {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
}
.pel-spotlight-card__times { display: flex; flex-direction: column; gap: 6px; }
.pel-spotlight-card__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.pel-event-cards { background: #020617; }

.pel-2col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pel-event-card {
  border-radius: 24px;
  overflow: hidden;
  background: #0a1121;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.25s;
}
.pel-event-card:hover { border-color: rgba(255,255,255,0.2); }

.pel-event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.pel-event-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.pel-event-card:hover .pel-event-card__img { transform: scale(1.05); }

.pel-event-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617 0%, rgba(2,6,23,0.5) 40%, transparent 100%);
}

.pel-event-card__media-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.pel-event-card__media-icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.pel-event-card__media-tag {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid;
}
.pel-event-card__media-tag--tr { top: 16px; right: 16px; }
.pel-event-card__media-tag--tl {
  top: 16px;
  left: 16px;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.pel-event-card__body { padding: 32px; }

.pel-event-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.pel-event-card__subtitle {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin: 0 0 12px;
  font-family: Georgia, serif;
}

.pel-event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.pel-event-card__meta span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.pel-event-card__desc {
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pel-footer {
  background: #020617 !important;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0;
  color: #f8fafc !important;
  font-family: 'Fustat', 'Inter', system-ui, sans-serif;
}

.pel-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.pel-footer__heading {
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 24px;
}

.pel-footer__desc {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0;
}

.pel-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.pel-footer__cta-heading {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-align: right;
}

.pel-footer__note {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.pel-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pel-footer__copy { color: #64748b; font-size: 0.875rem; margin: 0; }

.pel-footer__links {
  display: flex;
  gap: 24px;
}
.pel-footer__links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.pel-footer__links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .pel-hero__image-wrap { display: none; }
  .pel-hero__headline { font-size: 2.5rem; }
  .pel-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .pel-footer__cta { align-items: flex-start; }
  .pel-footer__cta-heading { text-align: left; }
  .pel-footer__bottom { flex-direction: column; align-items: flex-start; }
  .pel-2col-grid { grid-template-columns: 1fr; }
}
