/* Creepy Creatures Pest Control - WordPress Theme CSS */

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

body {
  font-family: 'Georgia', serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* HEADER BANNER - Full-width image */
.site-banner {
  width: 100%;
  line-height: 0;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.site-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* NAVIGATION */
nav {
  background-color: #333;
  padding: 12px 20px;
  border-bottom: 3px solid #006400;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav li {
  position: relative;
}

nav a {
  display: block;
  color: #fff;
  padding: 10px 15px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: #fff;
}

nav a:hover {
  background-color: #006400;
  text-decoration: none;
}

/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 0;
  z-index: 1;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-transform: none;
  font-weight: normal;
  font-size: 13px;
  letter-spacing: normal;
}

.dropdown-content a:hover {
  background-color: #006400;
  padding-left: 20px;
}

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

/* MAIN CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  min-height: calc(100vh - 300px);
}

.content {
  flex: 0 0 70%;
  padding: 30px;
  background-color: #fff;
}

.sidebar {
  flex: 0 0 30%;
  padding: 30px 20px;
  background-color: #f9f9f9;
  border-left: 1px solid #ddd;
}

/* CONTENT STYLING */
.content h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #006400;
  padding-bottom: 10px;
}

.content h2 {
  font-size: 22px;
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #006400;
}

.content h3 {
  font-size: 18px;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

.content p {
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.8;
}

.content ul, .content ol {
  margin-left: 30px;
  margin-bottom: 15px;
}

.content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content ol li {
  list-style-position: outside;
}

.guarantee-banner {
  background-color: #fff3cd;
  border: 2px solid #cc0000;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
  border-radius: 4px;
}

.guarantee-banner-red {
  color: #cc0000;
  font-style: italic;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.guarantee-banner-text {
  color: #333;
  font-weight: bold;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
}

.guarantee-text {
  color: #cc0000;
  font-style: italic;
  font-weight: bold;
  margin: 20px 0;
  padding: 15px;
  background-color: #ffe6e6;
  border-left: 4px solid #cc0000;
  line-height: 1.6;
}

.banner-image-placeholder {
  background-color: #006400;
  color: #fff;
  padding: 40px;
  text-align: center;
  margin: 30px 0;
  border-radius: 4px;
  font-weight: bold;
  font-size: 18px;
}

.banner-caption {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 10px;
  font-size: 13px;
}

/* TESTIMONIALS */
.testimonials-section {
  margin-top: 40px;
}

.testimonials-section h2 {
  text-align: center;
  color: #006400;
  font-size: 20px;
  margin-bottom: 30px;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #006400;
  border-radius: 4px;
}

.testimonial-text {
  font-style: italic;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.7;
}

.testimonial-author {
  color: #cc0000;
  font-weight: bold;
  text-align: right;
}

/* REVIEWS SECTIONS */
.reviews-section {
  margin-top: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  background-color: #f9f9f9;
}

.reviews-section h3 {
  color: #006400;
  border-bottom: 2px solid #006400;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.review-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #006400;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
}

.review-author {
  font-weight: bold;
  color: #333;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.review-rating {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 5px;
}

.review-text {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

.rating-card {
  background-color: #fff;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.rating-value {
  font-size: 24px;
  font-weight: bold;
  color: #006400;
}

.rating-label {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 14px;
}

/* SIDEBAR WIDGETS */
.widget {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.widget h3 {
  background-color: #006400;
  color: #fff;
  padding: 10px;
  margin: -15px -15px 15px -15px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px 4px 0 0;
}

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

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  margin: 0;
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: #0066cc;
}

.widget a:hover {
  color: #006400;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 15px 0;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.social-rss {
  background-color: #ff6600;
  color: #fff;
}

.social-email {
  background-color: #0066cc;
  color: #fff;
}

.social-facebook {
  background-color: #1877f2;
  color: #fff;
}

.social-youtube {
  background-color: #ff0000;
  color: #fff;
}

/* FOOTER */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 3px solid #006400;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 2px solid #006400;
  padding-bottom: 10px;
}

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

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #fff;
}

.footer-section a:hover {
  color: #006400;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #555;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

/* FORMS */
.contact-form {
  background-color: #f9f9f9;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 30px 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

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

.form-group button {
  background-color: #006400;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.form-group button:hover {
  background-color: #004d00;
}

/* SERVICE CARDS */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.service-card {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  border-left: 4px solid #006400;
}

.service-card h4 {
  color: #006400;
  margin-bottom: 10px;
  font-size: 16px;
}

.service-card p {
  font-size: 13px;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
  }

  .header-center {
    padding: 0;
    margin: 10px 0;
  }

  .container {
    flex-direction: column;
  }

  .content {
    flex: 1;
    width: 100%;
    padding: 20px;
  }

  .sidebar {
    flex: 1;
    width: 100%;
    border-left: none;
    border-top: 1px solid #ddd;
  }

  nav ul {
    flex-direction: column;
  }

  nav a {
    padding: 8px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* LICENSE BADGE */
.license-badge {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  color: #856404;
}

/* BOLD ITALIC STYLES */
.bold-italic {
  font-weight: bold;
  font-style: italic;
}

/* GREEN EMPHASIS */
.green-text {
  color: #006400;
  font-weight: bold;
}

/* RED EMPHASIS */
.red-text {
  color: #cc0000;
}

/* CENTERED TEXT */
.text-center {
  text-align: center;
}
