/* ============================================
   ABOUT PAGE ENHANCEMENTS
   ============================================ */

/* --- 1. WIDER CONTENT AREA --- */
.aboutContentWrapper {
  max-width: 780px;
}

.aboutStravaContentWrapper {
  max-width: 900px;
}

/* The about section */
.aboutSection {
  justify-content: center;
}

/* --- 2. TOP HORIZONTAL NAVIGATION --- */
.vertNavBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  z-index: 40;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  padding: 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.vertNavBar.fixed {
  position: fixed;
  top: 0;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.vertNavBar > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: auto;
  max-width: 100%;
  padding: 0 32px;
}

.vertNavBarList {
  display: flex;
  width: auto;
  flex-shrink: 0;
}

.vertNavBarList::before {
  display: none;
}

.vertNavBarList a {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  border-left: none;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom: -1px;
}

.vertNavBarList:first-child a {
  padding: 14px 16px;
}

.vertNavBarList a span {
  display: none;
}

.vertNavBarList a:hover {
  color: #555;
}

.vertNavBarList a.active {
  color: #1a1a1a;
  font-weight: 600;
  border-left: none;
  border-bottom: 2px solid #1a1a1a;
}

.vertNavBarList a.active span {
  display: none;
}

/* Hide sub-nav items (Travel, Cycling, etc.) from the top bar */
.vertNavBarList.vertNavBarSub {
  display: none;
}

/* --- More Dropdown --- */
.enh-more-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.enh-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.enh-more-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.enh-more-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.enh-more-wrap.open .enh-more-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.enh-more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.enh-more-link:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

/* Scroll offset for anchor links */
.sectionActiveItem[id],
.sectionContentItem[id] {
  scroll-margin-top: 60px;
}

/* --- 3. BOLD TAGLINE --- */
.enh-tagline {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

/* --- 4. STATS STRIP --- */
.enh-highlights {
  width: 100%;
  margin-bottom: 48px;
}

.enh-stats-strip {
  display: flex;
  gap: 0;
  width: 100%;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 4px;
  overflow: hidden;
}

.enh-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  text-align: center;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.enh-stat:hover {
  background: rgba(255, 255, 255, 0.06);
}

.enh-stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.enh-stat-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- 5. INTRO POLISH --- */
.aboutTitle {
  font-size: 32px;
  font-weight: 700;
}

.aboutTitle span {
  font-size: 32px;
}

.aboutText {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

/* --- 6. SECTION HEADINGS --- */
.contentItemHeading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contentItemInfo {
  font-size: 14px;
  font-style: italic;
  color: #777;
  border-left: 3px solid #e0e0e0;
  padding: 12px 16px;
  margin: 8px 0 14px;
  background: #f9f9f9;
  border-radius: 0 10px 10px 0;
}

.contentItemDetails {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.sectionContentItem {
  margin-bottom: 56px;
}

/* Section dividers for rhythm */
.sectionContentItem + .sectionContentItem {
  padding-top: 8px;
}

/* Achievement heading */
.showFullGallery {
  margin-bottom: 8px;
}

.showFullGallery .contentItemHeading {
  font-size: 20px;
}

.showFullGallery .contentItemDetails {
  color: #777;
  margin-bottom: 0;
}

/* --- 7. AWARDS SECTION — FIX ALIGNMENT --- */
.achieveTabSection {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.achieveTabHeader {
  width: 100%;
  margin-bottom: 8px;
}

.achieveTabHeader .navTabBar {
  gap: 8px;
}

.achieveTabHeader .navTabBar button {
  font-size: 14px;
  font-weight: 500;
  color: #888;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.achieveTabHeader .navTabBar button:focus {
  outline: none;
  box-shadow: none;
}

.achieveTabHeader .navTabBar button:hover {
  color: #333;
  border-color: #bbb;
  background: transparent;
}

.achieveTabHeader .navTabBar button.active-button {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
  font-weight: 600;
  outline: none;
  box-shadow: none;
}

.achieveTabDetails {
  width: 100%;
  margin-top: 20px;
}

.achieveAwardsData {
  width: 100%;
  gap: 12px;
}

.achieveAwardsRow {
  width: 100%;
  display: flex;
  gap: 12px;
}

.achieveAwardsList {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.achieveAwardsList img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  max-width: 100%;
}

/* Full-width single tab content (Contributions, Fitness) */
.achieveTabDetails .tab-content > .achieveAwardsList {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.achieveTabDetails .tab-content > .achieveAwardsList img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

/* --- 8. IMAGE GALLERY POLISH --- */
.contentItemGallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contentItemGap {
  gap: 12px 0;
}

.curiosityGalleryRow {
  width: 100%;
  display: flex;
  gap: 12px;
}

.curiosityGalleryRow .contentGalleryItem {
  flex: 1;
}

.aboutCodeDesignRow {
  width: 100%;
  display: flex;
  gap: 12px;
}

.aboutCodeDesignRow .contentGalleryItem {
  flex: 1;
}

.aboutCodeDesignMobileRow {
  width: 100%;
  display: flex;
  gap: 12px;
}

.aboutCodeDesignGivingRow {
  width: 100%;
  display: flex;
  gap: 12px;
}

.aboutCodeDesignGivingRow .contentGalleryItem {
  flex: 1;
}

.contentGalleryItem {
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contentGalleryItem:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contentGalleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.5s ease;
}

.contentGalleryItem:hover img {
  transform: scale(1.04);
}

/* Force equal height in 2-col rows */
.curiosityGalleryRow,
.aboutCodeDesignRow,
.aboutCodeDesignGivingRow {
  align-items: stretch;
}

/* Strava embeds */
.aboutStravaItemGallery .aboutCodeDesignMobileRow {
  gap: 12px;
}

.fullGalleryItem .contentGalleryItem {
  width: 100%;
}

/* --- 9. CTA SECTION --- */
.greatSection {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 80px;
}

.greatHeading {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.greatDetails {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 24px;
}

.greatButtonInfo {
  justify-content: center;
}

.letConnectBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.letConnectBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- 10. BREATHING SECTION --- */
.breathingHeading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.breathingDetails {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* Fix: breathing section alignment */
section > .aboutContentWrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

section > .aboutContentWrapper.sectionContentItem {
  max-width: 780px;
  margin: 0 auto;
}

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

@media (min-width: 1440px) {
  .aboutContentWrapper {
    max-width: 860px;
  }
  .aboutStravaContentWrapper {
    max-width: 960px;
  }
  .enh-tagline {
    font-size: 24px;
  }
  .enh-stat-num {
    font-size: 28px;
  }
  .aboutTitle, .aboutTitle span {
    font-size: 38px;
  }
  .vertNavBarList a {
    font-size: 13px;
    padding: 14px 18px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .aboutContentWrapper {
    max-width: 700px;
  }
  .aboutStravaContentWrapper {
    max-width: 820px;
  }
  .aboutTitle, .aboutTitle span {
    font-size: 34px;
  }
}

@media (max-width: 1023px) {
  .aboutContentWrapper {
    max-width: 600px;
  }
  .vertNavBarList a {
    padding: 12px 12px;
    font-size: 12px;
  }
  .enh-stats-strip {
    flex-wrap: wrap;
  }
  .enh-stat {
    flex: 1 1 calc(33.33% - 4px);
    min-width: 90px;
  }
  .enh-tagline {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .vertNavBar {
    display: none !important;
  }
  .aboutSection {
    padding-top: 0;
  }
  .aboutContentWrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  .aboutStravaContentWrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  .enh-highlights {
    margin-bottom: 36px;
  }
  .enh-tagline {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .enh-stats-strip {
    flex-wrap: wrap;
    padding: 4px;
    border-radius: 14px;
  }
  .enh-stat {
    flex: 1 1 calc(50% - 4px);
    padding: 16px 8px;
  }
  .enh-stat-num {
    font-size: 20px;
  }
  .enh-stat-label {
    font-size: 10px;
  }
  .aboutTitle, .aboutTitle span {
    font-size: 28px;
  }
  .greatSection {
    padding: 36px 20px;
    border-radius: 16px;
    margin-bottom: 48px;
  }
  .greatHeading {
    font-size: 18px;
  }
  .contentItemInfo {
    padding: 10px 12px;
    font-size: 13px;
  }
  .achieveAwardsRow {
    flex-direction: column;
    gap: 12px;
  }
  .curiosityGalleryRow,
  .aboutCodeDesignRow,
  .aboutCodeDesignGivingRow {
    gap: 8px;
  }
  .contentGalleryItem,
  .contentGalleryItem img {
    border-radius: 10px;
  }
  .aboutCodeDesignGivingRow .contentGalleryItem {
    flex: 1;
  }
  .sectionContentItem {
    margin-bottom: 40px;
  }
  .achieveTabHeader .navTabBar button {
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media (max-width: 479px) {
  .aboutContentWrapper {
    padding: 0 16px;
  }
  .enh-stat {
    flex: 1 1 100%;
    padding: 12px 16px;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    border-radius: 8px;
  }
  .enh-stat-num {
    font-size: 18px;
    min-width: 48px;
  }
  .enh-stat-label {
    font-size: 11px;
    margin-top: 0;
  }
  .enh-tagline {
    font-size: 15px;
  }
  .aboutTitle, .aboutTitle span {
    font-size: 24px;
  }
}
