/* ==========================================================================
   Mini Miracles Family Child Care — Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-teal: #5BBFB5;
  --color-teal-dark: #3DA89D;
  --color-teal-light: #D4F1ED;
  --color-coral: #F4845F;
  --color-coral-light: #FDE0D6;
  --color-yellow: #F9D56E;
  --color-yellow-light: #FFF6D5;
  --color-cream: #FFF9F0;
  --color-white: #FFFFFF;
  --color-text: #3A3A3A;
  --color-text-light: #6B6B6B;
  --color-bg: #FFFDFB;

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-coral);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-text);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-teal-dark);
}

/* ---------- Decorative Background Shapes ---------- */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.12;
}

.bg-shape--1 {
  width: 500px;
  height: 500px;
  background: var(--color-teal);
  top: -160px;
  right: -180px;
}

.bg-shape--2 {
  width: 350px;
  height: 350px;
  background: var(--color-yellow);
  top: 50%;
  left: -140px;
}

.bg-shape--3 {
  width: 280px;
  height: 280px;
  background: var(--color-coral);
  bottom: 5%;
  right: -80px;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Top Bar / Language Selector ---------- */
.top-bar {
  background: var(--color-teal-dark);
  padding: 6px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: flex-end;
}

.lang-selector {
  display: flex;
  gap: 4px;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.lang-btn--active {
  background: var(--color-white);
  color: var(--color-teal-dark);
  border-color: var(--color-white);
}

/* ---------- Header ---------- */
.header {
  background: var(--color-white);
  padding: 16px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo-link {
  flex-shrink: 0;
}

.header__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-teal-light);
}

.header__title {
  font-size: clamp(1.1rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1.2;
}

.header__title-accent {
  display: block;
  font-weight: 600;
  font-size: 0.75em;
  color: var(--color-coral);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-teal-light) 0%, var(--color-cream) 50%, var(--color-yellow-light) 100%);
  padding: 72px 0 80px;
  text-align: center;
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero__heading {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-teal-dark);
  margin-bottom: 16px;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-light);
  margin-bottom: 32px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--color-coral);
  color: var(--color-white);
  border-color: var(--color-coral);
}

.btn--primary:hover {
  background: #e06e47;
  border-color: #e06e47;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 132, 95, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
}

.btn--outline:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 191, 181, 0.3);
}

/* ---------- Highlights / Cards ---------- */
.highlights {
  padding: 80px 0;
  background: var(--color-white);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--color-white);
}

.card:nth-child(1) .card__icon { background: var(--color-teal); }
.card:nth-child(2) .card__icon { background: var(--color-coral); }
.card:nth-child(3) .card__icon { background: var(--color-yellow); color: var(--color-text); }
.card:nth-child(4) .card__icon { background: var(--color-teal-dark); }

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.card__text {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ---------- Hours ---------- */
.hours {
  padding: 64px 0;
  background: var(--color-teal-light);
}

.hours__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}

.hours__icon {
  color: var(--color-teal-dark);
}

.hours__details .section-title {
  text-align: left;
}

.hours__schedule {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.hours__time {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-teal-dark);
}

/* ---------- Open House Teaser ---------- */
.open-house {
  padding: 56px 0;
  background: var(--color-yellow-light);
}

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

.open-house__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-text);
  margin-bottom: 16px;
}

.open-house__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}

.open-house__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-coral);
}

/* ---------- Coming Soon Banner ---------- */
.coming-soon {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal) 100%);
  color: var(--color-white);
}

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

.coming-soon__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-white);
}

.coming-soon__text {
  font-size: 1.05rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.social-link:hover {
  background: var(--color-white);
  color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Contact ---------- */
.contact {
  padding: 72px 0;
  background: var(--color-coral-light);
}

.contact__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact__info {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-top: 8px;
  margin-bottom: 16px;
}

.contact__cta {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-coral);
  background: var(--color-white);
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  text-align: center;
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header__logo {
    width: 52px;
    height: 52px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .highlights {
    padding: 56px 0;
  }

  .highlights__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
  }

  .hours__inner {
    flex-direction: column;
  }

  .hours__details .section-title {
    text-align: center;
  }

  .hours__schedule,
  .hours__time {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .bg-shape--1 {
    width: 280px;
    height: 280px;
  }

  .bg-shape--2 {
    width: 200px;
    height: 200px;
  }

  .bg-shape--3 {
    width: 160px;
    height: 160px;
  }
}

/* ---------- Print ---------- */
@media print {
  .bg-shape,
  .top-bar,
  .social-links {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
