/* Ampy Electrical booking page - styled to match ampy.com.au (v3) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

body, body * { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important; }
body { color: #2C3338 !important; background: #fff !important; }
#sb_main { position: relative; }
#sb_main > div { position: static !important; }

/* ===== HEADER: clean orange bar, white logo centred, phone on the left, menu on the right ===== */
#sb_main:before {
  content: "\260E\00A0\00A0(03) 4416 3638";
  display: block; height: 84px; line-height: 84px; padding-left: 6%;
  background: linear-gradient(180deg, #FF6A2A 0%, #FF5E1E 100%);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-align: left;
  position: relative; z-index: 60; box-shadow: 0 3px 14px rgba(232,80,26,.28);
}
#sb_main > div:before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 52px; z-index: 70; pointer-events: none;
  background: url('https://ampy.com.au/wp-content/uploads/2025/09/logo.png') center / contain no-repeat; filter: brightness(0) invert(1);
}
.nav-trigger, .toggle-mnu {
  position: absolute !important; top: -64px !important; right: 6% !important; left: auto !important;
  width: 44px !important; height: 44px !important; background: rgba(255,255,255,.18) !important;
  border: 1.5px solid rgba(255,255,255,.7) !important; border-radius: 999px !important; box-shadow: none !important; z-index: 80 !important;
}
.nav-trigger span, .nav-trigger span:before, .nav-trigger span:after { background: #fff !important; }

/* ===== HERO: blue gradient, text left, team photo right with a diagonal edge ===== */
#main-buttons, #main-buttons .container-fluid, #main-buttons .wrapper { background: transparent !important; background-image: none !important; }
#main-buttons {
  position: relative !important; overflow: hidden !important; min-height: 540px !important;
  background: linear-gradient(135deg, #0B7FD0 0%, #1E9BE9 100%) !important;
}
#main-buttons:after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: 1;
  background: url('https://ampy.com.au/wp-content/uploads/2026/11/ampy-electricians-bendigo-van-1536x1024.jpg') 50% 38% / cover no-repeat;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
#main-buttons .container-fluid, #main-buttons .wrapper { position: relative; z-index: 2; }
#main-buttons .wrapper { display: flex !important; align-items: center !important; min-height: 540px; }
#main-buttons .inner { text-align: left !important; margin: 0 0 0 7% !important; max-width: 46% !important; padding: 48px 0 !important; }
#main-buttons .inner:before {
  content: "ELECTRICIAN BENDIGO \2013  #1 CHOICE FOR ELECTRICAL SERVICES";
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
#main-buttons .company-name { font-size: 0 !important; line-height: 0 !important; text-align: left !important; }
#main-buttons .company-name:after {
  content: "Book a Local Electrician\A Bendigo"; white-space: pre; display: block; text-transform: none !important;
  font-size: 52px; line-height: 1.06; font-weight: 800; color: #fff; letter-spacing: -1px;
}
#main-buttons .inner:after {
  content: "Pick the day that suits you. A licensed Ampy electrician arrives between 8am and 4pm, finds the problem and gives you fixed-price options on the spot.\A\A \2713  Licensed and Insured\00A0\00A0\00A0\00A0 \2713  Upfront Pricing \2013  No Hidden Fees\00A0\00A0\00A0\00A0 \2605  5.0 on Google";
  white-space: pre-line; display: block; color: #EAF4FC; font-weight: 500; font-size: 16px; line-height: 1.6; margin-top: 20px;
}
#main-buttons .bar { text-align: left !important; margin: 26px 0 0 !important; }

/* ===== Buttons ===== */
.btn, a.btn, button.btn, .btn.custom, .btn.book {
  border-radius: 999px !important; border: 0 !important;
  background: linear-gradient(160deg, #FF7A2F, #E8501A) !important;
  color: #fff !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .05em;
  box-shadow: 0 8px 22px rgba(232,80,26,.35) !important; padding-left: 34px !important; padding-right: 34px !important;
}
.btn:hover, a.btn:hover { filter: brightness(1.06); }

/* ===== Content ===== */
#main-content, #sb_content { background: #F8FAFC !important; }
h1, h2, h3, h4, .title, .section-title { color: #2C3338 !important; font-weight: 800 !important; }
a { color: #0B6FB8; }
#schedule th, #schedule .day { color: #0B6FB8 !important; font-weight: 700; }

/* ===== FOOTER ===== */
#sb_main:after {
  content: "Ampy Electrical is your local Bendigo electrician for homes \2013  electrical and air conditioning, family owned and Google 5.0 rated.\A\A (03) 4416 3638   \00B7   hello@ampy.com.au   \00B7   132A Lily St, Bendigo VIC 3550\A Registered Electrical Contractor \2013  REC 34713\A\A \00A9  2026 Ampy Electrical \2013  Bendigo Electrical & Air Conditioning";
  white-space: pre-line; display: block; text-align: center; box-sizing: border-box; overflow: hidden;
  background: linear-gradient(135deg, #0B7FD0 0%, #1E9BE9 100%); height: 330px;
  color: #fff; font-size: 14px; line-height: 1.7; font-weight: 500; padding: 116px 8% 40px; margin-top: 40px;
}
#sb_main > div:after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 242px;
  width: 170px; height: 46px; z-index: 70; pointer-events: none;
  background: url('https://ampy.com.au/wp-content/uploads/2025/09/logo.png') center / contain no-repeat; filter: brightness(0) invert(1);
}

/* ===== Mobile ===== */
@media (max-width: 800px) {
  #sb_main:before { content: ""; }
  #sb_main > div:before { width: 130px; height: 44px; top: 20px; }
  #main-buttons:after { display: none; }
  #main-buttons, #main-buttons .wrapper { min-height: 0 !important; }
  #main-buttons .inner { margin: 0 6% !important; max-width: none !important; padding: 36px 0 !important; }
  #main-buttons .company-name:after { font-size: 34px; }
  #sb_main:after { height: 440px; padding-top: 110px; }
  #sb_main > div:after { bottom: 352px; }
}

#sb-main-container > header, #sb-main-container header { z-index: 90 !important; }

/* ===== Info section: white card like the website's sections ===== */
#sb_main.page--index #main-content { padding: 56px 0 24px !important; }
#sb_main.page--index #main-content:before {
  content: "Booking Hours \0026  Contact"; display: block; text-align: center;
  font-size: 30px; font-weight: 800; color: #2C3338; letter-spacing: -0.5px; margin-bottom: 28px;
}
#content-view > .container-fluid {
  background: #fff; border-radius: 22px; box-shadow: 0 10px 34px rgba(11,111,184,.10);
  padding: 34px 38px !important; max-width: 980px; margin: 0 auto !important; border: 1px solid #EEF3F9;
}
@media (max-width: 800px) { #content-view > .container-fluid { margin: 0 4% !important; padding: 24px 20px !important; } }

/* ===== Call + Enquiry buttons in the description ===== */
.ampy-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.ampy-cta a { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; }
a.ampy-call { background: linear-gradient(160deg, #FF7A2F, #E8501A); color: #fff !important; box-shadow: 0 8px 22px rgba(232,80,26,.30); }
a.ampy-enquiry { background: #fff; color: #0B6FB8 !important; border: 2px solid #0B6FB8; }

/* ===== Google rating badge ===== */
.ampy-google-wrap { margin: 0 0 16px !important; }
a.ampy-google { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #E3EAF2; border-radius: 999px; padding: 8px 18px 8px 10px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(11,111,184,.10); }
a.ampy-google img { width: 30px; height: 30px; }
.ampy-g-score { font-size: 20px; font-weight: 800; color: #2C3338; }
.ampy-g-stars { color: #FBBC05; font-size: 18px; letter-spacing: 1px; }
.ampy-g-count { font-size: 13px; font-weight: 600; color: #5F6B76; }

a.ampy-google { display: inline-flex !important; width: auto !important; max-width: 100% !important; justify-content: flex-start !important; gap: 10px !important; }
a.ampy-google img, .ampy-google-wrap img { width: 30px !important; height: 30px !important; max-width: 30px !important; min-width: 0 !important; margin: 0 !important; flex: 0 0 30px !important; }
a.ampy-google span { flex: 0 0 auto !important; }

a.ampy-google { display: inline-block !important; white-space: nowrap !important; line-height: 30px !important; }
a.ampy-google img, a.ampy-google span { display: inline-block !important; vertical-align: middle !important; position: static !important; float: none !important; width: auto; margin: 0 6px 0 0 !important; }
a.ampy-google img { width: 30px !important; }

a.ampy-google span { width: auto !important; max-width: none !important; }
