/* ================================
   GLOBAL
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #cbd5e1;
  background: #0b1120;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ================================
   HEADER / NAVBAR
================================ */

header {
  background: rgba(11, 17, 32, 0.94);
  border-bottom: 1px solid #1e293b;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1100px;
  min-height: 70px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #f8fafc;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a {
  position: relative;
  padding: 7px 13px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links a:hover {
  color: #2dd4bf;
  background: #132238;
}

/* ================================
   HERO
================================ */

.hero,
.section,
.contact {
  max-width: 1100px;
  margin: auto;
  padding: 80px 24px;
}

.hero {
  max-width: none;
  padding-top: 110px;
  padding-bottom: 110px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(20, 184, 166, 0.12),
      transparent 45%
    ),
    #0b1120;
  text-align: center;
}

.tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  color: #2dd4bf;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

h2 {
  margin: 0 0 10px;
  color: #f1f5f9;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

h3 {
  margin: 14px 0 8px;
  color: #f1f5f9;
  font-size: 21px;
  font-weight: 700;
}

.section h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, #14b8a6, #38bdf8);
  border-radius: 999px;
}

.contact h2::after {
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  max-width: 620px;
  margin: 20px auto 30px;
  color: #94a3b8;
  font-size: 19px;
  font-weight: 400;
}

/* ================================
   BUTTONS
================================ */

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.primary {
  color: #042f2e;
  background: #2dd4bf;
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.2);
}

.primary:hover {
  background: #5eead4;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(45, 212, 191, 0.28);
}

.secondary {
  color: #e2e8f0;
  background: #111827;
  border: 1px solid #334155;
}

.secondary:hover {
  background: #172033;
  border-color: #475569;
  transform: translateY(-2px);
}

/* ================================
   SECTIONS
================================ */

.section {
  border-top: 1px solid #1e293b;
}

.about-section {
  max-width: none;
  background: #0f172a;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: #94a3b8;
  font-size: 17px;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #dbeafe;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

/* ================================
   FOCUS TAGS
================================ */

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 4px;
  padding: 0;
  list-style: none;
}

.focus-tags li {
  padding: 7px 16px;
  color: #5eead4;
  background: #111c2e;
  border: 1px solid #244154;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.focus-tags li:hover {
  background: #132a34;
  border-color: #2dd4bf;
  transform: translateY(-2px);
}

/* ================================
   GITHUB LINK
================================ */

.github-link {
  display: inline-block;
  margin-top: 20px;
  color: #2dd4bf;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.github-link:hover,
.project-card a:hover {
  color: #67e8f9;
}

/* ================================
   PROJECTS
================================ */

.projects-section {
  max-width: none;
  background: #0b1220;
}

.projects-section > h2,
.project-grid {
  max-width: 1052px;
  margin-left: auto;
  margin-right: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  padding: 28px;
  background: #111827;
  border: 1px solid #1f2d40;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.project-card:hover {
  border-color: #2dd4bf;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(45, 212, 191, 0.06);
  transform: translateY(-4px);
}

.project-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #5eead4;
  background: #102a2b;
  border: 1px solid #1d4b4a;
  border-radius: 10px;
  font-size: 24px;
}

.project-card p {
  min-height: 52px;
  margin: 0 0 17px;
  color: #94a3b8;
  font-size: 15px;
}

.project-card a {
  color: #2dd4bf;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ================================
   CONTACT
================================ */

.contact {
  max-width: none;
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(20, 184, 166, 0.1),
      transparent 45%
    ),
    #0f172a;
  text-align: center;
}

.contact p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: #94a3b8;
  font-size: 17px;
}

.contact p.contact-details {
  display: inline-block;
  max-width: none;
  margin-bottom: 30px;
  padding: 12px 22px;
  background: #111827;
  border: 1px solid #26364a;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

.contact-details a {
  color: #2dd4bf;
  text-decoration: none;
}

.contact-details a:hover {
  color: #67e8f9;
  text-decoration: underline;
}

.contact-details .divider {
  margin: 0 10px;
  color: #475569;
}

/* ================================
   FOOTER
================================ */

footer {
  padding: 32px 24px;
  color: #94a3b8;
  background: #070d18;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 14px;
}

footer p {
  margin: 0 0 8px;
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-name {
  color: #f8fafc;
  font-size: 16px;
  font-weight: bold;
}

.footer-contact a {
  color: #5eead4;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  color: #64748b;
  font-size: 13px;
}

.divider {
  margin: 0 8px;
  color: #334155;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 650px) {
  .navbar {
    min-height: 62px;
    padding: 0 18px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 6px 8px;
    font-size: 13px;
  }

  .hero,
  .section,
  .contact {
    padding: 60px 20px;
  }

  .hero {
    padding-top: 75px;
  }

  .hero-text {
    font-size: 17px;
  }

  h2 {
    font-size: 28px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 24px;
  }

  .contact p.contact-details {
    border-radius: 12px;
    line-height: 1.8;
  }
}
