/* Reset & base */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  overflow-x: hidden;
  background: #f5f7fa;
  color: #333;
  scroll-behavior: smooth;
}

/* Navigation Hamburger */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger div {
  background-color: #333;
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Animate hamburger to X when active */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar nav */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* hidden */
  height: 100vh;
  width: 250px;
  background-color: #007bff;
  padding-top: 80px;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 600;
}
.sidebar.open {
  left: 0;
}
.sidebar button {
  background: #0056b3;
  border: none;
  color: white;
  padding: 15px 20px;
  margin: 0 15px;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: left;
}
.sidebar button:hover {
  background: #003d80;
}

/* Main content */
.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  transition: filter 0.3s ease;
}
.main-content.blur {
  filter: blur(2px);
  user-select: none;
}

/* Profile Picture */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #007bff;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
  animation: fadeInScale 1s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #007bff;
  animation: slideInDown 0.8s ease forwards;
}

h2 {
  font-weight: normal;
  color: #555;
  margin-bottom: 5px;
}

p.address {
  font-style: italic;
  color: #777;
  margin-bottom: 30px;
}

/* Links below */
.links {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.links a {
  text-decoration: none;
  font-weight: 600;
  color: #007bff;
  border: 2px solid #007bff;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  background: white;
  box-shadow: 0 2px 6px rgba(0,123,255,0.2);
}
.links a:hover {
  background: #007bff;
  color: white;
  box-shadow: 0 4px 12px rgba(0,123,255,0.5);
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  .profile-pic {
    width: 120px;
    height: 120px;
  }
  .links {
    gap: 15px;
  }
  .links a {
    padding: 8px 15px;
    font-size: 1rem;
  }
}
