/*
Theme Name:  Arty Kids
Template:    legacy-preschool-kindergarten
Version:     1.0
Text Domain: arty-kids
*/
/* Your custom CSS goes below */
.newsletter-form form {
  display: flex;
  gap: 8px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  background: #fffaed;
  border: 0.5px solid #8c9946;
  color: #1f2937;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
}
.newsletter-form input[type="submit"] {
  background: #1f2937;
  color: #ffffff;
  border: none;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.newsletter-form .wpcf7-response-output {
  font-size: 12px;
  color: #3f4530;
  margin-top: 6px;
}
.newsletter-form form input[type="submit"].wpcf7-submit {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}
.wp-block-social-links .wp-social-link a {
  padding: 14px !important;
}

/* ============ Hero Slider ============ */
.artykids-hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.artykids-hero-slider .wp-block-post-template {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 600px;
}
.artykids-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.artykids-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
}

/* Thin decorative white arc, peeking in from the left edge of the active slide */
.artykids-hero-slide::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: 40px;
  width: 260px;
  height: 260px;
  border: 14px solid #fff;
  border-radius: 50%;
  clip-path: inset(0 0 0 50%);
  z-index: 1;
  pointer-events: none;
}

.artykids-hero-slide-bg {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.artykids-hero-slide-bg,
.artykids-hero-slide-bg img {
  aspect-ratio: unset !important;
}
.artykids-hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* stretches to fill, distorts aspect ratio for now */
  transition: transform 6s ease;
}

/* The dome shape, with a traced dashed ring inside */
.artykids-hero-slide-shape {
  position: relative;
  z-index: 3;
  background: #48498a; /* Arty Kids indigo */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  width: 62%;
  max-width: 1100px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  text-align: center;
  color: #fff;
}
.artykids-hero-slide-shape::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 0;
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}
.artykids-hero-slide-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.artykids-hero-slide-subtitle {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Badge overlapping the bottom of the dome, with a gentle hover pop */
.artykids-hero-slide-badge {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: #c5a661; /* Arty Kids gold accent */
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  color: #2b2b2b;
  padding: 10px;
  transition: transform 0.25s ease;
}
.artykids-hero-slide-badge:hover {
  transform: translateX(-50%) scale(1.08) rotate(-3deg);
}

/* Prev/next arrow buttons, grow and brighten on hover */
.artykids-hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #c5a661;
  color: #2b2b2b;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.artykids-hero-slider-arrow.prev {
  left: 30px;
}
.artykids-hero-slider-arrow.next {
  right: 30px;
}
.artykids-hero-slider-arrow:hover {
  transform: translateY(-50%) scale(1.12);
  background: #d4b672;
}

/* Dot navigation, grows on hover */
.artykids-hero-slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.artykids-hero-slider-controls button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.artykids-hero-slider-controls button.is-active {
  background: #fff;
}
.artykids-hero-slider-controls button:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.85);
}

/* Subtle zoom on the background photo of the active slide when hovering the whole slider */
.artykids-hero-slider:hover
  .artykids-hero-slide.is-active
  .artykids-hero-slide-bg
  img {
  transform: scale(1.06);
}

/* ============ Philosophy - Mission & Goals ============ */
.arty-philosophy-intro {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 32px 40px;
}
.arty-mission-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.arty-goals-grid {
  max-width: 1240px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  padding: 0 32px;
}

/* ============ Reusable Page Hero Banner ============ */
.artykids-page-hero {
  position: relative;
  overflow: hidden;
}
.artykids-page-hero .wp-block-cover__inner-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.artykids-page-hero-pill {
  display: inline-block;
  background: #bb7158;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 999px;
  margin: 0 auto 20px;
}
.artykids-page-hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
.artykids-page-hero-subtitle {
  color: #fff;
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

/* ============ Team Member Profile ============ */
.arty-team-profile {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding: 56px 0;
}
.arty-team-photo-wrap {
  flex: 1 1 340px;
  max-width: 380px;
}
.arty-team-photo img {
  width: 100%;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.arty-team-cards {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.arty-team-card {
  border-radius: 20px;
  padding: 28px 32px;
  border: 1.5px dashed transparent;
}
.arty-team-card h2 {
  color: #2b2b3a;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
}
.arty-team-card-about {
  background: #fbf3e7;
  border-color: #e8d9b8;
}
.arty-team-card-qualifications {
  background: #eaf1fb;
  border-color: #b9d3ee;
}
.arty-team-card-qualifications ul {
  margin: 0;
  padding-left: 20px;
}
.arty-team-card-qualifications li {
  color: #4a4a58;
  margin-bottom: 10px;
}
.arty-team-card-interest {
  background: #fbeaf0;
  border-color: #f0bfd0;
}

@media (max-width: 900px) {
  .arty-team-profile {
    flex-direction: column;
  }
}
