/* ============================================================
   Breckland Pest Control — layout modelled on Direct Pest
   Control / Peak Forest Pest Control with custom palette
   ============================================================ */

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --lime: #c8e847;
  --lime-dark: #a8c93a;
  --lime-light: #d9ee75;
  --white: #ffffff;
  --grey-text: #4a4a4a;
  --grey-light: #f6f6f6;
  --grey-border: #e6e6e6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lime-dark); text-decoration: none; }
a:hover { color: var(--black); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

/* ============================================================
   HEADER — 3-column: tagline | centered logo | contact
   ============================================================ */
.site-header {
  background: var(--black);
  color: var(--white);
  padding: 25px 0;
  border-bottom: 4px solid var(--lime);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.header-logo img {
  max-height: 150px;
  width: auto;
  margin: 0 auto;
}

/* Left column: phone + email */
.header-contact {
  text-align: left;
  font-size: 0.95rem;
}

.header-contact a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 600;
}

.header-contact a:hover { color: var(--lime); }

.header-contact .ico {
  width: 34px;
  height: 34px;
  background: var(--lime);
  color: var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-contact .ico svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.header-contact-row {
  margin-bottom: 4px;
}

/* Right column: address */
.header-address {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.5;
}

.header-address .addr-icon {
  width: 42px;
  height: 42px;
  background: var(--lime);
  color: var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-address .addr-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-address .addr-text {
  text-align: left;
}

.header-address .addr-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  margin-bottom: 2px;
}

/* ============================================================
   MAIN NAVIGATION (bar below header)
   ============================================================ */
.main-nav-bar {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  color: var(--white);
  padding: 16px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid #2a2a2a;
  transition: all 0.2s ease;
}

.main-nav li:first-child a { border-left: 1px solid #2a2a2a; }

.main-nav a:hover,
.main-nav a.active {
  background: var(--lime);
  color: var(--black);
}

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 240px;
  padding: 8px 0;
  border-top: 3px solid var(--lime);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  padding: 12px 20px;
  border-right: none;
  border-bottom: 1px solid #2a2a2a;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li:first-child a { border-left: none; }

.dropdown-toggle::after {
  content: ' \25BE';
  color: var(--lime);
  font-size: 0.8rem;
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  background: var(--lime);
  color: var(--black);
  border: none;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   HERO — large image + overlay text
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.65)),
              url('../images/hero-bait-station.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 130px 0;
  text-align: center;
  border-bottom: 4px solid var(--lime);
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--lime); }

.hero .lead {
  font-size: 1.2rem;
  max-width: 850px;
  margin: 0 auto 2rem;
  color: #e8e8e8;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.78)),
              url('../images/banner-wasp-nest.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 4px solid var(--lime);
}

.page-header h1 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header .crumb {
  color: var(--lime);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--lime);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.btn-outline:hover {
  background: var(--lime);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--lime);
  border-color: var(--black);
}

.btn-dark:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 90px 0; }

.section-light { background: var(--grey-light); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #cccccc; }

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title .tag {
  display: block;
  color: var(--lime-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-dark .section-title .tag { color: var(--lime); }

.section-title h2 {
  position: relative;
  padding-bottom: 18px;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--lime);
}

/* ============================================================
   3 SERVICE CATEGORY BOXES (Domestic | Commercial | Contact)
   Modelled on Elementor icon-box pattern
   ============================================================ */
.category-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
}

.category-box {
  background: var(--black);
  color: var(--white);
  padding: 60px 35px;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid #2a2a2a;
  transition: background 0.3s ease;
  display: block;
}

.category-box:last-child { border-right: none; }

.category-box:hover {
  background: var(--lime);
  color: var(--black);
}

.category-box:hover .cat-icon { background: var(--black); color: var(--lime); }
.category-box:hover h3 { color: var(--black); }
.category-box:hover p { color: #1a1a1a; }

.cat-icon {
  width: 90px;
  height: 90px;
  background: var(--lime);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.cat-icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.category-box h3 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.category-box p {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin: 0;
  transition: color 0.3s ease;
}

/* ============================================================
   TWO-COLUMN (about / image-text)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col .col-img {
  border: 4px solid var(--lime);
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  line-height: 0;          /* removes the gap under the image */
  align-self: center;
}

.two-col .col-img img {
  display: block;
  width: 100%;
  height: auto;            /* box wraps the image at its natural shape */
}

.two-col .tag {
  display: block;
  color: var(--lime-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

/* ============================================================
   SERVICES LIST GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-item {
  background: var(--white);
  border: 2px solid var(--grey-border);
  padding: 35px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--grey-text);
  transition: all 0.25s ease;
  display: block;
}

.service-item:hover {
  border-color: var(--lime);
  background: var(--black);
  color: var(--white);
  transform: translateY(-5px);
}

.service-item:hover h4 { color: var(--lime); }
.service-item:hover .svc-icon { background: var(--lime); color: var(--black); }

.svc-icon {
  width: 70px;
  height: 70px;
  background: var(--black);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.svc-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-item h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin: 0;
  color: var(--black);
  transition: color 0.25s ease;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}

.areas-list li {
  background: var(--lime);
  color: var(--black);
  padding: 14px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.2s ease;
}

.areas-list li:hover {
  background: var(--white);
  color: var(--black);
}

/* ============================================================
   ACCREDITATIONS — carousel-style logo row
   ============================================================ */
.accred-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.accred-item {
  background: var(--white);
  border: 2px solid var(--grey-border);
  padding: 35px 25px;
  text-align: center;
  transition: all 0.25s ease;
}

.accred-item:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.accred-logo {
  width: 90px;
  height: 90px;
  background: var(--black);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.accred-item .accred-name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 4px;
}

.accred-item .accred-sub {
  display: block;
  color: #888;
  font-size: 0.8rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background: var(--white);
  padding: 35px 30px;
  border-top: 4px solid var(--lime);
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  position: relative;
  flex: 1 1 calc((100% - 60px) / 3);
  min-width: 280px;
  max-width: calc((100% - 60px) / 3);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5rem;
  color: var(--lime);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

.testimonial .stars {
  color: var(--lime-dark);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.testimonial p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  font-size: 0.97rem;
}

.testimonial .author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.testimonial .author span {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #888;
  font-size: 0.85rem;
  margin-top: 3px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-single {
  max-width: 560px;
  margin: 0 auto;
}

.contact-info {
  background: var(--black);
  color: var(--white);
  padding: 50px 40px;
  border-top: 4px solid var(--lime);
}

.contact-info h3 {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  margin-top: 30px;
}

.contact-info ul li {
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info ul li:last-child { border-bottom: none; }

.contact-info ul li .ico {
  background: var(--lime);
  color: var(--black);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info ul li a { color: var(--white); }
.contact-info ul li a:hover { color: var(--lime); }

.contact-info .label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lime);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-form {
  background: var(--white);
  border: 2px solid var(--grey-border);
  padding: 50px 40px;
  border-top: 4px solid var(--lime);
}

.contact-form h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--grey-border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--grey-light);
  transition: border 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: var(--white);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  background: var(--lime);
  color: var(--black);
  padding: 18px;
  margin-top: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: #bababa;
  padding: 70px 0 0;
  border-top: 4px solid var(--lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  text-align: center;
}

.footer-col h4 {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 25px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--lime);
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  padding: 6px 0;
  font-size: 0.95rem;
}

.footer-col a {
  color: #bababa;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--lime); }

.footer-col .footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-col .footer-icon .ico {
  background: var(--lime);
  color: var(--black);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 60px;
  padding: 22px 0;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom a { color: var(--lime); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--lime);
  color: var(--black);
  padding: 50px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--black); }
.cta-strip p { color: #1a1a1a; max-width: 700px; margin: 0 auto 25px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .header-contact { text-align: center; }
  .header-contact a { justify-content: center; }
  .header-address { justify-content: center; }
  .category-boxes { grid-template-columns: 1fr; }
  .category-box { border-right: none; border-bottom: 1px solid #2a2a2a; }
  .two-col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-list { grid-template-columns: repeat(3, 1fr); }
  .accred-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial { max-width: 100%; flex: 1 1 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .main-nav a {
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
  }
  .main-nav li:first-child a { border-left: none; }
  .dropdown-menu {
    position: static;
    border-top: none;
    box-shadow: none;
    background: #111;
  }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }

  .hero { padding: 70px 0; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { font-size: 1rem; }
  .header-logo img { max-height: 130px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-list { grid-template-columns: repeat(2, 1fr); }
  .accred-row { grid-template-columns: 1fr; }

  section { padding: 55px 0; }
  h2 { font-size: 1.5rem; }
  .contact-info, .contact-form { padding: 35px 25px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
}
