/* Examples Page Specific Styles */

.examples-header {
  text-align: center;
  margin: 2rem auto 3rem;
  max-width: 800px;
}

.examples-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--brown-900);
  margin-bottom: 1rem;
  font-weight: 700;
}

.examples-header .lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Examples Gallery */
.examples-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.example-item {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(90, 53, 24, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.example-number {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 1rem;
  text-align: center;
}

/* beforeAfter container styling */
.example-item .beforeAfter {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.example-item .beforeAfter img {
  display: block;
  width: 100%;
  height: auto;
}

/* CTA Section */
.examples-cta {
  text-align: center;
  margin: 4rem auto 3rem;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(180deg, var(--brown-700), var(--brown-900));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(90, 53, 24, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(90, 53, 24, 0.4);
}

.btn-cta:active {
  transform: translateY(0);
}

/* Tablet and up: 2 columns */
@media (min-width: 768px) {
  .examples-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .examples-header h1 {
    font-size: 3rem;
  }
}

/* Large screens: 3 columns for better use of space */
@media (min-width: 1200px) {
  .examples-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .examples-header {
    margin: 1.5rem auto 2rem;
  }
  
  .examples-header h1 {
    font-size: 2rem;
  }
  
  .examples-header .lead {
    font-size: 1rem;
  }
  
  .example-item {
    padding: 1rem;
  }
  
  .examples-gallery {
    gap: 2rem;
  }
}
