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

:root {
  --p1: #ff2d78;
  --p2: #ff6fa8;
  --p3: #ffc2d9;
  --p4: #fff0f6;
  --p5: #ffe0ee;
  --dark: #1a0010;
  --mid: #4a0028;
  --muted: #9e6080;
  --white: #ffffff;
  --bg: #0d0008;
  --bg2: #160010;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 100, 168, 0.18);
  --glow: 0 0 40px rgba(255, 45, 120, 0.25);
  --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ── grid overlay ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 120, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 120, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── ambient blobs ── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  animation: drift 12s ease-in-out infinite alternate;
}
.b1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 45, 120, 0.12);
  top: -180px;
  right: -180px;
  animation-delay: 0s;
}
.b2 {
  width: 380px;
  height: 380px;
  background: rgba(180, 0, 80, 0.1);
  bottom: 5%;
  left: -120px;
  animation-delay: -4s;
}
.b3 {
  width: 280px;
  height: 280px;
  background: rgba(255, 100, 168, 0.08);
  top: 45%;
  right: 5%;
  animation-delay: -7s;
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(20px, 30px) scale(1.08);
  }
}

/* ════ NAV ════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 6%;
  background: rgba(13, 0, 8, 0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 100, 168, 0.1);
}

.logo {
  font-family: "Italiana", serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.logo span {
  color: var(--p1);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--tr);
  position: relative;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--p1);
  transition: width var(--tr);
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::before {
  width: 100%;
}

.btn-letstalk {
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p1);
  background: transparent;
  border: 1px solid var(--p1);
  padding: 0.6rem 1.6rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--tr);
  text-decoration: none;
}

.btn-letstalk:hover {
  background: var(--p1);
  color: var(--white);
  box-shadow: 0 0 28px rgba(255, 45, 120, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--tr);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ════ HERO ════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 9rem 6% 5rem;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1;
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 1.8rem;
  animation: up 0.8s ease both;
}
.hero-eyebrow .line {
  width: 32px;
  height: 1px;
  background: var(--p1);
}

.hero-left h1 {
  font-family: "Italiana", serif;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  animation: up 0.8s 0.1s ease both;
}
.hero-left h1 .name {
  display: block;
  background: linear-gradient(100deg, #fff 20%, var(--p2) 60%, var(--p1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-left p {
  margin: 1.8rem 0 2.8rem;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  animation: up 0.8s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  animation: up 0.8s 0.3s ease both;
}

.btn-pink {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--p1);
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: var(--tr);
  box-shadow: 0 4px 28px rgba(255, 45, 120, 0.35);
  display: inline-block;
}
.btn-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255, 45, 120, 0.55);
  background: #ff1466;
}

.btn-pink-outline {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--tr);
  display: inline-block;
}
.btn-pink-outline:hover {
  border-color: var(--p2);
  color: var(--white);
  transform: translateY(-3px);
}

/* hero image */
.hero-img {
  flex: 0 0 auto;
  position: relative;
  animation: up 0.8s 0.35s ease both;
}

.hero-img-frame {
  position: relative;
  width: clamp(260px, 28vw, 400px);
  height: clamp(320px, 36vw, 500px);
}
/* corner brackets */
.hero-img-frame::before,
.hero-img-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--p1);
  border-style: solid;
  z-index: 2;
}
.hero-img-frame::before {
  top: -6px;
  left: -6px;
  border-width: 2px 0 0 2px;
}
.hero-img-frame::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 2px 2px 0;
}

.hero-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 100, 168, 0.2);
  position: relative;
}
.hero-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.hero-img-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 0, 8, 0.5) 0%, transparent 50%);
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a0010, #2a0020);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Italiana", serif;
  font-size: 8rem;
  color: rgba(255, 45, 120, 0.2);
}

/* floating badge */
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: rgba(13, 0, 8, 0.92);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  backdrop-filter: blur(12px);
  min-width: 160px;
  animation: float 5s ease-in-out infinite;
}
.hero-badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 0.25rem;
}
.hero-badge-val {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════ DIVIDER ════ */
.divider {
  height: 1px;
  margin: 0 6%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 45, 120, 0.25),
    transparent
  );
  position: relative;
  z-index: 1;
}

/* ════ SECTION LABELS ════ */
.s-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p1);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.s-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--p1);
}

.s-title {
  font-family: "Italiana", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ════ ABOUT ════ */
.about {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 7rem 6%;
  position: relative;
  z-index: 1;
}

.about-img {
  flex: 0 0 auto;
  position: relative;
}

.about-img-frame {
  width: clamp(240px, 24vw, 360px);
  height: clamp(300px, 30vw, 460px);
  position: relative;
}
.about-img-frame::before,
.about-img-frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--p1);
  border-style: solid;
  z-index: 2;
}
.about-img-frame::before {
  top: -5px;
  left: -5px;
  border-width: 2px 0 0 2px;
}
.about-img-frame::after {
  bottom: -5px;
  right: -5px;
  border-width: 0 2px 2px 0;
}

.about-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 100, 168, 0.15);
}
.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a0010, #2a0020);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Italiana", serif;
  font-size: 6rem;
  color: rgba(255, 45, 120, 0.15);
}

/* accent block */
.about-accent {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  border-radius: 2px;
  z-index: -1;
}

.about-right {
  flex: 1;
}
.about-right h2 {
  font-family: "Italiana", serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}
.about-right p {
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  max-width: 500px;
  margin-bottom: 2.2rem;
}

/* ════ SKILLS ════ */
.skills {
  padding: 7rem 6%;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 100, 168, 0.07);
}

.skills-header {
  margin-bottom: 3.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 100, 168, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.skill-card {
  background: var(--bg2);
  padding: 2.4rem 2rem;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--p1), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.skill-card:hover {
  background: rgba(255, 45, 120, 0.05);
}
.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p1);
  margin-bottom: 1.6rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color var(--tr);
}
.skill-item:last-child {
  border-bottom: none;
}
.skill-card:hover .skill-item {
  color: rgba(255, 255, 255, 0.85);
}

.s-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.s-figma {
  background: rgba(242, 78, 30, 0.15);
  color: #f24e1e;
  border: 1px solid rgba(242, 78, 30, 0.25);
}
.s-ps {
  background: rgba(49, 168, 255, 0.15);
  color: #31a8ff;
  border: 1px solid rgba(49, 168, 255, 0.25);
}
.s-html {
  background: rgba(227, 76, 38, 0.15);
  color: #e34c26;
  border: 1px solid rgba(227, 76, 38, 0.25);
}
.s-css {
  background: rgba(41, 101, 241, 0.15);
  color: #5b8def;
  border: 1px solid rgba(41, 101, 241, 0.25);
}
.s-js {
  background: rgba(247, 223, 30, 0.12);
  color: #f7df1e;
  border: 1px solid rgba(247, 223, 30, 0.2);
}
/* ════ PROJECT SECTION ════ */
.projects {
  padding: 7rem 6%;
  border-top: 1px solid rgba(255, 100, 168, 0.07);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ════ CARD ════ */
.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 45, 120, 0.35);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* ════ IMAGE (TOP HALF) ════ */
.project-img {
  height: 200px;
  overflow: hidden;
  background: #111;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

/* ════ CONTENT (BOTTOM HALF) ════ */
.project-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* TAG */
.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4d8d;
}

/* TITLE */
.project-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

/* DESCRIPTION */
.project-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

/* ARROW */
.project-arrow {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: 0.3s ease;
}

.project-card:hover .project-arrow {
  color: #ff4d8d;
  gap: 0.8rem;
}

.arrow-line {
  width: 20px;
  height: 1px;
  background: currentColor;
}

/* ════ RESPONSIVE ════ */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* ════ CONTACT ════ */
.contact {
  padding: 7rem 6%;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 100, 168, 0.07);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-left p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
  margin-top: 1rem;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-inner label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  display: block;
  margin-bottom: -0.3rem;
  margin-top: 0.4rem;
}

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

.contact-inner input,
.contact-inner textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 100, 168, 0.15);
  border-radius: 2px;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: var(--tr);
}
.contact-inner input:focus,
.contact-inner textarea:focus {
  border-color: var(--p1);
  background: rgba(255, 45, 120, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.08);
}
.contact-inner input::placeholder,
.contact-inner textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.contact-inner textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-send {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--p1);
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 4px 28px rgba(255, 45, 120, 0.3);
  margin-top: 0.4rem;
  align-self: flex-start;
}
.btn-send:hover {
  background: #ff1466;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255, 45, 120, 0.5);
}

/* ════ FOOTER ════ */
footer {
  padding: 2.5rem 6%;
  border-top: 1px solid rgba(255, 100, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

footer p {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.social-row {
  display: flex;
  gap: 0.6rem;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  border: 1px solid rgba(255, 100, 168, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--tr);
}
.social-row a:hover {
  border-color: var(--p1);
  color: var(--p1);
  box-shadow: 0 0 16px rgba(255, 45, 120, 0.25);
}

/* ════ REVEAL ════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

#m-contact{
    display: none;
  }

/* ════ RESPONSIVE ════ */
@media (max-width: 960px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 7rem;
  }
  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    animation: none;
  }
  .about {
    flex-direction: column;
  }
  .about-right p {
    max-width: 100%;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #m-contact{
    display: flex;
  }
  
}

@media (max-width: 940px) {
  nav {
    padding: 1rem 5%;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 0, 8, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(255, 100, 168, 0.1);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    display: block;
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
  }
  .btn-letstalk {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding-bottom: 4rem;
  }
  .hero-img-frame {
    width: 240px;
    height: 300px;
  }
  section,
  .about,
  .skills,
  .projects,
  .contact {
    padding: 4.5rem 5%;
  }
 
  .name-row {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  
}
