/**
 * Page About - "Poznaj nas" Styles
 * 
 * @package LABID
 */

/* ==========================================================================
   Hero About Section
   ========================================================================== */

.hero-about {
  padding: 0.5rem 2rem;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-about__container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.hero-about__content {
  max-width: 55vw;
  color: var(--color-white);
  gap: 1rem;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  z-index: 2;
}

/* Breadcrumbs */
.hero-about__breadcrumbs {
  margin-bottom: 0.5rem;
}

.hero-about__breadcrumbs .breadcrumb-trail,
.hero-about__breadcrumbs .woocommerce-breadcrumb {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-about__breadcrumbs .breadcrumb-trail a,
.hero-about__breadcrumbs .woocommerce-breadcrumb a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-about__breadcrumbs .breadcrumb-trail a:hover,
.hero-about__breadcrumbs .woocommerce-breadcrumb a:hover {
  color: var(--color-secondary);
}

.hero-about__breadcrumbs .breadcrumb-separator {
  color: var(--color-white);
  margin: 0 0.25rem;
}

.hero-about__breadcrumbs .breadcrumb-trail strong,
.hero-about__breadcrumbs .woocommerce-breadcrumb strong {
  color: var(--color-white);
  font-weight: 600;
}

/* Title */
.hero-about__title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--color-white);
}

/* Product Image */
.hero-about__image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 550px;
  z-index: 1;
}

.hero-about__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Background Image */
.hero-about__bgc-image-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-about__bgc-image-container::before,
.hero-about__bgc-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-about__bgc-image-container::after {
  background: linear-gradient(180deg, #223c4e 40%, rgb(10, 189, 194) 100%);
  z-index: 2;
  opacity: 0.2;
}

.hero-about__bgc-image-container::before {
  background-color: #223c4e;
  z-index: 1;
  opacity: 0.75;
}

.hero-about__bgc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

/* Shapes */
.hero-about__shapes-image-container {
  position: absolute;
  bottom: -350px;
  left: 80%;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

.hero-about__shapes-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-about__content {
    max-width: 100%;
  }

  .hero-about__shapes-image-container {
    display: none;
  }

  .hero-about__image {
    width: 400px;
  }
}

@media (max-width: 767px) {
  .hero-about {
    padding: 0.5rem 1.25rem;
    padding-top: 100px;
  }

  .hero-about__container {
    height: auto;
    min-height: 350px;
    align-items: center;
  }

  .hero-about__content {
    max-width: 100%;
    padding-bottom: 2rem;
  }

  .hero-about__title {
    font-size: 1.75rem;
  }

  .hero-about__breadcrumbs .breadcrumb-trail,
  .hero-about__breadcrumbs .woocommerce-breadcrumb {
    font-size: 0.8rem;
  }

  .hero-about__image {
    width: 280px;
  }

  .hero-about__bgc-image-container {
    display: inline-block;
    transform: scaleX(-1);
    transform-origin: center;
  }
}

@media (max-width: 480px) {
  .hero-about__container {
    min-height: 300px;
  }

  .hero-about__title {
    font-size: 1.5rem;
  }

  .hero-about__image {
    width: 220px;
  }
}

/* ==========================================================================
   About Intro Section
   ========================================================================== */

.about-intro__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  padding: 6rem 0;
  box-sizing: border-box;
  width: 100%;
}

/* Images Column */
.about-intro__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
}

.about-intro__image-wrapper {
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-intro__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-intro__image-wrapper:hover img {
  transform: scale(1.03);
}

/* Content Column */
.about-intro__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: space-between;
}

.about-intro__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-intro__subtitle {
  font-size: 0.9rem;
  color: var(--color-fourth);
  font-weight: 700;
}

.about-intro__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Stats with Hexagons */
.about-intro__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-intro__stat {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-intro__hexagon {
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 1 / 1.1547;
  background-color: var(--color-bgc-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.9rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-intro__hexagon-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-fourth);
  line-height: 1;
}

.about-intro__hexagon-label {
  font-size: 0.65rem;
  color: var(--color-fourth);
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.2;
}

.about-intro__stat-description {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  line-height: 1.5;
  margin: 0;
}

/* Footer with Features and CTA */
.about-intro__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-intro__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-intro__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.about-intro__feature-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-fourth);
  flex-shrink: 0;
}

.about-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-fourth);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.about-intro__cta:hover {
  color: var(--color-secondary);
}

.about-intro__cta svg {
  transition: transform 0.3s ease;
}

.about-intro__cta:hover svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   About Intro Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .about-intro__container {
    gap: 3rem;
  }

  .about-intro__title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .about-intro__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-intro__images {
    max-width: 600px;
    height: auto;
  }

  .about-intro__image-wrapper {
    min-height: 300px;
    aspect-ratio: 3/4;
  }

  .about-intro__content {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .about-intro__container {
    padding: 2rem 0;
  }

  .about-intro__images {
    order: 2;
    gap: 1rem;
  }

  .about-intro__image-wrapper {
    min-height: 250px;
  }

  .about-intro__title {
    font-size: 1.75rem;
  }

  .about-intro__stats {
    gap: 1.25rem;
  }

  .about-intro__stat {
    gap: 1rem;
  }

  .about-intro__hexagon {
    width: 85px;
  }

  .about-intro__hexagon-number {
    font-size: 1.5rem;
  }

  .about-intro__hexagon-label {
    font-size: 0.6rem;
  }

  .about-intro__stat-description {
    font-size: 0.85rem;
  }

  .about-intro__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .about-intro__features {
    gap: 0.5rem;
  }

  .about-intro__feature {
    font-size: 0.85rem;
  }

  .about-intro__feature-line {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .about-intro__images {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .about-intro__image-wrapper {
    min-height: 200px;
  }

  .about-intro__title {
    font-size: 1.5rem;
  }

  .about-intro__hexagon {
    width: 75px;
  }

  .about-intro__hexagon-number {
    font-size: 1.25rem;
  }

  .about-intro__stat-description {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   ABOUT SECTION - Reversed Layout (Content left, Image right)
   ========================================================================== */
.about-section.about-section--reversed {
  padding-top: 6rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.about-section--reversed .about-section__container {
  grid-template-columns: 2fr 1fr;
}

.about-section--reversed .about-section__content {
  order: 1;
}

.about-section--reversed .about-section__image {
  order: 2;
}

.about-section--reversed .lab-shapes-container--right {
  bottom: -200px;
  left: auto;
  right: -60vw;
  top: auto;
  z-index: -1;
}

@media (max-width: 1024px) {
  .about-section.about-section--reversed {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .about-section--reversed .about-section__container {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .about-section--reversed .about-section__content {
    order: 2;
  }

  .about-section--reversed .about-section__image {
    order: 2;
  }
}

@media (max-width: 767px) {
  .about-section--reversed .lab-shapes-container--right {
    bottom: -100px;
    right: -30vw;
  }
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team-section__container {
  margin: 0 auto;
  padding: 4rem 0;
  padding-bottom: 8rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-section-team__container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.team-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
}

.team-section__content {
  margin-bottom: 4rem;
}

.team-section__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

/* Team Card */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 0;
  min-width: 300px;
}

.team-card__photo {
  flex-shrink: 0;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--color-bgc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: darken;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
}

.team-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--color-fourth);
  font-style: italic;
  margin-bottom: 0.25rem;
}

.team-card__name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem 0;
}

.team-card__divider {
  width: 100%;
  height: 1px;
  background-color: #dee2e6;
  margin-bottom: 0.75rem;
}

.team-card__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.team-card__contact svg {
  flex-shrink: 0;
  color: var(--color-text-primary);
}

.team-card__label {
  color: var(--color-fourth);
  font-weight: 500;
}

.team-card__contact a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-card__contact a:hover {
  color: var(--color-fourth);
}

/* Team CTA */

.team-section__cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.team-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(90deg, var(--color-primary) 0%, #1a5a6e 100%);
  padding: 1.5rem;
}

.team-cta__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.team-cta__text {
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-white);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.team-cta__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-white);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.team-cta__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.team-cta__list-item a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
  text-decoration: underline;
}

.team-cta__list-item a:hover {
  color: var(--color-secondary);
}

.team-cta__list-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.team-cta__list-item span {
  display: block;
}

.team-cta__number path {
  color: var(--color-white);
}

.team-cta__second-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.team-cta__button {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background-color: var(--color-bgc-primary);
  color: var(--color-text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.team-cta__button:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.team-cta__logo {
  width: 80px;
  height: auto;
  margin-top: auto;
}

/* ==========================================================================
     Responsive
     ========================================================================== */

@media (max-width: 1200px) {
  .team-section-team__container {
    flex-direction: column;
    gap: 4rem;
  }
  .team-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-card {
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  .team-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-section__grid {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
  .team-section {
    padding: 3rem 1.25rem 4rem;
  }

  .team-section__container {
    padding: 2rem 0;
  }

  .team-card {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .team-card__photo {
    width: 100%;
    height: 300px;
  }
}

.cta-section__container::after {
  background: linear-gradient(
    360deg,
    #223c4e 20%,
    rgb(10, 189, 194) 80%
  ) !important;
}
