:root {
  --primary-color: #60a5fa;
  --secondary-color: #1e293b;
  --accent-color: #3b82f6;
  --background-color: #0f172a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #334155;
}

body {
  font-family: 'Assistant', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
  padding: 0;
}

.flex {
  display: flex;
}

.button_primary {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button_primary:hover {
  background-color: var(--accent-color);
}

.button_secondary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 8px 16px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button_secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.typography_h1 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 0;
}

.typography_h2 {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--text-primary);
}

.typography_subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.typography_body {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.card {
  display: block;
  background-color: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}
.card .img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85), transparent);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.card:hover .card-details {
  transform: translateY(0);
}

.card-details .inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-details h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.card-details p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}

.main-wrapper {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 4rem 1rem;
  padding-top: 4rem;
  text-align: center;
}

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

.project-content {
  padding: 1rem;
  background-color: #1e293b;
}

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

.site-footer {
  background-color: var(--background-color);
  padding: 1.5rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  color: var(--text-secondary);
}

@media (min-width: 640px) {
  .main-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

.tag-green {
  background-color: #dcfce7;
  color: #166534;
}

.tag-pink {
  background-color: #fce7f3;
  color: #be185d;
}

.tag-purple {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.tag-red {
  background-color: #fee2e2;
  color: #dc2626;
}

.tag-yellow {
  background-color: #fef3c7;
  color: #d97706;
}

.tag-indigo {
  background-color: #e0e7ff;
  color: #4338ca;
}
