/* ============================================
   BONITA PUBLISHING — Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Nunito:wght@400;600;700;800;900&display=swap');

/* VARIABLES */
:root {
  --dark:        #1A1A2E;
  --coral:       #E8503A;
  --coral-dark:  #C73E2A;
  --teal:        #2ABDA0;
  --teal-dark:   #1A9D83;
  --yellow:      #FFD600;
  --cream:       #F5F0E8;
  --cream-mid:   #EDE8DF;
  --cream-dark:  #E0D9CE;
  --border:      #DDD5C5;
  --text:        #2C2820;
  --muted:       #7A6F63;
  --white:       #FFFFFF;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  background: var(--dark);
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  /* invert logo to white on dark nav */
  /*filter: brightness(0) invert(1);*/
}

.nav-logo-placeholder {
  width: 40px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  font-family: 'Nunito', sans-serif;
}

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--yellow);
  letter-spacing: 0.5px;
  line-height: 1;
}

.nav-wordmark .accent { color: var(--coral); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--yellow); }

.nav-back {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-back:hover { color: #fff; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.7rem 1.4rem;
  border-radius: 5px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

.btn-dark { background: var(--dark); color: var(--yellow); }
.btn-dark:hover { background: #2d2d4a; }

.btn-lg { padding: 0.9rem 2rem; font-size: 0.9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   TAGS / BADGES
   ============================================ */
.badge {
  display: inline-block;
  background: #FFF3F1;
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
}

.tag {
  display: inline-block;
  background: var(--cream-mid);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 0.5px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #111;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}
.site-footer a { color: var(--coral); text-decoration: none; }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-nav { padding: 0.9rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-wordmark { font-size: 1rem; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .nav-links { display: none; }
}
