/* ========== ROOT + RESETS ========== */
:root {
  --primary: #005b8f;
  --primary-dark: #003d60;
  --accent: #ffb020;
  --bg: #f5f7fb;
  --text: #222;
  --light: #fff;
  --muted: #6a7687;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #333;
}




/* ========== GLOBAL HEADING STYLES ========== */

h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

/* Match .section-title exactly */
h2 {
  font-size: 1.8rem;   /* same as .section-title */
}

/* Slightly smaller for h3 */
h3 {
  font-size: 1.45rem;  /* ~85% of h2 */
}

/* Smaller again for h4 */
h4 {
  font-size: 1.15rem;  /* ~75% of h3 */
}


a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* Fix header button text colour */
a.btn-primary,
.btn-primary a {
  color: #20160a !important;
  text-decoration: none !important;
}


p { margin-bottom: 1.1rem; 
    max-width: 46rem;
}

/* HERO HEADING COLOUR FIX */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.internal-hero h1,
.internal-hero h2,
.internal-hero h3,
.internal-hero h4 {
  color: #ffffff !important;
}

/* ========== TICK LIST ========== */
.tick-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.tick-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.tick-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}

/* ========== BODY LIST STYLE (INSIDE MAIN ONLY) ========== */

main ul:not(.tick-list) {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

main ul:not(.tick-list) li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.45rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  color: var(--primary-dark);
  line-height: 1.25;
}

main ul:not(.tick-list) li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}



/* ========== HEADER ========== */

header {
  background: #ffffff;
  color: #222;
  border-bottom: 1px solid #e0e6ee;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-contacts {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
}
.nav-contacts a {
  color: var(--primary);
  font-weight: 600;
}

/* NAV MENU */
.main-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-menu a {
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: #005b8f;
  transition: color 0.15s ease;
}
.main-menu a:hover { color: #003d60; }

/* BURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #005b8f;
  margin: 4px 0;
  border-radius: 999px;
}


/* ========== MOBILE HEADER ========== */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-menu {
    display: none;
    width: 100%;
  }
  .main-menu.open {
    display: block;
    margin-top: 0.5rem;
  }

  .main-menu ul {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
  }

  .nav-contacts {
    width: 100%;
    display: none !important;
  }
}

/* Extra mobile rules (fixed broken nesting) */
@media (max-width: 640px) {
  .nav {
    flex-direction: row !important;
    width: 100%;
    padding: 0.6rem 1.25rem;
  }
  .logo img { height: 54px; }
}

/* Ensure hero panel heading is white + Outfit */
.hero-panel h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Card heading (Why Choose Our Fridge Technicians?) */
.card h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

/* Testimonials main heading */
.testimonials-section h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

/* CTA heading in blue gradient section */
.cta-footer h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}


/* ========== BRANDS SLIDER ========== */

.brand-slider {
  position: relative;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-track {
  display: flex;
  gap: 1rem;
  overflow-x: scroll;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem;
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.brand-track::-webkit-scrollbar {
  display: none;
}
.brand-track {
  scrollbar-width: none;
}

.brand-logo {
  flex: 0 0 auto;              /* keep cards side-by-side */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.6rem;
  border: 1px solid #dde3ee;
  padding: 0.35rem 0.75rem;
  min-width: 200px;            /* slightly wider card */
  min-height: 120px;           /* rectangle, not square */
  box-shadow: 0 10px 24px rgba(15,35,52,0.1);
  scroll-snap-align: center;
}

.brand-logo img {
  max-width: 140px;            /* make logos larger */
  max-height: 80px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(20%);
  transition: filter 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.brand-logo img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
}

.brand-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cbd4e5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



/* ========== INTERNAL PAGE HERO ========== */

.internal-hero {
  background: radial-gradient(circle at top left, #0c7ab9 0, #00324f 55%, #001827 100%);
  color: #fff;
}

.internal-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.internal-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
  line-height: 1.05;
}

.internal-hero p {
  font-size: 1rem;
  margin-top: 0.4rem;
  max-width: 34rem;
  opacity: 0.95;
}

.internal-hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 0.8rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
}

/* INTERNAL PAGE HERO — CENTERED VERSION */
.internal-hero {
  background: radial-gradient(circle at top left, #0c7ab9 0, #00324f 55%, #001827 100%);
  color: #fff;
  padding: 3.2rem 1.25rem 3.4rem;
}

.internal-hero-inner.centered {
  max-width: 900px;
  margin: 0 auto;
}

.internal-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.internal-hero p {
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0.5rem auto 0;
  opacity: 0.95;
  font-weight: 400;
}


/* ========== HERO ========== */

.hero {
  background: radial-gradient(circle at top left, #0c7ab9 0, #00324f 55%, #001827 100%);
  color: var(--light);
  padding: 3.2rem 1.25rem 3.8rem;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  opacity: 0.92;
  margin-bottom: 0.7rem;
}

.hero p {
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.2rem;
}

    .hero-badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.4rem;
    }

.badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.85rem;
  margin-top: 0.9rem;
}

.internal-hero {
  background: radial-gradient(circle at top left, #0c7ab9 0, #00324f 55%, #001827 100%);
  color: #fff;
  padding: 3rem 1.25rem 4rem; /* adjust as needed */
  display: flex;
  align-items: center;     /* vertically centers content */
  justify-content: center; /* horizontally centers content */
}


/* ========== HERO PANEL ========== */

.hero-panel {
  background: rgba(0,0,0,0.3);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
}

.hero-panel h3 {
  font-size: 1.05rem;
  color: #fff !important;
  margin-bottom: 0.4rem;
}

.hero-panel ul {
  list-style: none;
  margin-top: 0.5rem;
}
.hero-panel li {
  margin-bottom: 0.25rem;
  display: flex;
}
.hero-panel li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--accent);
}



/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #20160a;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.btn-primary:hover {
  background: #ffc24b;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--light);
}

.btn-dark {
  border: 1px solid rgba(255,255,255,0.6);
  color: #000000;
}

.btn-outline:hover {
  background: rgba(0,0,0,0.18);
}

/* Fix hero panel heading */
.hero-panel h3 {
  font-family: "Outfit", sans-serif !important;
  font-weight: 600;
  font-size: 1.4rem !important;
  color: #fff !important;
  letter-spacing: 0.01em;
}

/* Fix card headings */
.card h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

/* Fix CTA heading */
.cta-footer h2 {
  font-family: "Outfit", sans-serif !important;
  font-size: 2rem;
  color: #fff;
}

.cta-footer {
  margin-bottom: 0 !important;
  padding-bottom: 3.4rem; /* keep the internal spacing */
}

/* ========== MAIN CONTENT ========== */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.7rem 1.25rem 0rem; /* NO bottom padding */
}


section { margin-bottom: 2.7rem; }

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section-intro {
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 46rem;
}


/* ========== TWO COLUMN CONTENT ========== */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2rem;
}

.side-image img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid #dde3ee;
  box-shadow: 0 10px 28px rgba(15,35,52,0.1);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.pill {
  background: #eef2fb;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  color: #32415a;
}

/* ========== CARD ========== */

.card {
  background: #fff;
  padding: 1.5rem 1.6rem;
  border-radius: 0.9rem;
  border: 1px solid #dde3ee;
  box-shadow: 0 10px 28px rgba(15,35,52,0.1);
}



/* ========== TESTIMONIALS ========== */

.testimonials-section {
  padding-top: 2.5rem;
  margin-bottom: 4rem;
}

.testimonials-section h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.25rem;
}

.testimonials-section .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.4rem !important;
  max-width: 46rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

/* review cards */

.review-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e2e6f0;
  box-shadow: 0 10px 26px rgba(15, 35, 52, 0.08);
  padding: 1.1rem 1.15rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
}

/* header row */

.review-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f1f4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #4a5a73;
  font-size: 0.95rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 700;
  color: #1f2a3c;
  font-size: 1.05rem;
}

.review-suburb {
  font-size: 0.9rem;
  color: #6c7a92;
}

.review-date {
  font-size: 0.78rem;
  color: #a0aec3;
}

/* stars + body */

.review-stars {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.review-stars span {
  color: #f6b100;
  letter-spacing: 0.04em;
}

.review-text {
  font-size: 0.9rem;
  color: #4a5a73;
  line-height: 1.5;
}

/* responsive */

@media (max-width: 900px) {
  .review-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .review-slider {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* ========== CTA FOOTER (BIG BLUE GRADIENT) ========== */

.cta-footer {
  background: radial-gradient(circle at top left, #0c7ab9 0, #00324f 55%, #001827 100%);
  color: #ffffff;
  padding: 3.2rem 1.25rem 3.4rem;
  margin-top: 1rem;
}

.cta-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta-footer h2 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.cta-footer p {
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0.5rem auto 1.4rem;
}

.cta-note {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* ========== MEGA MENU – FULL WIDTH, ABOVE HERO, TIGHT SPACING ========== */

header {
  position: relative;
  z-index: 200;
}

/* Suburbs li */
.main-menu .has-mega {
  position: static; /* lets dropdown span full header width */
}

/* Dropdown wrapper */
.main-menu .has-mega > .mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100vw; /* full screen width */
  margin-left: calc(50% - 50vw); /* align to viewport edges */
  background: #ffffff;
  border-top: 1px solid #dde3ee;
  box-shadow: 0 14px 35px rgba(15, 35, 52, 0.20);
  display: none;
  z-index: 500;
}

/* Inner centred content (match site width, tight padding) */
.mega-menu-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem 0.7rem;
}

/* Mega menu list – override .main-menu ul flex + gap */
.main-menu .mega-grid {
  display: grid !important;                    /* override flex */
  grid-template-columns: repeat(6, 1fr);       /* 6 columns on desktop */
  gap: 0.2rem 1.1rem !important;               /* tight row/col spacing */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove any extra spacing on li */
.main-menu .mega-grid li {
  margin: 0;
  padding: 0;
}

/* Suburb links – comfortable but compact */
.main-menu .mega-grid li a {
  display: inline-block;
  padding: 0.08rem 0;                          /* small vertical padding */
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.15;
  color: var(--primary-dark);
  border-radius: 999px;
  transition: background 0.15s ease,
              color 0.15s ease,
              transform 0.1s ease;
}

.main-menu .mega-grid li a:hover {
  background: #eef2fb;
  color: var(--primary);
  transform: translateY(-1px);
}

/* Show on hover + keep open while hovering panel */
.main-menu .has-mega:hover > .mega-menu,
.main-menu .has-mega > .mega-menu:hover {
  display: block;
}

/* Make sure hero sits behind menu */
.hero,
.internal-hero {
  position: relative;
  z-index: 1;
}


/* ========== MOBILE ========== */

@media (max-width: 768px) {
  .main-menu .has-mega > .mega-menu {
    position: static;
    width: 100%;
    margin-left: 0;
    box-shadow: none;
  }

  .mega-menu-inner {
    padding: 0.6rem 1rem 0.8rem;
  }

  .main-menu .mega-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem 0.8rem !important;
  }
}



/* ========== FOOTER ========== */

footer {
  background: #101827;
  color: rgba(255,255,255,0.86);
  padding: 1.7rem 1.25rem;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

footer a { color: rgba(255,255,255,0.9); }


/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .review-slider { grid-template-columns: repeat(2, 1fr); }
  .hero-inner,
  .two-column { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .review-slider { grid-template-columns: 1fr; }
  .brand-arrow { width: 28px; height: 28px; }
  .cta-footer h2 { font-size: 1.7rem; }
  .cta-footer p { font-size: 1rem; }
}
