/* ========================================
   SEGMENTS SECTION - PHOTO CARDS
   ======================================== */

#segments {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(135deg, #0F0F1E 0%, #1A1A2E 40%, #1E2A4A 100%);
  overflow: hidden;
}

/* Wave Divider */
#segments .wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

#segments .wave-bottom {
  bottom: 0;
}

#segments .wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Eyebrow */
.segments-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4BC8C0;
  text-align: center;
  margin-bottom: 16px;
}

/* Title */
.segments-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F7F7F7;
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Shimmer Text Animation */
.segments-title.shimmer-text {
  background: linear-gradient(
    90deg,
    #F7F7F7 0%,
    #F7F7F7 40%,
    #4BC8C0 50%,
    #F7F7F7 60%,
    #F7F7F7 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 200% center;
  }
  50% {
    background-position: 0% center;
  }
}

/* Segments Grid - 3 Equal Columns */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 0;
}

/* Segment Card */
.segment-card {
  position: relative;
  min-height: 440px;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.segment-card:hover {
  transform: scale(1.02);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* Image Wrapper - Parallax Container */
.segment-image-wrapper {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  overflow: hidden;
}

.segment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.segment-card:hover .segment-image {
  transform: scale(1.05);
}

/* Overlay Gradient */
.segment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 15, 30, 0.92) 0%, rgba(15, 15, 30, 0.3) 55%, transparent 100%);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.segment-card:hover .segment-overlay {
  background: linear-gradient(to top, rgba(15, 15, 30, 0.95) 0%, rgba(15, 15, 30, 0.5) 55%, transparent 100%);
}

/* Content */
.segment-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

/* Segment Title */
.segment-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* Segment Description - Always Visible */
.segment-description {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Segment Link */
.segment-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #4BC8C0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-card:hover .segment-link {
  transform: translateY(0);
  opacity: 1;
}

.segment-link:hover {
  color: #FFFFFF;
}

.segment-link:hover::after {
  transform: translateX(4px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  #segments {
    padding: 110px 0;
  }
  
  .segments-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 56px;
  }
  
  .segments-grid {
    gap: 24px;
    margin-bottom: 60px;
  }
  
  .segment-card {
    height: 380px;
  }
  
  .segment-content {
    padding: 28px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  #segments {
    padding: 72px 0;
  }
  
  .segments-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .segments-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 48px;
  }
  
  .segments-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 0;
  }
  
  .segment-card {
    height: auto;
    min-height: 320px;
    border-radius: 20px;
  }
  
  .segment-content {
    padding: 28px 24px;
  }
  
  .segment-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .segment-description {
    font-size: 13px;
  }
}
