/*
 Theme Name: Carbon Certification Child
 Theme URI: https://www.carboncertification.co.uk/
 Description: Child theme for Astra, tailored for the Carbon Certification EPC website.
 Author: Carbon Certification
 Author URI: https://www.carboncertification.co.uk/
 Template: astra
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Tags: accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
 Text Domain: carboncert
*/

/* Root brand colours */
:root {
  --carbon-navy: #1a2a5b; /* primary brand colour */
  --carbon-navy-light: #243976;
  --carbon-navy-dark: #111c3d;
  --carbon-accent: #00a680; /* optional secondary accent */
}

/* Basic typography */
body {
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;
}

/* Brand buttons */
.wp-block-button__link,
.button,
a.wp-block-button__link {
  background-color: var(--carbon-navy);
  color: #ffffff;
  border-radius: 4px;
  padding: 0.75em 1.5em;
  transition: background-color 0.2s ease-in-out;
}

.wp-block-button__link:hover,
.button:hover,
a.wp-block-button__link:hover {
  background-color: var(--carbon-navy-light);
  color: #ffffff;
  text-decoration: none;
}

/* Call‑to‑action banner helper */
.hero-banner {
  background: var(--carbon-navy) url('') center/cover no-repeat;
  color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-banner h1,
.hero-banner h2 {
  color: #ffffff;
  margin: 0.5em 0;
}

.hero-banner .wp-block-button__link {
  margin-top: 1.5rem;
}

