/* =========================================================
   DESIGN TOKENS / VARIABLES
   Change these as your design evolves
========================================================= */
:root {
  /* COLORS */
  /* --color-bg: #fffdf6; */
  --color-bg: #ffffff;
  --color-main: #ffffff;
  --color-text: #181c14;
  --color-muted: #666666;
  --color-line: #cccccc;

  --color-accent: #f28a5b;
  --color-accent-muted: #eeb69c;

  --color-header-text: #181c14;

  --color-sidebar-bg: transparent;
  --color-sidebar-text: #666666;
  --color-sidebar-active: #111111;
  --color-sidebar-hover: #111111;
  --hover-letter: #f28a5b;

  --green: #73AF6F;
  --red: #e27676;
  /* --grey: #666666; */
  --grey: #eeb69c;

  --card-sage: #EBF4DD;

  /* SIZING */
  --header-height: 70px;
  --sidebar-width: 220px;
  --page-max-width: 1600px;

  /* SPACING */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* TYPOGRAPHY */
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 2rem;
  --text-xxl: 3rem;
  --text-title: 5rem;

  /* BORDERS / EFFECTS */
  --radius-sm: 8px;
  --radius-md: 12px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* GLASS HEADER */
  --glass-bg: rgba(20, 20, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: 14px;
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   RESET & BASE
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--text-base);
  background: var(--color-bg);
  color: var(--color-text);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1 {
  font-size: var(--text-xxl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
}

h4 {
  font-size: var(--text-base);
  color: var(--color-muted);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}
/* =========================================================
   HEADER
========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--header-height);
  width: 100%;

  /* Glass effect */
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));

  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);

  color: var(--color-header-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 1000;
}

.header a {
  color: var(--color-header-text);
  text-decoration: none;
  margin-left: var(--space-md);
}

.logo-pic {
  object-fit: contain;
  height: 70%;
  transition: transform 0.3s ease;
}

.logo-pic:hover {
  transform: scale(1.1);
}

/* =========================================================
   PAGE LAYOUT
========================================================= */
.page-wrapper {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-top: var(--header-height);
  display: flex;
  gap: var(--space-lg);
}

/* =========================================================
   MAIN CONTENT
========================================================= */
.content {
  flex: 1;
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--color-bg);
}

/* =========================================================
   SECTIONS
========================================================= */
.section {
  height: fit-content;
  padding: var(--space-xs) 0;
}

.section h2 {
  margin: 3rem 0;
}

.section h3 {
  color: var(--color-muted);
}

.section p {
  /* max-width: 70ch; */
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* =========================================================
   BUTTONS
========================================================= */
.button-primary {
  width: fit-content;
  text-decoration: none;
  padding: 0.8rem 1rem;
  background-color: var(--color-accent);
  border-radius: 8px;
  transition: border 0.3s ease;
}

.button-primary h4 {
  color: var(--color-bg);
}

.button-primary:hover {
}

/* =========================================================
   HERO STICKY TITLE
========================================================= */
.project-title {
  text-transform: uppercase;
  color: transparent;
  font-size: var(--text-title);
  -webkit-text-stroke: 2px var(--color-text);
}

.hero-title {
  font-size: 5rem;
  margin: 0;
  padding: 0;
}


/* =========================================================
   PROJECT OVERVIEW
========================================================= */

.double-grid {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: row;
  gap: 2rem;
}

.four-grid {
  width: 80%;
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.left-side-item {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  height: fit-content;
  margin: 0;
  padding: 0;
}

.right-side {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

/* -> SINGLE GRID <- */
.single-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.single-grid p {
  margin-bottom: 1rem;
}

/* -> SINGLE GRID [center] <- */
.single-grid-center {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  gap: 2rem;
}

/* -> SINGLE GRID [column] <- */
.single-grid-column {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.single-grid-column h3 {
  color: var(--color-muted);
  margin-bottom: 1rem;
}
/* =========================================================
   MODERN DIVIDER
========================================================= */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--grey),
    transparent
  );
  margin: var(--space-lg) 0;
}

.transparent {
  background: transparent;
  background-color: transparent;
  color: transparent;
}
/* =========================================================
   SIDEBAR
========================================================= */
.sidebar {
  width: var(--sidebar-width);
  position: sticky;
  top: calc(var(--header-height) + var(--space-sm));
  height: fit-content;
  background: var(--color-sidebar-bg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar a {
  text-decoration: none;
  color: var(--color-sidebar-text);
  padding: var(--space-sm) var(--space-sm);
  border-left: 3px solid transparent;
  transition: var(--transition-normal);
}

.sidebar a:hover {
  color: var(--color-sidebar-hover);
}

.sidebar a.active {
  color: var(--color-accent);
  /* color: var(--color-sidebar-active); */
  border-left-color: var(--color-accent-muted);
  background: rgba(0, 0, 0, 0.04);
}

/* =========================================================
   IMAGE PLACEHOLDER / MEDIA BLOCK
========================================================= */
.media {
  width: fit-content;
  /* max-width: 100%; */
  /* remove if not needed */
  /* aspect-ratio: 16 / 9; */
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-lg) 0;
  position: relative;
}

/* image inside placeholder */
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media video {
  width: 60%;
  object-fit: cover;
  display: block;
  border-radius: 35px;
}

/* remove label when image exists */
/* .media:has(img)::after {
  display: none;
} */

.single-grid-img {
  /* FIX FOR RESPONSIVE !!!!!!!!!!!!!!!!!!!! */
  width: 200px;
  border: 1px solid var(--color-muted);
}

/* =========================================================
   LIST & LIST ITEMS
========================================================= */
.green-color li::marker {
  color: var(--green);
}

.red-color li::marker {
  color: var(--red);
}

.grey-color li::marker {
  color: var(--grey);
}

/* =========================================================
   PERSONAS
========================================================= */

.users-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* CARD */
.user-card {
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  max-width: 340px;
  margin: 0 auto;
}

.user-card strong {
  color: var(--color-muted);
}

/* AVATAR (empty placeholder) */
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  border: 4px solid transparent;
  /* background: var(--color-accent-2); */
  background-size: cover;
  background-position: center;
  /* Gradient border like your screenshot */
  padding: 3px;
  /* background-image: linear-gradient(135deg, #ff60a8, #8c52ff); */
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps the image inside */
  border-radius: 50%;
}

/* ROLES */
.role {
  text-align: center;
  margin-bottom: 15px;
  margin-top: 5px;
}

.primary,
.secondary,
.supplementary {
  color: var(--color-accent-2-primary);
}

/* DESCRIPTION */
.description {
  --color-accent-2-primary: #b5597a;

  border-left: 3px solid var(--color-accent-2-primary);
  padding-left: 12px;
  margin-top: 15px;
  line-height: 1.5;
  color: #444;
  /* font-size: 0.95rem; */
}

/* =========================================================
   INSIGHTS CARDS
========================================================= */
.insights-section {
}

.insights-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.insight-card {
  background-color: var(--card-sage);
  padding: 14px;
  border-radius: 10px;
}

.insight-card h4 {
  color: var(--color-text);
}

/* =========================================================
   INSIGHTS CARDS
========================================================= */


.wireframe-grid {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 2rem;
}

.wireframe-img {
  width: 200px;
  border-radius: 1rem;
  border: 1px solid var(--color-muted);
}

/* =========================================================
   USABILITY STUDY
========================================================= */
/* - circle for results - */
.kpi-results-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  margin: 0;
  gap: 2rem;
}

.metric-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--color-accent); /* adjust if needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.metric-circle.visible {
  opacity: 1;
  transform: scale(1);
}

.metric-value {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
}

.metric-label {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 1.1rem;
  color: #000;
  line-height: 1.4;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 999px) {
  .sidebar {
    display: none;
  }

  .page-wrapper {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}
