/* =============================================
   LITTLE STEPS PLAYGROUND — style.css
   Mobile-first: base styles = mobile,
   scale up with min-width breakpoints
   ============================================= */

/* --- Reset & Base ----------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #FFFDF9;
  color: #3A2F2B;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Variables ------------------------------- */
:root {
  --bg:          #FFFDF9;
  --cream:       #F6F1EA;
  --beige:       #E6D2B5;
  --pink:        #EFC7D1;
  --dusty-rose:  #DFA6B2;
  --sage:        #BFD6C6;
  --sky:         #D7E6F2;
  --text:        #3A2F2B;
  --text-muted:  #8C8C8C;
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --shadow-soft: 0 4px 32px rgba(58, 47, 43, 0.08);
  --shadow-card: 0 8px 40px rgba(58, 47, 43, 0.10);
}

/* --- Typography ------------------------------ */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 2.1rem; font-weight: 600; }
h2 { font-size: 1.7rem; font-weight: 500; }
h3 { font-size: 1.05rem; font-weight: 500; }

p {
  font-size: 0.93rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 480px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  margin-bottom: 0.65rem;
}

/* --- Container ------------------------------ */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
}

/* --- Buttons -------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.82rem 1.8rem;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--filled {
  background-color: var(--dusty-rose);
  color: #fff;
  border: 2px solid var(--dusty-rose);
}

.btn--filled:hover {
  background-color: #cd8f9d;
  border-color: #cd8f9d;
}

.btn--outline {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--beige);
}

.btn--outline:hover {
  border-color: var(--dusty-rose);
  color: var(--dusty-rose);
}

/* --- Image placeholder fallback ------------- */
.placeholder-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: var(--cream);
}

/* Play section — second image shift view upward */
.content-section--play .cs-img--bottom img {
  object-position: center 20%;
}

/* Play section — first image show lower portion */
.content-section--play .cs-img--top img {
  object-position: center 80%;
}

.img-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-family: 'Poppins', sans-serif;
  color: rgba(58,47,43,0.4);
  background: rgba(255,253,249,0.8);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}


/* =============================================
   HERO — mobile base
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 52px;
  background-color: var(--bg);
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__bg-shape--1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #EFC7D1 0%, transparent 70%);
  top: -120px;
  right: -80px;
  opacity: 0.28;
}

.hero__bg-shape--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #BFD6C6 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  opacity: 0.22;
}

.hero__bg-shape--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #D7E6F2 0%, transparent 70%);
  top: 38%;
  left: 38%;
  opacity: 0.28;
}

/* Mobile: stack text then images */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__text {
  width: 100%;
}

.hero__headline {
  margin-bottom: 1rem;
}

.hero__para {
  margin: 0 auto 1.8rem;
  max-width: 400px;
}

.hero__buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile hero images */
.hero__images {
  position: relative;
  width: 100%;
  height: 300px;
}

.hero__img-frame {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero__img-frame--main {
  width: 72%;
  height: 88%;
  top: 0;
  right: 0;
}

.hero__img-frame--accent {
  width: 50%;
  height: 56%;
  bottom: 0;
  left: 0;
  border: 3px solid var(--bg);
}


/* =============================================
   INFO STRIP — mobile base
   ============================================= */
.info-strip {
  padding: 48px 0;
  background-color: var(--bg);
}

.info-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.info-card {
  background-color: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.info-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--dusty-rose);
}

.info-card__icon svg {
  width: 100%;
  height: 100%;
}

.info-card__title {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.info-card__text {
  font-size: 0.875rem;
  max-width: none;
}


/* =============================================
   ABOUT — mobile base
   ============================================= */
.about {
  padding: 60px 0;
  background-color: var(--cream);
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about__image-wrap {
  position: relative;
  width: 100%;
}

.about__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-card);
}

.about__img-accent {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-lg);
  background-color: var(--pink);
  opacity: 0.22;
  bottom: -14px;
  right: -14px;
  z-index: -1;
}

.about__text {
  width: 100%;
  text-align: center;
}

.about__text h2 {
  margin-bottom: 1rem;
}

.about__text p {
  margin: 0 auto 1.8rem;
}


/* =============================================
   CONTENT SECTIONS — mobile base
   ============================================= */
.content-section {
  padding: 60px 0;
}

.content-section--light  { background-color: var(--bg); }
.content-section--cream  { background-color: var(--cream); }

.content-section__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* reverse stacks the same way on mobile */
.content-section__inner--reverse {
  flex-direction: column;
}

.content-section__images {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cs-img--top   { height: 210px; }
.cs-img--bottom {
  height: 160px;
  margin-left: 0;
}

.content-section__text {
  width: 100%;
  text-align: center;
}

.content-section__text h2 {
  margin-bottom: 1rem;
}

.content-section__text p {
  margin: 0 auto;
}


/* =============================================
   GALLERY — mobile base
   ============================================= */
.gallery {
  padding: 60px 0;
  background-color: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}

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

.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 110px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery__item img {
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}


/* =============================================
   CONTACT — mobile base
   ============================================= */
.contact {
  padding: 60px 0;
  background-color: var(--bg);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact__text {
  width: 100%;
  text-align: center;
}

.contact__text h2 {
  margin-bottom: 0.9rem;
}

.contact__text p {
  margin: 0 auto 1.8rem;
}

.contact__card {
  background-color: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
}

.contact__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__value {
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s ease;
}

.contact__value:hover {
  color: var(--dusty-rose);
}

.contact__divider {
  height: 1px;
  background-color: var(--beige);
  opacity: 0.6;
}


/* =============================================
   FOOTER — mobile base
   ============================================= */
.footer {
  background-color: var(--text);
  color: #E6D2B5;
  padding-top: 44px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(230, 210, 181, 0.15);
}

.footer__name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #F6F1EA;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(230, 210, 181, 0.6);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(230, 210, 181, 0.75);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--pink);
}

.footer__bottom {
  text-align: center;
  padding: 18px 0;
}

.footer__bottom p {
  font-size: 0.73rem;
  color: rgba(230, 210, 181, 0.32);
  max-width: none;
}


/* =============================================
   TABLET — min-width: 600px
   ============================================= */
@media (min-width: 600px) {

  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero {
    padding: 72px 0 64px;
  }

  .hero__images {
    height: 360px;
    max-width: 500px;
    margin: 0 auto;
  }

  .info-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .info-card {
    padding: 32px 24px;
  }

  .about__img-frame {
    height: 340px;
  }

  .cs-img--top   { height: 240px; }
  .cs-img--bottom { height: 180px; margin-left: 24px; }

  .gallery__grid {
    gap: 14px;
  }

  .gallery__item {
    height: 160px;
  }

  .contact__card {
    padding: 36px 32px;
  }
}


/* =============================================
   DESKTOP — min-width: 900px
   ============================================= */
@media (min-width: 900px) {

  h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); }
  h2 { font-size: clamp(2rem, 3vw, 2.6rem); }

  /* HERO — side by side */
  .hero {
    padding: 90px 0 80px;
  }

  .hero__bg-shape--1 {
    width: 520px; height: 520px;
    top: -180px; right: -120px;
  }

  .hero__bg-shape--2 {
    width: 360px; height: 360px;
    bottom: -100px; left: -80px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    text-align: left;
  }

  .hero__text {
    flex: 1 1 420px;
  }

  .hero__para {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__buttons {
    justify-content: flex-start;
  }

  .hero__images {
    flex: 1 1 400px;
    height: 460px;
    max-width: none;
    margin: 0;
  }

  /* INFO STRIP */
  .info-strip {
    padding: 64px 0;
  }

  /* ABOUT — side by side */
  .about {
    padding: 88px 0;
  }

  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }

  .about__image-wrap {
    flex: 1 1 400px;
  }

  .about__img-frame {
    height: 440px;
  }

  .about__text {
    flex: 1 1 400px;
    text-align: left;
  }

  .about__text p {
    margin-left: 0;
    margin-right: 0;
  }

  /* CONTENT SECTIONS — side by side */
  .content-section {
    padding: 88px 0;
  }

  .content-section__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .content-section__inner--reverse {
    flex-direction: row-reverse;
  }

  .content-section__images {
    flex: 1 1 400px;
  }

  .cs-img--top   { height: 260px; }
  .cs-img--bottom { height: 190px; margin-left: 32px; }

  .content-section__text {
    flex: 1 1 400px;
    text-align: left;
  }

  .content-section__text p {
    margin-left: 0;
    margin-right: 0;
  }

  /* GALLERY */
  .gallery {
    padding: 88px 0;
  }

  .gallery__item {
    height: 220px;
  }

  /* CONTACT — side by side */
  .contact {
    padding: 88px 0;
  }

  .contact__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .contact__text {
    flex: 1 1 380px;
    text-align: left;
  }

  .contact__text p {
    margin-left: 0;
    margin-right: 0;
  }

  .contact__card {
    flex: 1 1 380px;
    padding: 40px 36px;
  }

  /* FOOTER */
  .footer {
    padding-top: 52px;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer__tagline {
    margin: 0;
  }

  .footer__links {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
  }
}
