/* ==========================================================================
   Macleay DA — public landing page (macleayda.com.au)
   Standalone stylesheet for the static marketing site. Deliberately separate
   from app/static/style.css (that one styles the internal, logged-in system
   on a different subdomain/deployment) but uses the SAME brand colour tokens
   below, copied from the brand guidelines, so the two sites match. If the
   brand palette ever changes, update both files.
   ========================================================================== */

:root {
    /* --- Brand palette (from Macleay DA brand guidelines) --- */
    --brand-primary:        #0092ca;  /* primary blue */
    --brand-primary-bright: #00b7fd;  /* bright blue  */
    --brand-primary-dark:   #006d97;  /* deep blue    */
    --brand-slate:          #393e46;  /* dark slate   */
    --brand-grey:           #505762;  /* neutral grey */
    --white:                #ffffff;

    --bg-page:    #f4f6f8;
    --bg-surface: var(--white);
    --text-body:  var(--brand-slate);
    --text-muted: var(--brand-grey);
    --border:     #cdd5db;

    --on-header:       rgba(255, 255, 255, 0.92);
    --on-header-muted: rgba(255, 255, 255, 0.72);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text-body);
    line-height: 1.5;
}

a {
    color: var(--brand-primary-dark);
}

/* --- Header ------------------------------------------------------------- */

.site-header {
    background: var(--brand-primary-dark);
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-logo {
    height: 42px;
    width: auto;
    display: block;
}

/* --- Buttons -------------------------------------------------------------
   One shared "make an enquiry" call-to-action style, used in the header,
   the hero, and the CTA band below. */

.btn {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--brand-primary-bright);
    color: #042c3f;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--brand-primary-dark);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--brand-primary-dark);
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
    max-width: 46rem;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.1rem;
    margin: 0 0 1rem;
    color: var(--brand-slate);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

/* --- Services grid --------------------------------------------------------- */

.services {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem 3.5rem;
}

.services h2 {
    text-align: center;
    color: var(--brand-slate);
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.service-card h3 {
    margin: 0 0 0.5rem;
    color: var(--brand-primary-dark);
    font-size: 1.05rem;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* --- CTA band --------------------------------------------------------------- */

.cta-band {
    background: var(--brand-primary);
    color: var(--white);
    text-align: center;
    padding: 3rem 1.5rem;
}

.cta-band h2 {
    margin: 0 0 0.5rem;
}

.cta-band p {
    margin: 0 0 1.5rem;
    color: var(--on-header);
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
    background: var(--brand-slate);
    color: var(--on-header-muted);
    padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-inner h4 {
    color: var(--on-header);
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-inner p, .footer-inner a {
    color: var(--on-header-muted);
    font-size: 0.9rem;
    margin: 0 0 0.3rem;
}

.footer-inner a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 64rem;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: var(--on-header-muted);
    text-align: center;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 800px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
}
