/* =========================
   NAVBAR
========================= */

.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
}

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

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ededed;
}


/* =========================
   BASE
========================= */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.7;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}


/* =========================
   HERO LAYOUT
========================= */

.hero {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.hero-left {
  width: 260px;
  flex-shrink: 0;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 6px;
  display: block;
  background: #fff;
}

.hero-text {
  flex: 1;
}


/* =========================
   CONTACT + SOCIAL ICONS
========================= */

.contact-card {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: #111;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 2rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
}

.github-icon:hover {
  color: #000;
}

.linkedin-icon:hover {
  color: #0077b5;
}


/* =========================
   LINKS (GLOBAL CONSISTENT STYLE)
   NO UNDERLINES ANYWHERE
========================= */

.hero-text a,
section a {
  color: #2f57c6;
  text-decoration: none;
  padding: 0 2px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.hero-text a:hover,
section a:hover {
  background-color: rgba(47, 87, 198, 0.10);
  color: #1f3f99;
}


/* =========================
   BUTTON
========================= */

.button {
  display: inline-block;
  padding: 14px 22px;
  background: #222;
  color: white !important;
  text-decoration: none !important;
  border-radius: 8px;
  margin-top: 1rem;
}

.button:hover {
  background: #444;
}


/* =========================
   TYPOGRAPHY
========================= */

h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 28px;
}

p {
  margin-bottom: 18px;
}

section {
  margin-bottom: 70px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}


/* =========================
   PROJECTS + FOOTER
========================= */

.project {
  margin-bottom: 32px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-description {
  color: #555;
}

footer {
  margin-top: 80px;
  color: #777;
  font-size: 0.9rem;
  text-align: center;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-image {
    width: 180px;
    height: 180px;
  }

  h1 {
    font-size: 2.1rem;
  }
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
}
