/* Ochaka theme base: fonts, typography, and utilities */
/* Google Fonts from THEME/ochaka-package/ochaka/fonts/fonts.css */
@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap");

/* Typography */
html, body {
  font-family: "Sora", "Afacad", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg-8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", sans-serif;
  color: #111;
  margin: 0 0 0.35em 0;
}

h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { line-height: 1.6; margin: 0 0 1rem 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Buttons (utility classes you can opt-in via className) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { filter: brightness(0.95); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: #111; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Cards */
.card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

/* Header bar look aligned with Ochaka */
.ochaka-appbar {
  background: var(--primary);
  color: var(--white);
}
.ochaka-appbar .brand { font-weight: 800; letter-spacing: .12rem; }

/* Subtle shadows and borders */
.hr-soft { height: 1px; background: var(--line); border: 0; }
.shadow-soft { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Badges */
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.badge-primary { background: var(--bg-10); color: var(--primary); }
.badge-dark { background: #111; color: #fff; }

/* Spacing utils */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }

/* Image helpers */
.img-cover { object-fit: cover; }

/* Form inputs */
.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  outline: none;
}
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--bg-10);
}
