/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: #0a0a0a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: #047857;
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img,
.logo img {
  height: 55px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #059669;
}

.nav-link.admin-link {
  color: #6b7280;
  font-size: 0.875rem;
}

.btn-nav {
  white-space: nowrap;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background-color: #f0fdf4;
  color: #059669;
}

.nav-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.5rem 0;
}

.nav-dropdown-view-all {
  color: #059669;
  font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1f2937;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger-line:nth-child(3) {
  margin-top: 6px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile-only elements on desktop */
.mobile-call-btn {
  display: none;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #059669;
  color: #ffffff;
  border: 2px solid #059669;
}

.btn-primary:hover:not(:disabled) {
  background-color: #047857;
  border-color: #047857;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(5, 150, 105, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: #059669;
  border: 2px solid #059669;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #f0fdf4;
  color: #047857;
  border-color: #047857;
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-submit {
  width: 100%;
}

.btn-loading {
  opacity: 0.7;
}

.btn-success {
  background-color: #10b981;
  border-color: #10b981;
}

.btn-error {
  background-color: #ef4444;
  border-color: #ef4444;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('images/green-lawn_1764029808421.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #d1fae5;
  line-height: 1.6;
}

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

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

.hero-call-btn {
  margin-top: 0.5rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section {
  background-color: #f9fafb;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: #0a0a0a;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #059669;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0a0a0a;
}

.service-description {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 0;
}

.service-card-featured {
  border-color: #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.service-card-btn {
  margin-top: 1.25rem;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works-section {
  background-color: #ffffff;
}

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

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: #0a0a0a;
}

.step-description {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================
   QUOTE FORM SECTION
   ========================================== */

.quote-section {
  background-color: #f9fafb;
}

.quote-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quote-header {
  margin-bottom: 2rem;
}

.quote-form {
  margin-top: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9375rem;
}

.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

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

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message-success {
  display: block;
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #059669;
}

.form-message-error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
}

.form-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.form-input-error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

.form-note {
  text-align: center;
  color: #6b7280;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.phone-link {
  font-weight: 600;
  color: #059669;
}

/* ==========================================
   SERVICE PAGES
   ========================================== */

.service-page-hero {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.service-page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-page-tagline {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
}

.service-page-content {
  padding: 3rem 0;
}

.service-section {
  margin-bottom: 2.5rem;
}

.service-section h2 {
  font-size: 1.5rem;
  color: #0a0a0a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #059669;
}

.service-section p {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: #374151;
  line-height: 1.6;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: bold;
}

.service-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.service-steps li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: #374151;
  line-height: 1.6;
  counter-increment: step-counter;
}

.service-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  background-color: #059669;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Grass Gallery Grid (for service pages) */
.grass-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.grass-gallery-card {
  display: block;
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.grass-gallery-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.grass-gallery-image {
  width: 100%;
  height: 100px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.grass-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grass-gallery-card:hover .grass-gallery-image img {
  transform: scale(1.05);
}

.grass-gallery-name {
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0a0a0a;
  text-align: center;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.grass-gallery-note {
  margin-top: 1.5rem;
  text-align: center;
  color: #4b5563;
}

/* ==========================================
   GRASS TYPES PAGES
   ========================================== */

.grass-page-hero {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.grass-page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.grass-hero-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
}

.grass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grass-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.grass-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.grass-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.grass-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grass-card:hover .grass-card-image img {
  transform: scale(1.05);
}

.grass-card-content {
  padding: 1.5rem;
}

.grass-card-title {
  font-size: 1.25rem;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
}

.grass-card-description {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.grass-cta-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.grass-cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.grass-cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* Grass Detail Page Styles */
.grass-detail-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('/images/green-lawn_1764029808421.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.grass-detail-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.grass-tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

.grass-detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.grass-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 0.75rem;
  margin: 0 auto 2.5rem;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.grass-section {
  margin-bottom: 2.5rem;
}

.grass-section h2 {
  font-size: 1.5rem;
  color: #0a0a0a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #059669;
}

.grass-section p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.grass-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.grass-section li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #374151;
  line-height: 1.6;
}

.grass-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: #059669;
  border-radius: 50%;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pros-column h3,
.cons-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-column h3 {
  color: #059669;
}

.cons-column h3 {
  color: #dc2626;
}

.pros-column li::before {
  background-color: #059669;
}

.cons-column li::before {
  background-color: #dc2626;
}

.decision-box {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.decision-box p {
  margin-bottom: 0.5rem;
}

.decision-box p:last-child {
  margin-bottom: 0;
}

.grass-cta-bottom {
  background-color: #f9fafb;
  border-radius: 0.75rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.grass-cta-bottom h2 {
  font-size: 1.75rem;
  color: #0a0a0a;
  margin-bottom: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

.grass-cta-bottom p {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  color: #4b5563;
}

/* Responsive adjustments for grass pages */
@media (max-width: 768px) {
  .grass-page-hero h1,
  .grass-detail-hero h1 {
    font-size: 2rem;
  }
  
  .grass-grid {
    grid-template-columns: 1fr;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grass-detail-content {
    padding: 2rem 1rem;
  }
}

/* Responsive adjustments for service pages */
@media (max-width: 768px) {
  .service-page-hero {
    padding: 3rem 0;
  }
  
  .service-page-hero h1 {
    font-size: 1.75rem;
  }
  
  .service-page-tagline {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .service-page-content {
    padding: 2rem 0;
  }
  
  .service-section h2 {
    font-size: 1.25rem;
  }
}

/* ==========================================
   SERVICE AREAS SECTION
   ========================================== */

.service-areas-section {
  background-color: #f3f4f6;
  padding: 3rem 0;
  text-align: center;
}

.service-areas-text {
  max-width: 800px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 2.5rem 0;
  text-align: center;
}

.footer-text {
  margin-bottom: 0.75rem;
}

.footer-brand {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* ==========================================
   ADMIN DASHBOARD
   ========================================== */

.admin-section {
  background-color: #f9fafb;
  min-height: calc(100vh - 4rem);
  padding-top: 2rem;
}

.admin-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #059669;
}

/* ==========================================
   FILTER BAR
   ========================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.filter-group {
  flex: 1 1 200px;
  min-width: 200px;
}

.filter-input,
.filter-select {
  width: 100%;
  margin-bottom: 0;
}

#clear-filters-btn {
  white-space: nowrap;
}

/* ==========================================
   ADMIN TABLE
   ========================================== */

.table-wrapper {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.admin-table thead {
  background-color: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.admin-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}

.admin-table tbody tr {
  transition: background-color 0.15s ease;
}

.admin-table tbody tr:hover {
  background-color: #f9fafb;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.date-cell {
  color: #6b7280;
  font-size: 0.875rem;
  white-space: nowrap;
}

.customer-cell {
  min-width: 150px;
}

.customer-name {
  font-weight: 600;
  color: #0a0a0a;
}

.contact-cell {
  min-width: 200px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-phone,
.contact-email,
.contact-address {
  font-size: 0.875rem;
  color: #4b5563;
}

.service-cell {
  font-weight: 500;
  color: #0a0a0a;
  min-width: 140px;
}

.status-cell {
  min-width: 140px;
}

.status-select {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.status-select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.status-new {
  color: #2563eb;
  background-color: #dbeafe;
}

.status-quoted {
  color: #7c3aed;
  background-color: #ede9fe;
}

.status-scheduled {
  color: #d97706;
  background-color: #fef3c7;
}

.status-in-progress {
  color: #059669;
  background-color: #d1fae5;
}

.status-completed {
  color: #10b981;
  background-color: #d1fae5;
}

.status-cancelled {
  color: #6b7280;
  background-color: #f3f4f6;
}

.installer-cell {
  min-width: 150px;
}

.installer-input {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.installer-input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.notes-cell {
  min-width: 250px;
  max-width: 350px;
}

.notes-textarea {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
  transition: all 0.2s ease;
}

.notes-textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.job-description {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background-color: #f9fafb;
  border-left: 3px solid #059669;
  font-size: 0.875rem;
  color: #4b5563;
  border-radius: 0.25rem;
}

.job-description strong {
  color: #374151;
}

.actions-cell {
  white-space: nowrap;
}

.save-btn {
  min-width: 80px;
}

/* ==========================================
   EMPTY & LOADING STATES
   ========================================== */

.empty-state,
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 0;
}

.spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid #e5e7eb;
  border-top-color: #059669;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-state p {
  color: #6b7280;
  margin-bottom: 0;
}

.error-message {
  text-align: center;
  color: #ef4444;
  padding: 2rem;
  font-weight: 600;
}

/* ==========================================
   SOD DISTRIBUTION PAGE
   ========================================== */

.distribution-hero {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.distribution-hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.distribution-hero-subtitle {
  font-size: 1.25rem;
  color: #d1fae5;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.distribution-section {
  background-color: #ffffff;
}

.distribution-overview {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.distribution-text {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.distribution-customers {
  background-color: #f0fdf4;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #bbf7d0;
}

.distribution-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #047857;
}

.distribution-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.distribution-list li {
  font-weight: 600;
  color: #059669;
}

.distribution-grasses-section {
  background-color: #f9fafb;
}

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

.distribution-grass-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  text-decoration: none;
}

.distribution-grass-card:hover {
  border-color: #059669;
  background-color: #f0fdf4;
  transform: translateY(-2px);
}

.distribution-grass-card .grass-name {
  font-weight: 600;
  color: #0a0a0a;
}

.distribution-grass-card .grass-arrow {
  font-size: 0.875rem;
  color: #059669;
}

/* Grass Image Cards (with photos) */
.grass-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.grass-image-card {
  display: block;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.grass-image-card:hover {
  border-color: #059669;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
  transform: translateY(-4px);
}

.grass-image-wrapper {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.grass-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grass-image-card:hover .grass-image-wrapper img {
  transform: scale(1.08);
}

.grass-image-label {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0a;
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
}

@media (max-width: 640px) {
  .grass-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .grass-image-wrapper {
    height: 110px;
  }
  
  .grass-image-label {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }
}

.distribution-delivery-section {
  background-color: #ffffff;
}

.delivery-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.delivery-option-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: #f9fafb;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.delivery-option-icon {
  color: #059669;
  margin-bottom: 1rem;
}

.delivery-option-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}

.delivery-option-desc {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0;
}

.distribution-why-section {
  background-color: #f0fdf4;
}

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

.why-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #bbf7d0;
}

.why-check {
  flex-shrink: 0;
  color: #059669;
}

.why-card span {
  font-weight: 500;
  color: #1a1a1a;
}

.distribution-cta-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
}

.distribution-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.distribution-cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.distribution-cta-text {
  font-size: 1.125rem;
  color: #d1fae5;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.distribution-cta-buttons .btn-primary {
  background-color: #ffffff;
  color: #059669;
  border-color: #ffffff;
}

.distribution-cta-buttons .btn-primary:hover {
  background-color: #f0fdf4;
  border-color: #f0fdf4;
}

.distribution-cta-buttons .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.distribution-cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar .container {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
    padding: 0;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    visibility: visible;
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .nav-dropdown-item {
    padding: 0.5rem 1rem;
  }

  .btn-nav {
    display: none;
  }

  /* Mobile call button in menu */
  .nav-links .mobile-call-btn {
    display: block;
    margin-top: 1rem;
    text-align: center;
    background-color: #059669;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
  }

  .distribution-hero-title {
    font-size: 2rem;
  }

  .distribution-hero-subtitle {
    font-size: 1.125rem;
  }

  .distribution-cta-title {
    font-size: 1.75rem;
  }

  .distribution-cta-buttons {
    flex-direction: column;
  }

  .nav-brand img,
  .logo img {
    height: 55px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }

  .quote-wrapper {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 1200px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .steps-grid {
    gap: 2rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-brand img,
  .logo img {
    height: 60px;
  }

  .btn-nav {
    padding: 0.5rem 0.625rem;
    font-size: 0.8rem;
  }
}
