/* ============================================================
   SERVICES PAGE STYLES
   ============================================================ */

/* ==================== SERVICE PILLARS ==================== */
.service-pillar {
  padding: var(--space-7) 0;
  position: relative;
}

.service-pillar:nth-child(even) {
  background-color: var(--bg-light);
}

.service-pillar .content-block {
  gap: var(--space-7);
}

.service-pillar .content-block-text h2 {
  color: var(--deep-navy);
}

.service-pillar .content-block-text p {
  color: var(--slate-navy);
}

/* Dark variant */
.service-pillar.pillar-dark {
  background: var(--deep-navy);
  color: var(--white);
}

.service-pillar.pillar-dark .content-block-text h2 {
  color: var(--white);
}

.service-pillar.pillar-dark .content-block-text p {
  color: rgba(255, 255, 255, 0.7);
}

.service-pillar.pillar-dark .content-block-text li {
  color: rgba(255, 255, 255, 0.8);
}

/* Service Visual */
.service-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* When a service-visual has a photo child, drop the gradient */
.service-visual:has(.service-photo) {
  background: none !important;
}

.service-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-visual .visual-icon-large {
  font-size: 5rem;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

/* Animated gradient backgrounds for each pillar */
.service-visual.cpg {
  background: linear-gradient(135deg, #1B2847 0%, #2A3A5C 50%, #3B6ACA 100%);
}

.service-visual.movies {
  background: linear-gradient(135deg, #0F1B30 0%, #1B2847 50%, #5BA0FC 100%);
}

.service-visual.music {
  background: linear-gradient(135deg, #2A3A5C 0%, #1B2847 50%, #3B6ACA 100%);
}

.service-visual.ecommerce {
  background: linear-gradient(135deg, #1B2847 0%, #3B6ACA 50%, #5BA0FC 100%);
}

/* Floating elements inside visuals */
.service-visual .float-element {
  position: absolute;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: floatElement 6s ease-in-out infinite;
}

.float-element:nth-child(1) {
  width: 120px;
  height: 80px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.float-element:nth-child(2) {
  width: 100px;
  height: 60px;
  bottom: 20%;
  right: 15%;
  animation-delay: -2s;
}

.float-element:nth-child(3) {
  width: 80px;
  height: 50px;
  top: 50%;
  right: 25%;
  animation-delay: -4s;
}

@keyframes floatElement {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* ==================== SERVICE STATS ==================== */
.service-stats {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.service-stat {
  display: flex;
  flex-direction: column;
}

.service-stat .stat-val {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--signal-sky);
  line-height: 1;
}

.service-stat .stat-desc {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--slate-navy);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.pillar-dark .service-stat .stat-desc {
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== SERVICES LIST HIGHLIGHT ==================== */
.services-highlight {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-navy) 100%);
  padding: var(--space-7) 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.highlight-item {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.highlight-item:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 160, 252, 0.3);
}

.highlight-item .highlight-icon {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.highlight-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.highlight-item p {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}
