/* Pilot Gate - Event Selection Page Styles */

/* Hide placeholders by default - JavaScript will show the active one */
#pilot-gate-placeholder,
#pilot-form-placeholder {
  display: none;
}

.pilot-gate-main {
  min-height: 100vh;
  background: white;
}

.pilot-gate-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

/* Left Column - Background Image with Overlay */
.pilot-gate-image-section {
  position: relative;
  min-height: 36rem;
  background: white;
  overflow: hidden;
}

.pilot-gate-bg-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pilot-gate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
}

/* Text Styles - White on Dark Overlay */
.pilot-gate-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.pilot-gate-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.pilot-gate-expectations {
  margin-bottom: 1.5rem;
}

.pilot-gate-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pilot-gate-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: white;
  opacity: 0.9;
  padding-left: 1.5rem;
  position: relative;
}

.pilot-gate-list li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: white;
  font-weight: bold;
}

.pilot-gate-footer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  opacity: 0.85;
}

/* Right Column - Event Cards Section */
.pilot-gate-cards-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: white;
}

.pilot-gate-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  width: 100%;
}

.pilot-gate-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.pilot-gate-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(8, 75, 163, 0.15);
}

.pilot-gate-card-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.pilot-gate-card-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #374151;
  margin-bottom: 0.5rem;
}

.pilot-gate-card-age {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-blue);
  margin-top: 0.25rem;
}

/* Future Events Card - Different styling */
.pilot-gate-card-future {
  background: #f9fafb;
  border-style: dashed;
}

.pilot-gate-card-future:hover {
  background: #f3f4f6;
}

.pilot-gate-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.pilot-gate-card-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #6b7280;
}

/* Desktop Layout - Side by Side */
@media (min-width: 1024px) {
  .pilot-gate-grid {
    grid-template-columns: 45% 55%;
  }

  .pilot-gate-image-section {
    min-height: 100vh;
  }

  .pilot-gate-overlay {
    padding: 8rem 3rem 4rem 3rem;
  }

  .pilot-gate-cards-section {
    padding: 4rem 2rem;
  }

  .pilot-hero-title {
    font-size: 2.5rem;
  }
}

/* Mobile Layout - Stack Vertically */
@media (max-width: 1023px) {
  .pilot-gate-overlay {
    padding-top: 12rem;
    padding-bottom: 2rem;
  }

  .pilot-hero-title {
    font-size: 2rem;
  }

  .pilot-gate-intro,
  .pilot-gate-description {
    font-size: 1rem;
  }

  .pilot-section-title {
    font-size: 1.125rem;
  }

  .pilot-gate-list li {
    font-size: 0.95rem;
  }

  .pilot-gate-footer {
    font-size: 0.875rem;
  }

  .pilot-gate-card {
    padding: 1.5rem 1.25rem;
  }

  .pilot-gate-card-date {
    font-size: 1.25rem;
  }

  .pilot-gate-card-time {
    font-size: 1rem;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 640px) {
  .pilot-gate-overlay {
    padding-top: 11rem;
  }
}
