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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Top Bar */
.top-bar {
  /* Changed top bar background to match navigation area background */
  background-color: #1D1D1D;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

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

/* --- FIX: Using !important to FORCE cursor: default --- */
.top-right span {
  margin-left: 20px;
  /* This line FORCES the cursor to a default arrow */
  cursor: default !important; 
}

.top-right span:hover {
  /* Ensure the hover effect doesn't try to look like a link */
  color: white;
  text-decoration: none !important;
  cursor: default !important;
}

/* Header */
.header {
  /* Changed header background back to white */
  background-color: white;
  padding: 25px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 80px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.credentials {
  display: flex;
  gap: 20px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.credential-item i {
  color: #7cb342;
  font-size: 24px;
}

.credential-item div {
  display: flex;
  flex-direction: column;
}

.credential-item strong {
  font-size: 12px;
  /* Changed text color back to dark for white header */
  color: #2c3e50;
}

.credential-item span {
  font-size: 11px;
  /* Changed text color back to gray for white header */
  color: #666;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: transparent;
  font-size: 18px; /* Modernized: Set icon size */ 
  color: #2c3e50;
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background-color: transparent; /* Ensure no background on hover */
  color: #7cb342; /* Icon turns green on hover */
  transform: scale(1.2); /* Subtle modern effect: icon grows slightly */
}

/* Navigation */
.navigation {
  background-color: #1D1D1D; /* Updated to match the top bar dark color */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Removed z-index to avoid overlap issues */
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  /* INCREASED PADDING for a button feel */
  padding: 10px 18px; 
  transition: background-color 0.3s, color 0.3s;
  display: block; 
  /* Added a slight border-radius for rounded button corners */
  border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #7cb342; 
  /* Set a darker green background on hover/active to simulate a pressed button */
  background-color: #333333; 
}

.phone-number-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  background-color: #7cb342;
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #7cb342;
  transition: all 0.3s ease;
  cursor: pointer;
}

.phone-number-button:hover {
  background-color: transparent;
  color: #7cb342;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-content {
  text-align: center;
  color: white;
  max-width: 600px;
  position: relative;
}

/* Added styling for individual text slides */
.hero-text-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.hero-text-slide.active {
  opacity: 1;
  position: relative;
  left: auto;
  transform: none;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background-color: #7cb342;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  z-index: 2;
}

.cta-button:hover {
  background-color: #689f38;
}

.hero-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-dot.active {
  background-color: #7cb342;
  border-color: #7cb342;
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Added styles for small logo above welcome text */
.welcome-logo {
  text-align: center;
  margin-bottom: 20px;
}

.small-logo {
  height: 40px;
  width: auto;
}

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

.welcome-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c3e50;
}

.green-text {
  color: #7cb342;
}

/* Reverting green divider back to original line style */
.green-divider {
  width: 60px;
  height: 4px;
  background-color: #7cb342;
  margin: 0 auto 30px;
}

.welcome-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* Services Grid */
.services-grid {
  padding: 80px 0;
  background-color: white;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  padding: 20px 20px 10px;
}

.service-item p {
  color: #666;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.service-arrow {
  color: #7cb342;
  font-weight: bold;
  margin-right: 8px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #7cb342;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  padding: 80px 0;
  background-image: url("/placeholder.svg?height=400&width=1200");
  background-size: cover;
  background-position: center;
  color: white;
}

.testimonials-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9));
}

.testimonials-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 50px;
}

.leaf-icon {
  margin-bottom: 20px;
}

.testimonials-header h2 {
  font-size: 28px;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-item {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item p {
  font-size: 20px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author strong {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.stars {
  color: #ffd700;
}

.testimonial-nav {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testimonial-nav button {
  background-color: #7cb342;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s;
}

.testimonial-nav button:hover {
  background-color: #689f38;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Added styles for logo space above contact information */
.contact-logo-space {
  text-align: center;
  margin-bottom: 30px;
}

.contact-logo {
  height: 60px;
  width: auto;
}

.contact-form-content {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-form-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.contact-form-header p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7cb342;
}

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

.submit-btn {
  background-color: #7cb342;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  background-color: #689f38;
}

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #7cb342;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.contact-info-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.contact-info-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

/* --- New Styles for Map Section --- */

.map-section-main {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa; /* A very light background to make the map pop */
}

.map-section-main h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-section-main .green-text {
    color: #7cb342; /* Highlight 'Us' with your brand color */
}

.map-section-main .green-divider {
    /* Uses the existing green-divider style */
    margin: 0 auto 40px auto; 
}

.map-container-main {
    max-width: 1000px;
    margin: 0 auto;
}

.map-container-main iframe {
    /* Ensure the iframe takes up the full width of its container */
    width: 100%; 
    /* The height is set in the HTML (400px), but this ensures responsiveness */
    display: block;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .map-section-main h2 {
        font-size: 30px;
    }
}

/* Google Reviews Widget */
.google-reviews-widget {
  margin-bottom: 40px;
}

.google-reviews-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  /* Updated background to use a subtle gradient with gray accent */
  background: linear-gradient(135deg, #f8f9fa 0%, #f5f5f5 100%);
  position: relative;
}

/* Added decorative background pattern */
.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(124, 179, 66, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 179, 66, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.reviews-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  /* Added relative positioning to appear above background pattern */
  position: relative;
  z-index: 1;
}

/* Added green divider under reviews heading */
.reviews-section .green-divider {
  width: 60px;
  height: 4px;
  background-color: #7cb342;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  /* Added relative positioning */
  position: relative;
  z-index: 1;
}

.review-item {
  /* Enhanced card styling with better shadows and border */
  background-color: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 179, 66, 0.1);
  position: relative;
  overflow: hidden;
}

/* Added subtle accent border on hover */
.review-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #7cb342;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.review-item:hover {
  transform: translateY(-8px);
  /* Enhanced hover shadow */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.review-item:hover::before {
  transform: scaleX(1);
}

.review-stars {
  margin-bottom: 20px;
}

.review-stars i {
  color: #ffd700;
  font-size: 18px;
  margin: 0 2px;
}

.review-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.google-reviews-link {
  text-align: center;
  /* Added relative positioning */
  position: relative;
  z-index: 1;
}

.google-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #4285f4;
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  /* Enhanced button styling */
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.google-link:hover {
  background-color: #3367d6;
  /* Enhanced hover effect */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* Footer */
.footer {
  /* Changed footer background from #2c3e50 to black */
  background-color: black;
  color: white;
  padding: 50px 0 20px;
}

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

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #7cb342;
}

.footer-section p,
.footer-section li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-section ul li {
  padding: 5px 0;
  color: #bdc3c7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #7cb342;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #689f38;
}

.footer-bottom {
  /* Changed footer line above copyright to dark gray/black */
  border-top: 1px solid #7cb342;
  padding-top: 20px;
  text-align: center;
  color: #bdc3c7;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #7cb342;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: none;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #689f38;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .credentials {
    flex-direction: column;
    gap: 10px;
  }

  .nav-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Improved mobile navigation touch targets */
  .nav-menu a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Better mobile phone button styling */
  .phone-number-button {
    padding: 12px 20px;
    min-height: 44px;
    font-size: 16px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Improved mobile CTA button */
  .cta-button {
    padding: 15px 30px;
    font-size: 16px;
    min-height: 44px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Better mobile service item spacing */
  .service-item {
    padding: 20px;
  }

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

  .top-bar-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .top-right span {
    margin: 0 10px;
  }

  .contact-form-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .contact-form {
    padding: 30px 20px;
  }

  /* Improved mobile form inputs */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }

  .submit-btn {
    min-height: 44px;
    font-size: 16px;
  }

  .map-section-main h2 {
    font-size: 28px;
  }

  .map-container-main iframe {
    height: 250px;
  }

  /* Responsive styles for reviews section */
  .reviews-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-section h2 {
    font-size: 28px;
  }

  /* Better mobile back to top button */
  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .welcome-content h2 {
    font-size: 28px;
  }

  .testimonials-header h2 {
    font-size: 22px;
  }

  .testimonial-item p {
    font-size: 16px;
  }

  .contact-form-header h2 {
    font-size: 28px;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .map-section-main h2 {
    font-size: 28px;
  }

  .map-container-main iframe {
    height: 250px;
  }

  /* Mobile responsive styles for reviews */
  .review-item {
    padding: 20px;
  }

  .reviews-section h2 {
    font-size: 24px;
  }

  /* Extra small screen optimizations */
  .hero-content {
    padding: 20px 0;
  }

  .service-item h3 {
    font-size: 18px;
  }

  .service-item p {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* Added touch-friendly hover states for mobile */
@media (hover: none) and (pointer: coarse) {
  .nav-menu a:hover,
  .phone-number-button:hover,
  .cta-button:hover,
  .submit-btn:hover {
    transform: none;
  }

  .nav-menu a:active,
  .phone-number-button:active,
  .cta-button:active,
  .submit-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* --- FINAL FIX FOR UNCLICKABLE TEXT --- */
.unclickable-text {
  /* Forces the cursor to the default arrow */
  cursor: default !important;
  /* Ensures no text decoration (like an underline) appears */
  text-decoration: none !important;
  /* Ensures no color change happens on hover */
  color: inherit !important; 
}

/* Custom Blue CTA Button for Snow Slide */
.cta-button.blue {
    background-color: #0056b3; /* A deep winter blue */
}

/* Ensure the hover state is also blue */
.cta-button.blue:hover {
    background-color: #004494; /* A slightly darker blue on hover */
    transform: translateY(-2px); /* Maintain the hover effect */
}

/* --- New Styles for Modern Gallery Page --- */

/* Page Header Section */
.page-header-section {
    background-color: #2c3e50; /* Darker color for contrast */
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header-section h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header-section p {
    font-size: 18px;
    opacity: 0.8;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    /* Use a clean white background for a modern look */
    background-color: #ffffff; 
    text-align: center;
}

.gallery-section .section-title {
    margin-bottom: 50px;
}

.gallery-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.gallery-section .green-divider {
    /* Existing style: max-width: 100px; height: 3px; background-color: #7cb342; margin: 0 auto; */
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    /* Maintain 3 columns on desktop for a strong grid */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; /* Increased gap for cleaner separation */
}

/* The gallery item is now the anchor tag itself */
.gallery-item {
    display: block; /* Important for the anchor tag to wrap the content */
    position: relative;
    overflow: hidden;
    /* Subtle border-radius for modernity */
    border-radius: 8px; 
    /* Box shadow lifts the card off the page */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px); /* Lift higher on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.gallery-item img {
    width: 100%;
    /* Standard height for a uniform grid */
    height: 280px; 
    object-fit: cover;
    display: block;
    transition: filter 0.5s ease;
}

.gallery-item:hover img {
    /* Slightly darken the image on hover */
    filter: brightness(0.85); 
}

/* Caption (formerly overlay) */
.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* A cleaner, lighter background gradient */
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 15px 20px;
    text-align: left;
    
    /* Transition for slide-up effect */
    transform: translateY(100%); 
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth cubic-bezier transition */
}

.gallery-item:hover .caption {
    transform: translateY(0); /* Slide fully up on hover */
}

.gallery-item .caption h3 {
    font-size: 18px;
    margin-bottom: 3px;
    font-weight: 700;
    color: #2c3e50;
}

.gallery-item .caption p {
    font-size: 14px;
    margin: 0;
    color: #7cb342; /* Use your brand color for the detail text */
    font-weight: 400;
}


/* Call to action below the gallery */
.gallery-cta {
    margin-top: 50px;
}

/* Magnific Popup Overrides (to match your theme) */
.mfp-bg {
    background: rgba(44, 62, 80, 0.9); /* Darker, slightly blue overlay */
}

/* Responsive adjustments for Gallery */
@media (max-width: 992px) {
    .gallery-grid {
        /* 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    .page-header-section h1 {
        font-size: 32px;
    }

    .gallery-grid {
        /* Single column on phones */
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

/* --- New Styles for Areas We Serve Section --- */

.areas-serve-section {
    margin-top: 60px;
    padding: 40px 0;
    /* Light gray background for contrast */
    background-color: #f7f7f7; 
    border-radius: 8px;
    text-align: center;
}

.areas-header {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.areas-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.areas-header p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.areas-list-grid {
    display: grid;
    /* Two columns for a balanced look on desktop */
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px 30px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
    padding: 0 20px;
}

.areas-list-grid > div {
    font-size: 17px;
    color: #333;
    padding: 5px 0;
    /* Clean separator */
    border-bottom: 1px solid #eee; 
}

.areas-list-grid > div:last-child,
.areas-list-grid > div:nth-last-child(2) {
    /* Remove bottom border on the last two items in a 2-column grid */
    border-bottom: none; 
}

.areas-list-grid > div i {
    /* Brand color for the icon */
    color: #7cb342; 
    margin-right: 10px;
}

.areas-cta {
    margin-top: 20px;
}

.areas-cta .cta-button {
    /* Uses the existing cta-button style from index.html */
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    padding: 12px 30px;
}

/* Responsive adjustments for Areas We Serve */
@media (max-width: 600px) {
    .areas-list-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 10px;
        text-align: center;
    }
    .areas-list-grid > div {
        border-bottom: none !important;
        padding: 5px 0;
    }
    .areas-header h2 {
        font-size: 28px;
    }
}

/* --- Custom Map Section Styles --- */

.map-section-main {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa; 
}

.map-section-main h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-section-main .green-text {
    color: #7cb342;
}

.map-section-main .green-divider {
    margin: 0 auto 40px auto; 
}

/* 📍 MAP IMAGE CONFIGURATION 📍 */
.custom-map-container {
    max-width: 900px;
    height: 400px; 
    margin: 0 auto;
    /* This path MUST match where you saved your map image! */
    background-image: url('../img/durham-region-map.png');
    background-size: cover; /* Ensures the image fills the container */
    background-position: center;
    background-repeat: no-repeat;
    
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative; 
    overflow: hidden;
    border: 1px solid #ddd;
}

.custom-map-overlay {
    background: #7cb342; 
    color: white;
    padding: 10px 20px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    z-index: 10;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Map Markers (The Pins) */
.map-marker-pin {
    width: 15px;
    height: 15px;
    background-color: #c0392b; /* Distinct red pin */
    border-radius: 50%;
    position: absolute;
    z-index: 5;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.map-marker-pin:hover {
    transform: scale(1.5);
    z-index: 20; 
}

/* Tooltip/Label using CSS ::after pseudo-element */
.map-marker-pin::after {
    content: attr(data-label);
    position: absolute;
    top: -25px; 
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50; 
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.3s;
}

.map-marker-pin:hover::after {
    opacity: 1; 
}

/* Pin Positioning - Optimized for durham-region-map.png */
/* X-axis (Left/Right) is approximately: Ajax (0) -> Newcastle (100) */
/* Y-axis (Up/Down) is approximately: Enniskillen (0) -> Lake Ontario (100) */
 
.map-marker-pin.ajax { top: 78%; left: 16%; }        
.map-marker-pin.whitby { top: 68%; left: 32%; }      
.map-marker-pin.oshawa { top: 70%; left: 47%; }      
.map-marker-pin.courtice { top: 68%; left: 63%; }    
.map-marker-pin.bowmanville { top: 65%; left: 75%; } 
.map-marker-pin.newcastle { top: 67%; left: 90%; }  
.map-marker-pin.orono { top: 30%; left: 85%; }      
.map-marker-pin.hampton { top: 40%; left: 60%; }     


.map-disclaimer {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 600px) {
    .custom-map-container {
        height: 300px;
    }
}