/* ============================================
   PROJECTS PAGE STYLES
   ============================================ */

.page-header {
  position: relative;
  padding: 140px 24px 60px;
  text-align: center;
  z-index: 2;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Projects Grid */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.project-full:hover {
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.project-reverse {
  direction: rtl;
}

.project-reverse > * {
  direction: ltr;
}

.project-visual {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 350px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-full:hover .project-visual img {
  transform: scale(1.05);
}

.project-links {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-full:hover .project-links {
  opacity: 1;
}

.project-link {
  padding: 12px 24px;
  background: var(--accent-purple);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.project-link:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

.project-details {
  padding: 40px;
}

.project-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.project-year, .project-type {
  padding: 4px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.project-details h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-details > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-features {
  list-style: none;
  margin-bottom: 24px;
}

.project-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.project-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: 700;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tech span {
  padding: 6px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 968px) {
  .project-full {
    grid-template-columns: 1fr;
  }
  .project-visual {
    min-height: 250px;
  }
  .project-details {
    padding: 28px;
  }
  .project-reverse {
    direction: ltr;
  }
}
