/* 
 * Custom Service Demo Styles
 * Designed specifically for custom product service websites
 */

:root {
  /* Custom Service Color Palette */
  --custom-primary: #4361ee;
  --custom-primary-hover: #3a56d4;
  --custom-secondary: #7209b7;
  --custom-accent: #f72585;
  --custom-light: #f8f9fa;
  --custom-dark: #212529;
  --custom-gray: #6c757d;
  --custom-light-gray: #e9ecef;
  
  /* Spacing Variables */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

/* Base Styles for Custom Service Demo */
.custom-service-demo {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--custom-dark);
}

/* Hero Section */
.hero-section-custom {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-sm);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-section-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
}

.hero-content-custom {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.hero-title-custom {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.025em;
}

.hero-subtitle-custom {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-buttons-custom {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Titles */
.section-title-custom {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title-custom h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--custom-dark);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.025em;
}

.section-title-custom p {
  font-size: 1.1rem;
  color: var(--custom-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* How It Works Section */
.how-it-works-section {
  padding: var(--spacing-lg) 0;
  background-color: white;
}

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

.step-card {
  background: var(--custom-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--custom-light-gray);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--custom-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto var(--spacing-sm);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--custom-primary);
}

.step-card h3 {
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--custom-dark);
}

/* Featured Custom Products */
.featured-custom-products {
  padding: var(--spacing-lg) 0;
  background-color: var(--custom-light);
}

/* Design Tools Preview */
.design-tools-preview {
  padding: var(--spacing-lg) 0;
  background-color: white;
}

.tools-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.tool-feature {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.tool-feature:hover {
  background: var(--custom-light);
  transform: translateY(-3px);
}

.tool-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--custom-primary);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  background: rgba(67, 97, 238, 0.1);
  transition: all 0.3s ease;
}

.tool-feature:hover .tool-icon {
  transform: scale(1.1);
  background: rgba(67, 97, 238, 0.2);
}

.tool-feature h3 {
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--custom-dark);
}

/* Customer Gallery */
.customer-gallery-section {
  padding: var(--spacing-lg) 0;
  background-color: var(--custom-light);
}

.customer-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-caption {
  padding: var(--spacing-sm);
  text-align: center;
  font-weight: 600;
  background: white;
}

/* Testimonials */
.testimonials-section {
  padding: var(--spacing-lg) 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.testimonial-card {
  background: var(--custom-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--custom-dark);
}

.testimonial-author {
  border-top: 1px solid var(--custom-light-gray);
  padding-top: var(--spacing-sm);
}

.author-name {
  font-weight: 700;
  color: var(--custom-dark);
}

.author-location {
  font-size: 0.9rem;
  color: var(--custom-gray);
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-lg) 0;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Buttons */
.button {
  font-weight: 600;
  letter-spacing: 0.025em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-transform: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.button.primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: white;
}

.button.primary:hover {
  background-color: var(--custom-primary-hover);
  border-color: var(--custom-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button.secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.button.secondary:hover {
  background-color: white;
  color: var(--custom-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title-custom {
    font-size: 2rem;
  }
  
  .hero-subtitle-custom {
    font-size: 1rem;
  }
  
  .section-title-custom h2 {
    font-size: 2rem;
  }
  
  .hero-buttons-custom {
    flex-direction: column;
    align-items: center;
  }
  
  .steps-grid,
  .tools-features,
  .customer-gallery,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}