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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: transparent;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  background-color: #111;
}

/* Navigation */
.nav {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: #3b82f6;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 5rem 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.profile-image-container {
  flex-shrink: 0;
}

.profile-image {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  padding: 0.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.profile-image:hover {
  animation: pulse 1.5s ease-in-out;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #e9d5ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-icon {
  width: 8rem;
  height: 8rem;
  color: #64748b;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-name {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 48rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-primary {
  padding: 1rem 2rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-link {
  width: 3rem;
  height: 3rem;
  background-color: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: #1e293b;
  color: white;
  transform: scale(1.1);
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
  }
  
  .profile-image {
    width: 20rem;
    height: 20rem;
  }
  
  .profile-icon {
    width: 10rem;
    height: 10rem;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .social-links {
    justify-content: flex-start;
  }
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background-color: transparent;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.projects-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projects-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.projects-description {
  font-size: 1.25rem;
  color: #ffffff;
  max-width: 48rem;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .projects-title {
    font-size: 4rem;
  }
}

.project-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.project-image {
  height: 12rem;
  background: linear-gradient(135deg, #dbeafe, #e9d5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  text-align: center;
}

.project-icon {
  width: 4rem;
  height: 4rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.project-preview-text {
  color: #64748b;
  font-size: 0.875rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #3b82f6;
}

.project-description {
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background-color: #dbeafe;
  color: #2563eb;
}

.project-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: transparent;
  color: #cbd5e1;
  padding: 2rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 1.5s ease-in-out;
}

.theme-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.theme-toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}
.theme-toggle:hover .theme-toggle-icon {
  color: #3b82f6;
}

/* Light theme */
body.light-theme {
  background-color: #f1f5f9;
  color: #1e293b;
}
.light-theme .nav-logo,
.light-theme .nav-link {
  color: #1e293b;
}
.light-theme .hero-title,
.light-theme .hero-description,
.light-theme .projects-title,
.light-theme .projects-description,
.light-theme .project-title,
.light-theme .project-description,
.light-theme .theme-toggle-icon {
  color: #1e293b;
}
.light-theme .social-link {
  background-color: #e2e8f0;
  color: #1e293b;
}
.light-theme .social-link:hover {
  background-color: #1e293b;
  color: #f1f5f9;
}
.light-theme .project-card {
  background: #ffffff;
}
.light-theme .tech-tag {
  background-color: #e2e8f0;
  color: #1e293b;
}
.light-theme ::-webkit-scrollbar-track {
  background: #e2e8f0;
}
.light-theme ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}
.light-theme ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.light-theme .footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  color: #1e293b;
}
.light-theme .nav {
  background-color: #ffffff;
}
/* Dark theme */
body.dark-theme {
  background-color: #111;
  color: #ffffff;
}
.dark-theme .nav-logo,
.dark-theme .nav-link {
  color: #ffffff;
}
.dark-theme .hero-title,
.dark-theme .hero-description,
.dark-theme .projects-title,
.dark-theme .projects-description,
.dark-theme .project-title,
.dark-theme .project-description,
.dark-theme .theme-toggle-icon {
  color: #ffffff;
}
.dark-theme .social-link {
  background-color: #e2e8f0;
  color: #1e293b;
}
.dark-theme .social-link:hover {
  background-color: #1e293b;
  color: #ffffff;
}
.dark-theme .project-card {
  background: rgba(0, 0, 0, 0.2);
}
.dark-theme .tech-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.dark-theme ::-webkit-scrollbar-track {
  background: #1e293b;
}
.dark-theme ::-webkit-scrollbar-thumb {
  background: #4b5563;
}
.dark-theme ::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}
.dark-theme .nav {
  background-color: #111;
}
