/* =========================================================
   Eda Aksoyoğlu — Portfolio
   style.css
   Table of contents:
   1. Design tokens
   2. Reset & base
   3. Layout helpers
   4. Buttons & tags
   5. Navbar
   6. Hero
   7. About
   8. Experience
   9. Projects
   10. Education & Skills
   11. Contact
   12. Footer
   13. Scroll / fade animations
   14. Project detail page
   15. Responsive — tablet
   16. Responsive — mobile
   ========================================================= */

/* -----------------------------------------------------------
   1. Design tokens
----------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #f8f7f4;
  --bg-card: #ffffff;
  --text-primary: #15151f;
  --text-secondary: #6b6f80;
  --text-tertiary: #9497a6;
  --accent: #4b4fc4;
  --accent-hover: #383cae;
  --accent-navy: #212861;
  --accent-navy-dark: #171c47;
  --accent-gold: #f0b45c;

  --border-light: #e7e5df;
  --border-purple: #dcdaf6;

  --card-pink-bg: #fbe8e6;
  --card-pink-icon-bg: #f6cac6;
  --card-pink-icon: #d84a3c;

  --card-green-bg: #e6ede2;
  --card-green-icon-bg: #cbdcc3;
  --card-green-icon: #5c8a4a;

  --gradient-edu: linear-gradient(135deg, #eef1fc 0%, #ffffff 60%);
  --gradient-skills: linear-gradient(135deg, #f8eefb 0%, #ffffff 60%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(21, 21, 31, 0.04), 0 1px 1px rgba(21, 21, 31, 0.03);
  --shadow-card-hover: 0 12px 24px -12px rgba(33, 40, 97, 0.18);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1120px;
  --gutter: 32px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------------------------
   2. Reset & base
----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

  @font-face {
      font-family: "Bakbak One";
      src: url("assets/fonts/BakbakOne-Regular.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
  }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.project-showcase{
    display:flex;
    justify-content:flex-end;
    align-items:center;

    overflow: visible;
}

.phone-render{
    width:700px;
    max-width:none;
    flex-shrink:0;
}
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--accent-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* -----------------------------------------------------------
   3. Layout helpers
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--border-light);
}

.section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-eyebrow-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-eyebrow-row .section-label {
  margin-bottom: 0;
}

.section-eyebrow-row .section-note {
  color: var(--text-tertiary);
  font-size: 14px;
}

/* -----------------------------------------------------------
   4. Buttons & tags
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-navy);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(33, 40, 97, 0.55);
}

.btn-primary:hover {
  background: var(--accent-navy-dark);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-dark {
  background: #111114;
  color: #ffffff;
}

.btn-dark:hover {
  background: #000000;
}

.tag-list,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #eef0fb;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

/* -----------------------------------------------------------
   5. Navbar
----------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent-navy);
  transition: width 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -----------------------------------------------------------
   6. Hero
----------------------------------------------------------- */
.hero {
  padding: 80px 0 56px;
}

.hero-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  max-width: 15ch;
  margin-bottom: 26px;
}

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 35px;
  max-width: 42ch;
  line-height: 1.6;
}

/* -----------------------------------------------------------
   7. About
----------------------------------------------------------- */
.about-heading {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  max-width: 26ch;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 24px;
}

/* -----------------------------------------------------------
   8. Experience
----------------------------------------------------------- */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-purple);
}

.experience-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.experience-title {
  font-size: 16px;
  font-weight: 700;
}

.experience-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.experience-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 68ch;
}

/* -----------------------------------------------------------
   9. Projects
----------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.project-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.project-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef0fb;
  color: var(--accent);
  margin-top: 18px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.project-arrow svg {
  width: 14px;
  height: 14px;
}

.project-card:hover .project-arrow {
  background: var(--accent-navy);
  color: #ffffff;
  transform: translateX(3px) rotate(45deg);
}

/* -----------------------------------------------------------
   10. Education & Skills
----------------------------------------------------------- */
.edu-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.info-card--edu {
  background: var(--gradient-edu);
}

.info-card--skills {
  background: var(--gradient-skills);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.info-card-icon svg {
  width: 18px;
  height: 18px;
}

.info-card-title {
  font-size: 16px;
  font-weight: 800;
}

/* Education timeline */
.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border-purple);
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-navy);
  border: 2px solid #ffffff;
}

.timeline-item:last-child .timeline-dot {
  background: #ffffff;
  border: 2px solid var(--border-purple);
}

.timeline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-school {
  font-size: 14.5px;
  font-weight: 700;
}

.timeline-date {
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-weight: 600;
  white-space: nowrap;
}

.timeline-detail {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 4px;
}

/* Skills card */
.skill-group {
  margin-bottom: 20px;
}

.skill-group:last-child {
  margin-bottom: 0;
}

.skill-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.pill-list .pill {
  background: rgba(255, 255, 255, 0.7);
}

/* -----------------------------------------------------------
   11. Contact
----------------------------------------------------------- */
.contact-section {
  padding: 88px 0;
  border-top: 1px solid var(--border-light);
}

.contact-card {
  background: var(--accent-navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fa3e6;
  margin-bottom: 18px;
}

.contact-heading {
  color: #ffffff;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 26px;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}

.contact-links a {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.contact-links a:hover {
  border-color: #ffffff;
}

.contact-links .dot {
  color: rgba(255, 255, 255, 0.4);
}

/* -----------------------------------------------------------
   12. Footer
----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.back-to-top svg {
  width: 14px;
  height: 14px;
}

.back-to-top:hover {
  background: var(--accent-navy);
  color: #ffffff;
  transform: translateY(-3px);
}

/* -----------------------------------------------------------
   13. Scroll / fade animations

   Progressive enhancement: content is fully visible by default.
   The early inline script in <head> swaps the <html> class from
   "no-js" to "js" before paint, and only the "js" state hides
   .fade-up elements ahead of their scroll-triggered reveal. If
   JavaScript is disabled, blocked, or errors out, every section
   stays visible — the animation is a bonus, never a requirement
   to read the page.
----------------------------------------------------------- */
.js .fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------
   14. Project detail page
----------------------------------------------------------- */
.project-hero {
  padding: 40px 0 72px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px 11px 16px;
  border-radius: var(--radius-pill);
  background: #111114;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: transform 0.25s var(--ease), gap 0.25s var(--ease);
}

.back-button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.back-button:hover {
  transform: translateX(-2px);
}

.back-button:hover svg {
  transform: translateX(-3px);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 36px;
  align-items: start;
}

.project-category {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.project-title-lg {
  font-family: "Bakbak One", sans-serif;
  font-size: clamp(66px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.project-subtitle {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 22ch;
  margin-bottom: 18px;
}

.project-description {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 30px;
}

.project-actions {
  margin-bottom: 30px;
}

.project-actions .btn svg {
  width: 16px;
  height: 16px;
}

/* Phone showcase */
.project-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.phone-annotation {
  position: absolute;
  top: -6px;
  right: 4px;
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 120px;
  line-height: 1.15;
  text-align: left;
  transform: rotate(3deg);
}

.phone-annotation svg {
  width: 46px;
  height: 46px;
  transform: scaleX(-1) rotate(10deg);
  color: var(--text-tertiary);
  margin-top: 4px;
  margin-left: 30px;
}

.phone-mockup {
  position: relative;
  width: 200px;
  height: 410px;
  background: #0c0c0f;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(15, 15, 25, 0.45);
  border: 2px solid #1c1c22;
}

.phone-mockup--back {
  transform: translateX(-46px) rotate(-6deg);
  z-index: 1;
}

.phone-mockup--front {
  transform: translateX(46px) rotate(5deg);
  z-index: 2;
  margin-left: -60px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #131317;
  border-radius: 24px;
  overflow: hidden;
  padding: 20px 14px 14px;
  color: #ffffff;
  font-size: 11px;
  position: relative;
}

.phone-screen-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.phone-screen-sub {
  font-size: 9px;
  color: #8c8c98;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-chip-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.phone-chip {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: #24242b;
  font-size: 9px;
  font-weight: 600;
  color: #d7d7dd;
}

.phone-chip.is-active {
  background: #ffffff;
  color: #111114;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-item {
  background: #1c1c22;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}

.phone-item-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: var(--accent-gold);
  color: #1c1300;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  padding: 4px 0;
  border-radius: var(--radius-pill);
}

.phone-cta {
  display: block;
  width: 100%;
  background: var(--accent-gold);
  color: #1c1300;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: var(--radius-pill);
  margin: 6px 0 14px;
}

.phone-outfit-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.phone-dress {
  flex: 1;
  border-radius: 14px;
  background: linear-gradient(160deg, #8a1f33, #c23a52 45%, #7d1c2e);
  min-height: 190px;
}

/* Browser mockup — used on web-app project pages (CMD, Restaurant) */
.browser-mockup {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -24px rgba(15, 15, 25, 0.28);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.browser-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #f1f0eb;
  border-bottom: 1px solid var(--border-light);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8d6ce;
}

.browser-mockup-body {
  padding: 22px;
}

.browser-block {
  border-radius: 10px;
  background: var(--bg);
}

.browser-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.browser-row:last-child {
  margin-bottom: 0;
}

.tech-tags {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:32px;
}

.tech-tags .pill {
  border-radius: var(--radius-pill);
}

/* Overview */
.overview-section {
  padding: 72px 0;
  border-top: 1px solid var(--border-light);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
}

.overview-grid-inner {
  position: relative;
  padding-left: 56px;
}

.overview-grid-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--border-light);
}

.overview-title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 18px;
}

.overview-text {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 54ch;
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-row-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-navy);
}

.info-row-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.info-row-value {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Problem / solution */
.problem-solution-section {
  padding: 0 0 88px;
}

.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ps-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.ps-card--problem {
  background: var(--card-pink-bg);
}

.ps-card--solution {
  background: var(--card-green-bg);
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.ps-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.ps-card--problem .ps-icon {
  background: var(--card-pink-icon-bg);
  color: var(--card-pink-icon);
}

.ps-card--solution .ps-icon {
  background: var(--card-green-icon-bg);
  color: var(--card-green-icon);
}

.ps-icon svg {
  width: 18px;
  height: 18px;
}

.ps-title {
  font-size: 20px;
  font-weight: 800;
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a4a52;
}

.ps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* =========================================================
   15. Responsive — tablet (768px–1199px)
========================================================= */
@media (max-width: 1199px) {
  :root {
    --gutter: 28px;
  }

  .section-grid {
    grid-template-columns: 160px 1fr;
    gap: 32px;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .phone-mockup {
    width: 170px;
    height: 350px;
  }
}

@media (max-width: 1023px) {
  .section {
    padding: 64px 0;
  }

  .project-detail-grid{
    grid-template-columns:1fr;
    gap:32px;
}

.project-showcase{
    justify-content:center;
    order:2;
}

.phone-render{
    width:100%;
    max-width:520px;
}

  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu-skills-grid {
    grid-template-columns: 1fr;
  }

 

  .project-showcase {
    order: -1;
    min-height: 320px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .overview-grid-inner {
    padding-left: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
  }

  .overview-grid-inner::before {
    display: none;
  }

  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   16. Responsive — mobile (<=767px)
========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }


  
  .nav-links {
    position: fixed;
    inset: 65px 0 0 0;
    height: calc(100vh - 65px);
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px var(--gutter);
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    border-top: 1px solid var(--border-light);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-bottom-row .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 52px 0;
  }

  .experience-card-header {
    flex-direction: column;
    gap: 4px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 40px 24px;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-links .dot {
    display: none;
  }

  .footer-inner {
    flex-direction: row;
  }

  /* Project detail */
  .phone-mockup {
    width: 140px;
    height: 290px;
  }

  .phone-mockup--back {
    transform: translateX(-30px) rotate(-6deg);
  }

  .phone-mockup--front {
    transform: translateX(30px) rotate(5deg);
    margin-left: -40px;
  }

  .phone-annotation {
    display: none;
  }

  .project-actions .btn,
  .back-button {
    width: auto;
  }
}
