/*
 Theme Name:   Bookkeeper's Desk Theme
 Theme URI:    https://bookkeepersdesk.servercompany.online
 Description:  Child theme for GeneratePress, customized for Bookkeeper's Desk
 Author:       Bookkeeper's Desk
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  bookkeepers-theme
*/

/* === Brand System === */
:root {
  --color-primary: #C9A9A1;
  --color-secondary: #A8B89E;
  --color-accent: #C5A55A;
  --color-neutral: #C4B5A6;
  --color-light: #FAF6F0;
  --color-dark: #2C2320;
  --color-white: #FFFFFF;
  --color-text: #3E3532;
  --color-muted: #8C7E78;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

/* === Base Typography === */
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1.0625rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.4; }

a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

/* === Component Styles === */

/* Primary Button - Muted Gold CTA */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #B09245;
  color: var(--color-text);
  text-decoration: none;
}

/* Secondary Button - Dusty Rose outline */
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

/* === Layout Containers === */

/* Section Container - centered with generous padding */
.section-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 24px;
}

/* Section Container XL - extra vertical breathing room */
.section-container-xl {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 100px 24px;
}

/* Narrow content column for readability */
.content-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* === Typography Components === */

/* Serif headline style */
.headline-serif {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* === Spacing Utilities === */

/* Section-level vertical spacing */
.section-gap {
  margin-bottom: 80px;
}

.section-gap-xl {
  margin-bottom: 100px;
}

/* Flex column with consistent stack gap */
.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Flex column with larger component gap */
.component-gap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* === Card Style === */

.card-brand {
  background-color: var(--color-white);
  border: 1px solid #E0D8D0;
  border-radius: 8px;
  padding: 32px;
}

/* === Responsive === */

@media (max-width: 768px) {
  .section-container {
    padding: 60px 20px;
  }

  .section-container-xl {
    padding: 72px 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }
}
