/* ============================================
   NAMSEZANA TRADING & PROJECTS
   References Section Styles
   ============================================ */

.references {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(var(--palette-white-rgb), 0.1);
}

.references::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(var(--palette-white-rgb), 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.references .section-label {
  color: var(--safety-yellow);
}

.references .section-label::before {
  background: var(--safety-yellow);
}

.references .section-title {
  color: white;
}

.references .section-subtitle {
  color: rgba(var(--palette-white-rgb), 0.7);
}

/* Reference Card */
.reference-card {
  background: rgba(var(--palette-white-rgb), 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--palette-white-rgb), 0.1);
  border-left: 4px solid var(--safety-yellow);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-12);
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(var(--palette-white-rgb), 0.05);
}

.reference-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(var(--palette-white-rgb), 0.1);
}

.client-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(var(--palette-white-rgb), 0.6); /* 60 Rule */
  display: block;
  margin-bottom: var(--space-2);
}

.client-name {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(var(--palette-white-rgb), 0.9); /* 90 Rule */
}

.reference-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  background: rgba(40, 167, 69, 0.2);
  color: var(--success-green);
  border: 1px solid var(--success-green);
  border-radius: 0;
}

.reference-badge svg {
  width: 16px;
  height: 16px;
}

/* Reference Content */
.reference-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .reference-content {
    grid-template-columns: 1fr;
  }
}

.reference-scope h4 {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  font-weight: 700;
  color: rgba(var(--palette-white-rgb), 0.9); /* 90 Rule */
  margin-bottom: var(--space-4);
}

.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(var(--palette-white-rgb), 0.6); /* 60 Rule */
}

.scope-list svg {
  width: 18px;
  height: 18px;
  color: var(--safety-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Reference Details */
.reference-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(var(--palette-white-rgb), 0.4); /* Muted Rule */
}

.detail-value {
  font-family: var(--font-secondary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--safety-yellow);
  opacity: 0.95;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-block strong {
  font-size: var(--text-base);
  color: rgba(var(--palette-white-rgb), 0.9); /* 90 Rule */
}

.contact-block span {
  font-size: var(--text-sm);
  color: rgba(var(--palette-white-rgb), 0.5); /* 60-ish Rule */
}

.contact-block a {
  font-size: var(--text-sm);
  color: rgba(var(--palette-white-rgb), 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-block a:hover {
  color: var(--safety-yellow);
}
