/* BuiltByRays theme – dark green + clean fonts */
/* Fonts live-linked from Google in each HTML file */
:root {
  --bg: #0b0f0e;           /* near-black background for sections if needed */
  --text: #1f2937;         /* slate-800 */
  --muted: #6b7280;        /* slate-500 */
  --surface: #ffffff;      /* white cards */

  /* Darker, richer greens */
  --green-400: #15986f;
  --green-500: #0f8a63;
  --green-600: #0e6b50;    /* main brand */
  --green-700: #0b5b43;
  --green-800: #0a4c38;

  --ring: rgba(14,107,80,.25);
  --radius: 10px;
}

/* Base Typography */
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #0f172a; /* slate-900 */
  letter-spacing: -.01em;
}

/* Links */
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-700); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.1rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: .2s ease-in-out;
}
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-outline { background: #fff; color: var(--green-700); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-600); color: #fff; }

/* Cards */
.card { background: var(--surface); border: 1px solid #e5e7eb; border-radius: var(--radius); box-shadow: 0 .5rem 1.2rem rgba(16,24,40,.06); }
.card.pad { padding: 1.25rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5e7eb; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.nav { display:flex; align-items:center; justify-content:space-between; height: 72px; }
.nav a { font-weight: 600; margin-left: 18px; color:#111827; }
.nav a:hover { color: var(--green-700); }
.brand { display:flex; align-items:center; gap: 10px; }
.brand img { height: 44px; width: auto; }

/* Hero */
.hero { min-height: 64vh; display:grid; align-items:center; }
.hero .content { padding: 4rem 0; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--green-600); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin:.5rem 0 1rem; }
.hero p { font-size: clamp(1rem, 2.6vw, 1.125rem); color:#374151; max-width: 62ch; }

/* Hero backgrounds (drop images in /public/brand/hero/) */
.hero-home {
  background: linear-gradient(rgba(8,15,13,.35), rgba(8,15,13,.35)),
              url('/brand/hero/hero-home.jpg') center/cover no-repeat;
}
.hero-about {
  background: linear-gradient(rgba(8,15,13,.35), rgba(8,15,13,.35)),
              url('/brand/hero/hero-about.jpg') center/cover no-repeat;
}
.hero-contact {
  background: linear-gradient(rgba(8,15,13,.35), rgba(8,15,13,.35)),
              url('/brand/hero/hero-contact.jpg') center/cover no-repeat;
}

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: #f8fafc; }
.grid { display:grid; gap: 1.25rem; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0b1a16; color: #e2e8f0; padding: 2.25rem 0; margin-top: 2rem; }
.site-footer a { color: #c7f3e4; }
.site-footer a:hover { color: #fff; }

/* Optional: override common Zoho/old classes if present */
.zpbutton,.zpbutton-wrapper { border-radius: var(--radius) !important; font-weight: 700 !important; }
.zpbutton-type-primary { background: var(--green-600) !important; border-color: var(--green-600) !important; color:#fff !important; }
.zpbutton-type-primary:hover { background: var(--green-700) !important; }
.zpbutton-type-secondary { color: var(--green-700) !important; border-color: var(--green-600) !important; }
.zpbutton-type-secondary:hover { background: var(--green-600) !important; color: #fff !important; }
