@import url("canberra-greater-cards-redesign.css");

/**
 * ==============================================================================
 * CANBERRA GREATER PAGE - PREMIUM MODERN REDESIGN
 * File: assets/css/canberra-greater-redesign.css
 * Description: Production-ready modern CSS redesign for the ACT / Canberra Greater page.
 * Requirements: HTML structure locked, 100% CSS-only redesign, properly scoped.
 * ==============================================================================
 *
 * TABLE OF CONTENTS:
 *  01. CSS Variables & Design System
 *  02. Page Base & Scoping
 *  03. Hero / Banner Section
 *  04. Breadcrumbs
 *  05. Typography & Section Headings
 *  06. Suburbs Directory Grid & Chips
 *  07. Step-by-Step Moving Process
 *  08. Subtle Animations & Micro-Interactions
 *  09. Accessibility & Reduced Motion
 *  10. Tablet Responsiveness (768px - 1024px)
 *  11. Mobile Responsiveness (360px - 767px)
 * ==============================================================================
 */

/* ==============================================================================
   01. CSS VARIABLES & DESIGN SYSTEM
   ============================================================================== */
:root {
  --cbr-primary: #8b181b;
  --cbr-primary-hover: #a31d2e;
  --cbr-primary-dark: #660f12;
  --cbr-primary-light: #fff1f2;
  --cbr-primary-glow: rgba(139, 24, 27, 0.16);
  --cbr-secondary: #0f172a;
  --cbr-secondary-light: #1e293b;
  --cbr-accent: #f59e0b;
  --cbr-text-dark: #0f172a;
  --cbr-text-body: #334155;
  --cbr-text-muted: #64748b;
  --cbr-bg-canvas: #f8fafc;
  --cbr-bg-card: #ffffff;
  --cbr-border: #e2e8f0;
  --cbr-border-hover: #cbd5e1;
  --cbr-radius-sm: 8px;
  --cbr-radius-md: 14px;
  --cbr-radius-lg: 20px;
  --cbr-radius-full: 9999px;
  --cbr-shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.04);
  --cbr-shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --cbr-shadow-hover: 0 14px 28px -4px rgba(139, 24, 27, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --cbr-font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cbr-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cbr-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   02. PAGE BASE & STRICT SCOPING
   Scoped specifically to the Canberra Greater landing page
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) {
  background-color: var(--cbr-bg-canvas);
  color: var(--cbr-text-body);
  font-family: var(--cbr-font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   03. HERO / BANNER SECTION
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner {
  min-height: 430px;
  padding: clamp(75px, 8.5vw, 115px) 0 clamp(65px, 7.5vw, 95px);
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(20, 32, 48, 0.86) 50%, rgba(139, 24, 27, 0.8) 100%),
    url('../images/banner-bg.webp') center / cover no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--cbr-primary);
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .container {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

/* Canberra Regional Prestige Badge above H1 */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner h1.head2::before {
  content: '📍 Australian Capital Territory • Regional Removalists';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--cbr-radius-full);
  color: #ffffff;
  font-family: var(--cbr-font-heading);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner h1.head2 {
  font-family: var(--cbr-font-heading) !important;
  font-size: clamp(2.3rem, 4.8vw, 3.5rem) !important;
  font-weight: 850 !important;
  color: #ffffff !important;
  letter-spacing: -0.025em !important;
  line-height: 1.18 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
  margin: 0 0 18px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==============================================================================
   04. BREADCRUMBS
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner nav[aria-label="breadcrumb"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--cbr-radius-full) !important;
  padding: 6px 22px !important;
  margin: 0 !important;
  list-style: none !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb-item {
  font-family: var(--cbr-font-body) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  display: inline-flex !important;
  align-items: center !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb-item a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb-item a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb-item + .breadcrumb-item::before {
  content: '/' !important;
  color: rgba(255, 255, 255, 0.35) !important;
  padding: 0 10px !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Trust Bar underneath breadcrumb */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner nav[aria-label="breadcrumb"]::after {
  content: '★ 4.9/5 Star Rated  •  All Canberra & ACT Suburbs Covered  •  Fully Insured Movers';
  display: inline-flex;
  font-family: var(--cbr-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-top: 6px;
}

/* ==============================================================================
   05. CONTENT SECTION: SUBURBS DIRECTORY (.section-padding.bg)
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg {
  background: 
    radial-gradient(ellipse at 12% 12%, rgba(139, 24, 27, 0.025) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 88%, rgba(15, 23, 42, 0.025) 0%, transparent 45%),
    var(--cbr-bg-canvas) !important;
  padding: clamp(60px, 7vw, 95px) 0 !important;
  position: relative;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading {
  margin-bottom: clamp(35px, 4vw, 55px) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading .line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(139, 24, 27, 0.08) !important;
  color: var(--cbr-primary) !important;
  font-family: var(--cbr-font-heading) !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 6px 18px !important;
  border-radius: var(--cbr-radius-full) !important;
  margin-bottom: 14px !important;
  border: 1px solid rgba(139, 24, 27, 0.16) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading .line::before,
body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading .line::after {
  display: none !important;
  content: none !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading .head2 {
  font-family: var(--cbr-font-heading) !important;
  font-size: clamp(1.9rem, 3.8vw, 2.6rem) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  color: var(--cbr-secondary) !important;
  letter-spacing: -0.02em !important;
  max-width: 820px !important;
  margin: 0 auto !important;
}

/* Informative Subtitle Guide below heading */
body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading::after {
  content: 'Select your suburb below for local removalist pricing, dedicated moving crews, and immediate booking availability across Canberra & the ACT.';
  display: block;
  font-family: var(--cbr-font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cbr-text-muted);
  max-width: 740px;
  margin: 16px auto 0;
  font-weight: 450;
}

/* ==============================================================================
   06. SUBURBS DIRECTORY GRID & CHIPS (.states-wraper)
   Replaces the harsh solid crimson buttons with modern, clean interactive cards
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .states-wraper {
  row-gap: 16px !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .states-wraper .book-appointment {
  width: 100% !important;
  display: block !important;
}

/* Suburb cards styling is fully handled in canberra-greater-cards-redesign.css */

/* ==============================================================================
   07. STEP-BY-STEP MOVING PROCESS (.bg-seprate)
   ============================================================================== */
body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate {
  background: #ffffff !important;
  padding: clamp(65px, 7.5vw, 100px) 0 !important;
  border-top: 1px solid var(--cbr-border) !important;
  position: relative;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading {
  margin-bottom: clamp(40px, 5vw, 60px) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading .line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(139, 24, 27, 0.08) !important;
  color: var(--cbr-primary) !important;
  font-family: var(--cbr-font-heading) !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 6px 18px !important;
  border-radius: var(--cbr-radius-full) !important;
  margin-bottom: 14px !important;
  border: 1px solid rgba(139, 24, 27, 0.16) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading .line::before,
body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading .line::after {
  display: none !important;
  content: none !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading .head2 {
  font-family: var(--cbr-font-heading) !important;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  color: var(--cbr-secondary) !important;
  letter-spacing: -0.02em !important;
  max-width: 820px !important;
  margin: 0 auto !important;
}

/* Connecting timeline line for desktop */
@media (min-width: 992px) {
  body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-wrap {
    position: relative;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-wrap::before {
    content: '';
    position: absolute;
    top: 92px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 24, 27, 0.15) 0%, rgba(139, 24, 27, 0.5) 50%, rgba(139, 24, 27, 0.15) 100%);
    z-index: 1;
    border-top: 2px dashed rgba(139, 24, 27, 0.3);
  }
}

/* Redesigned Step Card */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card {
  background: #ffffff !important;
  border: 1px solid var(--cbr-border) !important;
  border-radius: var(--cbr-radius-lg) !important;
  padding: 38px 22px 30px !important;
  text-align: center !important;
  position: relative !important;
  z-index: 2 !important;
  box-shadow: var(--cbr-shadow-card) !important;
  transition: var(--cbr-transition) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Step Number Pill */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card .num {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: var(--cbr-primary) !important;
  color: #ffffff !important;
  font-family: var(--cbr-font-heading) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 16px !important;
  border-radius: var(--cbr-radius-full) !important;
  box-shadow: 0 4px 12px rgba(139, 24, 27, 0.35) !important;
}

/* Circular Icon Pod */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card .icon {
  width: 76px !important;
  height: 76px !important;
  margin: 10px auto 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--cbr-primary-light) !important;
  border: 1px solid rgba(139, 24, 27, 0.16) !important;
  border-radius: 50% !important;
  color: var(--cbr-primary) !important;
  font-size: 28px !important;
  transition: all 0.35s ease !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card .icon i {
  color: var(--cbr-primary) !important;
  font-size: 28px !important;
  transition: transform 0.35s ease !important;
}

/* Step Title */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card .steps-heading {
  font-family: var(--cbr-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 750 !important;
  color: var(--cbr-secondary) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  display: block !important;
}

/* Step Card Hover Interaction */
body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(139, 24, 27, 0.3) !important;
  box-shadow: var(--cbr-shadow-hover) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card:hover .icon {
  background: var(--cbr-primary) !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(139, 24, 27, 0.35) !important;
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .step-card:hover .icon i {
  color: #ffffff !important;
  transform: scale(1.1) rotate(5deg) !important;
}

/* ==============================================================================
   08. SUBTLE ANIMATIONS & MICRO-INTERACTIONS
   ============================================================================== */
@keyframes cbrFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner .container {
  animation: cbrFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==============================================================================
   09. ACCESSIBILITY & REDUCED MOTION
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  body:has(.states-wraper a[href*="canberra-greater/acton"]) *,
  body:has(.states-wraper a[href*="canberra-greater/acton"]) *::before,
  body:has(.states-wraper a[href*="canberra-greater/acton"]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==============================================================================
   10. TABLET RESPONSIVENESS (768px - 1024px)
   ============================================================================== */
@media (max-width: 1024px) {
  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner {
    min-height: 380px;
    padding: 70px 0 60px;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner h1.head2 {
    font-size: 2.5rem !important;
  }
}

/* ==============================================================================
   11. MOBILE RESPONSIVENESS (360px - 767px)
   ============================================================================== */
@media (max-width: 767.98px) {
  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner {
    min-height: 330px;
    padding: 55px 0 45px;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner h1.head2::before {
    font-size: 0.72rem;
    padding: 4px 14px;
    margin-bottom: 12px;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner h1.head2 {
    font-size: 1.85rem !important;
    margin-bottom: 12px !important;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) .banner nav[aria-label="breadcrumb"]::after {
    font-size: 0.8rem;
    padding: 0 10px;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg {
    padding: 45px 0 !important;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading .head2 {
    font-size: 1.6rem !important;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg .main-heading::after {
    font-size: 0.92rem;
    margin-top: 10px;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate {
    padding: 45px 0 !important;
  }

  body:has(.states-wraper a[href*="canberra-greater/acton"]) section.section-padding.bg-seprate .main-heading .head2 {
    font-size: 1.55rem !important;
  }
}
