/* test-site/css/style.css */
/* ==========================================================================
   Brightleaf Co. — generic demo site stylesheet
   Built as placeholder content for testing an HTML import function.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f8;
  --color-text: #232629;
  --color-text-muted: #5a6169;
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-accent: #d97706;
  --color-border: #dfe3e6;
  --max-width: 1100px;
  --radius: 8px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */
header.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.site-logo span {
  color: var(--color-accent);
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--color-text);
  font-weight: 500;
}

nav.site-nav a.active,
nav.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 24px;
  color: #eaf3ee;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
}

.btn:hover {
  background: #b45f04;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

/* Sections */
main {
  padding: 48px 0;
}

section + section {
  margin-top: 48px;
}

h1, h2, h3 {
  color: var(--color-primary-dark);
  line-height: 1.25;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 0;
  margin-bottom: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin-top: 0;
}

blockquote {
  border-left: 4px solid var(--color-accent);
  margin: 24px 0;
  padding: 8px 20px;
  color: var(--color-text-muted);
  font-style: italic;
  background: var(--color-bg-alt);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 8px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
}

th {
  background: var(--color-bg-alt);
}

tr:nth-child(even) td {
  background: #fafbfc;
}

form {
  max-width: 560px;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input, textarea, select {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

figure {
  margin: 0 0 16px;
}

figcaption {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

code {
  background: var(--color-bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  background: #1b1f23;
  color: #e6e6e6;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.tag-list {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  flex-wrap: wrap;
}

.tag-list li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.post-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.post-list article {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.post-list h2 {
  margin-bottom: 4px;
}

/* Footer */
footer.site-footer {
  background: var(--color-primary-dark);
  color: #d8e6de;
  padding: 40px 0 24px;
  margin-top: 60px;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

footer.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer a {
  color: #d8e6de;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #a9c2b4;
}



/* wp-ai-site-deployer: force-visible override — see concatenateCss() */
[class*="reveal"], [class*="aos-init"], [class*="fade-in"], [class*="fadeIn"],
[class*="animate-on-scroll"], [class*="scroll-reveal"] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
