:root {
  --primary-color: #ea4c89;
  --text-color: #0d0c22;
  --text-light: #666;
  --bg-light: #ffffff;  /* Changed to white */
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 24px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid #eee;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.nav-brand span {
  color: var(--primary-color);
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-color);
}

.tags-container {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.tags-filter {
  display: flex;
  gap: 1rem;
  max-width: 1920px;
  margin: 0 auto;
  padding: 1rem 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tags-filter::-webkit-scrollbar {
  display: none;
}

.tag-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.tag-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tag-btn:hover {
  color: var(--text-color);
}

.tag-btn.active {
  color: var(--primary-color);
}

.tag-btn.active::after {
  transform: scaleX(1);
}

.projects-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.project-card {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background: var(--white);
  padding: 2rem;
  margin-top: auto;  /* Changed from margin-top: 2rem */
  border-top: 1px solid #eee;
  width: 100%;
}

.footer-content {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-right a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
