/*
 * Wisco Poo Pros website styles
 *
 * This stylesheet defines the core look and feel for the Wisco Poo Pros
 * website. It includes a modern responsive layout with a sticky header,
 * hero banners, feature cards, service cards, testimonials, maps and
 * contact/quote forms. Colours are derived from the company logo and
 * maintain a professional yet friendly vibe.  Media queries provide
 * sensible fallbacks on smaller screens.
 */

/* Custom properties for easy theming */
:root {
  --primary-color: #5BA6C9;      /* blue derived from mascot background */
  --secondary-color: #E8B24A;    /* warm yellow/gold from mascot fur */
  --dark-color: #2B2B2B;         /* dark grey for text */
  --light-color: #FAFAF8;        /* near‑white background */
  --accent-color: #84623F;       /* brown accent reminiscent of soil */
  --max-width: 1200px;           /* max width for centred content */
  --radius: 6px;                 /* rounded corner radius */
}

/* Reset & base typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: var(--primary-color);
}
a:hover {
  color: var(--secondary-color);
}

/* Header & navigation */
header {
  width: 100%;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}
/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Increase the logo size to make it a focal point */
.logo img {
  height: 80px;
}

/* Text next to the logo for the business name */
/* Larger text next to the logo */
.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
nav ul li {
  position: relative;
}
nav a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem;
  display: block;
  transition: color 0.3s;
}
nav a:hover,
nav a:focus {
  color: var(--primary-color);
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 4px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }
  .hamburger {
    display: flex;
  }
}

/* Hero sections */
.hero,
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}
.hero {
  height: 80vh;
}
.page-hero {
  height: 50vh;
}
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.hero h1,
.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p,
.page-hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: var(--secondary-color);
}

/* Features section */
.features {
  padding: 3rem 1rem;
  background-color: #f7f8f9;
}
.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.feature {
  text-align: center;
  padding: 1rem;
}
.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.feature p {
  font-size: 1rem;
}

/* Services cards */
.services {
  padding: 3rem 1rem;
}
.services-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card .content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.service-card p {
  margin-bottom: 1rem;
  flex-grow: 1;
}
.service-card .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Service area */
.service-area {
  padding: 3rem 1rem;
}
.service-area-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.service-area .map {
  flex: 1 1 350px;
}
.service-area .map img {
  width: 100%;
  border-radius: var(--radius);
}
.service-area .areas {
  flex: 1 1 300px;
}
.service-area .areas h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.service-area .areas ul {
  list-style: none;
  padding-left: 0;
}
.service-area .areas li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}
.service-area .areas li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials {
  padding: 3rem 1rem;
  background-color: #f7f8f9;
}
.testimonials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial .author {
  font-weight: bold;
  color: var(--primary-color);
}

/* About page */
.about {
  padding: 3rem 1rem;
}
.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.about h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.about p {
  margin-bottom: 1rem;
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
.about-image img {
  max-width: 200px;
}
.about-text h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.why-list {
  list-style: none;
  margin-top: 1rem;
}
.why-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.why-list li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}
@media(max-width: 768px) {
  .about-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact page */
.contact {
  padding: 3rem 1rem;
}
.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-info {
  flex: 1 1 300px;
}
.contact-form {
  flex: 1 1 300px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form button {
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  background-color: var(--secondary-color);
}

/* Quote page */
.quote {
  padding: 3rem 1rem;
}
.quote-container {
  max-width: 600px;
  margin: 0 auto;
}
.quote-form {
  display: flex;
  flex-direction: column;
}
.quote-form select,
.quote-form input {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
}
.quote-form button {
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.quote-form button:hover {
  background-color: var(--secondary-color);
}
.quote-result {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 2rem 1rem;
}
footer .footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
footer .column {
  flex: 1 1 240px;
}
footer h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}
footer p {
  margin-bottom: 0.5rem;
}
footer a {
  color: var(--secondary-color);
  text-decoration: none;
}
footer a:hover {
  color: var(--primary-color);
}
footer .social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
footer .social-icons a i {
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s;
}
footer .social-icons a i:hover {
  color: var(--secondary-color);
}