/* Reset some default styles */
body,
h1,
h2,
h3,
p,
ul,
li,
form {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth !important;
}

/* Set a background color and font for the entire page */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Header styles */
header {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

header nav ul {
  list-style: none;
  text-align: center;
}

header nav ul li {
  display: inline;
  margin-right: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
}

/* Home section styles */
#home {
  text-align: center;
  padding: 100px 0;
  background-image: url("cover2.jpg"); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.75); /* 75% transparent black overlay */
  color: #fff;
}

#home h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

#home p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #555;
}

/* Services section styles */
#services {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
  max-width: 1000px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.service {
  margin-bottom: 5px;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Portfolio section styles */
#portfolio {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: left;
  max-width: 1000px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.portfolio {
  margin-bottom: 40px;
}

.portfolio h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* deck_installation_in_duvall section styles */
#deck_installation_in_duvall {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: left;
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.deck_installation_in_duvall {
  margin-bottom: 40px;
}

.deck_installation_in_duvall h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* deck_replacement_in_duvall section styles */
#deck_replacement_in_duvall {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: left;
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.deck_replacement_in_duvall {
  margin-bottom: 40px;
}

.deck_replacement_in_duvall h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* deck_builder_in_duvall section styles */
#deck_builder_in_duvall {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: left;
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.deck_builder_in_duvall {
  margin-bottom: 40px;
}

.deck_builder_in_duvall h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* scope_of_work section styles */
#scope_of_work {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: left;
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

.scope_of_work {
  margin-bottom: 40px;
}

.scope_of_work h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* About section styles */
#about {
  padding: 50px 0;
  text-align: left;
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

#about h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Contact section styles */
#contact {
  padding: 50px 0;
  text-align: center;
}
#contact iframe {
  height: 20rem !important;
  }

#contact h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Style for the form and labels */
form {
  max-width: 400px; /* Adjust the width as needed */
  margin: 0 auto;
}

label {
  text-align: left;
  display: block; /* Display labels as block elements */
  margin-bottom: 5px; /* Add some spacing between labels and inputs */
}

/* Style for input and textarea elements */
input[type="text"],
input[type="phone"],
input[type="zip"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Style for the label */
label[for="job_type"] {
  font-weight: bold;
  margin-bottom: 10px;
  display: block; /* Ensures label is on its own line */
}

/* Style for the select element */
select#job_type {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  /* Add more styling as needed */
}

/* Style for the button */
button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #555;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Style for the divider container */
.divider {
  display: flex;
  justify-content: space-around; /* Adjust this value as needed to control spacing */
  align-items: center; /* Center vertically if necessary */
  background-color: #f5f5f5; /* Add background color as needed */
  padding: 20px; /* Add padding as needed */
  max-width: 900px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

/* Style for each divider-card */
.divider-card {
  flex: 1; /* Each divider-card takes up equal space */
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

/* Customize divider-card content */
.divider-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.divider-description {
  font-size: 16px;
  color: #777;
}

/* Add additional styles as needed */

/* Style for the main container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Ensure the container takes up at least the full viewport height */
}

/* Style for the gallery container */
.gallery {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(250px, 1fr)
  ); /* Responsive grid layout */
  grid-gap: 20px; /* Gap between gallery items */
  max-width: 800px; /* Set a maximum width for the gallery */
}

/* Style for each gallery item */
.gallery-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3); /* Add a shadow effect */
  transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Style for the gallery item image */
.gallery-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hover effect for gallery items */
.gallery-item:hover {
  transform: scale(1.05); /* Enlarge the item on hover */
}

.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.social-icon {
  margin: 0 10px; /* Adjust the spacing between icons */
}

.social-icon a {
  text-decoration: none;
  color: #333;
}

.social-icon img {
  width: 150px; /* Adjust the width of the icons */
  height: 75px; /* Adjust the height of the icons */
  transition: transform 0.3s ease-in-out;
}

.social-icon img:hover {
  transform: scale(1.2); /* Adjust the scale factor for hover effect */
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.payment-icons {
  margin: 0 10px; /* Adjust the spacing between icons */
}

.payment-icons a {
  text-decoration: none;
  color: #333;
}

.payment-icons img {
  width: 120px; /* Adjust the width of the icons */
  height: 65px; /* Adjust the height of the icons */
  transition: transform 0.3s ease-in-out;
}

.payment-icons img:hover {
  transform: scale(1.2); /* Adjust the scale factor for hover effect */
}

/* Style for the Resources section */
#resources {
  background-color: #f5f5f5; /* Background color for the section */
  padding: 20px; /* Add padding for spacing */
  max-width: 800px; /* Adjust the width as per your preference */
  margin: 0 auto; /* Center the section horizontally on the page */
}

#resources h2 {
  font-size: 24px; /* Heading font size */
  margin-bottom: 20px; /* Spacing below the heading */
}

#resources ul {
  list-style: none; /* Remove bullet points from the list */
}

#resources li {
  margin-bottom: 10px; /* Spacing between resource links */
}

#resources a {
  text-decoration: none; /* Remove underlines from links */
  color: #333; /* Link text color */
  font-weight: bold; /* Make the links bold */
  transition: color 0.3s; /* Add a smooth color transition on hover */
}

#resources a:hover {
  color: #555; /* Change link color on hover */
}

/* Style for the menu toggle button */
.menu-toggle {
  display: none; /* Hide the menu toggle button by default */
  cursor: pointer;
  font-size: 24px;
}

/* Style for the main menu */
.menu {
  list-style: none;
  text-align: center;
  transition: 0.3s all ease;
}

.menu li {
  display: inline-block;
  margin-right: 20px;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* Style for the dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #777;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px; /* Adjust the width as needed */
}

/* Change color on hover */
.menu li:hover .dropdown-menu a {
  color: #ff6600; /* Change to your desired color */
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.menu .dropdown-menu.active {
  display: block;
}

/* Media query to show/hide the menu toggle button on smaller screens */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Style for menu items */
.menu li {
  display: inline;
  margin-right: 20px;
  position: relative;
}

/* Change color on hover */
.menu li:hover .dropdown-menu a {
  color: #fff; /* Change to your desired color */
}

/* Style for dropdown menu links */
.menu .dropdown-menu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s; /* Smooth color transition on hover */
}

.menu .dropdown-menu a:hover {
  color: #ff6600; /* Change to your desired hover color */
}

@media screen and (max-width: 768px) {
  /* Styles for screens smaller than 768px */
}



