/* Layout */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  display: flex;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: white;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-toggle {
  position: static;   /* important: no longer fixed */
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;

  width: 260px;
  padding: 18px;
  box-sizing: border-box;
  background: #0f172a;
  color: #e2e8f0;

  display: flex;
  flex-direction: column;

  transform: translateX(-110%);
  transition: transform 0.25s ease;
  z-index: 1000;
}

/* Sidebar visible when toggled */
.sidebar.open {
  transform: translateX(0);
}
/* Profile block */
.profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.profile-link {
  display: inline-block;
  text-decoration: none;
}

/* Bigger, centered photo */
.profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(226, 232, 240, 0.25);
  margin-bottom: 10px;
}

/* Name */
.profile-name {
  font-weight: 700;
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.2;
}

/* Subtitle */
.profile-tagline {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Nav spacing after profile */
.nav {
  margin-top: 12px;
}


/* Nav links */
.nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 600;
}

.nav a:hover {
  background: rgba(226, 232, 240, 0.1);
}

/* Main */
.main{
  padding: 36px 28px;
  max-width: 980px;
}

.content{
  margin-top: 18px;
  line-height: 1.6;
  color: #0f172a;
}

.hero h1{
  font-size: 44px;
  margin: 0 0 10px 0;
}

.hero .subtitle{
  color: #475569;
}

@media (max-width: 900px) {
  body {
    display: block;
  }

  .main {
    padding-top: 64px;
  }
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
}

.linkedin-icon {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 50%;
}

.social-link:hover .linkedin-icon {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}


