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

.projects-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: var(--space-2xl);
}

/* ─── PROJECTS HERO HEADLINE ─────────────── */
.projects-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

.projects-hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.projects-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.projects-hero-title {
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  line-height: 1.22;
  position: relative;
  z-index: 1;
  text-shadow:
    0 0 50px rgba(232, 160, 191, 0.25),
    0 0 100px rgba(232, 160, 191, 0.1);
}

.projects-title-serif {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  color: var(--text-primary);
}

.projects-title-italic {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

/* ─── PROJECT CARDS LIST ─────────────────── */
/* Original seamless list — 1px dividers, no individual borders */
.projects-page-list {
  display: flex;
  flex-direction: column;
  gap: 4px;                           /* bohot halka sa gap */
  background: transparent;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-full-card {
  background: var(--bg-primary);
  padding: 2.8rem 3rem;              /* bigger blocks */
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background 0.3s ease;
  cursor: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.project-full-card:hover {
  background: var(--bg-card-hover);
}

/* Spotlight glow on hover */
.project-full-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(232, 160, 191, 0.05),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.project-full-card:hover::before {
  opacity: 1;
}

.project-full-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.project-full-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);   /* bigger */
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.project-full-card:hover .project-full-name {
  color: var(--accent);
}

.project-full-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color 0.25s ease;
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.project-full-card:hover .project-full-arrow {
  transform: translate(5px, -5px);
  color: var(--accent);
}

.project-full-info {
  font-size: 0.92rem;                 /* slightly bigger */
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.project-full-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.project-full-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.project-full-card:hover .project-full-tag {
  background: rgba(232, 160, 191, 0.05);
  border-color: rgba(232, 160, 191, 0.18);
}

/* Links — part of the card, same background, no separate box */
.project-full-links {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
  padding-top: 0;
  background: transparent;           /* no separate background */
  border: none;                      /* no border */
}

.project-full-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.project-full-link:hover {
  opacity: 0.7;
}

/* ─── FLOATING PREVIEW IMAGE ─────────────── */
/* Follows cursor globally via projects.js    */
#project-preview {
  position: fixed;
  width: 280px;
  height: 180px;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(232, 160, 191, 0.1);
}

#project-preview.visible {
  opacity: 1;
}

#project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Per-card preview (home page compact cards) */
.project-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: scale(0.88);
  will-change: transform, opacity;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
