/* ============================================
   MatchedU Expo Pages — expo.css
   Shared styles for Final Four expo pages
   ============================================ */

/* --- Inherit brand variables from style.css --- */

/* --- Expo Hero (Homepage) --- */
.expo-hero {
  text-align: center;
  padding: 120px 24px 60px;
  background: #F5F5F0;
  position: relative;
}

.expo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/bracketbackground.png') center/cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.expo-hero > * {
  position: relative;
  z-index: 1;
}

.expo-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue-deeper);
  margin-bottom: 16px;
}

.expo-hero-title .gold {
  color: var(--gold-dark);
}

.expo-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555550;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* --- FF Event Cards (Homepage) --- */
.expo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.expo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.expo-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(255, 209, 0, 0.1);
}

.expo-card-img {
  overflow: hidden;
}

.expo-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.expo-card:hover .expo-card-img img {
  transform: scale(1.03);
}

.expo-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px 32px;
  flex: 1;
}

.expo-card-body .btn {
  margin-top: auto;
}

.expo-card-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-deeper);
  margin-bottom: 8px;
}

.expo-card-desc {
  font-size: 0.95rem;
  color: #555550;
  margin-bottom: 20px;
  text-align: center;
}

.expo-card .btn {
  width: 100%;
  max-width: 220px;
}

/* --- Signup Page Layout --- */
.signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.signup-header {
  text-align: center;
  margin-bottom: 32px;
}

.signup-ff-image {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.signup-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.signup-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

/* --- Signup Form --- */
.signup-form {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signup-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-form input::placeholder {
  color: var(--text-muted);
}

.signup-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.15);
}

/* --- Sport Toggle --- */
.sport-toggle {
  display: flex;
  gap: 10px;
}

.sport-toggle-btn {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.sport-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

.sport-toggle-btn.active {
  background: #004C97;
  border-color: #004C97;
  color: #ffffff;
  font-weight: 600;
}

/* --- Form Submit --- */
.signup-form .btn-primary {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* --- Inline Waitlist Form (on homepage expo section) --- */
.waitlist-form-wrap {
  max-width: 480px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deeper);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  color: #222;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input::placeholder {
  color: #999;
}

.waitlist-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 76, 151, 0.12);
}

/* Sport toggle on light background */
.waitlist-form .sport-toggle-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #555;
}

.waitlist-form .sport-toggle-btn:hover {
  border-color: var(--blue);
  color: var(--blue-deeper);
}

.waitlist-form .sport-toggle-btn.active {
  background: #004C97;
  border-color: #004C97;
  color: #ffffff;
}

.waitlist-form .btn-primary {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 32px 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-deeper);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 1rem;
  color: #555550;
}

/* Form error message */
.form-error {
  font-size: 0.85rem;
  color: #DC2626;
  text-align: center;
  margin-top: -4px;
}

/* --- Expo Footer --- */
.expo-footer {
  margin-top: 48px;
  text-align: center;
  padding: 24px;
}

.expo-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.expo-footer a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.expo-footer a:hover {
  color: var(--text-secondary);
}

/* ============================================
   Expo Landing Pages — /mensbb & /womensbb
   Two-section conference-style layout
   ============================================ */

/* --- Hero Section --- */
.expo-landing-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.expo-landing-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.expo-landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 43, 86, 0.82) 0%,
    rgba(0, 43, 86, 0.92) 100%
  );
  z-index: 1;
}

.expo-landing-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 48px 80px;
}

/* Logos column (left side) */
.expo-landing-hero__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.expo-landing-hero__logo-mu {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.expo-landing-hero__divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
  border: none;
}

.expo-landing-hero__logo-convention {
  height: 110px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Text column (right side) */
.expo-landing-hero__text {
  flex: 1;
}

.expo-landing-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.expo-landing-hero__title .gold {
  color: var(--gold);
}

.expo-landing-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}

.expo-landing-hero__cta {
  display: inline-block;
}

/* --- Content Section (floor map + form) --- */
.expo-landing-content {
  background: #F5F5F0;
  padding: 80px 48px;
  position: relative;
}

.expo-landing-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/bracketbackground.png') center/cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.expo-landing-content__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Floor map placeholder (left) */
.expo-landing-map {
  flex: 1;
  max-width: 520px;
  min-height: 400px;
  background: #ffffff;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 32px;
}

.expo-landing-map__icon {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.expo-landing-map__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: #999;
  text-align: center;
}

.expo-landing-map--has-image {
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.08);
  padding: 0;
  overflow: hidden;
  min-height: auto;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.expo-landing-map--has-image:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.expo-landing-map__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Floor map lightbox */
.expo-landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.expo-landing-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.expo-landing-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Form container (right) */
.expo-landing-form {
  flex: 1;
  min-width: 360px;
  max-width: 480px;
}

.expo-landing-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-deeper);
  margin-bottom: 24px;
}

/* Light-background form overrides */
.expo-landing-form .signup-form label {
  color: var(--blue-deeper);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expo-landing-form .signup-form input[type="text"],
.expo-landing-form .signup-form input[type="email"] {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #222;
}

.expo-landing-form .signup-form input::placeholder {
  color: #999;
}

.expo-landing-form .signup-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 76, 151, 0.12);
}

/* Sport toggle on light bg */
.expo-landing-form .sport-toggle-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #555;
}

.expo-landing-form .sport-toggle-btn:hover {
  border-color: var(--blue);
  color: var(--blue-deeper);
}

.expo-landing-form .sport-toggle-btn.active {
  background: #004C97;
  border-color: #004C97;
  color: #ffffff;
}

/* School search on light bg */
.expo-landing-form .school-dropdown {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
}

.expo-landing-form .school-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #333;
  text-align: left;
  transition: background 0.15s ease;
}

.expo-landing-form .school-dropdown-item:hover {
  background: #f0f0f0;
}

.expo-landing-form .school-dropdown-empty {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #999;
}

.expo-landing-form .school-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
}

.expo-landing-form .school-logo-fallback {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}

.expo-landing-form .school-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
}

.expo-landing-form .school-selected span {
  flex: 1;
  font-size: 0.95rem;
  color: #222;
  font-weight: 500;
}

.expo-landing-form .school-clear {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.expo-landing-form .school-clear:hover {
  color: #333;
}

.expo-landing-form .school-search-wrap {
  position: relative;
}

/* Submit button on light bg */
.expo-landing-form .btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.expo-landing-form .btn-primary:hover {
  background: var(--blue-deeper);
}

/* Success state on light bg */
.expo-landing-form .form-success h3 {
  color: var(--blue-deeper);
}

.expo-landing-form .form-success p {
  color: #555;
}

.expo-landing-form .form-error {
  color: #DC2626;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .expo-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .expo-card {
    padding: 32px 24px 28px;
  }

  .expo-hero {
    padding: 100px 16px 40px;
  }

  .signup-page {
    padding: 80px 16px 40px;
  }

  .signup-ff-image {
    max-width: 280px;
  }

  .sport-toggle {
    flex-direction: column;
  }

  /* Expo landing hero — stack vertically */
  .expo-landing-hero {
    min-height: auto;
  }

  .expo-landing-hero__content {
    flex-direction: column;
    gap: 32px;
    padding: 100px 24px 48px;
    text-align: center;
  }

  .expo-landing-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .expo-landing-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .expo-landing-hero__logo-mu {
    height: 64px;
  }

  .expo-landing-hero__logo-convention {
    height: 80px;
  }

  /* Content section — stack vertically, form first */
  .expo-landing-content {
    padding: 48px 24px;
  }

  .expo-landing-content__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .expo-landing-form {
    max-width: 100%;
  }

  .expo-landing-map {
    min-height: 280px;
  }
}
