/* ═══════════════════════════════════════════════
   HOME PAGE STYLES
   ═══════════════════════════════════════════════ */

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  padding-top: 80px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e8dfd5;
  z-index: 10;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 110%;
  top: -5%;
  object-fit: cover;
  will-change: transform;
}
.hero .overlay {
  position: absolute;
  inset: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  transform: translateY(-160px);
  will-change: opacity, transform;
}
.hero-title {
  font-size: 5.2rem !important;
  letter-spacing: 1.5px !important;
  font-weight: 100 !important;
  font-family: 'EngGothic';
  color: #523232 !important;
  overflow: hidden;
  opacity: 0.99;
  line-height: 0.8;
}
.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-subtext {
  margin: 1.2rem auto 0;
  line-height: 1.5;
  max-width: 830px !important;
  font-family: 'playful';
  letter-spacing: 0.3px;
  color: #523232;
  font-weight: 300;
  font-size: 1.2rem;
  will-change: opacity, transform, filter;
}
.horizontal-line {
  width: 250px;
  height: 2.2px;
  opacity: 0.4;
  background-color: #523232;
  margin: 30px auto 0;
  border-radius: 60px;
  transform-origin: center;
  will-change: transform;
}
.third, .fourth {
  opacity: 0;
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem !important; letter-spacing: 3px; }
  .hero-subtext { font-size: 1.2rem; }
  .hero-content { transform: translateY(-30px); padding: 0 1rem; }
  .horizontal-line { width: 200px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.84rem !important; letter-spacing: 1px; white-space: nowrap; }
  .hero-subtext { font-size: 0.9rem !important; max-width: 310px; }
  .hero-content { transform: translateY(-100px); padding: 1rem 0.5rem; }
  .horizontal-line { width: 150px; }
}

/* Team Section (3D Carousel) */
.team-wrapper {
  min-height: 80vh;
  background: #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow: hidden;
  position: relative;
}
.team-ambient {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.03) 0%, transparent 50%);
}
.team-layout {
  width: 100%;
  max-width: 1600px;
  padding: 60px 48px 140px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.team-left {
  position: relative;
  z-index: 20;
}
.team-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.team-eyebrow-line {
  width: 32px; height: 1px;
  background: #c9a84c;
}
.team-eyebrow-text {
  color: #523232;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'EngGothic', sans-serif;
  font-weight: 400;
}
.team-heading {
  color: #523232;
  font-size: clamp(36px, 4.5vw, 58px);
  font-family: 'EngGothic', sans-serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px 0;
}
.team-heading-gradient {
  font-weight: 600;
  font-family: 'EngGothic', sans-serif;
  background: linear-gradient(135deg, #c9a84c, #e8c97a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.team-body {
  color: #523232;
  font-size: 14px;
  line-height: 1.45;
  font-family: 'playful', sans-serif;
  font-weight: 300;
  max-width: 440px;
  margin: 0 0 36px 0;
}
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.team-stat-num {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #c9a84c, #e8c97a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.team-stat-label {
  color: #523232;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'playful', sans-serif;
  font-weight: 400;
  line-height: 1.4;
}
.team-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.team-contact-btn {
  background: transparent;
  border: 1px solid #523232;
  color: #523232;
  padding: 14px 40px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Playful', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s ease;
}
.team-contact-btn:hover {
  background: #523232;
  color: #fff;
}
.team-nav-btns {
  display: flex;
  gap: 10px;
}
.team-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid #523232;
  background: transparent;
  color: #523232;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.team-nav-btn:hover {
  border-color: #523232;
  background: rgba(201,168,76,0.1);
}

/* Carousel */
.team-carousel {
  position: relative;
  height: 565px;
  perspective: 1200px;
  cursor: grab;
  touch-action: pan-y;
}
.team-carousel-inner {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.team-card-wrap {
  position: absolute;
  transition: all 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.team-card {
  position: relative;
  overflow: visible;
}
.team-card-corner {
  position: absolute;
  background: #523232;
  z-index: 5;
}
.team-card-photo {
  width: 100%;
  height: 75%;
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card-photo-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(20,20,20,0.95));
}
.team-card-info {
  padding: 20px 22px;
  background: #ffff;
  border-top: 1px solid #523232;
  text-align: center;
}
.team-card-name {
  color: #523232;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.team-card-title {
  color: #523232;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'EngGothic', sans-serif;
  font-weight: 400;
  line-height: 1.4;
}
.team-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.team-dot {
  height: 2px;
  background: #000000;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 1px;
}
.team-dot.active {
  background: #523232;
}

@media (max-width: 1023px) {
  .team-layout { grid-template-columns: 1fr; gap: 48px; padding: 56px 32px 130px; }
  .team-left { text-align: center; }
  .team-eyebrow { justify-content: center; }
  .team-body { max-width: 100%; margin: 0 auto 32px; }
  .team-cta-row { justify-content: center; }
  .team-carousel { height: 485px; perspective: 900px; }
}
@media (max-width: 639px) {
  .team-layout { padding: 48px 20px 120px; gap: 36px; }
  .team-heading { font-size: 34px; }
  .team-stats { gap: 12px; margin-bottom: 32px; }
  .team-stat-num { font-size: 24px; }
  .team-contact-btn { padding: 12px 28px; }
  .team-carousel { height: 425px; perspective: 600px; }
  .team-card-info { padding: 12px 14px; }
  .team-card-name { font-size: 13px; }
  .team-card-title { font-size: 8px; }
}
