/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables - Professional Blue Theme */
body {
  --bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(255, 255, 255, 0.2);
  --name-gradient: linear-gradient(135deg, #1e40af, #3b82f6);
  --social-bg: linear-gradient(135deg, #1e40af, #3b82f6);
  --social-hover-github: linear-gradient(135deg, #374151, #1f2937);
  --social-hover-linkedin: linear-gradient(135deg, #374151, #1f2937);
  --social-hover-medium: linear-gradient(135deg, #374151, #1f2937);
  --social-hover-email: linear-gradient(135deg, #374151, #1f2937);
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

/* Hero section */
.hero {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
  animation: fadeInUp 0.8s ease-out;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

/* Profile image */
.profile-image-container {
  position: relative;
  flex-shrink: 0;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Profile content */
.profile-content {
  flex: 1;
  min-width: 300px;
}

.name {
  font-size: 3rem;
  font-weight: 500;
  font-family: "Limelight", cursive;
  margin-bottom: 1rem;
  background: var(--name-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.tagline.primary {
  font-weight: 600;
  color: var(--text-primary);
}

.tagline.secondary {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--social-bg);
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-link.github:hover {
  background: var(--social-hover-github);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

.social-link.linkedin:hover {
  background: var(--social-hover-linkedin);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

.social-link.medium:hover {
  background: var(--social-hover-medium);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

.social-link.email:hover {
  background: var(--social-hover-email);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

/* Tooltips - Hidden */
.tooltip {
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .hero {
    padding: 2rem;
    border-radius: 16px;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .name {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .tagline.secondary {
    font-size: 1rem;
  }

  .social-links {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem;
  }

  .name {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.social-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Loading animation for profile image */
.profile-image {
  animation: imageLoad 0.5s ease-out 0.1s both;
}

@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
