/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(to bottom, #0f0f23, #1a1a2e);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #a78bfa;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at center, #8b5cf6, #14b8a6, #f43f5e);
  background-size: 60px 60px;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 40px 40px, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.badge-purple {
  background-color: #7c3aed;
}
.badge-teal {
  background-color: #0d9488;
}
.badge-rose {
  background-color: #e11d48;
}
.badge-amber {
  background-color: #d97706;
}
.badge-blue {
  background-color: #2563eb;
}
.badge-red {
  background-color: #dc2626;
}
.badge-green {
  background-color: #059669;
}

/* Bio Section */
.bio-section {
  padding: 80px 0;
  background: rgba(15, 15, 35, 0.5);
  backdrop-filter: blur(10px);
}

.bio-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.bio-image {
  position: relative;
}

.bio-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.1);
  transition: transform 0.3s ease;
}

.bio-image img:hover {
  transform: scale(1.02);
}

.bio-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.bio-text p {
  color: #d1d5db;
  margin-bottom: 16px;
  line-height: 1.7;
}

.bio-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #7c3aed;
  color: white;
}

.btn-primary:hover {
  background-color: #6d28d9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #a78bfa;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.btn-outline-purple {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #a78bfa;
}

.btn-outline-purple:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  border: 1px solid rgba(20, 184, 166, 0.5);
  color: #5eead4;
}

.btn-outline-teal:hover {
  background: rgba(20, 184, 166, 0.1);
  transform: translateY(-2px);
}

/* Portfolio Grid Section */
.portfolio-grid-section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-description {
  text-align: center;
  color: #d1d5db;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

/* Portfolio Cards */
.portfolio-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #374151;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image-meta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-image-ea {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}
.card-image-ibm {
  background: linear-gradient(135deg, #1f70c1 0%, #0f4c75 100%);
}
.card-image-wfm {
  background: linear-gradient(135deg, #00a651 0%, #007935 100%);
}
.card-image-pizzahut {
  background: linear-gradient(135deg, #ee3124 0%, #c41e3a 100%);
}
.card-image-aetna {
  background: linear-gradient(135deg, #7b2cbf 0%, #5a189a 100%);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;
}

.card-content {
  padding: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-icon {
  font-size: 1.125rem;
}

.card-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.card-description {
  color: #d1d5db;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  background: none;
  border: none;
  color: #a78bfa;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #c4b5fd;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #1f2937;
  margin: 5% auto;
  padding: 32px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #374151;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ffffff;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, #1a1a2e, #0f0f23);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-section p {
  color: #d1d5db;
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.footer {
  background: #0f0f23;
  border-top: 1px solid #374151;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-tagline {
  color: #9ca3af;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #a78bfa;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(15, 15, 35, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .bio-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    justify-content: center;
  }

  .bio-buttons,
  .cta-buttons {
    justify-content: center;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 120px 0 80px;
  }

  .bio-section,
  .portfolio-grid-section,
  .cta-section {
    padding: 60px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-card {
    min-width: unset;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}
