/* ══════════════════════════════════════
   AKIHI TALES — Base Styles
   Reset, typography, nav, footer,
   mobile menu, WhatsApp float button.
   ══════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream-light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ── TYPOGRAPHY UTILITIES ── */
.serif { font-family: var(--font-serif); }

.eyebrow {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: var(--space-xs);
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal-deep);
  line-height: 1.2;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--space-lg);
  background: var(--cream-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal-deep);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--cream);
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-mid); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--cream-light);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--space-lg);
  gap: var(--space-sm);
}
.mobile-menu a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ── FOOTER ── */
footer {
  background: var(--teal-dark);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.f-logo { font-family: var(--font-serif); font-size: 1.1rem; color: var(--cream); }
.f-logo span { color: var(--orange); }
.f-copy { font-size: 0.73rem; color: var(--blue-grey); margin-top: 0.2rem; }
.f-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.f-links a { font-size: 0.75rem; color: var(--blue-grey); transition: color 0.2s; }
.f-links a:hover { color: var(--cream); }

/* ── WHATSAPP FLOAT BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--wa-green);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  z-index: 200;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ── SECTION HELPERS ── */
.section { padding: var(--space-xl) var(--space-lg); }
.section.bg-blue   { background: var(--blue-light); }
.section.bg-cream  { background: var(--cream-light); }
.section.bg-dark   { background: var(--teal-deep); }
.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.view-all {
  font-size: 0.75rem;
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  white-space: nowrap;
}
.view-all:hover { color: var(--teal-mid); }

/* ── RESPONSIVE — BASE ── */
@media (max-width: 768px) {
  nav { padding: 0.85rem 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  .section { padding: 2.5rem 1.25rem; }
  .section.bg-blue { padding: 2.5rem 1.25rem; }

  footer { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.25rem; }
}
