/* ===== GLOBAL STYLES ===== */
html, body {
  margin: 0;
  padding: 0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* HEADER STYLES */
  header {
    background-color: #2e7d32;
    color: white;
    padding: 0.1rem 0;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #logo img {
    max-height: 60px;
    transform: scale(1.5);
  }
  
  #menu-toggle {
    display: none;
    background-color: #2e7d32;
    color: white;
    font-size: 24px;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
  }
  
  nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
  }

  nav ul.active {
    display: block; 
  }
  
  nav a:hover {
    color: #c8f0ca;
  }
  
  /* HERO SECTION */
  #hero {
    background: url('/photos/pavement 4.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
  }
  
  .hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 12px;
    display: inline-block;
  }
  
  .btn {
    display: inline-block;
    background-color: #cf2020;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-decoration: none;
    margin-top: 10px;
  }
  
  .btn:hover {
    background-color: #033607;
  }
  
  .service-list,
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  a {
    text-decoration: none;        
  }
  
  #services, #gallery, #contact {
    padding: 10px;
  }

  .service-item:hover {
    background-color: #033607;
    color: #fff;
    transition: background-color 0.3s;
  }
  .service-item,
  .service-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
  }


  .service-item {
    background-color: #2e7d32;
    color: white
  }
  
  .service-section img,
  .gallery img,
  .before-after img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .service-section img, .before-after img {
    width: 50%;
    height: 250px; 
    object-fit: cover;
    border-radius: 10px;
}

.gallery img {
  width: 100%;
  height: 250px; 
  object-fit: cover; 
  border-radius: 10px;
  
}

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

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-item p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}


.contact-container {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

  form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin-inline: auto;
  }
  
  form input,
  form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  form button {
    padding: 12px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
  }
  
  form button:hover {
    background-color: #1b5e20;
  }
  
  /*FOOTER STYLES */
  footer {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    min-height: 0;
  }
  
  footer img {
    max-height: 60px;
    margin: 0;
    padding: 0;
    display: block;
  }
  
  #scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #cf2020;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s;
  }
  
  #scrollToTop.visible {
    display: block;
  }
  
  /*mobile responsiveness */
  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      gap: 10px;
    }
  
    nav ul {
      display: none;
      flex-direction: column;
      background-color: #2e7d32;
      padding: 10px;
      border-radius: 8px;
      width: 100%;
      text-align: center;
  }
  
    nav ul.show {
      display: flex;
    }
  
    nav li {
      margin: 10px 0;
    }
  
    #menu-toggle {
      display: block;
    }
  
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    form {
      width: 100%;
    }
  }









