/*
Theme Name: Local Service Pro
Description: High-converting WordPress theme for local service businesses with built-in trust signals, lead capture, and conversion optimization.
Version: 1.0
Author: Local Service Pro
*/

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
  font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a202c;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}
h2 {
  font-size: 2.25rem;
  font-weight: 700;
}
h3 {
  font-size: 1.875rem;
  font-weight: 600;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
  font-size: 1.1rem;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

/* Header and Navigation */
.site-header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #1e3a5f;
}

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.phone-number a {
  font-weight: 600;
  color: #1e3a5f;
  font-size: 1rem;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-height: 44px;
  min-width: 44px;
  line-height: 1.2;
}

.btn-primary {
  background: #1e3a5f;
  color: white;
  box-shadow: 0 2px 4px rgba(30, 58, 95, 0.2);
}

.btn-primary:hover {
  background: #2c5282;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
  background: #f7fafc;
  color: #2d3748;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  background: #f7fafc;
  padding: 5rem 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #1a202c;
  font-weight: 800;
}

.hero-subheadline {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
  color: #4a5568;
  font-weight: 400;
  line-height: 1.4;
}

.hero-cta {
  margin-bottom: 3rem;
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #4a5568;
  font-weight: 500;
}

.trust-item .icon {
  font-size: 1.25rem;
}

.stars {
  color: #f6ad55;
  font-size: 1.125rem;
}

.rating-text {
  font-weight: 600;
  color: #2d3748;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: #1a202c;
}

.section-header p {
  font-size: 1.125rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1e3a5f;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #1a202c;
}

.service-card p {
  color: #718096;
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background: #f7fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.6;
}

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

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: #1a202c;
  font-size: 1rem;
}

.author-info p {
  color: #718096;
  margin: 0;
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: #1a202c;
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #a0aec0;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Quote Form */
.quote-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.quote-form h3 {
  color: #1a202c;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* Sticky Elements */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-phone {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background: #1e3a5f;
  color: white;
  padding: 16px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background: #1a202c;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1rem;
  text-align: center;
  color: #718096;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subheadline {
    font-size: 1.25rem;
  }

  .main-nav {
    display: none;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .trust-bar {
    justify-content: center;
    gap: 1.5rem;
  }

  .sticky-cta,
  .sticky-phone {
    display: block;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
