/* RESET / BASE */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f5f5f5;
  color: #222;
}

/* NAV */
.hero {
  position: relative;
  padding: 24px 48px 40px;
}

.logo {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo:visited,
.logo:hover,
.logo:active {
  color: inherit;
  text-decoration: none;
}

/* VERTICAL NAV */
.nav-links.vertical {
  position: absolute;
  right: 48px;
  top: 140px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 500; 
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* HERO GRID */
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;

  max-width: 1100px;
  margin: 80px auto 0;
}



/* TEXT */
.hero-text h1 {
  font-family: "Space Grotesk", serif;
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-text p {
  font-family: "Inter", serif;
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 24px;
}

.section-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  max-width: 760px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .nav-links.vertical {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 16px;
  }
}

/* WORK SECTION */
.work {
  padding: 80px 48px;
  background: white;
}

.work-container {
  max-width: 900px;
  margin: 0 auto;
}

.work h2 {
  font-size: 32px;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 40px;
}

/* GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

/* CARD */
.work-card {
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Flexbox for the header (project name and platform) */
.project-header {
  display: flex;  /* Enable flexbox layout */
  justify-content: center;  /* Spread the project title and platform out */
  align-items: center;  /* Align them vertically in the center */
  gap: 12px;  /* controls space between texts */
  margin-bottom: 12px;  /* Space between header and description */
}

/* Project Name */
.project-header h3 {
  font-size: 20px;  /* Make project name bigger */
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin: 0;  /* Remove any default margin */
}

/* Tag style for platform */
.work-card .platform.tag {
  display: inline-block;
  padding: 5px 10px;  /* Adds padding around the text */
  background-color: #0000000F;  /* Microsoft Azure's blue (or choose any color you want) */
  color: #101010;  /* Text color */
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;  /* Make the tag text bold */
  border-radius: 05px;  /* Rounded corners */
  text-transform: uppercase;  /* Uppercase text */
  letter-spacing: 0.5px;
  margin-left: 8px;  /* Space between the project name and platform */
  transition: background-color 0.3s;  /* Smooth transition for hover */
}

/* Description below project name and platform */
.description {
  font-size: 14px;
  color: #555;
  margin: 0;  /* Remove default margin */
}

/* Add unique colors per card */
.project-1 {
  background: #c7d9e5;  /* Light blue for the first project */
}

.project-2 {
  background: #cbe7d4;  /* Soft orange for the second project */
}

.project-3 {
  background: #e7d8c9;  /* Light green for the third project */
}

.card-visual {
  padding: 24px 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;

  overflow: visible;
  
}

.card-visual img {
  width: 100%;
  max-height: 180px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;

  transform: scale(1.10);
  transition: transform 0.3s ease;
}
.work-card:hover {
  transform: translateY(-8px);  /* Lift the card a bit more */
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);  /* Stronger shadow for depth */
}

.card-content {
  padding: 16px;
  text-align: center;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}

.card-content .platform {
  display: block;  /* Makes it appear on a new line */
  margin: 4px 0 12px;  /* Spacing between platform and description */
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #777;  /* Lighter color for platform */
}

.card-content p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* HOVER EFFECT */
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================== */
/* PROJECT PAGES STYLES */
/* =========================== */

/* PROJECT PAGE */

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.back-link {
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #555;
}

.project-hero {
  text-align: center;
  padding: 60px 20px;
}

.project-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  margin-bottom: 12px;
}

.project-subtitle {
  font-family: "Inter", sans-serif;
  color: #666;
  margin-bottom: 40px;
}

.project-section.narrow {
  text-align: center;
}

.project-section.narrow p {
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
}

/* META */
.project-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #777;
  margin-bottom: 80px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item i {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  color: #777;
}

/* SECTIONS */
.project-section {
  margin-bottom: 56px;
}

.project-section.narrow p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  max-width: 760px;
  margin: 0 auto;
}

/* =========================== */
/* GOALS SECTION (CLEAN SYSTEM) */
/* =========================== */

.goals-section {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.goals-section .section-label {
  display: block;
  text-align: left;
  margin-bottom: 12px;
  max-width: 900px;
}

.goals-section > .project-title {
  margin-bottom: 8px;
}

.goals-group {
  margin-top: 0;
}

.goals-section .project-title {
  grid-column: 1 / -1;
  display: block;
  justify-self: center;
  text-align: center;
  margin: 0 auto 12px;
}


.goals-section .label {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.goals-group + .goals-group {
  margin-top: 28px;
}

.goals-heading {
  max-width: 320px;
  margin: 0 0 10px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;

  color: #222;
}

.goals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.goals-list p {
  margin: 0;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;

  color: #555;
}

/* =========================== */
/* UX AUDIT BREAKDOWN (PROJECT 2 ONLY) */
/* =========================== */

.goals-section {
  margin-bottom: 64px;
}

.audit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;

  max-width: 900px;
  margin: 32px auto 0;
}

.audit-column {
  text-align: left;
}


.audit-column ul {
  margin: 0;
  padding-left: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.audit-column ul {
  margin: 0;
  padding-left: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-column li {
  text-align: left;
}

.audit-column li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ===========================
   PROJECT 2 GOALS REFINEMENT
=========================== */

.goals-section .audit-columns {
  gap: 32px;
  margin-top: 20px;
}

.goals-section .audit-column {
  background: transparent;
}


.goals-section .audit-column ul {
  margin: 0;
  padding-left: 20px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goals-section .audit-column li {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* MOBILE */
@media (max-width: 768px) {
  .audit-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================== */
/* PRINCIPLES SECTION */
/* =========================== */

.principles-section {
  max-width: 720px;
  margin: 0 auto 80px;
  margin-top: 64px;
  text-align: center;
  padding: 0 24px;
}

.principles-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  color: #111;
}

/* FEATURE NUMBER */

.feature-number {
  display: inline-block;
  margin-bottom: 16px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #999;
}

/* FEATURE IMAGE */

.feature-image img {
  width: 100%;
  max-width: 520px;

  display: block;

  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* FEATURE TEXT */

.feature-text {
  max-width: 440px;
}

.feature-text h2 {
  font-size: 24px;
  line-height: 1.2;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* FEATURE LAYOUT */
.feature {
  max-width: 1000px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse .feature-text {
  direction: ltr;
}

.feature-text h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 12px;
}

.feature-text p {
  font-family: "Inter", sans-serif;
  color: #555;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  display: block;
}

/* =========================== */
/* RESEARCH SECTION */
/* =========================== */

.research-section {
  max-width: 1100px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

/* HEADER */

.research-header {
  text-align: center;
  margin-bottom: 48px;
}

.research-header p,
.solution-section .research-header p,
.iterations-section .research-header p,
.principles-section .research-header p {
  max-width: 760px;
  margin: 0 auto 56px;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.research-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  margin-bottom: 16px;
  color: #111;
}


/* VISUAL */

.research-visual {
  max-width: 760px;
  margin: 0 auto 48px;
}

.research-visual img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid #eaeaea;
}

/* GRID */

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;

  max-width: 780px;
  margin: 0 auto;
}

/* RESEARCH POINTS */

.research-points {
  margin: 0;
  padding-left: 20px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-points li {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* CARDS */

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* MOBILE */

@media (max-width: 768px) {

  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-header h2 {
    font-size: 24px;
  }

  .research-card {
    padding: 24px;
  }

}


/* =========================== */
/* ITERATIONS SECTION */
/* =========================== */

.iterations-section {
  max-width: 1100px;
  margin: 0 auto 72px;
  padding: 0 24px;
}

/* ITERATION BLOCK */

.iteration-block {
  margin-top: 72px;
}

/* TOP LABELS */

.iteration-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 20px;
}

.iteration-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #999;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #333;
}

/* IMAGES */

.iteration-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;

  margin-bottom: 24px;
}

.iteration-image-card img {
  width: 100%;
  display: block;

  border-radius: 20px;

  border: 1px solid #eaeaea;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* EXPLANATIONS */

.iteration-explanations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;

  margin-top: 28px;
  margin-bottom: 40px;
}

.iteration-points {
  margin: 0;
  padding-left: 20px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iteration-points li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* UX IMPROVEMENT */

.iteration-improvement {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #666;
}

.iteration-improvement p {
  margin: 0;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;

  color: #666;
}

.iteration-improvement ul {
  text-align: left;
  margin: 16px auto 0;
  padding-left: 20px;
  display: inline-block;
}

.iteration-improvement + .iteration-improvement {
  margin-top: 64px;
}

/* =========================
   RESUME PAGE
========================= */

.resume-container{
  max-width:900px;
  margin:0 auto;
  padding:0 40px 80px;
}

.resume-hero{
  margin:40px 0 80px;
}

.resume-hero h1{
  font-family:'Space Grotesk', sans-serif;
  font-size:4rem;
  line-height:1;
  margin-bottom:24px;
  letter-spacing:-2px;
}

.resume-hero p{
  max-width:620px;
  color:#666;
  font-size:1.05rem;
  line-height:1.8;
}

.resume-button{
  display:inline-flex;
  margin-top:32px;
  padding:14px 22px;
  border:1px solid #111;
  border-radius:999px;
  transition:0.25s ease;
  font-size:0.95rem;
}

.resume-button:hover{
  background:#111;
  color:#fff;
}

.resume-section{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:40px;
  padding:50px 0;
  border-top:1px solid #d9d9d9;
}

.section-title{
  font-family:'Space Grotesk', sans-serif;
  font-size:0.9rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#666;
}

.resume-item{
  margin-bottom:60px;
}

.resume-item:last-child{
  margin-bottom:0;
}

.item-top{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.item-title{
  font-size:1.05rem;
  font-weight:600;
}

.item-company{
  color:#666;
  margin-top:4px;
}

.item-date{
  color:#666;
  font-size:0.95rem;
}

.item-description{
  color:#444;
  max-width:650px;
  line-height:1.8;
}

.bullet-list{
  margin-top:18px;
  padding-left:20px;
}

.bullet-list li{
  margin-bottom:12px;
  color:#444;
  line-height:1.8;
}

.project-card{
  border:1px solid #d9d9d9;
  padding:32px;
  border-radius:22px;
  background:#fff;
}

.project-year{
  display:inline-block;
  margin-bottom:12px;
  color:#666;
  font-size:0.9rem;
}

.project-card h3{
  margin-bottom:12px;
  font-size:1.2rem;
}

.project-card p{
  color:#555;
  line-height:1.8;
}

.skills-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
}

.skill-block h4{
  margin-bottom:12px;
  font-size:0.95rem;
}

.skill-block p{
  color:#666;
  line-height:1.9;
}


/* ACTIVE NAV LINK */

.nav-links a.active{
  color:#111;
  font-weight:600;
}


/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .resume-container{
    background: white;
    padding:24px;
  }

  .resume-hero{
    margin:80px 0 60px;
  }

  .resume-hero h1{
    font-size:2.8rem;
  }

  .resume-section{
    grid-template-columns:1fr;
    gap:24px;
  }

  .skills-grid{
    grid-template-columns:1fr;
  }

}

/* MOBILE */

@media (max-width: 768px) {

  .iteration-top,
  .iteration-images,
  .iteration-explanations {
    grid-template-columns: 1fr;
  }

  .iteration-explanations {
  grid-template-columns: 1fr;
  gap: 24px;
}

  .iteration-top {
    gap: 12px;
  }

}

/* NEXT PROJECT */
.next-project {
  text-align: center;
  padding: 80px 0;
}

.next-project a {
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  color: #222;
}

.next-project a:hover {
  opacity: 0.6;
}

.project-title {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .feature.reverse {
    direction: ltr;
  }

  .project-meta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* =========================
   BUILD FOOTER
========================= */

.build-footer{
  padding: 32px 24px 28px;
  background: #f5f5f5;
}

.build-footer-line{
  width: 100%;
  max-width: 1100px;
  height: 1px;

  margin: 0 auto 12px;

  background: #e7e7e7;
}

.build-footer-content{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2px;

  color: #777;
}

.build-footer-content p{
  margin: 0;
}

/* Animated status dot */

.build-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
  opacity: 0.5;
}

/* PROJECT 3 IMAGE SAFETY WRAP */
.iteration-image-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.wireframe-small {
  max-width: 750px;
  margin: 0 auto;
}

.wireframe-sm {
  max-width: 250px;
  margin: 0 auto;
}

.wireframe-md {
  max-width: 700px;
  margin: 0 auto;
}

.wireframe-lg {
  max-width: 760px;
  margin: 0 auto;
}

.iteration-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.iteration-image-card {
  width: 100%;
   /* controls how big each image gets */
  margin: 0 auto;     /* centers it inside column */
}

.iteration-images {
  align-items: start;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.feature.center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

/* ONLY fix for Understanding the users section */
.iterations-section .iteration-explanations ul {
  text-align: left;
  margin: 0px;
  padding-left: 150px;
  list-style-position: inside;
}

/* ensures each column behaves properly */
.iterations-section .iteration-explanations {
  align-items: start;
}

.section-header {
  text-align: center;
}