/*
 * Main stylesheet for HaulAwayBuddies (JunkFixers.com)
 *
 * This file contains basic styling for the website. Feel free to adjust
 * colors, spacing or fonts to better suit your brand. The palette was
 * chosen to evoke freshness (green) and trust (blue/grey) while keeping
 * readability high. Sections use generous padding and responsive
 * layouts so the content looks great on both desktop and mobile
 * screens.
 */

/* Reset some default browser styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  color: #0070b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #005a8a;
}

/* Navigation bar */
header {
  background-color: #2e8b57; /* sea green */
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero section */
.hero {
  background: linear-gradient(to right, #2e8b57, #3cb371);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #fff;
  color: #2e8b57;
}

.btn-primary:hover {
  background-color: #f0f0f0;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Section styling */
section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2e8b57;
  text-align: center;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature i {
  font-size: 2.5rem;
  color: #2e8b57;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
}

/* Pricing cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card header {
  background-color: #2e8b57;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.pricing-card ul {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
  flex-grow: 1;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.pricing-card footer {
  padding: 1.5rem;
  text-align: center;
  background-color: #f5f5f5;
}

/* About and Services pages */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  color: #2e8b57;
  margin-bottom: 0.5rem;
}

.service-item p {
  color: #555;
  font-size: 0.95rem;
}

/* Contact form */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  font-size: 1rem;
  line-height: 1.6;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

button[type="submit"] {
  background-color: #2e8b57;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #256a46;
}

/* Footer */
footer {
  background-color: #2e8b57;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

footer p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}