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

:root {
  /* Modern Color Palette - Eco-friendly theme */
  --primary-color: #2d8659;
  --primary-dark: #1f5d3f;
  --primary-light: #4fb884;
  --accent-color: #3a9bc7;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --nav-height: 72px;
  --mobile-bar-height: 60px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#body {
  background-color: var(--bg-white);
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 134, 89, 0.12);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary-dark);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(45, 134, 89, 0.08);
}

.nav-link.active {
  color: var(--primary-color);
  background-color: rgba(45, 134, 89, 0.1);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header / Hero Styles */
#masthead {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3.5rem 2rem 4rem;
  border-bottom: 4px solid var(--primary-light);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(79, 184, 132, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(58, 155, 199, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.header-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

#logoIcon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  background-color: white;
  padding: 8px;
}

.companyName {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 360px;
  line-height: 1.5;
}

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hours-status.is-open {
  background: rgba(79, 184, 132, 0.25);
  border-color: rgba(79, 184, 132, 0.5);
}

.hours-status.is-closed {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hours-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.5);
}

.hours-status.is-open .hours-status-dot {
  background: #7dffb8;
  box-shadow: 0 0 6px rgba(125, 255, 184, 0.6);
}

.hours-status.is-closed .hours-status-dot {
  background: rgba(255, 255, 255, 0.4);
}

.hours-status-text {
  color: rgba(255, 255, 255, 0.95);
}

.address p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 420px;
  justify-self: end;
  width: 100%;
}

.hours h4,
.phone h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.hours p,
.phone p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* Mission Section */
#mission {
  background-color: var(--bg-light);
  padding: 5rem 2rem;
  text-align: center;
  scroll-margin-top: var(--nav-height);
}

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

#mission h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.mission-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.feature-card {
  background: var(--bg-white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 134, 89, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Image Section */
.image-section {
  padding: 3rem 2rem 4rem;
  background-color: var(--bg-white);
  scroll-margin-top: var(--nav-height);
}

.image-section .section-title {
  margin-bottom: 2rem;
}

#streetView {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Services Section */
#services {
  background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: 5rem 2rem;
  scroll-margin-top: var(--nav-height);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

#services .section-eyebrow {
  margin-bottom: 0.5rem;
}

#services .section-title {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(45, 134, 89, 0.08);
}

.service-card.is-visible:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

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

.service-card-body p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Info Section */
#info {
  background-color: var(--bg-white);
  padding: 5rem 2rem;
}

#info > .section-title {
  margin-bottom: 3rem;
}

#prices,
#reviews {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.prices-card,
.reviews-card {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 134, 89, 0.08);
}

.prices-card h2,
.reviews-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

/* Prices List */
.prices-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.item-name {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.item-price {
  font-size: 1.125rem;
  color: var(--primary-color);
  font-weight: 600;
  white-space: nowrap;
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quote-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.quote-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quote-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-style: italic;
}

.quote-author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-align: right;
  margin: 0;
}

/* Social Media */
.social-media {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.social-media a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-media a:hover {
  transform: scale(1.1);
}

.social-media img {
  height: 50px;
  width: auto;
}

/* Footer */
#contact {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  padding: 4rem 2rem 2rem;
  scroll-margin-top: var(--nav-height);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: white;
  padding: 6px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 280px;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-block h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-block p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 0.9375rem;
}

.footer-address,
.footer-phone {
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-address:hover,
.footer-phone:hover {
  color: var(--primary-light);
}

.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
}

.map-section h3 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

#contact .footer-copy {
  margin-top: 2.5rem;
}

/* Scroll to Top Button */
#scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

#scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-to-top:hover {
  transform: translateY(-5px);
}

/* Mobile Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--mobile-bar-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  gap: 0.75rem;
}

.mobile-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-action-call {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-sm);
}

.mobile-action-directions {
  background: var(--bg-light);
  color: var(--primary-dark);
  border: 1px solid var(--border-color);
}

.mobile-action-btn:active {
  transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .mobile-action-bar {
    display: flex;
  }

  body {
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  #scroll-to-top {
    bottom: calc(var(--mobile-bar-height) + 1rem + env(safe-area-inset-bottom, 0px));
  }

  #contact {
    padding-bottom: calc(2rem + var(--mobile-bar-height));
  }

  .header-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-section {
    justify-self: stretch;
    max-width: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .companyName {
    font-size: 2rem;
  }

  #mission h2,
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 64px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo span {
    display: none;
  }

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

  .hero-btn {
    width: 100%;
  }

  #masthead {
    padding: 2.5rem 1rem;
  }

  #mission,
  #services,
  #info {
    padding: 2rem 1rem;
  }

  .companyName {
    font-size: 1.75rem;
  }

  #logoIcon {
    width: 60px;
    height: 60px;
  }

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

  .prices-card,
  .reviews-card {
    padding: 1.5rem;
  }

  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .item-price {
    align-self: flex-end;
  }
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.quote-card,
.price-item,
.feature-card {
  animation: fadeIn 0.5s ease-out;
}

/* Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  #scroll-to-top,
  .mobile-action-bar {
    display: none;
  }

  #masthead {
    background: white;
    color: black;
  }
  
  .service-card,
  .quote-card {
    break-inside: avoid;
  }
}
