/* theme.css — Pham Geomatics Solutions Inc.
   Colours are taken from the PHAMGEO logo (blue gradient). */
:root {
  --color-primary: #0b5a8e;
  --color-primary-dark: #083f63;
  --color-accent: #1f7bb8;
  --color-surface: #f1f6fa;
  --color-border: #d9e4ec;
  --color-footer-bg: #0b2537;
  --color-footer-text: #c3d3df;
  --hero-overlay: linear-gradient(180deg, rgba(5, 30, 50, .45) 0%, rgba(5, 30, 50, .72) 100%);
}

/* Show the logo exactly as the original image: no rounded corners. */
.brand img, .hero__logo { border-radius: 0; }
@media (max-width: 520px) { .brand__name { font-size: .9rem; max-width: 12rem; } }

/* Desktop: keep the top menu on ONE line.
   The menu labels are long, so the company name next to the logo is shown only
   on wide screens (the logo itself contains the name), and the menu spacing
   tightens on narrower desktop screens. */
@media (min-width: 901px) {
  .brand { flex: none; }
  .site-nav ul { flex-wrap: nowrap; }
}
@media (min-width: 901px) and (max-width: 1440px) { .brand__name { display: none; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav a { font-size: .86rem; padding-left: .45rem; padding-right: .45rem; }
}

/* Background images (kept here, not inline, so the CSP can forbid inline styles) */
.bg-header      { background-image: url("../img/header.jpg"); }
.bg-gps         { background-image: url("../img/gps-background.jpg"); background-position: center right; }
.bg-indoor      { background-image: url("../img/indoor-positioning.jpg"); }
.bg-avl         { background-image: url("../img/automatic-vehicle-location.jpg"); }
.bg-geomatics   { background-image: url("../img/geomatics-consulting.jpeg"); }
.bg-contact     { background-image: url("../img/contact.jpg"); }
