/* RESET */
* {margin:0; padding:0; box-sizing:border-box;}
body {font-family:'Inter', sans-serif; background:#0f0f13; color:#ddd; scroll-behavior:smooth; line-height:1.6;}
a {text-decoration:none; color:inherit;}

::-webkit-scrollbar {
    width: 0;
}

:root {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior: contain;
}

/* CONTAINER */
.container {max-width:1000px; margin:0 auto; padding:0 20px;}

/* HEADER */
.header {
  position:sticky; top:0; z-index:100; background:#1b1b22; padding:15px 0;
}
.header-container {display:flex; justify-content:space-between; align-items:center;}
.logo {font-weight:700; font-size:1.6rem; color:#fafafa;}
nav a {margin-left:25px; font-weight:500; color:#aaa; transition:0.3s;}
nav a:hover {color:#fff;}

/* SECTIONS */
.section {margin-bottom: 50px;}
.section h2 {font-size:2.2rem; text-align:center; margin-bottom:50px; color:#fafafa;}

/* EXPERIENCE LIST */
.experience-list {display:flex; flex-direction:column; gap:0;}
.experience-item {
  padding:25px 0;
  border-top:1px solid #2c2c34;
  border-bottom:1px solid #2c2c34;
}
.experience-item:first-child {border-top:none;}
.experience-item:last-child {border-bottom:none;}
.experience-item h3 {color:#f5f5f5; margin-bottom:5px;}
.experience-item span {font-size:0.9rem; color:#aaa; display:block; margin-bottom:10px;}

/* PROJECT GRID */
.project-grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(500px,1fr)); gap:25px;}
.project-card {
  background:#1e1e26;
  border: 2px solid #444557;
  padding:25px;
  border-radius:15px;
  position:relative;
  overflow:hidden;
  transition:transform 0.3s;
  cursor:pointer;
}
.project-card:hover {transform:translateY(-6px); border: 2px solid #4cafff; border-radius:15px;}
.project-tags {display:flex; flex-wrap:wrap; gap:10px; margin-bottom:15px;}
.project-tags span {background:#2c2c34; padding:3px 10px; border-radius:12px; font-size:0.8rem; color:#ccc;}
.project-title {font-size:1.2rem; font-weight:600; margin-bottom:10px; color:#f5f5f5;}
.project-description {font-size:0.9rem; color:#aaa; margin-bottom:15px; line-height:1.4;}
.project-links {display:flex; gap:15px; margin-bottom:20px;}
.project-links svg {width:20px; height:20px; fill:#ccc; transition:0.3s;}
.project-links svg:hover {fill:#fff;}
.explore-project {
  display:flex; align-items:center; gap:5px; font-weight:500; font-size:0.9rem; color:#a5a5aa; transition:0.3s;
}
.explore-project svg {width:14px; height:14px; fill:#00f0ff;}
.project-card:hover .explore-project {text-decoration:none; transform:translateX(3px); color: #4cafff}

/* CTA BUTTON */
.cta-container {display:flex; justify-content:center; gap:25px; flex-wrap:wrap;}
.btn {padding:14px 28px; border-radius:50px; font-weight:600; background:#2a2a36; color:#fff; transition:0.3s;}
.btn:hover {background:#3a3a46; transform:translateY(-3px);}

/* FOOTER */
footer {text-align:center; padding:40px 20px; color:#666;}

/* FADE-UP ANIMATION */
.fade-up {opacity:0; transform:translateY(25px); transition:all 0.7s ease-out;}
.fade-up.visible {opacity:1; transform:translateY(0);}

/* RESPONSIVE */
@media(max-width:768px){nav a{margin-left:15px;}}

/* LANGUAGE TAGS */
.project-tags .JavaScript {background-color: #f7df1e; color: #111}
.project-tags .JS {background-color: #f7df1e; color: #111}
.project-tags .HTML {background-color: #FFA500; color: #111}
.project-tags .CSS {background-color: #663399;}
.project-tags .Database {background-color: #06467a;}
.project-tags .Middleware {background-color: #c01f1f;}

.hero {
  min-height: 80vh;
  background: #0f0f13;
  color: #eaeaea;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 120px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  border-bottom: 1px solid #444557;
}

/* LEFT SIDE */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 32px;
}

.hero-title .accent {
  position: relative;
  color: #4cafff;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: -4%;
  bottom: 8%;
  width: 108%;
  height: 0.45em;
  background: rgba(243, 193, 216, 0.25);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-description {
  max-width: 465px;
  font-size: 1rem;
  line-height: 1.7;
  color: #b8b8b8;
}

/* RIGHT SIDE */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #1b1b22;
  border-radius: 4px;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  padding-left: 5px;
  padding-right: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero {
    padding-top: 60px;
  }
}

.featured-package {
  background: #1b1b22;
  padding: 24px;
  border-radius:15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  min-width: 500px;
  border: 2px solid #444557
}

/* reuse existing tags look */
.featured-package .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-package .project-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.featured-package .project-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b8b8b8;
}

/* npm button */
.package-actions {
  margin-top: 4px;
  display: flex;
}

.npm-install-btn {
  font-family: monospace;
  font-size: 0.85rem;
  padding: 9px 20px 11px 20px;
  border-radius: 6px;
  border: 1px solid #2f2f3a;
  background: #111116;
  color: #eaeaea;
  cursor: pointer;
  transition: all 0.25s ease;
}

.npm-install-btn:hover {
  background: #18181f;
  border-color: #4cafff;
  transform: translateY(-1px);
}

.npm-install-btn.copied {
  border-color: #7fdc9a;
  color: #7fdc9a;
}

.package-actions .explore-project {
    margin-left: 20px;
    margin-top: 9px;
    margin-bottom: 11px;
    display:flex; 
    align-items:center; 
    gap:5px; font-weight:500; 
    font-size:0.9rem; 
    color:#a5a5aa; 
    transition:0.3s;
}

.package-actions .explore-project:hover {
    text-decoration:none; 
    transform:translateX(3px); 
    color: #4cafff
}

.projects {
    margin: auto;
    width: fit-content;
    height: 50px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #444557;
    transition: color 0.3s ease;
    margin-bottom: 110px;
}

.projects path {
    stroke: #444557;
    transition: transform 0.3s ease, stroke 0.3s ease;
    transform-origin: center;
}

.projects:hover {
    color: #b8b8b8;
    transition:0.3s;
    cursor: pointer;
}

.projects:hover path {
    transform:translateY(5px); 
    stroke: #b8b8b8;
}