/* Hariir Family Childcare — site styles
   Tip: to change colors across the whole site, edit the values in the
   COLORS block just below. */
/* ============================================================
   COLORS — change the site colors here
   ============================================================ */
:root {
  --ink: #263975; /* dark blue: main text and buttons */
  --yellow: #f7cc46; /* hero background and accents */
  --paper: #fffdf7; /* page background */
  --blue: #293f87; /* contact section background */
  --red: #ab482f; /* highlighted words and labels */
  --line: #deddd5; /* thin divider lines */
}

/* ============================================================
   BASICS (page, text, links, icons)
   ============================================================ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 3px solid #b34c30;
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 40px;
}

/* ============================================================
   SAMPLE NOTICE BAR (top of page)
   ============================================================ */
.sample {
  background: var(--ink);
  color: white;
  text-align: center;
  font-size: 0.875rem;
  padding: 8px 20px;
}
.sample a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
  padding: 28px 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 43px;
  height: 43px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.6rem;
  transform: rotate(-6deg);
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  margin-top: 6px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.9375rem;
}
.nav-links > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--ink);
  color: white;
}
.button.primary:hover {
  background: #162755;
}
.button.secondary {
  background: transparent;
}
.button.secondary:hover {
  background: #ffffff78;
}
.nav .button {
  min-height: 44px;
  padding: 8px 18px;
}

/* ============================================================
   HERO (yellow welcome section)
   ============================================================ */
.hero {
  background: var(--yellow);
  border-radius: 26px;
  padding: 60px 48px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 22px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.eyebrow:before {
  content: "";
  width: 23px;
  height: 2px;
  background: currentColor;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}
h1 em {
  font-weight: 400;
  color: var(--red);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 340px;
  margin-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  font-size: 0.875rem !important;
  margin: 20px 0 0 !important;
  opacity: 0.85;
}
.photo-wrap {
  position: relative;
  padding: 9px;
  background: var(--paper);
  border-radius: 140px 140px 18px 18px;
  transform: rotate(2deg);
  box-shadow: 0 12px 28px #795d2420;
}
.photo-wrap img {
  width: 100%;
  height: 385px;
  object-fit: cover;
  display: block;
  border-radius: 132px 132px 10px 10px;
}
.photo-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px 9px;
  gap: 15px;
  font-size: 0.875rem;
}
.photo-caption span:first-child {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

/* ============================================================
   "OUR DAYS" SECTION (Play / Connect / Grow)
   ============================================================ */
.approach {
  padding: 74px 0 70px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}
.section-title h2 {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}
.section-title > p {
  max-width: 340px;
  font-size: 1rem;
  margin: 0;
  color: #57617d;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.value-label {
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--red);
}
.value h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.value p {
  color: #57617d;
  margin-bottom: 0;
  max-width: 290px;
}

/* ============================================================
   CONTACT SECTION (blue box)
   ============================================================ */
.contact {
  background: var(--blue);
  color: var(--paper);
  border-radius: 24px;
  padding: 45px 45px 42px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}
.contact h2 {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.contact-top p {
  margin: 0;
  max-width: 420px;
  color: #e2e7fb;
}
.contact-tag {
  border: 1px solid #ffffff55;
  border-radius: 50%;
  padding: 21px 14px;
  text-align: center;
  font-size: 0.875rem;
  transform: rotate(8deg);
  line-height: 1.5;
  flex-shrink: 0;
}
.contact-tag strong {
  color: var(--yellow);
  display: block;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
}
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-card {
  border: 1px solid #ffffff55;
  border-radius: 12px;
  padding: 22px;
  transition:
    background 0.2s,
    transform 0.2s;
  min-width: 0;
}
.contact-card:hover {
  background: #ffffff12;
  transform: translateY(-3px);
}
.contact-card:focus-visible {
  outline-color: var(--yellow);
}
.contact-card .card-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-card strong {
  display: block;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
  margin-bottom: 5px;
}
.contact-card small {
  display: block;
  font-size: 0.875rem;
  color: #dce4ff;
}
.sample-note {
  font-size: 0.875rem;
  color: #dce4ff;
  margin: 23px 0 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 0 32px;
  font-size: 0.875rem;
  color: #57617d;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   MOBILE QUICK-CONTACT BAR (phones only)
   ============================================================ */
.mobile-contact {
  display: none;
}

/* ============================================================
   RESPONSIVE: large screens, tablets (≤850px), phones (≤650px)
   ============================================================ */
@media (min-width: 1400px) {
  .hero {
    padding-top: 70px;
    padding-bottom: 60px;
  }
}
@media (max-width: 850px) {
  .wrap {
    padding: 0 24px;
  }
  .hero {
    padding: 38px 30px;
    gap: 25px;
  }
  h1 {
    font-size: 3.5rem;
  }
  .photo-wrap img {
    height: 340px;
  }
  .nav-links {
    gap: 18px;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }
  .contact {
    padding: 35px 28px;
  }
  .contact-card {
    padding: 18px;
  }
  .contact-card strong {
    font-size: 0.9375rem;
  }
}
@media (max-width: 650px) {
  .wrap {
    padding: 0 18px;
  }
  header {
    padding: 22px 0;
  }
  .nav-links > a:not(.button) {
    display: none;
  }
  .nav .button {
    padding: 8px 13px;
    font-size: 0.875rem;
  }
  .brand {
    gap: 9px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 25px 27px;
    border-radius: 20px;
    gap: 30px;
  }
  h1 {
    font-size: 3.5rem;
    max-width: 350px;
  }
  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.75rem;
  }
  .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
  }
  .photo-wrap {
    max-width: 410px;
    width: 100%;
    margin: auto;
    transform: rotate(1deg);
    border-radius: 100px 100px 15px 15px;
  }
  .photo-wrap img {
    height: 280px;
    border-radius: 93px 93px 8px 8px;
  }
  .hero-note {
    margin-top: 16px !important;
  }
  .approach {
    padding: 48px 6px;
  }
  .section-title {
    display: block;
    margin-bottom: 25px;
  }
  .section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .section-title > p {
    max-width: 100%;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .value {
    padding-top: 17px;
  }
  .value-label {
    margin-bottom: 10px;
  }
  .value p {
    max-width: 100%;
  }
  .contact {
    padding: 30px 23px;
  }
  .contact h2 {
    font-size: 2.4rem;
  }
  .contact-tag {
    display: none;
  }
  .contact-top {
    margin-bottom: 25px;
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .contact-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0 15px;
    padding: 18px;
  }
  .contact-card .card-icon {
    grid-row: 1/3;
    margin: 0;
  }
  .contact-card strong {
    font-size: 1rem;
  }
  .contact-card small {
    grid-column: 2;
  }
  .footer {
    padding: 25px 5px 96px;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-contact {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    z-index: 10;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 -4px 22px #2639750a;
  }
  .mobile-contact a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
  }
  .mobile-contact a:first-child {
    background: var(--ink);
    color: white;
  }
  .mobile-contact a:not(:first-child) {
    border: 1px solid var(--line);
  }
}

/* ============================================================
   REDUCED MOTION (for visitors who turn off animations)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}


/* ============================================================
   PHOTO SLIDESHOW
   ============================================================ */
.daycare-gallery {
  border-radius: 22px;
  transform: rotate(2deg);
}
.gallery-stage {
  height: 385px;
  position: relative;
  overflow: hidden;
  background: #eceff6;
  border-radius: 15px;
  touch-action: pan-y;
}
.photo-wrap .gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
}
.photo-wrap .gallery-image.is-active {
  opacity: 1;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 8px;
}
.gallery-controls button,
.gallery-pause {
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border: 0;
  background: transparent;
  min-height: 44px;
  border-radius: 6px;
  font-size: 0.875rem;
}
.gallery-controls > button {
  padding: 0 8px;
}
.gallery-controls > button:hover,
.gallery-pause:hover {
  background: #f1ead8;
}
.gallery-controls button:focus-visible,
.gallery-pause:focus-visible,
.daycare-gallery:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.gallery-dots {
  display: flex;
  justify-content: center;
}
.gallery-dot {
  width: 28px;
  padding: 0;
  display: grid;
  place-items: center;
}
.gallery-dot span {
  display: block;
  width: 7px;
  height: 7px;
  background: #adb3c3;
  border-radius: 50%;
}
.gallery-dot[aria-pressed="true"] span {
  background: var(--ink);
  width: 9px;
  height: 9px;
}
.gallery-pause {
  display: block;
  margin: 0 auto 4px;
  padding: 0 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PHOTO SLIDESHOW — tablet & phone sizes
   ============================================================ */
@media (max-width: 850px) {
  .gallery-stage {
    height: 340px;
  }
}
@media (max-width: 650px) {
  .daycare-gallery {
    border-radius: 20px !important;
  }
  .gallery-stage {
    height: 350px;
  }
  .gallery-controls {
    padding: 0;
  }
  .gallery-dot {
    width: 27px;
  }
  .gallery-controls > button {
    font-size: 0.8125rem;
    padding: 0 5px;
  }
}
