/* ==========================================
   KIDS MINISTRY STYLES
   ========================================== */

/* Hero Section */
.kids-hero {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #4a010a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .kids-hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
}

.kids-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.kids-hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.kids-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.kids-hero-title {
  font-family: var(--font-headline);
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.kids-hero-subtitle {
  font-size: 24px;
  color: var(--inverse-on-surface);
  max-width: 600px;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
}

.kids-hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.kids-btn {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: var(--rounded-full);
}

.kids-btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--rounded-full);
  padding: 14px 38px;
}

.kids-btn-outline:hover {
  background-color: #fff;
  color: var(--primary);
}

@media (max-width: 768px) {
  .kids-hero-title {
    font-size: 42px;
  }

  .kids-hero-subtitle {
    font-size: 18px;
  }

  .kids-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* Age Groups Grid */
.kids-age-groups {
  background-color: var(--surface-container-lowest);
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--on-surface-variant);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.kids-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .kids-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kids-grid {
    grid-template-columns: 1fr;
  }
}

.kids-card {
  background-color: var(--surface);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.kids-card:hover {
  transform: translateY(-5px);
}

.kids-card-img {
  height: 200px;
  background-color: var(--surface-container);
  /* Placeholders for actual images */
}

.bg-nursery {
  background-color: #fce4ec;
}

.bg-preschool {
  background-color: #e3f2fd;
}

.bg-elementary {
  background-color: #e8f5e9;
}

.kids-card-content {
  padding: 30px;
  text-align: left;
}

.kids-card-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.kids-card-age {
  display: inline-block;
  background-color: var(--secondary-container);
  color: var(--on-secondary-container);
  padding: 4px 12px;
  border-radius: var(--rounded-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.kids-card-desc {
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* First Time Section */
.kids-first-time {
  background-color: var(--surface-container-low);
  padding: 100px 0;
}

.first-time-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .first-time-flex {
    flex-direction: column;
  }
}

.first-time-text {
  flex: 1;
}

.first-time-image {
  flex: 1;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.first-time-image img {
  width: 100%;
  height: auto;
  display: block;
}

.checkin-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkin-steps li {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-info h4 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.step-info p {
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* Volunteer Section */
.kids-volunteer {
  background-color: var(--primary);
  padding: 100px 0;
}

.text-white {
  color: #fff !important;
}

.kids-btn-white {
  background-color: #fff;
  color: var(--primary);
  padding: 16px 40px;
  font-size: 16px;
  border-radius: var(--rounded-full);
  font-weight: 800;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.kids-btn-white:hover {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}