@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&family=Nunito+Sans:wght@400;600&display=swap');

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

:root {
  --cream: #FFF8EE;
  --cream-dark: #F5ECD9;
  --coral: #E8734A;
  --coral-light: #F4956F;
  --yellow: #FFCF56;
  --green: #7DC87A;
  --brown: #3D2B1F;
  --brown-mid: #7A6055;
  --brown-light: #C4A882;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--brown);
  font-family: 'Nunito Sans', sans-serif;
  min-height: 100vh;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 48px;
  background: var(--cream);
  border-bottom: 2px solid var(--yellow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: start;
}

.nav-social {
  justify-self: center;
  text-decoration: none;
  color: var(--coral);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-social:hover { color: var(--brown); text-decoration: underline; }

.nav-brand img { height: 44px; width: auto; }

.nav-brand span {
  font-family: 'Fredoka One', cursive;
  font-size: 1.35rem;
  color: var(--brown);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-self: end;
}

nav ul a {
  text-decoration: none;
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

nav ul a.active {
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  justify-self: end;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  cursor: pointer;
  padding: 6px 8px;
}

/* Instagram link duplicated into the mobile dropdown — desktop already
   shows it in the nav bar itself (.nav-social), so this stays hidden
   until the mobile menu takes over. */
.nav-social-item { display: none; }

/* FOOTER */
footer {
  background: var(--brown);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--brown-light);
  text-align: center;
  padding: 36px 24px;
  font-size: 0.88rem;
}

footer strong {
  font-family: 'Fredoka One', cursive;
  color: var(--white);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

footer .social {
  margin-top: 10px;
}

footer .social a {
  color: var(--brown-light);
  text-decoration: none;
  font-weight: 600;
}

footer .social a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-social { display: none; }

  nav { grid-template-columns: 1fr auto; }

  .nav-toggle { display: block; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--yellow);
    padding: 8px 24px 16px;
  }

  nav ul.open { display: flex; }

  nav ul a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  }

  nav ul a.active { border-bottom-color: var(--coral); }

  .nav-social-item {
    display: block;
    margin-top: 4px;
  }

  .nav-social-item a {
    color: var(--coral);
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  nav ul { gap: 20px; }
}
