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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

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

.container-small {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  background-color: white;
  border-bottom: 1px solid #dbeafe;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  color: #1d4ed8;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
}

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

.nav-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: #1f2937;
}

.nav-link.active {
  color: #1d4ed8;
  font-weight: 500;
  border-bottom: 2px solid #1d4ed8;
  padding-bottom: 0.25rem;
}

.main {
  padding: 4rem 0;
}

.hero {
  text-align: center;
  padding: 5rem 0;
}

.hero-content {
  max-width: 1024px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

.terminal {
  background-color: #1f2937;
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-family: "Courier New", monospace;
  text-align: left;
  max-width: 512px;
  margin: 0 auto 3rem auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.terminal-button.red {
  background-color: #ef4444;
}

.terminal-button.yellow {
  background-color: #eab308;
}

.terminal-button.green {
  background-color: #22c55e;
}

.terminal-title {
  color: #9ca3af;
  font-size: 0.875rem;
}

.terminal-content {
  color: #10b981;
  font-size: 0.875rem;
}

.terminal-line {
  margin-bottom: 0.25rem;
}

.prompt {
  color: #3b82f6;
}

.function {
  color: #fbbf24;
}

.parenthesis {
  color: white;
}

.string {
  color: #fb923c;
}

.operator {
  color: white;
}

.terminal-output {
  color: white;
  margin-top: 0.25rem;
}

.output-text {
  color: #06b6d4;
  font-weight: 600;
}

.cursor {
  animation: blink 1s infinite;
  color: #06b6d4;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #1d4ed8;
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-secondary {
  background-color: white;
  color: #1f2937;
  border: 1px solid #dbeafe;
}

.btn-secondary:hover {
  background-color: #eff6ff;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

.quick-links {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .quick-links {
    grid-template-columns: 1fr 1fr;
  }
}

.quick-link-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 1px solid #dbeafe;
  cursor: pointer;
}

.quick-link-card:hover {
  background-color: #eff6ff;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.card-icon.blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.card-icon.emerald {
  background-color: #d1fae5;
  color: #059669;
}

.quick-link-card:hover .card-icon.blue {
  background-color: #bfdbfe;
}

.quick-link-card:hover .card-icon.emerald {
  background-color: #a7f3d0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #6b7280;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.page-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.skill-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #dbeafe;
}

.skill-card:hover {
  background-color: #eff6ff;
}

.skill-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.skill-icon.yellow {
  background-color: #fef3c7;
}

.skill-icon.blue {
  background-color: #dbeafe;
}

.skill-icon.cyan {
  background-color: #cffafe;
}

.skill-icon.green {
  background-color: #d1fae5;
}

.emoji {
  font-size: 1.5rem;
}

.skill-name {
  font-weight: 600;
  color: #1f2937;
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  color: #6b7280;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-buttons {
    flex-direction: row;
  }
}

.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);
  }
}

.project-card {
  background-color: white;
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.project-description {
  color: #6b7280;
  margin-bottom: 1rem;
}

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

.tag {
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.project-link:hover {
  color: #1f2937;
}

.project-link.emerald {
  color: #059669;
}

.project-link.emerald:hover {
  color: #047857;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1d4ed8;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.back-link:hover {
  color: #1e40af;
}

.project-header {
  margin-bottom: 3rem;
}

.project-detail-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.project-detail-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .project-actions {
    flex-direction: row;
  }
}

.project-images {
  margin-bottom: 3rem;
}

.images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.image-placeholder {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #dbeafe;
}

.placeholder-content {
  width: 100%;
  height: 12rem;
  background-color: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #1d4ed8;
}

.image-caption {
  font-size: 0.875rem;
  color: #6b7280;
}

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

@media (min-width: 1024px) {
  .project-details {
    grid-template-columns: 2fr 1fr;
  }
}

.details-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
}

.detail-content {
  color: #374151;
  line-height: 1.7;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.features-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: #1d4ed8;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-link:hover {
  color: #1f2937;
}

.cta-card {
  background-color: #dbeafe;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #93c5fd;
}

.cta-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.cta-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer {
  background-color: white;
  border-top: 1px solid #dbeafe;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    gap: 0;
  }
}

.footer-text {
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #6b7280;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #dbeafe;
  border-top: 4px solid #1d4ed8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .terminal {
    padding: 1rem;
    font-size: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container-small {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .main {
    padding: 2rem 0;
  }

  .quick-links {
    padding: 2rem 0;
  }

  .quick-link-card {
    padding: 1.5rem;
  }

  .section {
    margin-bottom: 2rem;
  }
}
