/* Kidz That Cook — simple, friendly base styles */

:root {
  --orange: #ff6b35;
  --teal: #2ec4b6;
  --cream: #fff6e5;
  --ink: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --line: #f1f1f1;
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header + Nav */
.site-header {
  position: static; 
  background: white;
  border-bottom: 4px solid #ffcc70;
}


.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  height: 120px;
  width: auto;
  display: block;
}

.brand-name { font-size: 1.1rem; }

.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 5;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.nav-link:hover { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover { filter: brightness(0.98); }

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: #e5e7eb;
}

.btn-secondary:hover { border-color: #d1d5db; }

@media (max-width: 820px) {
  .main-nav { display: none; } /* we can add a mobile menu later */
}

.site-footer {
  background: #0B3C5D;
  color: white;
  border-top: 4px solid #FFCC70;
  margin-top: 40px;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
  padding: 40px 0;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: 10px 0;
}

.site-footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 300;   /* 👈 lighter than headings */
}


.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.site-footer .micro {
  color: rgba(255,255,255,0.75);
}

.social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 14px 0;
  text-align: center;
}

.copyright {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.mission {
  padding: 100px 0 80px; /* more space above than below */
  background: #fff;
}


.mission-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 36px;
  background: var(--cream);
  border-radius: 0;
  border: 2px solid #ffe2b8;
  border-left: 6px solid var(--orange);
}

.mission-heading {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}


.mission-text {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}


.mission-text strong {
  font-weight: 700;
  color: var(--orange);
}


.mission-signoff {
  margin-top: 32px;
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

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

.footer-social img {
  width: 26px;
  height: 26px;
  filter: invert(1); /* makes black SVGs white */
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-social a:hover img {
  filter: invert(48%) sepia(96%) saturate(350%) hue-rotate(355deg);
}

.page {
  padding: 100px 0 80px;
}

.page h1 {
  margin-top: 0;
}

/* Gate page – minimal */
.gate {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.gate-inner {
  text-align: center;
}

.gate-logo {
  height: 160px;
  max-width: 90%;
  width: auto;
  display: block;
  margin: 0 auto 14px;   
}

.gate-text {
  margin: 0 auto 14px;   
  max-width: 46ch;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}


.gate-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.gate-input {
  width: 220px;           /* short input */
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
}

.gate-btn {
  padding: 10px 16px;
}

.gate-msg {
  margin-top: 14px;
  min-height: 1.2em;
  font-size: 0.95rem;
  color: var(--muted);
}

.gate-form-wrap {
  display: inline-block;   /* shrink-wrap to form width */
}

.gate-alert {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.gate-alert.error {
  background: #fde2e2;  /* soft pink */
  color: #991b1b;
}

.gate-alert.success {
  background: #dcfce7;  /* soft green */
  color: #166534;
}

.gate-alert a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}



