/* The Preschool Academy — homepage clone
   Colors sampled from the supplied reference screenshot. */

:root {
  --orange: #e38116;
  --pink: #a12767;
  --shield-pink: #e0257e;
  --welcome-bg: #091405;
  --registration-bg: #03161b;
  --teal-bg: #035772;
  --teal-text: #06222d;
  --footer-bg: #030f10;
  --cream-white: #f7f4ee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Quicksand', 'Trebuchet MS', sans-serif;
  background: var(--footer-bg);
  color: #ffffff;
  line-height: 1.5;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg,
    #1c4a69 0%,
    #33395c 22%,
    #4c3758 38%,
    #7a3f5c 55%,
    #ae824b 78%,
    #c8802e 100%);
  padding: 36px 0 22px;
  position: relative;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-mark {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

.site-title {
  margin-top: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 6px;
  color: var(--orange);
  text-align: center;
}

.site-subtitle {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--orange);
  text-align: center;
  opacity: 0.95;
}

.site-nav {
  width: 100%;
  max-width: 1100px;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  gap: 56px;
  list-style: none;
  flex: 1;
  justify-content: space-evenly;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(20, 12, 10, 0.82);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.social-icons svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
}

/* ---------- Welcome section ---------- */
.welcome-section {
  background: var(--welcome-bg);
  padding: 90px 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.welcome-heading {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: var(--orange);
}

.welcome-text {
  color: var(--pink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

/* ---------- Bubbles divider ---------- */
.bubbles-divider {
  background: var(--registration-bg);
  line-height: 0;
}

.bubbles-divider img {
  width: 100%;
  height: 56px;
  object-fit: cover;
}

/* ---------- Registration banner ---------- */
.registration-section {
  background: var(--registration-bg);
  padding: 90px 0 70px;
  text-align: center;
}

.registration-heading {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.35;
  color: #ffffff;
}

.registration-cta {
  margin-top: 46px;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  background: var(--registration-bg);
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--registration-bg);
}

/* ---------- Arts & crafts full-bleed illustration ---------- */
.arts-crafts-section {
  background: var(--registration-bg);
  padding: 70px 0 30px;
}

.arts-crafts-section img {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  height: auto;
}

/* ---------- Mission / teal section ---------- */
.mission-section {
  background: var(--teal-bg) url('../images/teal-pattern.svg');
  background-repeat: repeat;
  padding: 95px 0;
}

.mission-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--teal-text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.85;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  padding: 60px 0 50px;
  text-align: center;
}

.footer-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
}

.footer-address,
.footer-phone {
  margin-top: 10px;
  font-size: 15px;
  color: #d9dee0;
  font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .welcome-heading {
    font-size: 44px;
  }

  .site-nav {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icons {
    margin-left: 0;
  }

  .registration-heading {
    font-size: 32px;
  }

  .mission-text {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 22px;
  }

  .site-title {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .site-subtitle {
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 0 10px;
  }

  .welcome-heading {
    font-size: 36px;
  }

  .registration-heading {
    font-size: 26px;
  }
}
