/* ======================
   Services Page Styles
   ====================== */

/* Services Hero */
.services-hero {
  background: var(--navy);
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: var(--white);
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-hero::before {
  display: none;
}

.services-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.services-hero p {
  color: var(--gray-200);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Detail Cards */
.services-list {
  padding: var(--spacing-lg) 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.service-detail:nth-child(even) {
  background: var(--sand);
}

.service-detail:nth-child(even) .service-content {
  order: 2;
}

.service-detail:nth-child(even) .service-visual {
  order: 1;
}

@media (max-width: 968px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  
  .service-detail:nth-child(even) .service-content {
    order: 1;
  }
  
  .service-detail:nth-child(even) .service-visual {
    order: 2;
  }
}

.service-visual {
  position: relative;
}

.service-icon-large {
  width: 120px;
  height: 120px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-xl);
}

.service-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.service-content h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.875rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: var(--slate);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.service-features li:hover {
  padding-left: 3rem;
  color: var(--navy);
}

.service-features li:hover::before {
  transform: translateX(5px);
}

/* Service Stats */
.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(28, 176, 246, 0.05);
  border-radius: var(--border-radius-lg);
}

@media (max-width: 640px) {
  .service-stats {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--aqua);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--slate);
  font-size: 0.9375rem;
}

/* Service CTA */
.service-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Service Process */
.service-process {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
}

.service-process h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: var(--aqua);
  opacity: 0.3;
}

.timeline-step:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .timeline-step::after {
    display: none;
  }
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--aqua);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.timeline-step h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.timeline-step p {
  color: var(--slate);
  font-size: 0.875rem;
}

/* Capabilities Grid */
.capabilities-section {
  padding: var(--spacing-xl) 0;
  background: var(--sand);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.capability-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.capability-icon {
  width: 64px;
  height: 64px;
  background: var(--sand);
  color: var(--aqua);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.capability-card h3 {
  color: var(--navy);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.capability-card p {
  color: var(--slate);
  font-size: 0.9375rem;
}

/* Quote CTA Banner */
.quote-banner {
  background: var(--navy);
  color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  margin-top: var(--spacing-xl);
}

.quote-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.quote-banner p {
  color: var(--gray-200);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.quote-banner .btn {
  min-width: 200px;
}

/* Brands Section - matching home page */
.brands-section {
  padding: 4rem 0;
  background: var(--sand);
  background-image: url('/images/Other-photos/pool4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.brands-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.brands-section .container {
  position: relative;
  z-index: 1;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
  justify-items: center;
}

.brand-item {
  width: 100%;
  max-width: 180px;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 1;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-item img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }
  
  .brand-item {
    padding: 1rem;
  }
}
