/* ==========================================================================
   ABOUT ME PORTAL SPECIFIC CSS
   Artist: Hailey Young (TAMUCC)
   Theme: Dual Tabbed Biography / Resume Panel
   ========================================================================== */

/*
   Pedagogical Comment:
   The About page features a top tabs sub-navigation system,
   with tab contents switching display states based on active classes.
*/
.about-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

/* Tab Header Sub-Navigation */
.about-tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--color-dark-teal);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  font-family: var(--font-logo);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-lavender-grey);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.tab-btn:hover {
  color: var(--color-pearl-aqua);
  background-color: rgba(92, 75, 62, 0.2);
}

.tab-btn.active {
  color: var(--color-tea-green);
  border-color: var(--color-tea-green);
  background-color: var(--color-midnight-violet);
  box-shadow: 0 0 10px rgba(196, 180, 156, 0.2);
}

/* Tab Panels Content Container */
.about-panels {
  flex-grow: 1;
  overflow-y: auto; /* Allow scrolling on biography/resume files */
  position: relative;
  border-radius: 8px;
}

.about-panel {
  display: none;
  animation: fadeIn 0.4s ease;
  height: 100%;
}

.about-panel.active {
  display: block;
}

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

/* BIOGRAPHY PANEL LAYOUT */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.bio-media {
  background: var(--color-card-bg);
  border: 1px solid var(--color-dark-teal);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.bio-avatar-frame {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 3px solid var(--color-pearl-aqua);
  box-shadow: 0 0 15px var(--color-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark-bg);
}

.bio-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-media h3 {
  font-family: var(--font-logo);
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bio-media p {
  color: var(--color-tea-green);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bio-text-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-lavender-grey);
}

.bio-text-container h4 {
  font-family: var(--font-logo);
  color: var(--color-pearl-aqua);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-top: 1rem;
}

.bio-text-container p strong {
  color: #ffffff;
}

/* RESUME/CV PANEL LAYOUT */
.resume-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.cv-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  border: 2px dashed rgba(142, 126, 155, 0.3);
  border-radius: 12px;
  text-align: center;
  color: var(--color-lavender-grey);
}

.cv-placeholder i {
  font-size: 3rem;
  color: var(--color-dark-teal);
}

.cv-placeholder p {
  font-size: 1.1rem;
  font-style: italic;
}

.cv-section {
  border-left: 2px solid var(--color-dark-teal);
  padding-left: 1.5rem;
  position: relative;
}

.cv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 10px;
  height: 10px;
  background-color: var(--color-pearl-aqua);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-pearl-aqua);
}

.cv-section-title {
  font-family: var(--font-logo);
  color: var(--color-pearl-aqua);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.cv-item {
  margin-bottom: 1.5rem;
}

.cv-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cv-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.cv-item-date {
  font-size: 0.85rem;
  color: var(--color-tea-green);
  font-weight: 700;
}

.cv-item-institution {
  font-size: 0.9rem;
  color: var(--color-lavender-grey);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.cv-item-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-lavender-grey);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-container {
    padding: 1rem;
  }

  .bio-layout {
    grid-template-columns: 1fr;
  }

  .about-tabs-nav {
    justify-content: center;
  }

  .tab-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
  }

  .cv-item-header {
    flex-direction: column;
    gap: 4px;
  }
}
