/* See What Kids Can Build Section */
.build-examples {
  padding: 80px 0;
  background-color: #fdfbf5;
}

.build-examples h2 {
  font-size: 3.5rem;
  color: #f2864f;
  text-align: center;
  margin-bottom: 15px;
}

.build-examples .subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 60px;
}

/* Cards Container */
.examples-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Individual Card */
.example-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  flex: 0 0 auto;
}

/* Card tilting effects */
.example-card:nth-child(1) {
  transform: rotate(-2deg);
}

.example-card:nth-child(2) {
  transform: rotate(1deg);
}

.example-card:nth-child(3) {
  transform: rotate(-1deg);
}

.example-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.example-card:nth-child(1):hover {
  transform: rotate(-2deg) scale(1.02);
}

.example-card:nth-child(2):hover {
  transform: rotate(1deg) scale(1.02);
}

.example-card:nth-child(3):hover {
  transform: rotate(-1deg) scale(1.02);
}

/* Card Image */
.example-image {
  width: 100%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-radius: 20px 20px 0 0;
}

.example-image img {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 8px;
}

/* Card Info */
.example-info {
  padding: 20px;
  text-align: center;
}

.example-info h3 {
  font-weight: 800;
  font-family: 'JUST Sans', sans-serif;
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 12px;
}

.example-info p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 12px;
}

.example-info .note {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
  margin-bottom: 0;
}

/* Container */
.example-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .examples-container {
    gap: 20px;
    justify-content: center;
  }
  
  .example-card {
    width: 280px;
  }
}

@media (max-width: 900px) {
  .examples-container {
    justify-content: center;
    gap: 15px;
  }
  
  .example-card {
    width: 270px;
  }
}

@media (max-width: 768px) {
  .examples-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .example-card {
    width: 100%;
    max-width: 320px;
    margin-bottom: 0;
  }
  
  /* Reset rotation on mobile for better alignment */
  .example-card:nth-child(1),
  .example-card:nth-child(2),
  .example-card:nth-child(3) {
    transform: rotate(0deg);
  }
  
  .example-card:nth-child(1):hover,
  .example-card:nth-child(2):hover,
  .example-card:nth-child(3):hover {
    transform: scale(1.02);
  }
  
  .build-examples h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .example-info {
    padding: 20px;
  }
  
  .example-info h3 {
    font-size: 1.3rem;
  }
  
  .example-info p {
    font-size: 0.9rem;
  }
  
  .build-examples .subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}