/* Colt Energy website. One stylesheet for every page.
   The look copies the GoDaddy Website Builder site at coltenergy.com.au as it was on
   23 Nov 2026. Sizes, colors and breakpoints (768, 1024, 1280, 1536 px) are the values
   that site computed in Chromium.

   Fonts: Archivo Black (c) 2017 The Archivo Black Project Authors, and Montserrat
   (c) 2011 The Montserrat Project Authors. Both under the SIL Open Font License 1.1,
   https://openfontlicense.org. The files are the latin subsets the GoDaddy site used. */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --bg: #161616;
  --blue: #3b9ad5;
  --blue-light: #89c5f7;
  --blue-button-hover: #57b5f5;
  --heading: #f7f7f7;
  --body: #a4a4a4;
  --minor: #a9a9a9;
  --rule: #2a2a2a;
}
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding-top keeps a link target such as #contact clear of the sticky header. */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--body);
  background: var(--bg);
  font-family: "Montserrat", arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* The GoDaddy site balanced the last lines of its body text; the line breaks depend on it. */
.split-text p, .details p, main ul { text-wrap: pretty; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
p { margin: 0; }
ul { margin: 0 16px; padding: 0 0 0 1.3em; }
.container { width: 100%; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 20000;
  background: var(--blue); color: #000; padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; color: #000; }

/* Header. It stays at the top of the window; menu.js adds .is-stuck once the page has
   scrolled past it, which shrinks the logo. */
.site-header { position: sticky; top: 0; z-index: 10000; background: var(--bg); padding: 8px 24px; }
.site-header .container { display: flex; align-items: center; padding: 0; }
/* Below 1024 px the logo may take 70% of the row, and at most 224 px below 768 px. */
.brand { display: flex; max-width: 70%; padding: 0 8px; }
.brand img { display: block; width: auto; height: 80px; max-width: min(100%, 224px); object-fit: contain; }
.is-stuck .brand img { height: 50px; }
.nav-toggle, .nav-close {
  background: none; border: 0; border-radius: 0; margin: 0; padding: 0; color: var(--heading);
  font: inherit; cursor: pointer;
}
.nav-toggle, .nav-close { width: 40px; height: 40px; padding: 6px; }
.nav-toggle { margin-left: auto; }
.nav-toggle svg, .nav-close svg { display: block; width: 28px; height: 28px; fill: currentColor; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }

/* Below 1024 px the menu is a full-window drawer that slides in from the left.
   1023.98, not 1023: a zoomed window can be a fraction of a pixel under 1024 px wide. */
@media (max-width: 1023.98px) {
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10002; overflow-y: auto;
    padding: 56px 24px 0; background: var(--bg); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    transform: translateX(-100%); visibility: hidden;
  }
  /* menu.js adds .ready when the drawer opens and removes it when the window crosses
     1024 px. Without it the closed drawer would slide across a window that narrows. */
  .nav-menu.ready { transition: transform .3s ease-in-out, visibility 0s .3s; }
  .nav-menu.open { transform: none; visibility: visible; }
  .nav-menu.ready.open { transition: transform .3s ease-in-out; }
  .nav-close { position: absolute; top: 15px; right: 15px; }
  .nav-menu li:not(:last-child) { border-bottom: 1px solid rgba(76, 76, 76, .5); }
  .nav-menu a {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 24px;
    color: var(--heading); font-size: 22px; line-height: 27px;
  }
  .nav-menu a:hover { color: var(--blue); }
  .nav-menu a[aria-current="page"] { font-weight: 700; }
  html.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-menu.ready, .nav-menu.ready.open { transition: none; }
}

/* Home page: the solar farm photo, darkened by 20%, with the welcome line centered. */
.hero {
  display: flex; align-items: center; justify-content: center; min-height: 500px;
  background-color: #000;
  background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("../img/hero.jpg");
  background-position: 50% 50%; background-size: auto, cover; background-repeat: no-repeat;
}
@media (max-width: 450px) and (max-resolution: 1.5dppx) {
  .hero { background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("../img/hero-450.jpg"); }
}
.hero .container { text-align: center; }
.hero h1 {
  margin: 0; padding-bottom: 8px; color: #fff; font-family: "Archivo Black", arial, sans-serif;
  font-size: 35px; font-weight: 400; line-height: 1.2; text-transform: uppercase;
}

/* Sections, headings and text. */
.section { padding: 40px 0; }
.section-title {
  margin: 0 0 40px; color: var(--blue); font-family: "Archivo Black", arial, sans-serif;
  font-size: 28px; font-weight: 400; line-height: 1.4; text-align: center; text-transform: uppercase;
}
.minor-title { margin: 0 0 24px; color: var(--heading); font-size: 22px; font-weight: 400; line-height: 1.25; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; max-width: 100%;
  padding: 8px 32px; border: 0; border-radius: 0; background: var(--blue); color: #000; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 1px; line-height: normal;
  text-transform: uppercase;
}
.button:hover { background: var(--blue-button-hover); color: #000; }
.button:disabled { cursor: default; }

/* About Us: text on the left half, photo on the right half. Stacked below 1024 px,
   photo first. */
.split { display: flex; flex-direction: column; }
.split-image {
  order: -1; min-height: 300px;
  background: url("../img/about-767.jpg") 50% 50% / cover no-repeat;
}
.split-text { padding: 40px 24px; }
.split-text p { margin-bottom: 40px; }
/* One empty line follows the list, as on the GoDaddy page. */
.split-text ul { margin-bottom: 1.5em; }

/* Services: three cards, each a round photo, a heading and a list. */
.cards { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -12px -24px; }
.card { display: flex; flex-direction: column; align-items: center; flex: 0 0 100%; max-width: 100%; padding: 0 12px 24px; }
.card img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 24px; border-radius: 50%; object-fit: cover; }
.card .minor-title { text-align: center; }
.card ul { align-self: stretch; }

/* Contact Us: the form, then the company details, in one centered column. The form is
   the Sundial site's form (labels above white fields, a two-column grid, a round
   Submit button) in this site's colors. It is not the GoDaddy form. */
.narrow { margin: 0 auto; text-align: center; }
#contact-form { text-align: left; }
.small { font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; margin-bottom: 5px; color: var(--heading); font-weight: 700; }
.field {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8a97a5; border-radius: 6px;
  background: #fff; color: #1d2733; font: inherit;
}
textarea.field { min-height: 160px; resize: vertical; }
.field:focus { outline: 3px solid var(--blue-light); outline-offset: 1px; border-color: var(--blue); }
.submit {
  margin-top: 8px; padding: 14px 32px; border: 0; border-radius: 999px; background: var(--blue); color: #000;
  font: inherit; font-weight: 700; cursor: pointer;
}
.submit:hover { background: var(--blue-button-hover); }
.submit:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; }
.cf-turnstile { margin: 16px 0; }
#form-note { min-height: 1.6em; margin-top: 16px; }
/* Confirmation without JavaScript: the Worker redirects to /contact-us#enquiry-received. */
#enquiry-received { display: none; margin-top: 16px; }
#enquiry-received:target { display: block; }
.details { padding-top: 40px; }
.details p { margin-bottom: 24px; }

/* Footer. */
.site-footer { padding: 40px 0; text-align: center; }
.site-footer p { margin-bottom: 24px; color: var(--minor); font-size: 14px; }
.site-footer hr { width: 50px; margin: 0 auto 24px; border: 0; border-bottom: 1px solid var(--rule); }

@media (min-width: 768px) {
  .brand img { max-width: 100%; }
  .hero h1 { font-size: 42px; }
  .section, .site-footer { padding: 56px 0; }
  .section-title { font-size: 33px; }
  .split-image { background-image: url("../img/about.jpg"); }
  .split-text { padding: 56px 24px; }
  .cards { margin: 0 -24px -48px; }
  .card { flex-basis: 50%; max-width: 50%; padding: 0 24px 48px; }
  .narrow { width: calc((100% + 48px) * 5 / 6 - 48px); }
  .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .container { width: 984px; }
  .site-header { padding: 16px 0; }
  .site-header .container { padding: 0 24px; }
  .brand { max-width: none; padding: 0; }
  .is-stuck .brand img { height: 64px; }
  .nav-toggle, .nav-close { display: none; }
  .nav-menu { margin-left: auto; padding-top: 5px; }
  .nav-menu ul { display: flex; }
  .nav-menu li { position: relative; line-height: 24px; }
  .nav-menu > ul > li + li { padding-left: 32px; }
  .nav-menu a { color: var(--heading); font-size: 16px; line-height: 24px; text-transform: uppercase; }
  .nav-menu a { display: inline-block; margin: -6px; padding: 6px; }
  .nav-menu a:hover { color: var(--blue-light); }
  .nav-menu a[aria-current="page"] {
    margin: 0 0 -3px; padding: 0 0 2px; border-bottom: 1px solid; color: var(--blue); font-weight: 700;
  }
  .hero { min-height: 75vh; background-attachment: fixed; }
  .hero .container { padding: 56px 24px 72px; }
  .hero h1 { margin-top: 16px; }
  .split { flex-direction: row; min-height: 270px; }
  .split > * { flex: 0 0 50%; max-width: 50%; }
  .split-image { order: 0; min-height: 270px; }
  .split-text { display: flex; justify-content: center; padding: 0; }
  .split-inner { width: 70%; padding: 56px 24px; }
  .split .section-title { text-align: left; }
  .card { flex-basis: 33.3333%; max-width: 33.3333%; }
  .narrow { width: calc((100% + 48px) * 2 / 3 - 48px); }
}

@media (min-width: 1280px) {
  .container { width: 1160px; }
  .hero h1 { font-size: 54px; }
  .section-title { font-size: 39px; }
}

@media (min-width: 1536px) {
  body { font-size: 18px; }
  .container { width: 1280px; }
  .nav-menu a { font-size: 18px; }
  .hero h1 { font-size: 56px; }
  .section-title { font-size: 42px; }
  .minor-title { font-size: 24px; }
  .button, .site-footer p { font-size: 16px; }
}
