/* Complete Services Page CSS with Working Before/After Sliders */


/* Hero Section */
.services-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  color: var(--color-text);
  padding: 100px 0 80px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  width: 100%;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */
.services-section {
  background: var(--color-bg);
  padding: 80px 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

/* Service Card */
.service-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 20px;
  padding: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

/* Card Header */
.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--color-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.service-description {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Comparison Slider */
.comparison-slider {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
  cursor: ew-resize;
  user-select: none;
height: 250px !important;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image {
  z-index: 1;
}

.after-image {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.label {
  position: absolute;
  top: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.before-label {
  left: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.after-label {
  right: 12px;
  background: rgba(255, 215, 0, 0.9);
  color: #000;
}

/* Slider Divider */
.slider-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  z-index: 5;
  cursor: ew-resize;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.slider-divider:hover {
  background: var(--color-accent-alt);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: var(--color-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 3px solid #fff;
}

.slider-handle i {
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
}

.slider-divider:hover .slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Service Features */
.service-features {
  margin: 24px 0;
  flex-grow: 1;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.service-features li:hover {
  color: var(--color-text);
  transform: translateX(4px);
}

.service-features i {
  color: var(--color-accent);
  font-size: 0.8rem;
  background: rgba(255, 215, 0, 0.1);
  padding: 4px;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-get-quote,
.btn-view-gallery {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-get-quote {
  background: var(--color-gold-gradient);
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-get-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  color: #000;
}

.btn-view-gallery {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-view-gallery:hover {
  background: var(--color-accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .slider-wrapper {
    height: 200px;
  }
  
  .card-actions {
    flex-direction: column;
  }
  
  .btn-get-quote,
  .btn-view-gallery {
    width: 100%;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .hero-content {
    max-width: 700px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  .slider-wrapper {
    height: 180px;
  }
  
  .slider-handle {
    width: 35px;
    height: 35px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
} 

@media (max-width: 300px) {
    height: 182px !important;
}