/* ==========================================================
   Enlight Runway 1331 - Events & Activities Stylesheet
   Covers events hub, venue showcases, event details & RSVP
   ========================================================== */

/* Category Cards Grid */
.event-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.event-cat-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.event-cat-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.event-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-cat-card:hover .event-cat-img img {
  transform: scale(1.05);
}

.event-cat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(27, 56, 25, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 12px;
}

.event-cat-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-cat-body h2,
.event-cat-body h3 {
  font-family: var(--disp);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.event-cat-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.event-cat-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tangerine);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.event-cat-action:hover {
  color: var(--tangerine-hover);
  gap: 12px;
}

/* Venue Interactive Showcase */
.venue-showcase-section {
  background: #f5f6f4;
  padding: 50px 0 70px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.venue-intro-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.venue-motif-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tangerine);
  margin-bottom: 8px;
}

.venue-intro-head h2 {
  font-family: var(--disp);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 10px;
}

.venue-intro-head p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.venue-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.venue-tab-btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.venue-tab-btn.active {
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
  box-shadow: 0 6px 18px rgba(27, 56, 25, 0.25);
}

.venue-tab-btn:hover:not(.active) {
  background: #eaeaea;
  color: var(--ink);
}

.venue-slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.venue-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.venue-card-large {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.venue-image-side {
  position: relative;
  min-height: 380px;
}

.venue-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-content-side {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tangerine);
  margin-bottom: 8px;
}

.venue-title {
  font-family: var(--disp);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.venue-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 26px;
  background: var(--paper);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}

.capacity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.capacity-item-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: var(--tangerine-tint);
  color: var(--tangerine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capacity-item-icon svg {
  width: 16px;
  height: 16px;
}

.venue-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.venue-auto-indicator {
  font-size: 0.85rem;
  color: var(--cool-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.venue-nav-arrows {
  display: flex;
  gap: 8px;
}

.venue-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s;
}

.venue-arrow-btn:hover {
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
}

/* Host Event Full-Bleed Banner */
.host-event-banner {
  background: var(--paper, #f7f5f0);
  color: var(--ink);
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.host-banner-inner {
  max-width: 760px;
  margin: 0 auto;
}

.host-banner-title {
  font-family: var(--disp);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}

.host-banner-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 30px;
}

.host-contact-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.host-pill {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.host-pill:hover {
  background: #f0f4f2;
  border-color: rgba(226, 128, 14, 0.3);
  color: var(--tangerine);
}

.host-pill svg {
  color: var(--tangerine);
}

/* Event Detail Page Layout */
.event-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.event-visual-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 36px;
  background: #eee;
  position: relative;
}

.event-video-placeholder {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.event-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.4s ease;
}

.event-visual-card:hover .event-video-placeholder img {
  transform: scale(1.02);
}

.event-article {
  color: var(--ink);
  line-height: 1.8;
  font-size: 1.05rem;
}

.event-article h2 {
  font-family: var(--disp);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.3;
}

.event-article p {
  margin-bottom: 20px;
  color: var(--ink-soft);
}

/* Event Detail Gallery Preview */
.event-gallery-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.gallery-preview-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-preview-item:hover img {
  transform: scale(1.06);
}

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 36, 28, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #fff;
}

.gallery-preview-item:hover .gallery-zoom-overlay {
  opacity: 1;
}

/* Event Info Sticky Card */
.event-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 96px;
}

.event-info-card h3 {
  font-family: var(--disp);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--tangerine-tint);
  color: var(--tangerine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-image-wrap {
  max-width: 1000px;
  max-height: 85vh;
  position: relative;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev-btn, .lightbox-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-prev-btn:hover, .lightbox-next-btn:hover {
  background: rgba(255,255,255,0.4);
}

.lightbox-prev-btn { left: -60px; }
.lightbox-next-btn { right: -60px; }

/* RSVP Registration Modal */
.reg-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 24, 0.7);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reg-modal.active {
  display: flex;
}

.reg-modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.reg-modal-box h3 {
  font-family: var(--disp);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.reg-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.reg-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.reg-form-group input, .reg-form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.reg-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--cool-grey);
  cursor: pointer;
}

/* Other Event Streams Section */
.other-events-section {
  background: #f5f6f4;
  padding: 60px 0 70px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.other-events-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.other-events-head h2 {
  font-family: var(--disp);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.other-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.other-event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  color: inherit;
}

.other-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.other-card-body h4 {
  font-family: var(--disp);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.other-card-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 1080px) {
  .event-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .event-cat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .venue-card-large {
    grid-template-columns: 1fr;
  }
  .venue-image-side {
    height: 280px;
    min-height: auto;
  }
  .venue-content-side {
    padding: 30px 24px;
  }
  .event-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .event-info-card {
    position: static;
  }
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .other-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .events-hero {
    min-height: 440px;
    padding: 120px 0 40px;
  }
  .event-cat-body {
    padding: 22px 18px;
  }
  .capacity-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .venue-tabs {
    flex-direction: column;
  }
  .venue-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .host-contact-pills {
    flex-direction: column;
    align-items: stretch;
  }
  .host-pill {
    justify-content: center;
  }
  .event-video-placeholder {
    height: 240px;
  }
  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
}
