/* ============================================
   PORTFOLIO - Muhammad Basheer
   Elegant, professional design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #fafafa;
  --color-text: #2a2a2a;
  --color-text-light: #666;
  --color-border: #e0e0e0;
  --color-hover: #000;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  background-color: var(--color-bg);
  z-index: 100;
  opacity: 0;
  animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.header-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-hover);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-hover);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Container */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 100px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-top: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1s forwards;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 15px;
}

.social-link:hover {
  color: var(--color-hover);
  transform: translateY(-3px);
}

.social-link svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

.social-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  font-size: 12px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1.2s forwards;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 20px 30px;
  }

  .header-name {
    font-size: 14px;
  }

  .nav-link {
    font-size: 13px;
  }

  .container {
    padding: 100px 30px 60px;
  }

  .hero {
    margin-bottom: 60px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .social-links {
    gap: 15px;
    flex-direction: row;
    justify-content: center;
  }

  .social-link {
    padding: 10px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .social-label {
    font-size: 10px;
  }

  .footer {
    font-size: 11px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px;
  }

  .container {
    padding: 90px 20px 40px;
  }

  .hero {
    margin-bottom: 50px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    padding: 8px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .social-label {
    font-size: 9px;
  }
}