/* ============ SERVICE SIMPLE PAGES STYLES ============ */

.service-simple {
  padding: var(--space-xl) 0;
  background: var(--primary-black);
}

.service-simple__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.service-simple__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service-simple__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 500px;
  box-shadow: var(--shadow-medium);
}

.service-simple__image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-simple__image:hover img {
  transform: scale(1.05);
}

.service-simple__text {
  padding: var(--space-md);
}

.service-simple__title {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.service-simple__description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
}

.service-simple__description p:not(:last-child) {
  margin-bottom: var(--space-md);
}

/* Service Gallery Section */
.service-gallery {
  padding: var(--space-xl) 0;
  background: var(--secondary-black);
}

.service-gallery__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.service-gallery__title {
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.service-gallery__subtitle {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  background: var(--gradient-glass);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 350px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(220, 38, 38, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__content {
  width: 100%;
}

.gallery-item__title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.gallery-item__description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* ============ RESPONSIVE DESIGN FOR SERVICE PAGES ============ */

@media (max-width: 992px) {
  .service-simple__content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .service-simple__image {
    order: -1;
    max-height: 400px;
  }
  
  .service-simple__text {
    text-align: center;
    padding: var(--space-sm);
  }
}

@media (max-width: 768px) {
  .service-simple__image {
    max-height: 300px;
  }
  
  .service-gallery__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .gallery-item__overlay {
    padding: var(--space-sm);
  }
  
  .gallery-item__title {
    font-size: 1.125rem;
  }
  
  .gallery-item__description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .service-simple__image {
    max-height: 250px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .gallery-item__title {
    font-size: 1rem;
  }
  
  .gallery-item__description {
    font-size: 0.85rem;
  }
}
