:root {
  --pink: #ff6fae;
  --pink-strong: #ff4f9a;
  --pink-soft: #ffd6e8;
  --lavender: #f6efff;
  --lavender-2: #efe7ff;

  --bg: #faf7ff;
  --bg-2: #f5efff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-2: rgba(255, 255, 255, 0.92);

  --text: #000000;
  --muted: #6f5e79;

  --card: #ffffff;
  --line: rgba(214, 107, 232, 0.16);

  --shadow: 0 18px 44px rgba(167, 97, 207, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#about,
#contact,
#skills,
#home {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(214, 107, 232, 0.14);
  box-shadow: 0 8px 26px rgba(167, 97, 207, 0.08);

}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* nav bar content */

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #5d476a;
  white-space: nowrap;
}

.brand small {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(93, 71, 106, 0.68);
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

nav a {
  color: rgba(93, 71, 106, 0.66);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--pink-strong);
  transform: translateY(-1px);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 111, 174, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(185, 117, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 214, 232, 0.65), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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


main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 22px 72px;
  min-height: calc(100vh - 78px);
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.photo {
  width: 100%;
  display: block;
  border: 1px solid rgba(214, 107, 232, 0.14);
  box-shadow: var(--shadow);
  border-radius: 20px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: #6f3d67;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--pink-strong);
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
  margin-bottom: 16px;
}


.resume-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-strong), var(--pink));
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 28px rgba(255, 79, 154, 0.22);
}

.resume-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255, 79, 154, 0.28);
  background: linear-gradient(90deg, #ff5ba5, #ff7eb8);
}

.resume-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.contact-link {
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 120px;
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  text-align: center;

}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 111, 174, 0.18);
  border-color: rgba(255, 111, 174, 0.24);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  background: linear-gradient(180deg, rgba(255, 111, 174, 0.16) 0%, rgba(185, 117, 255, 0.14) 100%);
  color: var(--pink-strong);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.contact-label {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #6f3d67;
}

.contact-value {
  font-size: 0.96rem;
  color: rgba(93, 71, 106, 0.82);
  word-break: break-word;
}

.section {
  padding: 28px 0 18px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 900;
  color: #6f3d67;
  margin-bottom: 10px;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.underline {
  width: min(420px, 70%);
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 111, 174, 0.52) 18%,
      rgba(255, 111, 174, 0.92) 50%,
      rgba(185, 117, 255, 0.82) 82%,
      transparent 100%);
  margin: 0 auto 28px;
  border-radius: 999px;
  opacity: 0.95;
}

.lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 26px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 438px));
  justify-content: center;
  gap: 24px;
}

.project-grid.featured {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 111, 174, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-radius: 22px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(167, 97, 207, 0.18);
  border-color: rgba(255, 111, 174, 0.22);
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff7fc 100%);
}

.project-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.03);
}

.project-body {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 1) 100%);
}

.project-title {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #6f3d67;
  margin-bottom: 8px;
}

.project-tech {
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.5;
  color: rgba(255, 111, 174, 0.92);
}

.project-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(93, 71, 106, 0.82);
}

.footer {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.about-panel {
  margin-top: 80px;
  min-height: 520px;
}

/* start of skills section */
.skill-category {
  max-width: 1000px;
  margin: 36px auto;
  color: #ff4f9a;
}

.skill-category h3 {
  margin-bottom: 16px;

  color: #6f3d67;

  font-size: 1.2rem;
  font-weight: 900;
}

.skill-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-bubbles span {

  display: inline-flex;
  align-items: center;

  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(255, 111, 174, .10);

  border: 1px solid rgba(255, 111, 174, .16);

  color: #6f3d67;

  font-size: .8rem;
  font-weight: 700;

  transition: .2s ease;
}

.skill-bubbles span:hover {

  transform: translateY(-3px);

  background: rgba(255, 111, 174, .18);

  box-shadow: var(--shadow);
}


/* WORK EXPERIENCE */

.experience-section {
  width: 100%;
  overflow: hidden;
}

.experience-scroll {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 3px 22px;
  scroll-snap-type: x mandatory;

  scrollbar-width: thin;
  scrollbar-color: #f2a8c7 #fde8f1;
}

.experience-scroll::-webkit-scrollbar {
  height: 8px;
}

.experience-scroll::-webkit-scrollbar-track {
  background: #fde8f1;
  border-radius: 999px;
}

.experience-scroll::-webkit-scrollbar-thumb {
  background: #f2a8c7;
  border: 2px solid #fde8f1;
  border-radius: 999px;
}

.experience-card {
  flex: 0 0 310px;
  min-height: 250px;
  padding: 20px;

  background: #fff9fc;
  border: 1px solid #f8d8e6;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(214, 126, 165, 0.1);

  scroll-snap-align: start;
  cursor: default;
}

.experience-logo {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;

  object-fit: contain;
  background: transparent;
  border: none;
}

.experience-card h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 1.0rem;
  line-height: 1.3;
}

.experience-role {
  margin: 0 0 4px;
  color: #df7da8;
  font-size: 0.9rem;
  font-weight: 700;
}

.experience-date {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.experience-description {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.55;
}

.experience-description:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .experience-scroll {
    gap: 12px;
  }

  .experience-card {
    flex-basis: 78vw;
    min-height: 400px;
    padding: 18px;
  }

  .experience-logo {
    width: 50px;
    height: 50px;
  }
}

/* end of skills section */
@media (max-width: 768px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .photo {
    width: 220px;
    margin: 0 auto;
  }



  .resume-button {
    width: 100%;
    justify-content: center;
  }

}

@media (max-width: 900px) {
  .project-grid.featured {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .project-card {
    aspect-ratio: auto;
    width: 100%;
  }

  .project-body {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  #home {
    padding-top: 100px;
  }

  main {
    padding: 20px 14px 56px;
  }

  .header-inner {
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 18px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1rem;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-subtitle {
    font-size: 0.88rem;
  }

  .project-body .project-subtitle strong {
    color: var(--pink-strong);
  }


}