/*
Theme Name: Williams Towing Fleet
Theme URI: https://williamstowingfleet.com/
Author: Williams Towing Fleet
Author URI: https://williamstowingfleet.com/
Description: A custom WordPress theme based on the Williams Towing Fleet website design. The theme includes a responsive layout, modern typography, service grids, testimonials and more. It is intended as a starting point for a towing company website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: williamstowingfleet
*/

/* Base element resets and typography */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

a {
  color: #0b735b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header and navigation */
header {
  background: #ffffff;
  padding: 12px 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

header nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

header nav a {
  font-weight: 500;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #085944;
}

/* Hero banner */
.hero {
  background: linear-gradient(135deg, #0b735b, #2ab7ca);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-btn {
  background: #ffffff;
  color: #0b735b;
  padding: 14px 32px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #f0f0f0;
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  margin-left: 10px;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
}

.ratings {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.ratings .fa-star {
  color: #FFD700;
  font-size: 1.2rem;
}
.ratings .rating-text {
  margin-left: 10px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

/* Generic section styling */
section {
  padding: 60px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #0b735b;
  font-weight: 600;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #0b735b;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #333;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.service-card a {
  display: inline-block;
  margin-top: 8px;
  color: #0b735b;
  font-weight: 600;
}

.service-card a:hover {
  color: #085944;
  text-decoration: none;
}

/* Feature highlights */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 10px;
}

.feature-item i {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #0b735b;
}

.feature-item h4 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.9rem;
  color: #555;
}

/* Areas served list */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.areas-list span {
  background: #f2f2f2;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #333;
}

/* Testimonials */
.testimonials {
  background: #f7f7f7;
  padding: 60px 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
}

.testimonial .stars {
  margin-bottom: 10px;
}

.testimonial .stars i {
  color: #FFD700;
  margin-right: 2px;
}

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

.testimonial h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b735b;
  margin: 0;
}

/* Business highlights */
#business-highlights {
  background: #ffffff;
}

#business-highlights .highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

#business-highlights .highlight {
  text-align: center;
  padding: 20px;
}

#business-highlights .highlight i {
  font-size: 2rem;
  color: #0b735b;
  margin-bottom: 10px;
}

#business-highlights .highlight h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

#business-highlights .highlight p {
  font-size: 0.9rem;
  color: #555;
}

/* Specialty services */
#specialty-services {
  background: #f9f9f9;
}

#specialty-services .specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

#specialty-services .specialty {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}

#specialty-services .specialty i {
  font-size: 2rem;
  color: #0b735b;
  margin-bottom: 10px;
}

#specialty-services .specialty h4 {
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

#specialty-services .specialty p {
  font-size: 0.9rem;
  color: #555;
}

/* Fleet */
#fleet {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  text-align: center;
}

#fleet h2 {
  font-size: 2rem;
  color: #0b735b;
  margin-bottom: 20px;
  font-weight: 600;
}

#fleet p {
  max-width: 900px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

#fleet img {
  width: 100%;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Payment methods section */
#payment-options {
  background: #f2f2f2;
  padding: 60px 40px;
  text-align: center;
}

#payment-options h2 {
  color: #0b735b;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

#payment-options p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #0b735b;
  color: #ffffff;
  padding: 40px;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

footer h4 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

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

footer li {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #e0e0e0;
}

footer p.copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8rem;
  opacity: 0.9;
}