/*
 * Trust & Value Section — Modern Minimal 2025 Design
 * Three feature cards with transparent circles, titles only
 * 
 * Features:
 * - Transparent circles with solid yellow borders (#F5B841)
 * - Three-column responsive grid with balanced spacing
 * - Intersection-based reveal animations with gentle stagger
 * - Subtle hover effects (desktop only) with shadow
 * - Full accessibility support with reduced-motion
 * - Professional, calming aesthetic for psychological practice
 */

/* ========================================
   Trust Section Container
   ======================================== */
#trust-section {
  position: relative;
  /* Increased spacing from "O mnie" section - approximately 7rem */
  margin-top: clamp(5.5rem, 8vh, 7rem);
}

/* ========================================
   Trust Feature Card
   ======================================== */
.trust-feature {
  position: relative;
  /* Initial state for reveal animation */
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Revealed state (added via JavaScript) */
.trust-feature.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Circle Container — Enhanced Design
   ======================================== */
.trust-feature__circle {
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  /* Solid border with yellow accent color - no fill */
  border: 3px solid #f5b841;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  max-width: 240px;
  position: relative;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove inner glow - keep circles minimal */
.trust-feature__circle::before {
  display: none;
}

/* Title inside circle */
.trust-feature__circle h3 {
  margin: 0;
  text-align: center;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  /* Modern, minimalist font - using Poppins for clean readability */
  font-family: 'Poppins', 'Quicksand', sans-serif;
  font-weight: 500;
  color: #2c4a5e;
}

/* ========================================
   Hover Effects (Desktop Only)
   ======================================== */
@media (hover: hover) and (pointer: fine) {
  .trust-feature:hover .trust-feature__circle {
    /* Subtle shadow on hover - keep transparent background */
    box-shadow: 0 4px 20px rgba(245, 184, 65, 0.15);
    transform: translateY(-4px);
  }
}

/* ========================================
   Accessibility — Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .trust-feature {
    /* Show instantly without animation */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .trust-feature__circle,
  .trust-feature__circle::before {
    transition: none !important;
  }

  .trust-feature:hover .trust-feature__circle {
    transform: none !important;
  }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .trust-feature {
    opacity: 1;
    transform: none;
    break-inside: avoid;
  }

  .trust-feature__circle {
    border: 2px solid #f5b841;
    box-shadow: none;
    background: transparent;
  }
}
