/* ===========================
   RESET & BASE
=========================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Unbounded", sans-serif;
}

html { scroll-behavior: smooth; }

body { background: black; color: hsl(240, 8%, 95%); }

a { text-decoration: none; }

ul { list-style: none; }

img { max-width: 100%; }

/* ===========================
   REUSABLE
=========================== */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding: 6rem 0; }

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: .5rem;
}

.section-title h2 span { color: hsl(255, 60%, 64%); }

.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, hsl(255,80%,56%), hsl(255,60%,74%));
  margin: .5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px hsl(255,60%,64%,.5);
}

.section-sub {
  color: hsl(240,5%,55%);
  font-size: .78rem;
  margin-top: .85rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: linear-gradient(135deg, hsl(255,80%,56%), hsl(255,60%,74%));
  color: white;
  border-radius: .5rem;
  font-size: .75rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}

.btn-glow:hover {
  transform: scale(1.06);
  box-shadow: 0 0 22px hsl(255,60%,64%,.55), 0 0 45px hsl(255,60%,64%,.25);
}

.btn-glow:active { transform: scale(.97); }

.btn-full { width: 100%; text-align: center; }

.btn-sm {
  padding: .45rem 1rem;
  background: linear-gradient(135deg, hsl(255,80%,56%), hsl(255,60%,74%));
  color: white;
  border: none;
  border-radius: .4rem;
  font-size: .68rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform .25s;
}

.btn-sm:hover { transform: scale(1.08); }

.btn-outline {
  background: transparent;
  border: 1px solid white;
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}

.reveal        { transform: translateY(40px); }
.reveal-left   { transform: translateX(-50px); }
.reveal-right  { transform: translateX(50px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===========================
   HEADER / NAV
=========================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.97);
  z-index: 99;
  transition: box-shadow .3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px hsl(255,60%,30%,.2);
  border-bottom: 1px solid hsl(255,20%,12%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  position: relative;
}

.nav-logo {
  color: hsl(240,8%,95%);
  font-weight: 700;
  font-size: 1rem;
  transition: color .4s;
}

.nav-logo:hover { color: hsl(255,60%,64%); }

.nav-list {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: hsl(240,8%,95%);
  font-size: .75rem;
  transition: color .4s, text-shadow .4s;
}

.nav-link:hover {
  color: hsl(255,60%,64%);
  text-shadow: 0 8px 16px hsl(255,60%,64%);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: hsl(255,60%,64%);
  border-radius: 2px;
  transition: all .3s;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Blob */
.blob-animate {
  width: 100px;
  height: 100px;
  background: linear-gradient(180deg,hsl(255,80%,56%) 20%,hsl(255,60%,74%) 100%);
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  filter: blur(35px);
  animation: blob-rotate .9s linear infinite;
}

.header .blob-animate { top: -3rem; left: -3rem; }

@keyframes blob-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===========================
   HERO
=========================== */
.home {
  position: relative;
  min-height: 100vh;
  background: black;
  overflow: hidden;
}

.home-contianer {
  position: relative;
  padding-top: 2rem;
  display: grid;
  row-gap: 3rem;
}

.home-data { margin-bottom: 2rem; }

.home-data p {
  color: hsl(240,5%,55%);
  font-size: .85rem;
  max-width: 400px;
  line-height: 1.8;
  margin-top: .75rem;
  margin-bottom: 40px;
}

.home-gretting { color: hsl(255,60%,64%); font-size: 1.1rem; }

.home-name { color: white; font-size: clamp(2rem,6vw,2.5rem);   }

.home-social {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.home-social-link {
  color: aliceblue;
  font-size: 1.4rem;
  transition: color .3s, transform .3s;
}

.home-social-link:hover {
  color: hsl(255,60%,64%);
  transform: translateX(10px);
}

.home-img {
  position: relative;
  display: grid;
  justify-items: center;
  overflow-y: clip;
}

.home-img .blob-animate {
  width: 160px;
  height: 160px;
  bottom: 0;
}

.home-profile {
  width: 350px;
  justify-self: center;
  animation: float 3s ease-in-out infinite;
  /* filter: drop-shadow(0 0 20px hsl(255,60%,64%,.4)); */
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.home-info {
  text-align: center;
}

.home-split { color: hsl(255,60%,64%); font-size: 1.1rem; }

.home-proffinal-1,
.home-proffinal-2 {
  color: white;
  font-size: clamp(1.5rem,5vw,2.5rem);
  overflow: hidden;
}

.home-proffinal-1 {
  position: relative;
  color: hsl(255,60%,64%);
}

.home-proffinal-1::after {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,hsla(0,0%,0%) 10%,hsla(0,0%,0%,0) 60%);
  position: absolute;
  top: 0;
  left: 0;
}

.home-proffinal-2 { transform: translateY(-1rem); }

.home-shadow {
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg,hsla(240,100%,2%,0) 60%,hsla(240,100%,2%) 85%);
  position: absolute;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.home-cv {
  position: absolute;
  right: 1.5rem;
  bottom: .5rem;
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.cv {
  color: rgb(84,84,84);
  font-size: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .3s;
}

.cv:hover { color: hsl(255,60%,64%); }

/* ===========================
   ABOUT
=========================== */
.about { background: black; }

.about-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.about-img-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg,hsl(255,80%,56%),hsl(255,60%,74%));
  border-radius: 1.5rem;
  filter: blur(8px);
  opacity: .4;
}

.about-img {
  width: min(300px, 90vw);
  border-radius: 1.5rem;
  border: 2px solid hsl(255,60%,40%);
  position: relative;
  object-fit: cover;
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px hsl(255,60%,64%,.4),0 0 40px hsl(255,60%,64%,.2); }
  50%      { box-shadow: 0 0 35px hsl(255,60%,64%,.7),0 0 70px hsl(255,60%,64%,.4); }
}

.about-subtitle { color: hsl(255,60%,64%); font-size: .85rem; margin-bottom: .4rem; }

.about-title { color: white; font-size: clamp(1.1rem,3vw,1.6rem); margin-bottom: 1.25rem; }

.about-desc {
  color: hsl(240,5%,60%);
  font-size: .78rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.stat-card {
  background: hsl(255,10%,5%);
  border: 1px solid hsl(255,20%,15%);
  border-radius: .75rem;
  padding: 1rem;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: hsl(255,60%,64%,.5);
  box-shadow: 0 0 25px hsl(255,60%,64%,.25);
}

.stat-num  { display: block; color: hsl(255,60%,64%); font-size: 1.4rem; font-weight: 700; }
.stat-label{ display: block; color: hsl(240,5%,55%); font-size: .65rem; margin-top: .2rem; }

/* ===========================
   SKILLS
=========================== */
.skills { background: hsl(255,10%,3%); }

.skills-container {
  display: grid;
  gap: 4rem;
}

.skills-group-title {
  color: hsl(255,60%,64%);
  font-size: .82rem;
  margin-bottom: 1.75rem;
}

.skill-item { margin-bottom: 1.5rem; }

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .78rem;
  color: white;
}

.skill-icon {
  margin-right: .5rem;
  color: hsl(240,5%,60%);
  transition: color .3s;
}

.skill-item:hover .skill-icon { color: hsl(255,60%,64%); }

.skill-percent { color: hsl(255,60%,64%); font-weight: 700; font-size: .72rem; }

.progress-bar {
  height: 6px;
  background: hsl(255,20%,12%);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,hsl(255,80%,56%),hsl(255,60%,74%));
  border-radius: 3px;
  box-shadow: 0 0 10px hsl(255,60%,64%,.5);
  transition: width 1.5s cubic-bezier(.4,0,.2,1);
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .5rem;
  background: hsl(255,10%,6%);
  border: 1px solid hsl(255,20%,12%);
  border-radius: .75rem;
  cursor: default;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.tech-icon:hover {
  transform: translateY(-6px) scale(1.08);
  border-color: hsl(255,60%,64%,.4);
  box-shadow: 0 0 18px hsl(255,60%,64%,.2);
}

.tech-icon i   { font-size: 2rem; }
.tech-icon span{ color: hsl(240,5%,55%); font-size: .6rem; }

/* ===========================
   PROJECTS
=========================== */
.projects { background: black; }

.filter-btns {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .45rem 1.25rem;
  background: transparent;
  border: 1px solid hsl(255,20%,20%);
  border-radius: 2rem;
  color: hsl(240,5%,65%);
  font-size: .7rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg,hsl(255,80%,56%),hsl(255,60%,74%));
  border-color: transparent;
  color: white;
  box-shadow: 0 0 15px hsl(255,60%,64%,.4);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 1.5rem;
}

.project-card {
  background: hsl(255,10%,5%);
  border: 1px solid hsl(255,20%,12%);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: hsl(255,60%,64%,.4);
  box-shadow: 0 0 28px hsl(255,60%,64%,.25);
}

.project-card.hidden { display: none; }

.project-img-wrap {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-big-icon {
  font-size: 3.5rem;
  color: rgba(255,255,255,.25);
  transition: transform .3s, color .3s;
}

.project-card:hover .project-big-icon {
  transform: scale(1.15);
  color: rgba(255,255,255,.4);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity .3s;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-body { padding: 1.25rem; }

.project-body h3 { color: white; font-size: .88rem; margin-bottom: .6rem; }

.project-body p { color: hsl(240,5%,55%); font-size: .72rem; line-height: 1.8; margin-bottom: 1rem; }

.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

.project-tags span {
  padding: .2rem .6rem;
  background: hsl(255,40%,15%);
  border: 1px solid hsl(255,40%,25%);
  border-radius: 2rem;
  color: hsl(255,60%,74%);
  font-size: .6rem;
}

/* ===========================
   SERVICES
=========================== */
.services { background: hsl(255,10%,3%); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 1.5rem;
}

.service-card {
  background: hsl(255,10%,5%);
  border: 1px solid hsl(255,20%,12%);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle,hsl(255,60%,50%,.1) 0%,transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: hsl(255,60%,64%,.4);
  box-shadow: 0 0 28px hsl(255,60%,64%,.25);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg,hsl(255,80%,30%),hsl(255,60%,45%));
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px hsl(255,60%,50%,.3);
  transition: transform .3s;
}

.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(5deg); }

.service-icon-wrap i { color: white; font-size: 1.4rem; }

.service-card h3 { color: white; font-size: .88rem; margin-bottom: .75rem; }

.service-card p { color: hsl(240,5%,55%); font-size: .72rem; line-height: 1.85; margin-bottom: 1.25rem; }

.service-features { display: flex; flex-direction: column; gap: .4rem; }

.service-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: hsl(240,5%,65%);
  font-size: .7rem;
}

.service-features li i { color: hsl(255,60%,64%); font-size: .7rem; flex-shrink: 0; }

/* ===========================
   CONTACT
=========================== */
.contact { background: black; }

.contact-container {
  display: grid;
  gap: 3rem;
}

.contact-info h3 { color: white; font-size: 1.1rem; margin-bottom: .75rem; }

.contact-info > p {
  color: hsl(240,5%,55%);
  font-size: .78rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: hsl(255,10%,5%);
  border: 1px solid hsl(255,20%,12%);
  border-radius: .75rem;
  margin-bottom: 1rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: hsl(255,60%,64%,.4);
  box-shadow: 0 0 20px hsl(255,60%,64%,.2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg,hsl(255,80%,30%),hsl(255,60%,45%));
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px hsl(255,60%,50%,.25);
}

.contact-icon i { color: white; font-size: 1rem; }

.contact-label { display: block; color: hsl(240,5%,50%); font-size: .65rem; margin-bottom: .15rem; }
.contact-value { display: block; color: white; font-size: .75rem; }

.contact-socials { display: flex; gap: .6rem; margin-top: 1.5rem; }

.social-btn {
  width: 40px;
  height: 40px;
  background: hsl(255,10%,7%);
  border: 1px solid hsl(255,20%,15%);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(240,5%,65%);
  font-size: .9rem;
  transition: color .3s, transform .3s, border-color .3s, box-shadow .3s;
}

.social-btn:hover {
  color: hsl(255,60%,64%);
  transform: translateY(-4px);
  border-color: hsl(255,60%,64%,.4);
  box-shadow: 0 0 12px hsl(255,60%,64%,.2);
}

/* Form */
.contact-form {
  background: hsl(255,10%,5%);
  border: 1px solid hsl(255,20%,12%);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: .85rem 1rem;
  background: hsl(255,10%,6%);
  border: 1px solid hsl(255,20%,15%);
  border-radius: .5rem;
  color: white;
  font-size: .78rem;
  font-family: inherit;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.form-input::placeholder { color: hsl(240,5%,40%); }

.form-input:focus {
  border-color: hsl(255,60%,64%);
  box-shadow: 0 0 0 2px hsl(255,60%,64%,.15), 0 0 15px hsl(255,60%,64%,.12);
}

.form-textarea { resize: vertical; min-height: 130px; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: hsl(255,10%,3%);
  border-top: 1px solid hsl(255,20%,10%);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand h3 { color: white; font-size: 1.3rem; font-weight: 700; margin-bottom: .4rem; }

.footer-brand p { color: hsl(240,5%,50%); font-size: .72rem; max-width: 260px; line-height: 1.7; }

.footer-links h4,
.footer-social h4 {
  color: hsl(255,60%,64%);
  font-size: .75rem;
  margin-bottom: .85rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }

.footer-links a {
  color: hsl(240,5%,55%);
  font-size: .72rem;
  transition: color .3s, padding-left .3s;
}

.footer-links a:hover { color: hsl(255,60%,64%); padding-left: .4rem; }

.footer-social-row { display: flex; gap: .6rem; }

.footer-divider { height: 1px; background: hsl(255,20%,10%); margin-bottom: 1.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p { color: hsl(240,5%,40%); font-size: .68rem; }

/* ===========================
   MOBILE NAV MENU
=========================== */
@media screen and (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(0,0,0,.98);
    padding: 5rem 2rem 2rem;
    border-right: 1px solid hsl(255,20%,12%);
    transition: left .35s ease;
    z-index: 100;
  }

  .nav-menu.show { left: 0; }

  .nav-list { flex-direction: column; gap: 2rem; }

  .nav-link { font-size: 1rem; }

  .nav-toggle { display: flex; z-index: 101; }

  .form-row { grid-template-columns: 1fr; }

  .about-img-wrap { display: flex; justify-content: center; }

  .home-social {
    position: static;
    flex-direction: row;
    margin-top: 1.5rem;
  }
}

/* ===========================
   TABLET
=========================== */
@media screen and (min-width: 768px) {
  .about-container     { grid-template-columns: 1fr 1fr; }
  .skills-container    { grid-template-columns: 1fr 1fr; }
  .contact-container   { grid-template-columns: 1fr 1fr; }

  .home-contianer {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .home-social {
    position: absolute;
    left: 0;
    top: 18rem;
    flex-direction: column;
    gap: .75rem;
  }

  .home-info {
    grid-column: 1 / -1;
  }
}

/* ===========================
   DESKTOP
=========================== */
@media screen and (min-width: 1150px) {
  .container { padding-inline: 0; }

  .nav { height: calc(3.5rem + 2rem); }

  .nav-list { gap: 5rem; }
}

/* ===========================
   SMALL SCREENS
=========================== */
@media screen and (max-width: 350px) {
  .nav { flex-direction: column; align-items: center; row-gap: 1rem; }
}


.contact-value a {
  color: white;
  transition: color .3s, text-decoration .3s;
}