/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Century Gothic', CenturyGothic, AppleGothic, 'Trebuchet MS', sans-serif;
  color: #333333; /* Dark grey */
  background-color: #f9f9f9; /* Soft off-white background */
  line-height: 1.6; /* Improve readability */
}



/* === Logo image === */
.brand-full {
  height: auto;
  max-height: 52px;        /* standard desktop size */
  width: auto;
  display: block;
  flex-shrink: 0;
  background-color: transparent;
  transition: filter 0.25s ease;
}

/* Hover polish (optional) */
.brand-full:hover {
  filter: brightness(1.05);
}

/* Large monitors */
@media (min-width: 1600px) {
  .brand-full {
    max-height: 64px;      /* upscale slightly */
  }
}

/* Laptops / tablets */
@media (max-width: 1024px) {
  .brand-full {
    max-height: 48px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .brand-full {
    max-height: 44px;
  }
}




/* === Other CSS === */

p {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}

/* Lists inside content */
.content ul,
.content ol {
  list-style-position: outside;   /* keep classic bullet gutter */
  padding-left: 1.4em;            /* indent so bullets sit within content body */
  margin: 1em 0;                  /* vertical spacing like paragraphs */
}

.content li {
  margin: 0.35em 0;               /* breathing room between items */
}

/* Background image */
.background-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Content below the image */
.content {
  padding: 20px 20px;
  max-width: 800px;
  margin: 30px auto 30px auto;
}

.spacer {
  height: 1500px;
}

/* Glass Navigation Bar */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  all: unset;
  font-size: 18pt;
  font-weight: 300;
  text-decoration: none;
  color: #444444;
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'Trebuchet MS', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #000;
}

/* Hamburger menu (hidden on desktop) */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000000;
  /* Added margin-right for mobile (will be overridden on desktop) */
  margin-right: 0;
}

/* Checkbox toggle (hidden) */
#menu-toggle {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1rem;  /* Reduced padding on smaller screens */
    max-width: 100%;     /* Full width so no horizontal overflow */
  }

  .menu-icon {
    display: block;
    margin-right: 0.5rem; /* Small margin to keep icon from touching screen edge */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    flex-direction: column;
    align-items: center;

    /* IMPORTANT: no height cap / clipping */
    display: none; /* closed by default */
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .nav-links li {
    padding: 1rem 0;
  }
}


/* === Feature Image Padding Control === */
@media (max-width: 768px) {
  .page-feature-image {
    padding-top: 80px;
  }
}



/* === Heading Styles === */

h1 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 0.5em;
  margin-bottom: 1em;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

h2 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.2em;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #555;
  padding: 0;
  margin: 0.3em 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›"; /* right arrow separator */
  margin: 0 0.5rem;
  color: #999;
  font-weight: 600;
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff; /* nice blue link color */
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #333;
  font-weight: 600;
  cursor: default;
}



/* === Summary Tables === */

/* Base table styling */
.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table td {
  padding: 10px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.summary-table td:first-child {
  font-weight: bold;
  width: 60%;
}

/* Mobile-friendly stacking */
@media (max-width: 600px) {
  .summary-table,
  .summary-table tbody,
  .summary-table tr,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-table tr {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px;
  }

  .summary-table td {
    border: none;
    padding: 6px 0;
  }

  .summary-table td:first-child {
    font-weight: bold;
    color: #333;
  }

  .summary-table td:last-child {
    margin-left: 0;
    color: #555;
  }
}

    .checklist {
      list-style: none;
      padding: 0;
      margin: 0 0 20px 0;
    }
    .checklist li {
      margin-bottom: 10px;
      position: relative;
      padding-left: 28px;
      line-height: 1.5;
    }
    .checklist li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 16px;
      height: 16px;
      border: 2px solid #666;
      border-radius: 3px;
    }


/* === Article 4x4 Panel (non-interactive, hover zoom only) === */
.article4x4-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px; /* wider than .content */
  margin: 0 auto;
}

.article4x4-item {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 160ms ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  background: #fff;
  cursor: default; /* makes clear it's not clickable */
}

.article4x4-media {
  aspect-ratio: 2 / 3;  /* consistent vertical shape */
  overflow: hidden;
  display: block;
  user-select: none;
}

.article4x4-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 200ms ease;
}

/* Hover effects */
.article4x4-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article4x4-item:hover .article4x4-media img {
  transform: scale(1.03);
}

/* Caption */
.article4x4-caption {
  background: #fff;
  padding: 12px 12px 14px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Responsive stacking */
@media (max-width: 700px) {
  .article4x4-grid {
    grid-template-columns: 1fr;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .article4x4-item,
  .article4x4-media img {
    transition: none !important;
  }
}

.article4x4-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.article4x4-link:hover {
  text-decoration: none;
}




/* === Info Circles === */

/* Headings keep their default block behavior (full-width underline on h2) */
h1.has-info,
h2.has-info {
  display: block;
  position: relative;
}

/* Inline wrapper lays out heading text + badge on one line */
.has-info .heading-wrap {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: nowrap;
}

/* Match your heading line-heights (from your existing h1/h2 rules) */
h1.has-info { --heading-lh: 1.2; } /* h1 { line-height: 1.2; } */
h2.has-info { --heading-lh: 1.3; } /* h2 { line-height: 1.3; } */

/* Badge scale factors (tweak if desired) */
h1.has-info { --badge-scale: 2; }
h2.has-info { --badge-scale: 1.8; }

/* Circle: size tied to heading line-height (fallback uses em × lh factor) */
.has-info .info-circle {
  width: calc(var(--badge-scale) * 1em * var(--heading-lh));
  height: calc(var(--badge-scale) * 1em * var(--heading-lh));
  border-radius: 50%;
  background: #FFD84D;
  display: inline-grid;
  place-items: center;
  padding: .2em;
  overflow: hidden;
  flex: 0 0 auto;
  vertical-align: middle;

  /* container queries let inner text scale with circle size */
  container-type: size;
  text-align: center;
  line-height: 1; /* for the circle box itself */
}

/* Prefer precise 'lh' sizing where supported */
@supports (width: 1lh) {
  .has-info .info-circle {
    width: calc(var(--badge-scale) * 1lh);
    height: calc(var(--badge-scale) * 1lh);
  }
}

/* Inner text scales independently of heading font-size */
.has-info .info-circle > .info-text {
  font-weight: 700;
  line-height: 1.05;
  white-space: normal;
  text-wrap: balance;
  text-align: center;
  font-size: clamp(.65rem, 3cqi, .9rem); /* responsive to circle size */
  max-width: 80%;
}

/* Dark mode tweak */
@media (prefers-color-scheme: dark) {
  .info-circle { background: #FFD041; }
}




/* Back to Top */
  html { scroll-behavior: smooth; }
  .back-to-top{
    position: fixed; right: 24px; bottom: 24px;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 999px;
    background: rgba(0,0,0,0.6); color: #fff; text-decoration: none;
    font: 500 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .back-to-top .arrow{
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: rgba(255,255,255,0.9); color: #111;
    font-size: 18px; line-height: 1;
  }
  .back-to-top .label{ white-space: nowrap; }
  .back-to-top.show{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .back-to-top:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    .back-to-top{ transition: none; }
  }



/* Suburb match tiles */

  /* Container becomes a responsive grid */
  .suburb-paragraphs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;              /* space between tiles */
    margin: 2em 0;
  }

  /* 2 columns on wider screens (you can bump to 3 if you like) */
  @media (min-width: 768px) {
    .suburb-paragraphs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  /* Keep paragraph wrappers neutral (we're styling the <a>) */
  .suburb-paragraphs p {
    margin: 0;
  }

  /* Make each link look like a clickable card */
  .suburb-paragraphs a {
    display: block;
    padding: 10px 12px;
    border: 1px solid #dddddd;           /* light grey border */
    border-radius: 12px;
    background: #ffffff;
    color: #222222;
    text-decoration: none;

    /* smooth micro-interactions */
    transition:
      border-color 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.05s ease;
  }

  /* Hover state: subtle lift + slightly darker border */
  .suburb-paragraphs a:hover {
    border-color: #B7E0F5;           /* pale sky blue border */
    background-color: #F7FBFF;       /* ultra-light sky blue fill */
    box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
  }

  /* Keyboard focus ring for accessibility */
  .suburb-paragraphs a:focus-visible {
    outline: 2px solid #87CEEB;      /* your existing sky blue accent */
    outline-offset: 2px;
  }

  /* Active (pressed) state: remove the lift */
  .suburb-paragraphs a:active {
    transform: translateY(0);
    box-shadow: none;
  }




/* === Global Nav Search === */

/* <li> that holds the search form */
.nav-search-item {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

/* Form layout */
.nav-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Accessible hidden label */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Search input – desktop base */
.nav-search-form input[type="search"] {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.9);
  color: #222;
  font-size: 0.9rem;
  width: 170px; /* base desktop width */
  outline: none;
  transition:
    width 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-search-form input[type="search"]::placeholder {
  color: #777;
}

/* Focus styling (colour / glow) – width animation is added via media query. */
.nav-search-form input[type="search"]:focus {
  background: #ffffff;
  border-color: #87CEEB;
  box-shadow: 0 0 0 2px rgba(135,206,235,0.25);
}

/* Search button: glassy circular button, PNG-ready for icon */
.nav-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.85);
  cursor: pointer;

  background-image: url("https://goldcoast.properties/design/search_glass.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.nav-search-button:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.nav-search-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nav-search-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Desktop behaviour: keep nav neat, animate width on focus */
@media (min-width: 769px) {
  .nav-links {
    align-items: center;
  }

  .nav-search-form input[type="search"]:focus {
    width: 220px;  /* smooth expansion on focus */
  }
}

/* Mobile: search bar behaves nicely inside dropdown menu */
@media (max-width: 768px) {
  .nav-search-item {
    width: 100%;
    margin-left: 0;
    padding: 0.75rem 1rem 1rem;
    box-sizing: border-box;
    justify-content: center;
  }

  .nav-search-form {
    width: 100%;
    justify-content: center;
  }

  .nav-search-form input[type="search"] {
    width: 100%;
  }
}





/* Tabs container */
.suburb-tabs {
  margin-top: 18px;
}

/* Tab list */
.suburb-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid rgba(0, 120, 180, 0.18);
  padding-bottom: 2px;
}

/* Individual tab button – flat, modern, glassy */
.suburb-tab {
  position: relative;
  border: 1px solid transparent;
  border-bottom: none;
  background: rgba(170, 215, 245, 0.35); /* soft sky-blue glass */
  color: #084563;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow: none;          /* no 3D */
  backdrop-filter: blur(6px); /* subtle glass effect where supported */
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

/* Hover – just a slightly stronger fill, still flat */
.suburb-tab:hover {
  background: rgba(170, 215, 245, 0.55);
  border-color: rgba(0, 120, 180, 0.25);
}

/* Active tab – flat, connected to panel with clean edge */
.suburb-tab.is-active {
  background: #ffffff;
  color: #006799;
  border-color: rgba(0, 120, 180, 0.35);
  border-bottom-color: #ffffff; /* visually joins with the panel */
  box-shadow: none;             /* stay completely flat */
  z-index: 2;
}

/* Panels container */
.suburb-tab-panels {
  padding-top: 0;
  border-radius: 0 12px 12px 12px;
  border: 1px solid rgba(0, 120, 180, 0.18);
  border-top: none;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* very soft, not 3D */
}

/* Tab panels */
.suburb-tab-panel {
  display: none;
  padding: 16px 18px 18px;
}

.suburb-tab-panel.is-active {
  display: block;
}

/* Map embed wrapper */
.suburb-map-embed {
  margin-top: 10px;
  width: 100%;
  padding: 0;
}

/* Full width Google Maps iframe */
.suburb-map-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 460px;
  border: 0;
  display: block;
}

/* Report date under heading */
.suburb-report-date {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #666666;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .suburb-tab-list {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .suburb-tab {
    white-space: nowrap;
    font-size: 0.82em;
    padding: 7px 12px;
  }
}




/* Link Arrow */
.ext-arrow {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 3px;
  line-height: 1;
  vertical-align: -0.08em;
  background-color: #707070; /* arrow color */
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
  /* Rounded NE arrow SVG as a mask */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 L17 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/><path d='M11 7 H17 V13' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 L17 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/><path d='M11 7 H17 V13' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
a:hover + .ext-arrow {
  background-color: #505050;
}








