/* ================================================
   SKILLS.CSS — Moj pristup section
   ================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── Card ── */
.value-card {
  background: var(--cream2);
  border: 1px solid var(--light);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(30, 26, 20, 0.08), 0 0 0 1px rgba(201, 168, 130, 0.18);
  border-color: var(--gold);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--warm), var(--rose));
  transition: width 0.4s ease;
}

.value-card:hover::before {
  width: 100%;
}

.value-card::after {
  content: '"';
  font-family: var(--serif);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(201, 168, 130, 0.07);
  position: absolute;
  bottom: -1.5rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
}

/* ── Icon ── */
.value-icon {
  font-size: 1.9rem;
  line-height: 1;
}

/* ── Title ── */
.value-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
}

/* ── Photo strip ── */
.value-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.value-photo-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--light);
  opacity: 0.82;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.value-photo-item:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(30, 26, 20, 0.1);
}

.value-photo-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: saturate(0.85);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.value-photo-item:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .value-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
