/*
Theme Name: Super Poop Scoopers
Description: Custom theme for Super Poop Scoopers pet waste removal service
Version: 1.0
Author: Your Name
*/

:root {
  --primary-color: #8B4513; /* Brown */
  --secondary-color: #4CAF50; /* Green */
  --accent-color: #FFA500; /* Orange accent */
  --light-color: #f9f9f9;
  --dark-color: #333333;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f2f2f2;
  --gray-medium: #dddddd;
  --gray-dark: #666666;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.header-top {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-size: 0.9rem;
}

.header-main {
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding img {
  max-height: 70px;
}

.main-navigation ul {
  display: flex;
}

.main-navigation li {
  margin-left: 25px;
  position: relative;
}

.main-navigation a {
  color: var(--dark-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
}

.header-buttons {
  display: flex;
  align-items: center;
}

.header-phone {
  margin-right: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.header-phone i {
  margin-right: 5px;
}

.header-button {
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  padding: 50px 20px 20px;
  overflow-y: auto;
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.mobile-menu-close span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 0;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-items li {
  margin-bottom: 15px;
}

.mobile-menu-items a {
  display: block;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 16px;
}

.mobile-buttons {
  margin-top: 30px;
}

.mobile-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  text-align: center;
}

/* Hero Section */
.hero-section {
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-form {
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-excerpt {
  margin-bottom: 20px;
  color: var(--gray-dark);
}

.service-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-from {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

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

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.benefits-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.benefits-image {
  flex: 0 0 45%;
}

.benefits-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  margin-bottom: 30px;
}

.benefit-icon {
  flex: 0 0 60px;
  height: 60px;
  background-color: rgba(139, 69, 19, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.benefit-description {
  color: var(--gray-dark);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonials-slider {
  position: relative;
  padding: 0 50px;
}

.testimonial-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 20px 15px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-content:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.author-details p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.testimonial-rating {
  margin-top: 10px;
  color: #ffc107;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--white);
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  margin: 0;
  padding-right: 30px;
}

.faq-question:after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item.active .faq-question:after {
  content: '\f106';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-button {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-widget h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--gray-medium);
  transition: var(--transition);
}

.footer-widget a:hover {
  color: var(--white);
}

.footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  color: var(--gray-medium);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
}

/* ZIP Form */
.zip-form {
  max-width: 500px;
  margin: 0 auto;
}

.zip-form-inner {
  display: flex;
}

.zip-form-inner input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.zip-form-inner button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 12px 20px;
}

.zip-form-result {
  margin-top: 10px;
  font-size: 0.9rem;
}

.zip-form-result .success {
  color: #4CAF50;
  padding: 10px;
  background-color: rgba(76, 175, 80, 0.1);
  border-radius: var(--border-radius);
}

.zip-form-result .error {
  color: #F44336;
  padding: 10px;
  background-color: rgba(244, 67, 54, 0.1);
  border-radius: var(--border-radius);
}

.zip-form-result .loading {
  color: var(--dark-color);
  padding: 10px;
  text-align: center;
}

/* Media Queries */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-container {
    flex-direction: column;
  }
  
  .benefits-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-buttons {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto 15px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-widgets {
    grid-template-columns: 1fr;
  }
  
  .zip-form-inner {
    flex-direction: column;
  }
  
  .zip-form-inner input[type="text"] {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .zip-form-inner button {
    border-radius: var(--border-radius);
  }
}
