/*
Theme Name:       Bookteria
Theme URI:        https://bookteria.com
Author:           Bookteria
Author URI:       https://bookteria.com
Description:      The official theme for the Bookteria ebook platform — Africa's #1 online bookstore. Pairs exclusively with the Bookteria plugin.
Version:          1.0.0
Requires at least: 6.0
Requires PHP:     8.1
License:          GPL v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      bookteria-theme
Tags:             custom-background, custom-logo, custom-menu, full-width-template, block-editor-styles
*/

/* ── Bookteria Theme — Design Tokens ─────────────────────── */
:root {
  /* Brand palette */
  --bt-ink:       #0A0A0F;
  --bt-ivory:     #F7F3EC;
  --bt-paper:     #EDE8DF;
  --bt-saffron:   #E8A020;
  --bt-saffron-lt:#FDF3DC;
  --bt-flame:     #D94F2B;
  --bt-emerald:   #1A6B47;
  --bt-cobalt:    #1E3A5F;
  --bt-dust:      #C8BFB0;
  --bt-muted:     #7A7060;
  --bt-rule:      #E4DDD4;

  /* Typography - Elegant Serif Fonts */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body:    'Merriweather', Georgia, serif;
  --font-ui:      'Crimson Text', Georgia, serif;
  --font-mono:    'Crimson Text', monospace;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Effects */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow-sm:  0 1px 4px rgba(10,10,15,0.08);
  --shadow-md:  0 4px 20px rgba(10,10,15,0.10);
  --shadow-lg:  0 12px 48px rgba(10,10,15,0.14);
  --shadow-xl:  0 24px 80px rgba(10,10,15,0.18);
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Import elegant fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

body {
  font-family: var(--font-body);
  color: var(--bt-ink);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.site-title,
.page-title,
.post-title,
.bt-book-title {
  font-family: var(--font-display);
  font-weight: 700;
}

button,
.button,
.btn,
input[type="button"],
input[type="submit"] {
  font-family: var(--font-ui);
}

