/* css/v1.css */

/* ─── VARIABLES ───────────────────────────────────────────────────────── */
:root {
  --purpleDarkest:   #1B0D26;
  --purpleDarker:    #2C1B3E;
  --purpleMid:       #4A234B;
  --magentaBright:   #C2275C;
  --textLight:       #FFFFFF;
  --borderColor:     #3A1935;

  /* Banner controls */
  --bannerMaxWidth: 119em;   /* cap banner’s length */
  --bannerHeight:   20rem;   /* banner height */

  /* Sidebar avatar controls */
  --avatarSize:     250px;   /* avatar width & height */
  --avatarOffsetX:  1.7rem;  /* distance from sidebar’s left edge */
  --avatarOffsetY:  -7rem;   /* vertical offset */
}

/* ─── RESET & BASE ─────────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  background: var(--purpleDarkest);
  color: var(--textLight);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}
.pageContainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── SKIP LINK ───────────────────────────────────────────────────────── */
.skipLink {
  position: absolute;
  left: -62.5em;
  top: 0.5rem;
  background: var(--magentaBright);
  color: var(--textLight);
  padding: 0.5rem 1rem;
  transition: left 0.2s;
  z-index: 200;
}
.skipLink:focus {
  left: 1rem;
}

/* ─── HEADER AS FULL-WIDTH BANNER ─────────────────────────────────────── */
.siteHeader {
  width: 100vw;
  height: var(--bannerHeight);
  overflow: hidden;
  background: var(--magentaBright);
}
.siteHeader .bannerImage {
  display: block;
  width: 100%;
  max-width: var(--bannerMaxWidth);
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}
.headerBannerTop,
.headerBannerMain,
.headerBannerBottom {
  display: none;
}

/* ─── GRID LAYOUT ─────────────────────────────────────────────────────── */
.layoutGrid {
  display: grid;
  grid-template-columns: 18.75em 1fr 15.625em;
  gap: 2rem;
  flex: 1;
  padding: 2rem;
  align-items: stretch;   /* allow each column to stretch */
  margin-top: 0;
}

/* ─── MAIN CONTENT STRETCH ────────────────────────────────────────────── */
.mainContent {
  display: flex;
  flex-direction: column;
  flex: 1;                /* grow to fill grid row */
}

/* ─── SIDEBAR ─────────────────────────────────────────────────────────── */
.siteSidebar {
  position: relative;
  background: var(--purpleDarker);
  padding: calc(var(--bannerHeight)/2 + 1rem) 1rem 1.5rem;
}
.sidebarAvatar {
  position: absolute;
  top: var(--avatarOffsetY);
  left: var(--avatarOffsetX);
  width: var(--avatarSize);
  height: var(--avatarSize);
  border-radius: 50%;
  object-fit: cover;
  border: 0.125em solid var(--borderColor);
  background: var(--purpleDarkest);
  transform: none;
}
.sidebarMenu {
  list-style: none;
  margin-top: 0.3rem;
}
.sidebarMenu li + li {
  margin-top: 0.6rem;
}
.sidebarMenuLink {
  color: var(--textLight);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 0.0625em solid var(--borderColor);
}

/* ─── PROFILE AREA ────────────────────────────────────────────────────── */
.profileMain {
  display: flex;
  gap: 2rem;
  align-items: stretch;   /* stretch children vertically */
  flex: 1;                /* fill .mainContent */
}
.profileImageContainer {
  flex: 0 0 40%;
  height: 100%;           /* fill .profileMain */
}
.profileImage {
  display: block;
  width: 100%;
  height: 100%;           /* fill container */
  object-fit: cover;
  border-radius: 0.375em;
}
.profileDetails {
  flex: 1;
}

/* ─── BOXED NAME & BIO ───────────────────────────────────────────────── */
.profileInfoBox {
  border: 0.125em solid var(--magentaBright);
  padding: 1rem;
  border-radius: 0.375em;
  margin-bottom: 1.5rem;
}
.profileName {
  font-size: 2.5rem;
  color: var(--magentaBright);
}
.profileBio {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ─── TABS & PANELS ──────────────────────────────────────────────────── */
.detailTabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.detailTabButton {
  background: none;
  border: none;
  color: var(--textLight);
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.detailTabButton[aria-selected="true"] {
  border-bottom: 0.1875em solid var(--magentaBright);
  color: var(--magentaBright);
}
.detailPanels {
  margin-top: 1rem;
}
.detailPanel {
  background: var(--purpleDarker);
  padding: 1rem;
  border-radius: 0.375em;
}
.detailPanel[hidden] {
  display: none;
}

/* ─── NOTES & LIKES ───────────────────────────────────────────────────── */
.notesList,
.likesColumnList {
  list-style: disc;
  padding-left: 1.5rem;
}
.notesListItem,
.likesColumnItem {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.likesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.likesColumnHeader {
  color: var(--magentaBright);
}

/* ─── COMMISSIONS PANEL ROWS ──────────────────────────────────────────── */

.commissionList {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.commissionRow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--borderColor);
}

.commissionRow:last-child {
  border-bottom: none;
}

.commissionLabel {
  text-transform: uppercase;
  color: var(--textLight);
  font-weight: bold;
  font-size: 1rem;
}

.statusText {
  text-transform: uppercase;
  color: var(--textLight);
  opacity: 0.7;
  margin: 0 1rem;
  font-size: 0.875rem;
}

.commissionButton {
  background: var(--magentaBright);
  color: var(--textLight);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: 0.375em;
  font-size: 0.875rem;
  transition: filter 0.2s;
}

.commissionButton:hover {
  filter: brightness(0.9);
}


/* ─── FEATURED CARDS ─────────────────────────────────────────────────── */
.featuredGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.featuredCard {
  position: relative;
  background: #ffe4ec;
  padding-top: 1.5em;
  border-radius: 0.375em;
  overflow: hidden;
  text-align: center;
}
.featuredCard::before {
  content: "❤";
  position: absolute;
  top: 0.5em;
  left: 50%;
  transform: translateX(-50%);
  color: #e91e63;
  font-size: 1.2em;
}
.featuredCardImage {
  width: 100%;
  display: block;
}
.featuredCardName {
  margin: 2em 0 0;
  color: var(--textLight);
}

/* ─── SOCIAL BUTTONS ────────────────────────────────────────────────── */
.socialLinks {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.socialButton {
  display: inline-block;
  padding: 0.75rem 5rem;
  color: var(--textLight);
  text-decoration: none;
  border-radius: 0.375em;
  font-weight: bold;
  transition: background 0.2s;
}
.socialButton:hover {
  filter: brightness(0.9);
}
.socialButton.twitter   { background: #1DA1F2; }
.socialButton.instagram { background: #E1306C; }
.socialButton.facebook  { background: #1877F2; }
.socialButton.linkedin  { background: #0077B5; }
.socialButton.youtube   { background: #FF0000; }

/* ─── SIDE GALLERY ──────────────────────────────────────────────────── */
.sideGallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.sideGalleryImage {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 0.25em;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
.siteFooter {
  background: var(--purpleDarker);
  text-align: center;
  padding: 1rem 0;
  margin-top: auto;
  font-size: 0.9rem;
}
