/*
Theme Name: Gershom
Theme URI: https://meetgershom.com
Author: Gershom (Guerschom Tambwe)
Author URI: https://meetgershom.com
Description: A clean, professional WordPress theme for Gershom. Positioned for business editing and editorial partnerships. Gutenberg-compatible with warm teal palette and content-forward typography.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gershom
Tags: one-column, custom-menu, editor-style, block-styles, wide-blocks
*/

:root {
  --g-background: hsl(40, 25%, 97%);
  --g-foreground: hsl(220, 15%, 18%);
  --g-card: hsl(40, 20%, 99%);
  --g-card-foreground: hsl(220, 15%, 18%);
  --g-primary: hsl(192, 35%, 32%);
  --g-primary-foreground: hsl(0, 0%, 100%);
  --g-secondary: hsl(40, 15%, 93%);
  --g-secondary-foreground: hsl(220, 15%, 18%);
  --g-muted: hsl(40, 12%, 93%);
  --g-muted-foreground: hsl(220, 10%, 46%);
  --g-accent: hsl(28, 55%, 52%);
  --g-accent-foreground: hsl(0, 0%, 100%);
  --g-border: hsl(40, 12%, 88%);
  --g-ring: hsl(192, 35%, 32%);
  --g-radius: 0.625rem;
  --g-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --g-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--g-background);
  color: var(--g-foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

.g-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.g-container-narrow { max-width: 48rem; margin: 0 auto; }

.g-site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--g-border);
  background-color: hsla(40, 25%, 97%, 0.9);
  backdrop-filter: blur(12px);
}
.g-site-header nav {
  max-width: 1200px; margin: 0 auto;
  display: flex !important; flex-direction: row !important;
  align-items: center !important; justify-content: space-between !important;
  padding: 1rem 1.5rem;
}
.g-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em;
  color: var(--g-foreground);
}
ul.g-nav-links {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; gap: 0.25rem !important;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.g-nav-links li { display: block !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.g-nav-links li a {
  display: block; padding: 0.5rem 1rem; border-radius: var(--g-radius);
  font-size: 0.875rem; font-weight: 500; color: var(--g-muted-foreground);
  transition: all 150ms;
}
.g-nav-links li a:hover { background-color: var(--g-muted); color: var(--g-foreground); }
.g-nav-links .current-menu-item > a, .g-nav-links .current_page_item > a {
  background-color: hsl(192, 35%, 32%, 0.1); color: var(--g-primary);
}

.g-hero { background: linear-gradient(to bottom, hsl(192, 35%, 32%, 0.06), transparent); }
.g-hero-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem 3.5rem; }
.g-label {
  margin-bottom: 1rem; font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: hsl(192, 35%, 32%, 0.8);
}
.g-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.025em; color: var(--g-foreground);
}
.g-subtitle {
  margin-top: 1.5rem; max-width: 42rem;
  font-size: 1.125rem; line-height: 1.7; color: var(--g-muted-foreground);
}
.g-btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.g-section { padding: 5rem 0; }
.g-section-alt { background-color: hsl(40, 15%, 93%, 0.5); }
.g-section-label {
  margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: hsl(192, 35%, 32%, 0.7);
}
.g-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700;
  letter-spacing: -0.025em; color: var(--g-foreground);
}
.g-section-desc { margin-top: 1rem; max-width: 42rem; color: var(--g-muted-foreground); }
.g-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .g-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.g-card {
  border: 1px solid hsl(40, 12%, 88%, 0.7);
  background-color: var(--g-card); border-radius: var(--g-radius);
  padding: 1.5rem; box-shadow: var(--g-shadow-sm); transition: all 250ms;
}
.g-card:hover { border-color: hsl(192, 35%, 32%, 0.3); box-shadow: var(--g-shadow-md); }
.g-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem; font-weight: 600; color: var(--g-foreground); margin-bottom: 0.5rem;
}
.g-card p { font-size: 0.875rem; line-height: 1.7; color: var(--g-muted-foreground); }

.g-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.75rem 1.5rem; border-radius: var(--g-radius);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all 150ms; border: none; line-height: 1.4;
}
.g-btn-primary { background-color: var(--g-primary); color: var(--g-primary-foreground); }
.g-btn-primary:hover { opacity: 0.9; }
.g-btn-outline { background-color: transparent; color: var(--g-foreground); border: 1px solid var(--g-border); }
.g-btn-outline:hover { background-color: var(--g-muted); }

.g-site-footer {
  border-top: 1px solid var(--g-border);
  background-color: hsl(40, 15%, 93%, 0.5); padding: 3rem 1.5rem;
}
.g-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
@media (min-width: 768px) {
  .g-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.g-tagline { font-size: 0.875rem; color: var(--g-muted-foreground); }
.g-footer-links { display: flex; gap: 1.5rem; }
.g-footer-links a { font-size: 0.875rem; color: var(--g-muted-foreground); transition: color 150ms; }
.g-footer-links a:hover { color: var(--g-foreground); }
.g-copyright { font-size: 0.75rem; color: var(--g-muted-foreground); }
