@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg1: #fdf4ff;
  --bg2: #fbcfe8;
  --bg3: #e9d5ff;
  --card: rgba(255, 255, 255, 0.7);
  --text: #6b216c;
  --subtext: #7c3f7c;
}

body.light {
  --bg1: #f8fafc;
  --bg2: #cbd5e1;
  --card: rgba(255,255,255,0.7);
  --text: #0f172a;
}

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

body {
  font-family: Georgia, serif;
  color: #4b4453;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-image:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    url("background.jpg");
  background-size: cover;
  background-position: center;
}

/* --- PROFESSIONAL NAVIGATION BAR --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

nav a {
  text-decoration: none;
  color: #6b216c;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: rgba(107, 33, 108, 0.1); /* Subtle purple hover */
  transform: translateY(-2px);
}

/* The active page indicator */
nav a.active {
  background: rgba(107, 33, 108, 0.15);
  border-bottom: 2px solid #6b216c;
  transform: translateY(-2px);
}

/* Adjust body to prevent the nav bar from covering the top of the container */
body {
  padding-top: 90px;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 30px;
  padding-bottom: 40px; /* <--- ADD THIS LINE */
  text-align: center;
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(255,255,255,0.5);
}

.profile {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center; /* Changed from "center top" */
  margin: 0 auto 24px;
  display: block;
  border: 5px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #3f3b46;
}

.bio {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #7c6f7b;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0 28px;
}

.socials a {
  color: var(--text);
  font-size: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.12);
  transition: all 0.25s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: white;
}

.links a {
  display: block;
  text-decoration: none;
  color: #4b4453;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.7);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.links a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.95);
}


.divider {
  width: 120px;
  height: 2px;
  background: #7c6f7b;
  margin: 18px auto 28px;
  border-radius: 10px;
}

footer {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.7;
}