body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
}
/*  ##### HOMEPAGE #####  */
/* Hero Section */
#hero {
  background-color: #000;
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo  */
#hero .logo img {
  max-width: 500px;   /* increase from 300px */
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}

/* Transparent tag background */
#hero .tag {
  background-color: #f9f9f9; /* super light transparent white */
  padding: 20px 40px;
  border-radius: 8px;
  backdrop-filter: blur(2px); /* optional: soft blur for effect */
}

#hero .tag h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #5B1A18; /* Maroon from business card */
  margin: 0;
}

/* Nav */

.site-nav {
  background-color: #000;
  padding: 15px 20px;
  text-align: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 10px;
  display: block;
}

.site-nav a:hover {
  color: #5B1A18; /* maroon accent */
}

/* About Us Section */
#about {
  background-color: #f9f9f9;
  padding: 80px 20px 100px; 
  margin-bottom: 10px; /* adds separation before Services */
  text-align: center;
}

/* Description Section */
#about .desc h1 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 20px;
}

#about .desc h2 {
  font-size: 20px;
  color: #5B1A18; /* Maroon accent */
  margin-bottom: 10px;
}

#about .desc h3 {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 40px;
}

 /*Profile Cards */
#about .photo {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.square {
  width: 150px;
  height: 150px;
  background-color: #ddd; /* placeholder gray */
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid #5B1A18; /* optional maroon border */
}

/* Name Text */
.text {
  font-size: 1.1rem;
  color: #5B1A18;
  font-weight: 600;
}


/* Services Section */
#services {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin-bottom: 10px;
  text-align: center;
}

#services h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #000;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  display: block;
  background-color: white;
  border: 2px solid #5B1A18; /* maroon border */
  padding: 30px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-decoration: none;   /* remove underline */
  color: inherit;          /* inherit text color */
}

.service:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.service h3 {
  font-size: 1.5rem;
  font-weight: bolder;
  color: #5B1A18;
  margin-bottom: 15px;
}

.service p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Contact Section */
#contact {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000;
}

#contact p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 40px;
}

#contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

#contact ul li {
  font-size: 1rem;
  color: #5B1A18;
  margin-bottom: 8px;
}

/* Form Styles */
#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact label {
  font-weight: bold;
  text-align: left;
  color: #000;
}

#contact input,
#contact textarea {
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #5B1A18;
  outline: none;
}

#contact button {
  background-color: #5B1A18;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact button:hover {
  background-color: #3e0f0e;
}

.site-footer {
  background-color: #000;
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.footer-contact p {
  margin: 6px 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-social img {
  max-width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 0.875rem;
  color: #ccc;
}


/*  ##### SERVICES PAGE #####  */
/* Construction Section */
#construction {
  background-color: #f9f9f9;
  padding: 80px 20px;
  margin-bottom: 10px;
  text-align: center;
}

/* Section Title & Description */
.description h1 {
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 10px;
}

.description h3 {
  font-size: 1.2rem;
  color: #5B1A18;
  font-weight: normal;
  padding: 0 75px;
  margin-bottom: 40px;
}

.description a {
    font-size: 1.2rem;
    color: #5B1A18;
    font-weight: 600;
}

/* Capabilities List */
.capabilities ul {
  list-style-type: disc;
  list-style-position: inside;
  max-width: 600px;
  margin: 0 auto 60px;
  padding: 0;
  text-align: left;
}

.capabilities li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.photo-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 0 75px;
}

.home a,
.photo a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  text-decoration: underline;
}

/* Remodel Section */
#remodel {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin-bottom: 10px;
  text-align: center;
}

/* Welding Section */
#welding {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

/*  ##### GALLERY PAGES #####  */
.project {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-bottom: 10px;
    text-align: center;
}

.project h1 {
    font-size: 1.5rem;
    font-weight: bolder;
    color: #5B1A18;
    margin-bottom: 15px;
}

.gallery {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.gallery img {
  flex: 0 0 auto;
  width: 400px;
  height: 255px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ccc;
  scroll-snap-align: start;
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.error-container h1 {
  font-size: 6rem;
  font-weight: 800;
  color: #5B1A18;
  margin: 0;
}

.error-container h2 {
  font-size: 2rem;
  color: #000;
  margin: 10px 0;
}

.error-container p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.error-returns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 0 75px;
}

.home-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 24px;
  background-color: #5B1A18;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.home-link:hover {
  background-color: #3e0f0e;
}

/*  ##### MOBILE FRIENDLY #####  */
@media (max-width: 768px) {
  /* Hero Section */
  #hero .logo img {
    max-width: 300px;
  }

  #hero .tag h3,
  #about .desc h1:first-of-type,
  #services h2,
  #contact h2 {
    font-size: 1.8rem;
  }

  /* Profile Section */
  #about .photo {
    flex-direction: column;
    gap: 20px;
  }

  /* Services Cards */
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 90%;
  }

  .description h3 {
    padding: 0px 20px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-logo img {
    max-width: 80px;
  }

  .footer-social {
  margin-top: 10px;
}

.footer-social img {
  width: 28px;
  height: 28px;
}

  /* Contact Page spacing */
  #contact form {
    padding: 0 10px;
  }

  /* Photo link buttons */
  .photo-link {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
    align-items: stretch;
  }

  .home a,
  .photo a {
    text-align: center;
  }

  /* Dropdown nav */
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .gallery {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.gallery img {
  flex: 0 0 auto;
  width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ccc;
  scroll-snap-align: start;
}

}
