/*
 * Plik: css/pages/o-nas.css
 * Opis: Style specyficzne dla nowej podstrony "O Nas".
 */

/* --- Sekcja Zalety (Dlaczego My) --- */

.advantage-card {
  /* Style karty są głównie z Tailwind i components.css */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-icon {
  flex-shrink: 0;
  width: 3.5rem; /* 56px */
  height: 3.5rem; /* 56px */
  border-radius: 9999px;
  background-color: #f0fdfa; /* bg-teal-50 */
  color: #0d9488; /* text-teal-600 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.1);
}

/* --- Sekcja Zespół (Preview) --- */

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; /* 16px */
  max-width: 440px;
  margin-left: auto; /* Domyślnie centruje, jeśli jest mniej miejsca */
}

.team-preview-item {
  display: block;
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  transition: transform 0.3s var(--ui-ease), box-shadow 0.3s var(--ui-ease);
}

.team-preview-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
}

.team-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ui-ease);
}

.team-preview-item:hover img {
  transform: scale(1.05);
}

/* Dostosowanie siatki zespołu na mniejszych ekranach */
@media (max-width: 767px) {
  .team-preview-grid {
    margin: 0 auto; /* Centrowanie na mobilnych */
  }
}

/* --- Sekcja Galeria Salonu --- */

.gallery-item {
  position: relative;
  display: block;
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform 0.3s var(--ui-ease), box-shadow 0.3s var(--ui-ease);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ui-ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem; /* 24px 16px 16px */
  font-weight: 600;
  color: white;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
  transition: opacity 0.3s var(--ui-ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 0.8;
}