/* Global Reset and Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Main layout */
body {
  flex: 1;
}

main {
  flex: 1;
}

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

/* Header */
/* Header */
.main-header {
  background-color: #ffffff;
  color: #2C3E50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #2C3E50;
  font-weight: 600;
  font-size: 16px;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom: 2px solid #2C3E50;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-number {
  font-weight: bold;
  color: #2C3E50;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  height: 20px;
  width: 20px;
}

/* Hero Banner for Home Page */
.hero-banner {
  background: url('images/hero-landscape.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.cta-button {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 12px 24px;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #2980b9;
}

/* Services Section */
.featured-services {
  text-align: center;
  padding: 60px 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  max-width: 100%;
  border-radius: 5px;
}

/* Quote Bubble Section */
.quote-bubble-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.quote-bubble {
  background: white;
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
}

/* Form and Location Boxes */
.quote-hero {
  position: relative;
  background: url('images/lawn-care.jpg') no-repeat center center/cover;
  color: white;
  padding: 80px 20px;
}

.quote-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.quote-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  z-index: 2;
}

.quote-form-box,
.location-box {
  flex: 1 1 48%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.quote-form-box h2,
.location-box h2 {
  margin-bottom: 20px;
  font-family: 'Oswald', sans-serif;
  color: #2c3e50;
}

.styled-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.styled-form input,
.styled-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  background-color: #f9f9f9;
}

.styled-form button {
  margin-top: 10px;
  background-color: #91BA88;
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.styled-form button:hover {
  background-color: #7ea476;
}

.location-list {
  list-style: none;
  padding: 0;
  font-size: 16px;
}

.location-list li {
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  color: #2C3E50;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-contact a {
  color: #2C3E50;
  text-decoration: none;
  font-weight: bold;
}

.footer-contact .social-icons {
  display: flex;
  gap: 10px;
}

.footer-contact .social-icons img {
  height: 20px;
  width: 20px;
}

/* Hero Banners for About & Contact Pages */
.about-hero,
.contact-hero {
  display: flex;
  width: 100%;
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
  align-items: stretch;
}

.about-img-half,
.contact-img-half,
.about-text-half,
.contact-text-half {
  flex: 1;
  min-width: 300px;
  height: 100%;
}


.about-img-half,
.contact-img-half {
  overflow: hidden;
}

.about-img-half img,
.contact-img-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-text-half,
.contact-text-half {
  background-color: #013d20;
  color: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Shared Split Banner Wrapper */
.split-banner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
