/* ============================================================
   Tailwind utility replacements — plain CSS (no build tool needed)
   Covers every class used in index.html and other pages.
   ============================================================ */

/* Layout */
.grid   { display: grid; }
.flex   { display: flex; }
.block  { display: block; }
.hidden { display: none; }
.inline { display: inline; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }

/* Grid columns */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.col-span-2  { grid-column: span 2 / span 2; }

/* Flex helpers */
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }

/* Gap */
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-5  { gap: 20px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-14 { gap: 56px; }

/* Padding */
.p-4  { padding: 16px; }
.p-6  { padding: 24px; }
.p-7  { padding: 28px; }
.p-8  { padding: 32px; }
.p-10 { padding: 40px; }
.pt-2 { padding-top: 8px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-14{ padding-top: 56px; padding-bottom: 56px; }
.py-16{ padding-top: 64px; padding-bottom: 64px; }
.py-20{ padding-top: 80px; padding-bottom: 80px; }
.py-24{ padding-top: 96px; padding-bottom: 96px; }

/* Margin */
.mt-1  { margin-top: 4px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-14 { margin-bottom: 56px; }
.mb-16 { margin-bottom: 64px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Width / Height */
.w-full  { width: 100%; }
.h-auto  { height: auto; }

/* Max-width */
.max-w-lg  { max-width: 512px; }
.max-w-2xl { max-width: 672px; }
.max-w-5xl { max-width: 1024px; }
.max-w-7xl { max-width: 1280px; }

/* Text size */
.text-xs  { font-size: 12px;  line-height: 1.5; }
.text-sm  { font-size: 14px;  line-height: 1.5; }
.text-lg  { font-size: 18px;  line-height: 1.75; }
.text-3xl { font-size: 30px;  line-height: 1.2; }
.text-center { text-align: center; }

/* Font weight */
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }

/* Text colour */
.text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/75 { color: rgba(255,255,255,0.75); }

/* Border / Rounded */
.border            { border-width: 1px; border-style: solid; }
.border-white\/10  { border-color: rgba(255,255,255,0.1); }
.rounded-3xl       { border-radius: 24px; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Object fit */
.object-cover { object-fit: cover; }

/* z-index */
.z-10 { z-index: 10; }

/* Shadow */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }

/* Responsive — lg breakpoint (≥1024px) */
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:col-span-5   { grid-column: span 5 / span 5; }
  .lg\:col-span-7   { grid-column: span 7 / span 7; }
  .lg\:col-span-12  { grid-column: span 12 / span 12; }
}

/* Responsive — md breakpoint (≥768px) */
@media (min-width: 768px) {
  .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:p-8  { padding: 32px; }
  .md\:p-10 { padding: 40px; }
  .md\:p-16 { padding: 64px; }
}


/* --- Image Stack Globals --- */
.image-stack {
  position: relative;
  min-height: 650px;
  border-radius: 44px;
  overflow: hidden;
  padding: 18px;
  background: linear-gradient(135deg, rgba(225, 94, 9, 0.16), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.image-main {
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1024;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-main::after, .image-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 32, 0.04), rgba(8, 13, 32, 0.22));
}

.image-small {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 250px;
  height: 185px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(225, 94, 9, 0.30);
  background: #0a1024;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), 0 0 36px rgba(225, 94, 9, 0.18);
}

.image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-note {
  position: absolute;
  left: 34px;
  bottom: 28px;
  right: 290px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(8, 13, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14px;
}

@media(max-width: 1080px) {
  .image-stack { min-height: 560px; }
}

@media(max-width: 680px) {
  .image-stack { min-height: 460px; }
  .image-main { inset: 16px; }
  .image-small, .image-note { display: none; }
}

/* Universal Nav CSS */
nav.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100000 !important;
  padding: 8px 0; transition: .35s ease;
  background: rgba(8,13,32,0.98) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
nav.top-nav.nav-hidden {
  transform: translate3d(0, -100%, 0) !important;
}
nav.top-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: min(100% - 36px, 1220px); margin-inline: auto;
}
nav.top-nav .brand { display: flex; align-items: center; gap: 8px; min-width: 240px; text-decoration: none; }
nav.top-nav .brand img {
  height: 90px;
  width: auto;
  max-width: 240px;
  border-radius: 0;
  object-fit: contain;
  display: block;
}
nav.top-nav .brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  color: #fff;
  display: none;
}

nav.top-nav .menu {
  display: flex; align-items: center; gap: 38px; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.8); font-family: 'Inter', sans-serif;
  margin: 0; padding: 0;
}
nav.top-nav .menu > a { position: relative; color: inherit; text-decoration: none; transition: .3s; }
nav.top-nav .menu > a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: #e15e09; transition: .3s;
}
nav.top-nav .menu > a:hover { color: #fff; }
nav.top-nav .menu > a:hover::after { width: 100%; }

/* Dropdown */
nav.top-nav .nav-dropdown { position: relative; display: inline-block; }
nav.top-nav .nav-dropdown > a {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: inherit; font-weight: 700; text-decoration: none;
}
nav.top-nav .nav-dropdown > a::after {
  content: '▾'; font-size: 12px; opacity: .7;
}
nav.top-nav .nav-dd-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 250px; background: rgba(8,13,32,.97); backdrop-filter: blur(22px);
  border: 1px solid rgba(225,94,9,.35); border-radius: 12px; padding: 10px; z-index: 200;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.75); margin-top: 14px;
}
nav.top-nav .nav-dd-menu::before {
  content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; background: transparent;
}
nav.top-nav .nav-dropdown:hover .nav-dd-menu,
nav.top-nav .nav-dropdown:focus-within .nav-dd-menu,
nav.top-nav .nav-dropdown.open .nav-dd-menu {
  display: block; animation: ddFade .2s ease;
}
@keyframes ddFade { from { opacity:0; transform: translateX(-50%) translateY(-10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
nav.top-nav .nav-dd-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 18px; color: rgba(230,230,230,.85); text-decoration: none; transition: all .2s; font-weight: 600;
  margin-bottom: 2px;
}
nav.top-nav .nav-dd-menu a:hover, nav.top-nav .nav-dd-menu a:active, nav.top-nav .nav-dd-menu a:focus { 
  background: rgba(225,94,9,.18); color: #ffb37a; padding-left: 18px; 
}

/* Quote button */
nav.top-nav .btn-quote {
  background: linear-gradient(135deg, #e15e09, #ff7a25); color: #fff; padding: 12px 22px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 15px; transition: .3s; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(225,94,9,.8);
  border: none; display: inline-flex; align-items: center; justify-content: center;
}
nav.top-nav .btn-quote:hover { transform: translateY(-3px); box-shadow: 0 15px 40px -10px rgba(225,94,9,1); color: #fff; }

/* Toggle Button */
nav.top-nav .nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; font-size: 24px; cursor: pointer; align-items: center; justify-content: center;
}

/* Mobile Nav */
@media(max-width: 1080px) {
  nav.top-nav .menu {
    display: none; position: absolute; left: 16px; right: 16px; top: 92px; flex-direction: column; align-items: stretch; padding: 20px; border-radius: 20px; background: #070b1a !important; border: 1px solid rgba(225,94,9,.3); box-shadow: 0 30px 80px rgba(0,0,0,.9); z-index: 9999999 !important;
  }
  nav.top-nav .menu.open { display: flex; animation: menuFade .3s ease; }
  @keyframes menuFade { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  nav.top-nav .nav-toggle { display: flex; }
  nav.top-nav .btn-quote { display: none; }
  nav.top-nav .brand img { height: 72px; max-width: 190px; }
  
  nav.top-nav .nav-dropdown > a { width: 100%; justify-content: space-between; padding: 12px 0; transition: .2s; }
  nav.top-nav .nav-dd-menu { position: static; transform: none; min-width: auto; border-radius: 10px; margin-top: 5px; display: none; box-shadow: none; background: rgba(255,255,255,.03); border: none; }
  nav.top-nav .nav-dropdown.open .nav-dd-menu { display: block; }
  nav.top-nav .menu > a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: .2s; }
  
  /* Mobile Hover & Active */
  nav.top-nav .menu > a:hover, nav.top-nav .menu > a:active, nav.top-nav .menu > a:focus,
  nav.top-nav .nav-dropdown > a:hover, nav.top-nav .nav-dropdown > a:active, nav.top-nav .nav-dropdown > a:focus { 
    color: #ffb37a; padding-left: 8px; background: rgba(225,94,9,.05); border-radius: 6px;
  }
  nav.top-nav .menu > a.active { color: #ffb37a; font-weight: 800; border-left: 3px solid #e15e09; padding-left: 10px; }
  nav.top-nav .nav-dropdown.active > a { color: #ffb37a; font-weight: 800; }
}

/* Desktop Active State */
nav.top-nav .menu > a.active { color: #fff; }
nav.top-nav .menu > a.active::after { width: 100%; }
nav.top-nav .nav-dd-menu a.active { background: rgba(225,94,9,.18); color: #ffb37a; padding-left: 18px; }

/* Global Footer Styles */
footer {
  padding: 70px 0 28px;
  background: #070b1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  width: min(100% - 36px, 1220px);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 32px;
}

footer h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

footer p, footer li {
  color: rgba(230, 230, 230, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #ffb37a;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(230, 230, 230, 0.55);
  font-size: 13px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  footer {
    padding-bottom: 96px; /* Space for mobile sticky CTA bar */
  }
}

/* --- Suburbs Table Styling --- */
.location-table-wrapper {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 13, 32, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.location-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.location-table th {
  background: linear-gradient(135deg, rgba(225, 94, 9, 0.18), rgba(225, 94, 9, 0.06));
  color: #ffb37a;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 12px 8px;
  border-bottom: 2px solid rgba(225, 94, 9, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.location-table th:last-child {
  border-right: none;
}

.location-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(230, 230, 230, 0.88);
  white-space: nowrap;
}

.location-table td:last-child {
  border-right: none;
}

.location-table tr:last-child td {
  border-bottom: none;
}

.location-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.location-table td span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.25s ease;
  cursor: default;
  white-space: nowrap;
}

.location-table td span::before {
  content: "•";
  color: rgba(225, 94, 9, 0.8);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.location-table td span:hover {
  color: #fff;
  transform: translateX(6px);
  text-shadow: 0 0 8px rgba(225, 94, 9, 0.6);
}

.location-table td span:hover::before {
  color: #ffd0b0;
  transform: scale(1.3);
}




/* Universal Back to Top Button */
.back-top{position:fixed;right:18px;bottom:86px;z-index:80;width:50px;height:50px;border-radius:50%;border:0;background:var(--orange);color:#fff;font-size:22px;box-shadow:0 12px 30px rgba(225,94,9,.45);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(16px);transition:.3s}
.back-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
.back-top:hover{transform:scale(1.1) translateY(0); box-shadow:0 15px 35px rgba(225,94,9,.6)}
