/* === HERO / VIDEO SECTION STYLES (Restored) === */
.video-background-container {
  background-image: url(../Assets/BG-TEAMS-PAGE.jpg);
}

.content-meet {
  position: absolute;
  padding: 0;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.meet-container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.meet-title {
  text-align: center;
  font-family: 'Sofia Pro';
  color: #fff;
  font-size: 5vh;
}

.meet-now {
  border-radius: 8vh;
  padding: 1vh 3vh;
  background-color: #fff;
  transition: 0.3s ease-in-out;
}

.meet-now:hover {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}

.meet-now:active {
  transform: scale(0.97);
  transition: 0.3s ease-in-out;
}

.meet-now a {
  font-family: 'Sofia Pro';
  color: #000000;
  font-size: 3vh;
  text-decoration: none;
}

/* === RESET & LAYOUT === */
section.section-meet {
  width: 100vw;
  /* at least full viewport height, or fit content if taller */
  min-height: 100vh;
  background-color: #121212;
  /* Dark background matching global theme */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
  /* Prevent body scroll if we want a contained app-like feel */
}

.meet-split-layout {
  width: 100%;
  height: 100vh;
  /* Fill the screen */
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* === LEFT SIDE: HERO IMAGE === */
.meet-hero-image-area {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: opacity 0.4s ease-in-out, transform 6s ease-out;
  /* Slow zoom effect */
}

/* Subtle gradient overlay to ensure text contrast if we overlay anything, 
   or just for style at the bottom */
.hero-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(18, 18, 18, 1), rgba(18, 18, 18, 0));
  pointer-events: none;
}

/* === RIGHT SIDE: CONTENT & NAV === */
.meet-content-area {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Header top, Bio middle, Nav bottom */
  padding: 12vh 4vw 4vh 4vw;
  /* Top padding to clear fixed header if needed */
  box-sizing: border-box;
  background-color: #1b1b1b;
}

/* Text Wrapper */
.content-text-wrapper {
  flex: 1;
  /* Take available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center vertically in the available space */
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards 0.2s;
}

/* Typography */
.active-name {
  font-family: 'Sofia Pro', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  /* Large and bold */
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.active-role {
  font-family: 'Sofia Pro', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #d4af37;
  /* Gold accent color or match brand */
  margin: 0 0 2rem 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.active-bio-container {
  max-width: 600px;
}

.active-bio {
  font-family: 'Sofia Pro', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin: 0;
}

/* === NAVIGATION STRIP (ROSTER) === */
.meet-roster-strip {
  height: 140px;
  /* Increased height to accommodate scrollbar */
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 15px;
  /* Space for scrollbar */

  /* Enable Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #444 #1b1b1b;

  mask-image: linear-gradient(to right, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.meet-roster-strip::-webkit-scrollbar {
  height: 8px;
  display: block;
}

.meet-roster-strip::-webkit-scrollbar-track {
  background: #1b1b1b;
}

.meet-roster-strip::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 4px;
}

.meet-roster-strip::-webkit-scrollbar-thumb:hover {
  background-color: #d4af37;
}

/* Individual Roster Items */
.roster-item {
  flex: 0 0 auto;
  width: 80px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.roster-item:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.roster-item.active {
  opacity: 1;
  transform: scale(1.05);
}

.roster-img-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.roster-item.active .roster-img-wrapper {
  border-color: #d4af37;
}

.roster-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.roster-name-small {
  font-family: 'Sofia Pro', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}


/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutIn {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-content {
  animation: fadeIn 0.5s ease-out forwards;
}

/* === RESPONSIVE DESIGN === */

/* Tablet & Mobile */
@media screen and (max-width: 1024px) {
  .meet-split-layout {
    flex-direction: column;
    height: auto;
    /* Allow scrolling content */
    min-height: 100vh;
  }

  .meet-hero-image-area {
    width: 100%;
    height: 50vh;
    /* Half screen for image */
  }

  .meet-content-area {
    width: 100%;
    height: auto;
    padding: 3rem 2rem;
    min-height: 50vh;
  }

  .active-name {
    font-size: 2.5rem;
  }

  .active-role {
    font-size: 1.2rem;
  }
}

/* Small Mobile */
@media screen and (max-width: 768px) {
  section.section-meet {
    height: auto;
    min-height: 100dvh;
    /* Use dynamic viewport height for mobile browsers */
  }

  .meet-split-layout {
    min-height: 100dvh;
  }

  .meet-hero-image-area {
    height: 40vh;
    /* Keeps image visible but leaves room for content */
    flex-shrink: 0;
  }

  .meet-content-area {
    padding: 2rem 1.5rem 1rem 1.5rem;
    /* Tighter padding for mobile */
    justify-content: flex-start;
    gap: 2rem;
  }

  .content-text-wrapper {
    flex: 0 0 auto;
    /* Allow it to grow based on content */
    justify-content: flex-start;
  }

  .active-name {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .active-role {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .active-bio {
    font-size: 1rem;
    line-height: 1.5;
  }

  .meet-roster-strip {
    height: 110px;
    /* Slightly more compact on mobile */
    padding-bottom: 10px;
    margin-top: auto;
    /* Push to bottom of content area if space permits */
    mask-image: none;
    /* Remove mask on mobile to avoid confusion if it cuts off touch targets */
    -webkit-mask-image: none;
  }

  .roster-item {
    width: 70px;
    /* Smaller touch targets */
  }

  .roster-img-wrapper {
    width: 60px;
    height: 60px;
  }
}
