/* =============================================
   Brisbane Rentals 2032 — Main Stylesheet
   Blue #062E86 | Gold #C9A84C | White #F8F5F0
   ============================================= */

:root {
  --blue: #062E86;
  --blue-mid: #0A3D9E;
  --blue-light: #0E4DB8;
  --gold: #C9A84C;
  --gold-light: #E0BF6A;
  --gold-pale: #FFF8E7;
  --white: #F8F5F0;
  --off-white: #EEE9E1;
  --text-dark: #0A1A3A;
  --text-mid: #3A4D5C;
  --text-light: #6B7E8D;
  --border: #D4C9B8;
  --font: 'Georgia', serif;
  --sans: system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- COOKIE BAR ---- */
#cookie-bar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  position: relative;
  z-index: 999;
}
#cookie-bar a { color: var(--gold); font-weight: 600; }

/* ---- HEADER ---- */
#site-header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
}
.logo span { color: var(--gold); }
nav { display: flex; gap: 28px; }
nav a {
  color: rgba(248,245,240,.75);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .15s;
}
nav a:hover, nav a.active { color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--blue-mid);
  padding: 16px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
}

/* ---- HERO ---- */
.hero {
  background: var(--blue);
  background-image: url('/images/brisbaneheroimage.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(201,168,76,.03) 40px,
    rgba(201,168,76,.03) 41px
  );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 18px;
  color: rgba(248,245,240,.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--blue);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: background .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--blue); }
.btn-outline {
  border: 1.5px solid rgba(248,245,240,.4);
  color: var(--white);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: border-color .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Hero sponsor slot */
.hero-sponsor {
  display: flex;
  align-items: flex-start;
}

/* ---- STAT BAR ---- */
.stat-bar { background: var(--gold); padding: 28px 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(6,46,134,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(6,46,134,.7);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---- SECTIONS ---- */
.section { padding: 70px 0; }
.section.alt { background: var(--off-white); }
.section.dark { background: var(--blue); color: var(--white); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section.dark h2 { color: var(--white); }
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 44px;
}
.section.dark .section-sub { color: rgba(248,245,240,.7); }

/* ---- CATEGORY CARDS ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .15s, transform .15s;
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: auto;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cat-card.featured { border-color: var(--gold); border-width: 2px; }
.cat-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cat-card h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.cat-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.platform-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s, padding-left .15s;
  text-decoration: none;
}
.platform-link::after {
  content: '→';
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 8px;
}
.platform-link:hover { color: var(--gold); padding-left: 6px; }
.platform-link:last-child { border-bottom: none; }
.cat-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .04em;
  margin-top: 14px;
}
.cat-cta:hover { color: var(--gold); }

/* ---- HOMEOWNER BAND ---- */
.owner-band {
  background: var(--blue-mid);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 60px 0;
  color: var(--white);
}
.owner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.owner-band h2 {
  font-family: var(--font);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.owner-band h2 em { color: var(--gold); font-style: normal; }
.owner-band p { font-size: 16px; color: rgba(248,245,240,.75); max-width: 560px; }

/* ---- FAQ BLOCK ---- */
.faq-block { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.faq-a { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* ---- NEWS FEED ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.news-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.news-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.news-link::after { content: '→'; color: var(--gold); font-size: 14px; flex-shrink: 0; margin-left: 8px; }
.news-link:hover { color: var(--gold); padding-left: 6px; }
.news-link:last-child { border-bottom: none; }
.news-source {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 8px;
}
.news-card h4 { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--text-dark); margin-bottom: 8px; }
.news-card p { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ---- FOOTER ---- */
#site-footer { background: var(--blue); color: var(--white); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { font-family: var(--font); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: rgba(248,245,240,.5); line-height: 1.6; }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(248,245,240,.65); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 18px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(248,245,240,.3); }

/* ---- CROSS-PROMO UNITS ---- */
.cross-promo-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 50px 0;
  width: 100%;
  text-align: center;
  background: var(--off-white);
}
.cross-promo-desktop img {
  display: block;
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  margin: 0 auto;
}

/* ---- STICKY MOBILE BAR ---- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  text-align: center;
  background: #000;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { padding: 30px 0 30px !important; min-height: 0 !important; }
  .hero-sub { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sponsor { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(6,46,134,.2); }
  .stat-item { background: var(--gold); border-right: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { grid-column: span 1 !important; }
  .section-sub { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .nav-toggle { display: block; }
  .owner-inner { grid-template-columns: 1fr; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card p { display: none !important; }
  .cross-promo-desktop { display: none; }
  .sticky-mobile-bar { display: block; }
  .sticky-mobile-bar a { display: block; }
  .sticky-mobile-bar img { width: 100%; max-width: 320px; height: auto; display: inline-block; }
  .sticky-mobile-bar .close-bar {
    position: absolute;
    top: 4px;
    right: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 2px 6px;
  }
}
@media (max-width: 580px) {
  .cat-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
}
