/* ============================================================
   CARDS.CSS — Emir's Developer Portfolio
   Premium project cards with contextual hover themes,
   drone scan effects, glass-morphism, and signature reveals.
   ============================================================ */

/* ── Base Project Card ─────────────────────────────────────── */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  isolation: isolate;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 212, 255, 0.1);
}

.project-card:active {
  transform: translateY(-4px) scale(1.01);
}

/* ── Card Header ───────────────────────────────────────────── */
.card-header {
  position: relative;
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 2;
}

.card-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.card-type-badge--medical {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.card-type-badge--software {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.card-type-badge--ai {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-type-badge--general {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── Card Year Badge ───────────────────────────────────────── */
.card-year {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.15);
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ── Card Body ─────────────────────────────────────────────── */
.card-body {
  padding: 0 1.75rem 1.5rem;
  position: relative;
  z-index: 2;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-card:hover .card-title {
  color: var(--accent-cyan);
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tech Stack Tags ───────────────────────────────────────── */
.card-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  background: rgba(0, 212, 255, 0.06);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.12);
  transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.25);
}

/* ── Card Footer ───────────────────────────────────────────── */
.card-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* ── Card Signature ────────────────────────────────────────── */
.card-signature {
  font-family: var(--font-signature);
  font-size: 1.1rem;
  color: var(--accent-gold);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  white-space: nowrap;
}

.project-card:hover .card-signature {
  opacity: 1;
  transform: translateX(0);
}

/* ── Card Arrow / Link Indicator ───────────────────────────── */
.card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.project-card:hover .card-arrow {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

/* ============================================================
   CONTEXTUAL HOVER BACKGROUNDS
   SVG data-URI patterns that appear on hover per card type
   ============================================================ */

/* Shared base for contextual overlays */
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
}

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

/* ── Medical Theme ─────────────────────────────────────────── */
.project-card[data-type='medical']::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ctext x='10' y='25' font-size='18' fill='%23ef4444' opacity='0.08'%3E%E2%9D%A4%3C/text%3E%3Ctext x='35' y='50' font-size='14' fill='%23ef4444' opacity='0.06'%3E%E2%9C%9A%3C/text%3E%3C/svg%3E")
    repeat,
    radial-gradient(ellipse at 30% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
  animation: medical-float 8s ease-in-out infinite;
}

.project-card[data-type='medical']:hover::before {
  opacity: 0.15;
}

.project-card[data-type='medical']:hover {
  border-color: var(--accent-red);
  box-shadow:
    0 0 20px rgba(239, 68, 68, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card[data-type='medical']:hover .card-title {
  color: var(--accent-red);
}

.project-card[data-type='medical']:hover .tech-tag {
  background: rgba(239, 68, 68, 0.08);
  color: var(--accent-red);
  border-color: rgba(239, 68, 68, 0.2);
}

.project-card[data-type='medical']:hover .card-arrow {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

/* ── Software Theme ────────────────────────────────────────── */
.project-card[data-type='software']::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ctext x='5' y='20' font-family='monospace' font-size='10' fill='%2300d4ff' opacity='0.06'%3E%7B%7D%3C/text%3E%3Ctext x='45' y='35' font-family='monospace' font-size='8' fill='%2300d4ff' opacity='0.04'%3E01%3C/text%3E%3Ctext x='15' y='55' font-family='monospace' font-size='9' fill='%2300d4ff' opacity='0.05'%3E%3E_%3C/text%3E%3Ctext x='55' y='70' font-family='monospace' font-size='10' fill='%2300d4ff' opacity='0.04'%3E%2F%2F%3C/text%3E%3C/svg%3E")
    repeat,
    radial-gradient(ellipse at 20% 30%, rgba(0, 212, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.project-card[data-type='software']:hover::before {
  opacity: 0.2;
  animation: binary-rain 15s linear infinite;
}

.project-card[data-type='software']:hover {
  border-color: var(--accent-cyan);
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ── AI Theme ──────────────────────────────────────────────── */
.project-card[data-type='ai']::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='20' r='2' fill='%233b82f6' opacity='0.1'/%3E%3Ccircle cx='50' cy='30' r='2.5' fill='%233b82f6' opacity='0.08'/%3E%3Ccircle cx='80' cy='25' r='2' fill='%233b82f6' opacity='0.1'/%3E%3Ccircle cx='35' cy='60' r='3' fill='%233b82f6' opacity='0.07'/%3E%3Ccircle cx='70' cy='70' r='2' fill='%233b82f6' opacity='0.09'/%3E%3Ccircle cx='25' cy='85' r='2.5' fill='%233b82f6' opacity='0.06'/%3E%3Ccircle cx='85' cy='80' r='2' fill='%233b82f6' opacity='0.08'/%3E%3Cline x1='20' y1='20' x2='50' y2='30' stroke='%233b82f6' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='50' y1='30' x2='80' y2='25' stroke='%233b82f6' stroke-width='0.5' opacity='0.05'/%3E%3Cline x1='50' y1='30' x2='35' y2='60' stroke='%233b82f6' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='35' y1='60' x2='70' y2='70' stroke='%233b82f6' stroke-width='0.5' opacity='0.05'/%3E%3Cline x1='70' y1='70' x2='85' y2='80' stroke='%233b82f6' stroke-width='0.5' opacity='0.04'/%3E%3Cline x1='80' y1='25' x2='70' y2='70' stroke='%233b82f6' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E")
    repeat,
    radial-gradient(ellipse at 40% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
}

.project-card[data-type='ai']:hover::before {
  opacity: 0.25;
}

.project-card[data-type='ai']:hover {
  border-color: var(--accent-blue);
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card[data-type='ai']:hover .card-title {
  color: var(--accent-blue);
}

.project-card[data-type='ai']:hover .tech-tag {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, 0.2);
}

.project-card[data-type='ai']:hover .card-arrow {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
}

/* ── General Theme ─────────────────────────────────────────── */
.project-card[data-type='general']::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,1 58,15 58,37 30,51 2,37 2,15' fill='none' stroke='%23f59e0b' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E")
    repeat,
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  animation: hex-pulse 4s ease-in-out infinite;
}

.project-card[data-type='general']:hover::before {
  opacity: 0.2;
}

.project-card[data-type='general']:hover {
  border-color: var(--accent-gold);
  box-shadow:
    0 0 20px rgba(245, 158, 11, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card[data-type='general']:hover .card-title {
  color: var(--accent-gold);
}

.project-card[data-type='general']:hover .tech-tag {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.2);
}

.project-card[data-type='general']:hover .card-arrow {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
}

/* ============================================================
   DRONE SCAN ELEMENTS
   Small surveillance drones that appear around cards on hover
   ============================================================ */

.drone-element {
  position: absolute;
  width: 40px;
  height: auto;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  pointer-events: none;
}

.project-card:hover .drone-element {
  opacity: 1;
}

/* Drone positions */
.drone-element--top-right {
  top: -15px;
  right: -10px;
  --dx: 60px;
  --dy: -40px;
  transform: translate(60px, -40px) scale(0.3);
}

.project-card:hover .drone-element--top-right {
  transform: translate(0, 0) scale(1);
  animation: drone-hover 3s ease-in-out infinite 0.6s;
}

.drone-element--top-left {
  top: -12px;
  left: -8px;
  --dx: -50px;
  --dy: -35px;
  transform: translate(-50px, -35px) scale(0.3);
}

.project-card:hover .drone-element--top-left {
  transform: translate(0, 0) scale(1);
  animation: drone-hover 3.2s ease-in-out infinite 0.4s;
}

.drone-element--bottom-right {
  bottom: -10px;
  right: -5px;
  --dx: 40px;
  --dy: 50px;
  transform: translate(40px, 50px) scale(0.3);
}

.project-card:hover .drone-element--bottom-right {
  transform: translate(0, 0) scale(1);
  animation: drone-hover 2.8s ease-in-out infinite 0.8s;
}

/* ── Drone Scan Line ───────────────────────────────────────── */
.drone-element .scan-line {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  border-radius: 2px;
  opacity: 0;
  animation: scan-beam 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}

.project-card:hover .drone-element .scan-line {
  opacity: 1;
}

.drone-element .scan-dot {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.project-card:hover .drone-element .scan-dot {
  opacity: 0.6;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

/* ============================================================
   CARD OVERLAY
   Full overlay that appears on hover with shimmer
   ============================================================ */

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(0, 212, 255, 0.03) 50%,
    transparent 70%
  );
  background-size: 300% 300%;
  overflow: hidden; /* keeps scanline inside borders */
}

.project-card:hover .card-overlay {
  opacity: 1;
  animation: shimmer 3s ease-in-out infinite;
}

/* ── Cyber HUD Scanline Sweep ───────────────────────────────── */
@keyframes scanline-sweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.card-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
  transform: translateY(-100%);
  pointer-events: none;
}

.project-card:hover .card-overlay::after {
  animation: scanline-sweep 2.8s linear infinite;
}

/* Theme color-coded scanlines */
.project-card[data-type='medical'] .card-overlay::after {
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.18), transparent);
}

.project-card[data-type='general'] .card-overlay::after {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.18), transparent);
}

.project-card[data-type='ai'] .card-overlay::after {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.18), transparent);
}

/* ============================================================
   STATUS INDICATORS
   ============================================================ */

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Completed — green */
.status-completed .status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-completed {
  color: #22c55e;
}

/* In Progress — gold pulse */
.status-in-progress .status-dot {
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  animation: pulse-glow-gold 2s ease-in-out infinite;
}

.status-in-progress {
  color: var(--accent-gold);
}

/* Planned — blue */
.status-planned .status-dot {
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
  animation: pulse-glow 3s ease-in-out infinite;
}

.status-planned {
  color: var(--accent-blue);
}

/* ============================================================
   SECTION-SPECIFIC CARD VARIATIONS
   ============================================================ */

/* ── Past Work Cards ───────────────────────────────────────── */
.section-past .project-card {
  border-color: rgba(0, 212, 255, 0.1);
}

.section-past .project-card:hover {
  border-color: var(--accent-cyan);
}

/* ── Current Work Cards ────────────────────────────────────── */
.section-current .project-card {
  border-color: rgba(245, 158, 11, 0.1);
}

.section-current .project-card:hover {
  border-color: var(--accent-gold);
  box-shadow:
    0 0 20px rgba(245, 158, 11, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-current .project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.section-current .project-card:hover::after {
  opacity: 1;
}

/* ── Future Work Cards ─────────────────────────────────────── */
.section-future .project-card {
  border-color: rgba(59, 130, 246, 0.1);
  border-style: solid;
}

.section-future .project-card:hover {
  border-color: var(--accent-blue);
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-future .project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(59, 130, 246, 0.02) 8px,
    rgba(59, 130, 246, 0.02) 16px
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.section-future .project-card:hover::after {
  opacity: 1;
}

/* ── Featured Card Accent ──────────────────────────────────── */
.project-card.featured {
  border-width: 2px;
  border-image: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold)) 1;
  border-image-slice: 1;
}

.project-card.featured::after {
  content: '★';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  z-index: 5;
}

/* ── Card Shimmer Stripe (top edge) ────────────────────────── */
.card-shimmer-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 255, 0.4) 25%,
    rgba(59, 130, 246, 0.5) 50%,
    rgba(245, 158, 11, 0.4) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.project-card:hover .card-shimmer-stripe {
  opacity: 1;
  animation: shimmer 2s linear infinite;
}

/* ── Card Image / Preview ──────────────────────────────────── */
.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  animation: fadeInImage 0.8s ease-in-out forwards;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.project-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
  z-index: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .project-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .card-header {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .card-body {
    padding: 0 1.25rem 1.25rem;
  }

  .card-footer {
    padding: 0.75rem 1.25rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-description {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .drone-element {
    width: 30px;
  }

  .drone-element--top-right {
    top: -10px;
    right: -5px;
  }

  .drone-element--top-left {
    top: -8px;
    left: -4px;
  }

  .card-image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .project-card:hover {
    transform: translateY(-3px);
  }

  .card-header {
    padding: 1rem 1rem 0.5rem;
  }

  .card-body {
    padding: 0 1rem 1rem;
  }

  .card-footer {
    padding: 0.6rem 1rem;
  }

  .card-title {
    font-size: 1.05rem;
  }

  .card-description {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .card-type-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }

  .tech-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .card-signature {
    font-size: 0.95rem;
  }

  .card-year {
    font-size: 0.6rem;
  }

  .drone-element {
    display: none;
  }

  .card-image {
    height: 130px;
  }
}

/* ── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .project-card {
    transition: none;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card::before,
  .card-overlay,
  .card-shimmer-stripe {
    animation: none;
  }

  .drone-element {
    display: none;
  }

  .status-in-progress .status-dot,
  .status-planned .status-dot {
    animation: none;
  }
}
