/* ===================================================
   VICTORIA KERAMIK — MEET OUR TEAM STYLESHEET
   Luxury Navy Blue (#0A1628) & Victoria Gold (#C9A84C)
   =================================================== */

/* Page Hero Enhancement */
.team-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy, #0A1628) 0%, #152238 60%, #07101e 100%);
  color: #FFFFFF;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.team-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, rgba(10, 22, 40, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.team-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.team-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold, #C9A84C);
  margin-bottom: 0.75rem;
}

.team-hero__eyebrow i {
  font-size: 0.75rem;
}

.team-hero__title {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}

/* Subtle Gold Divider */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 1.5rem;
  width: 100%;
  max-width: 220px;
}

.gold-divider__line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--color-gold, #C9A84C), transparent);
}

.gold-divider__icon {
  color: var(--color-gold, #C9A84C);
  font-size: 0.75rem;
  transform: rotate(45deg);
}

.team-hero__subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

/* Breadcrumbs */
.team-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.team-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition, 0.3s ease);
}

.team-breadcrumb a:hover {
  color: var(--color-gold, #C9A84C);
}

.team-breadcrumb span {
  color: var(--color-gold, #C9A84C);
  opacity: 0.6;
}

/* ===================================================
   TEAM SECTION & GRID LAYOUT
   4 cols desktop, 2 cols tablet, 1 col mobile
   =================================================== */
.team-section {
  padding: 5rem 0 6rem;
  background-color: var(--color-off-white, #F8F6F1);
  position: relative;
}

.team-section__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.team-section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-navy, #0A1628);
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}

.team-section__heading {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-navy, #0A1628);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.team-section__text {
  font-size: 1rem;
  color: var(--color-text-muted, #6B6B6B);
  line-height: 1.6;
}

/* 3-Column Balanced Grid (3x2 for 6 Team Members) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 380px;
  }
}

/* ===================================================
   PROFILE CARD & CIRCULAR IMAGE SPECS
   =================================================== */
.team-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 1.75rem 2.25rem;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Card GPU Hover Lift */
.team-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 16px 36px rgba(10, 22, 40, 0.12),
    0 0 20px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.6);
}

/* Circular Avatar Frame */
.team-card__avatar-wrap {
  position: relative;
  width: 164px;
  height: 164px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #C9A84C 0%, #DFC07A 50%, #A8872E 100%);
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Glow on hover */
.team-card:hover .team-card__avatar-wrap {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.5),
    0 10px 24px rgba(10, 22, 40, 0.2);
}

/* Exact circular inner mask */
.team-card__avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--color-navy, #0A1628);
  border: 2px solid #FFFFFF;
}

/* Circular Image with Smooth Zoom */
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  will-change: transform;
  transform: scale(1.001) translateZ(0);
}

/* Zoom Hover Effect */
.team-card:hover .team-card__photo {
  transform: scale(1.12) translateZ(0);
  filter: brightness(1.05) contrast(1.02);
}

/* Placeholder for missing photo */
.team-card__avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #152238 0%, #0A1628 100%);
  color: var(--color-gold, #C9A84C);
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Department Pill */
.team-card__dept {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-dark, #A8872E);
  background: rgba(201, 168, 76, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.team-card:hover .team-card__dept {
  background: var(--color-navy, #0A1628);
  color: var(--color-gold, #C9A84C);
}

/* Member Name */
.team-card__name {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-navy, #0A1628);
  margin: 0 0 0.35rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.team-card:hover .team-card__name {
  color: var(--color-navy-light, #152238);
}

/* Member Designation */
.team-card__role {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-gold-dark, #9E7822);
  margin: 0;
  line-height: 1.35;
}

/* Bio Text */
.team-card__bio {
  font-size: 0.85rem;
  color: var(--color-text-muted, #6B6B6B);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Social & Contact Mini Links */
.team-card__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(201, 168, 76, 0.3);
  width: 100%;
}

.team-card__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-off-white, #F8F6F1);
  color: var(--color-navy, #0A1628);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.3s ease;
}

.team-card__social-link:hover {
  background: var(--color-gold, #C9A84C);
  color: #FFFFFF;
  border-color: var(--color-gold, #C9A84C);
  transform: translateY(-2px);
}

/* ===================================================
/* ===================================================
   PART OF THE SAME FAMILY (GROUP COMPANIES & BRANDS)
   =================================================== */
.team-family-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #FAF8F5 0%, #F3EFE8 50%, #FAF8F5 100%);
  position: relative;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--color-navy, #0A1628);
}

.team-family-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.team-family-section__intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.team-family-section__badge {
  display: inline-block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-dark, #9E7822);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.team-family-section__title {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.2rem, 3.8vw, 2.9rem);
  color: var(--color-navy, #0A1628);
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.team-family-section__desc {
  font-size: 1rem;
  color: var(--color-text-muted, #5A6270);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 680px;
}

/* 4-Column Corporate Grid - Balanced 8 Logos */
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem 2rem;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* Frameless Brand Item (કોઈ ફ્રેમ કે બોક્સ વગર - માત્ર લોગો) */
.family-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.75rem;
  box-shadow: none;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.family-card:hover {
  transform: translateY(-6px);
  background: transparent;
  box-shadow: none;
  border: none;
}

/* Pure Logo Container */
.family-card__logo-wrap {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.family-card__logo {
  max-width: 210px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(10, 22, 40, 0.08));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease;
}

.family-card:hover .family-card__logo {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 20px rgba(201, 168, 76, 0.4));
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
    max-width: 560px;
  }

  .family-card__logo {
    max-width: 175px;
    max-height: 95px;
  }

  .team-family-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 600px) {
  .family-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 260px;
  }

  .team-family-section {
    padding: 3rem 0;
  }

  .team-family-section__intro {
    margin-bottom: 2rem;
  }

  .family-card__logo-wrap {
    height: 95px;
  }

  .family-card__logo {
    max-width: 160px;
    max-height: 85px;
  }
}

/* Legacy values section fallback */
.team-values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A1628 0%, #152238 100%);
  color: #FFFFFF;
  position: relative;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

/* Join the Team CTA */
.team-cta-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
  text-align: center;
  border-top: 1px solid #E5E0D5;
}

.team-cta__box {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.team-cta__title {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 2.3rem;
  color: var(--color-navy, #0A1628);
  margin-bottom: 0.75rem;
}

.team-cta__desc {
  font-size: 1rem;
  color: var(--color-text-muted, #6B6B6B);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.team-cta__buttons {
  display: inline-flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}