/* ================================ */
/* -------- CSS Variables --------- */
/* ================================ */

:root {
  /* Colors - Synthwave/Neon */
  --color-bg: #0d0221;
  --color-bg-card: rgba(15, 5, 40, 0.8);
  --color-pink: #ff2a6d;
  --color-cyan: #05d9e8;
  --color-text: #ffffff;
  --color-text-dim: #a0a0c0;
  --color-border: rgba(255, 42, 109, 0.3);

  /* Fonts */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

/* ================================ */
/* ---------- CSS Reset ----------- */
/* ================================ */

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

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}

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

img {
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ================================ */
/* ------------ Body -------------- */
/* ================================ */

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 500;
}

/* ================================ */
/* -------- Navigation ------------ */
/* ================================ */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  position: sticky;
  top: 0;
  background-color: rgba(13, 2, 33, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logo-dot {
  color: var(--color-pink);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-pink);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

/* ================================ */
/* ---------- Sections ------------ */
/* ================================ */

section {
  padding: 80px 30px;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.accent {
  color: var(--color-pink);
}

/* ================================ */
/* -------- Home Section ---------- */
/* ================================ */

#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
}

.greeting {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-cyan);
  margin-bottom: 15px;
}

#home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 15px;
}

.name-glow {
  color: var(--color-pink);
  text-shadow: 0 0 20px rgba(255, 42, 109, 0.5);
}

.name-outline {
  -webkit-text-stroke: 2px var(--color-cyan);
  color: transparent;
}

.tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  margin-bottom: 30px;
}

.intro {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 450px;
  margin-bottom: 40px;
}

.home-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ================================ */
/* ----------- Buttons ------------ */
/* ================================ */

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.btn-neon {
  background: linear-gradient(135deg, var(--color-pink), #d300c5);
  color: var(--color-text);
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.4);
}

.btn-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 42, 109, 0.6);
}

.btn-ghost {
  border: 2px solid var(--color-cyan);
  color: var(--color-cyan);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--color-cyan);
  color: var(--color-bg);
}

.btn-full {
  width: 100%;
}

/* ================================ */
/* -------- About Section --------- */
/* ================================ */

#about {
  background-color: rgba(21, 7, 52, 0.5);
  max-width: 100%;
  padding: 80px 30px;
}

#about>* {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-cyan);
  box-shadow: 0 0 30px rgba(5, 217, 232, 0.3);
}

.about-text p {
  color: var(--color-text-dim);
  margin-bottom: 15px;
}

.text-highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.text-highlight em {
  font-style: normal;
}

.neon-text {
  color: var(--color-pink);
  text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.neon-text.cyan {
  color: var(--color-cyan);
  text-shadow: 0 0 10px rgba(5, 217, 232, 0.5);
}

.skills h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-list li {
  padding: 10px 16px;
  background: rgba(255, 42, 109, 0.1);
  border: 1px solid rgba(255, 42, 109, 0.2);
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skills-list li:hover {
  background: rgba(255, 42, 109, 0.2);
  border-color: var(--color-pink);
  transform: translateY(-2px);
}

/* ================================ */
/* ------- Projects Section ------- */
/* ================================ */

.projects-grid {
  display: grid;
  gap: 25px;
}

.project-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-pink);
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.2);
}

.project-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-pink);
  opacity: 0.5;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image {
  opacity: 0.8;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-card>p {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tags li {
  font-size: 0.75rem;
  color: var(--color-cyan);
  padding: 4px 10px;
  background: rgba(5, 217, 232, 0.1);
  border: 1px solid rgba(5, 217, 232, 0.3);
}

.project-links {
  display: flex;
  gap: 20px;
}

.project-links a {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: var(--color-cyan);
}

/* ================================ */
/* ------- Contact Section -------- */
/* ================================ */

#contact {
  background-color: rgba(21, 7, 52, 0.5);
  max-width: 100%;
  padding: 80px 30px;
}

#contact>* {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.contact-content {
  display: grid;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-pink);
}

.form-group input,
.form-group textarea {
  padding: 14px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(5, 217, 232, 0.2);
}

.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-links a {
  color: var(--color-text-dim);
  transition: all 0.3s ease;
}

.contact-links a:hover {
  color: var(--color-cyan);
  transform: translateX(5px);
}

/* ================================ */
/* ----------- Footer ------------- */
/* ================================ */

footer {
  padding: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

footer p {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dim);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-pink);
}

/* ================================ */
/* ------- Media Queries ---------- */
/* ================================ */

/* Hide nav links on mobile */
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  #home h1 {
    font-size: 2.5rem;
  }
}

/* Tablet and up */
@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .skills-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 900px) {
  section {
    padding: 100px 50px;
  }

  #about,
  #contact {
    padding: 100px 50px;
  }

  .about-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .about-image {
    width: 250px;
    height: 250px;
  }

  .contact-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 50px;
  }
}