/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   Base styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}
i[class^="fa-"],
i[class*=" fa-"] {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}
/* ==========================================================================
   Color Palette
   ========================================================================== */
/*
   #0C0B1D,
   #1B2845,
   #EF476F,
   #06D6A0,
   #FFD166,
   #F5F5F5
*/

:root {
  --ff-title: "Orbitron", sans-serif;
  --ff-primary: "Inter", sans-serif;
  --ff-secondary: "Share Tech Mono", monospace;

  --ff-headers: "Exo 2", sans-serif;
  --ff-buttons: "Share Tech Mono", monospace;

  --fw-reg: 400;
  --fw-bold: 600;

  --clr-dark: #12071f; /* plum-black base */
  --clr-light: #f5eaff; /* soft lilac white */
  --clr-highlight: #d946ef; /* fuchsia-violet */
  --clr-accent: #8be9fd; /* pastel cyan */
  --clr-accent-secondary: #ffbdf7; /* pinkish glow accent */
  --clr-background: #1b1032;

  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;

  --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25),
    0.125em 0.125em 0.25em rgba(0, 0, 0, 0.15);
}

@media (min-width: 800px) {
  :root {
    --fs-h1: 4.5rem;
    --fs-h2: 3.75rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.125rem;
  }
}

/* ==========================================================================
   General Styles
   ========================================================================== */
body {
  background: var(--clr-dark);
  color: var(--clr-light);
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
}

section {
  padding: clamp(2.5em, 6vw, 5em) 1.5em;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-headers);
  /* optional for your neon theme */
  letter-spacing: 1px;
}
h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}
h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.75rem);
}
h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

strong {
  font-weight: var(--fw-bold);
}

:focus {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.portfolio-item-link {
  display: inline-block;
  padding: 0.5em 2.5em;
  border-radius: 30px;
  background: var(--clr-accent);
  color: var(--clr-dark);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: var(--fw-bold);
  transition: transform 0.3s ease;
}

.portfolio-item-link:hover {
  transform: scale(1.1);
}

#topBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: var(--clr-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#topBtn.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
header {
  display: flex;
  justify-content: space-between;
  padding: 1em;
}

.logo {
  max-width: 100px;
}

/* === GLASSMORPHIC SIDE PANEL === */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(80%, 320px); /* slides in as a panel */
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;

  /* Glass effect */
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(15, 20, 40, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px rgba(6, 214, 160, 0.3);
}

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

/* center links inside the panel */
.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: right;
  margin-right: 2rem;
}

.nav__link {
  color: #fff;
  font-family: var(--ff-buttons);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__link:hover {
  color: #06d6a0;
  text-shadow: 0 0 8px #06d6a0, 0 0 16px #06d6a0;
}

/* === HAMBURGER === */
.nav-toggle {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.6em;
  cursor: pointer;
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999;
  box-shadow: 0 0 12px rgba(6, 214, 160, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(6, 214, 160, 0.2);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.6);
}

/* hamburger lines */
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.hamburger::before {
  transform: translateY(-8px);
}
.hamburger::after {
  transform: translateY(5px);
}

/* active cross state */
.nav-open .hamburger {
  transform: rotate(45deg);
}
.nav-open .hamburger::before {
  transform: rotate(90deg) translateX(0);
}
.nav-open .hamburger::after {
  opacity: 0;
}

/* ==========================================================================
   Neon Hero Section (Replaces old intro)
   ========================================================================== */
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  background: #000;
  color: var(--clr-light);

  padding: 4rem 1.5rem;
}

/* Name — glowing magenta shadow */
.neon-title {
  font-family: var(--ff-title);
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 5px #fff, 0 0 10px #f0a, 0 0 20px #f0a, 0 0 40px #f0a;
  margin-bottom: 0.5em;
}

/* Subtitle — blue glow */
.neon-subtitle {
  font-family: var(--ff-secondary);
  color: #7aefff;
  font-size: clamp(1.25rem, 4vw, 2rem);
  letter-spacing: 1px;
  text-shadow: 0 0 4px #7aefff, 0 0 10px #7aefff;
  margin-bottom: 1.5em;
}

.neon-typing {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--ff-secondary);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #06d6a0;
  text-shadow: 0 0 6px #06d6a0, 0 0 14px #06d6a0;
  white-space: nowrap;
  margin-top: 1.5rem;
}

.cursor {
  color: #ef476f;
  text-shadow: 0 0 5px #ef476f, 0 0 10px #ef476f;
  margin-left: 0.25em;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   My Work
   ========================================================================== */
.section__title--work {
  margin-bottom: 0.5em; /* space below “My Work” */
}

.section__subtitle--work {
  margin-bottom: 2.5em; /* space before portfolio grid */
  font-family: var(--ff-primary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #7aefff;
  text-shadow: 0 0 6px rgba(122, 239, 255, 0.6);
}
.section__title h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.my-work {
  background: var(--clr-dark);
  color: var(--clr-light);
  text-align: center;
  padding: clamp(2em, 5vw, 3em);
}

.portfolio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
}
/* Portfolio Card Headings */
.portfolio-item h4 {
  font-family: var(--ff-headers); /* Orbitron */
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--clr-highlight);

  letter-spacing: 1px;
  margin-top: 1.5rem; /* ⬆️ space above */
  margin-bottom: 1rem; /* ⬇️ space below */
}

/* Optional: tighten the project descriptions below */
.project-item-description,
.portfolio-item-description {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .portfolio {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5em;
  }
}

@media (min-width: 1000px) {
  .portfolio {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3em;
  }
}

/* === Retro-Wave Teal Glow for cards === */
.portfolio-item {
  color: var(--clr-light);

  border: 1px solid rgba(6, 214, 160, 0.4);
  border-radius: 16px;
  box-shadow: 0 0 8px rgba(6, 214, 160, 0.4), 0 0 16px rgba(6, 214, 160, 0.25),
    0 0 24px rgba(6, 214, 160, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 1.5rem;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 12px rgba(6, 214, 160, 0.6), 0 0 30px rgba(6, 214, 160, 0.45),
    0 0 45px rgba(6, 214, 160, 0.3);
}
.portfolio-item p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.portfolio-item p span {
  font-weight: 600;
  color: var(--clr-accent-secondary);
}
/* ==========================================================================
   Skills Section — Clean Icon Section (no cards)
   ========================================================================== */
.my-skills {
  background-color: var(--clr-dark);
  color: var(--clr-light);
  text-align: center;
  padding-block: clamp(3em, 6vw, 5em);
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  align-items: start;
  justify-items: center;
}

.skill {
  text-align: center;
  color: var(--clr-light);
}

/* === ICONS  === */
.skill i {
  font-size: 24px;
  color: #ff5ed9;
  display: block;
  margin-bottom: 1rem;
}

/* === TITLES === */
.skill h3 {
  font-family: var(--ff-headers);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #7aefff;
  text-shadow: 0 0 6px #7aefff, 0 0 12px rgba(122, 239, 255, 0.6);
  margin: 0;
}

/* ==========================================================================
   My Story Section — Glowing Border Variant
   ========================================================================== */
.my-story {
  background: var(--clr-dark);
  color: var(--clr-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

/* Floating glass card with glow only around edges */
.story-card {
  position: relative;
  background: rgba(12, 11, 29, 0.25); /* same transparent base */
  border-radius: 18px;
  padding: clamp(3rem, 6vw, 5rem);
  width: min(90%, 1200px);
  margin-inline: auto;
  text-align: center;
  backdrop-filter: blur(10px);

  /* 🔮 Neon Magenta Border Glow */
  border: 2px solid rgba(255, 102, 204, 0.6);
  box-shadow: 0 0 12px rgba(255, 102, 204, 0.8),
    0 0 24px rgba(255, 51, 187, 0.6), 0 0 48px rgba(255, 0, 170, 0.5),
    inset 0 0 12px rgba(255, 102, 204, 0.4);
}

.story-title {
  font-family: var(--ff-body);
  color: var(--clr-light);
  font-size: 1.8rem;

  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(6, 214, 160, 0.8);
  margin-bottom: 1.5rem;
}

.story-body {
  font-family: var(--ff-primary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  color: var(--clr-light);
  opacity: 0.95;
}

/* ==========================================================================
   Skills Section — Two Column Layout
   ========================================================================== */

.my-skills {
  background-color: var(--clr-dark);
  color: var(--clr-light);
  text-align: center;
  padding-block: clamp(3em, 6vw, 5em);
}

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  justify-items: center;
  align-items: start;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

/* Individual Skill Item */
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  padding-inline: 1rem;
}

/* Icon Styling */
.skill i {
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
  color: #ff5ed9;
}

/* Title Styling */
.skill h3 {
  font-family: var(--ff-headers);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  color: #7aefff;
  text-shadow: 0 0 8px rgba(122, 239, 255, 0.8);
  margin-bottom: 0.75rem;
}

/* Paragraph Styling */
.skill p {
  font-family: var(--ff-primary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: var(--clr-light);
  opacity: 0.95;
  margin: 0;
  max-width: 360px;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .skills {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.section__title--about {
  font-family: var(--ff-headers);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: none;
  color: #ffffff;
  text-shadow: 0 0 8px #7aefff, 0 0 18px #7aefff,
    0 0 32px rgba(122, 239, 255, 0.6), 0 0 45px rgba(255, 94, 217, 0.4);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* Optional: Add subtle hover pulse (same tone, not animated) */
.section__title--about:hover {
  text-shadow: 0 0 12px #7aefff, 0 0 30px #7aefff,
    0 0 50px rgba(122, 239, 255, 0.8), 0 0 70px rgba(255, 94, 217, 0.6);
  transition: text-shadow 0.3s ease;
}
.about-me {
  max-width: 1000px;
  margin: 0 auto;
  padding-block: clamp(3em, 6vw, 5em);
}

.about-me__body {
  text-align: left;
}

.about-me__img {
  width: min(80%, 220px);
  margin: 2em auto 0;
  border-radius: 4px;
  display: block;
  box-shadow: 0 0 12px rgba(255, 94, 217, 0.6), 0 0 24px rgba(255, 94, 217, 0.4),
    0 0 36px rgba(122, 239, 255, 0.3);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

@media (min-width: 700px) {
  .about-me {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: start;
    column-gap: 2em;
  }

  .about-me__img {
    width: 100%;
    margin: 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 2em 1em;
  text-align: center;

  background: var(--clr-dark);
}
.footer__link {
  color: var(--clr-accent);
}
.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin: 2em 0 0;
  padding: 0;
}
.social-list__item {
  color: var(--clr-accent);
}
.social-list__link {
  color: var(--clr-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: var(--fw-bold);
}

.footer__link:hover,
.social-list__link:hover {
  opacity: 0.7;
  text-decoration: underline;
  color: var(--clr-accent);
}
