/* =====================================================
  Mauler Contracting LLC
  Triple Fine Boot Stitch with Collage Restored
  ===================================================== */

/* === BASE BODY === */
body {
  margin: 0;
  background-color: #4f2e13; /* dark leather */
  color: #050505;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  text-align: center;
  overflow-x: hidden;
}

/* === HEADER === */
header {
  background: url("images/background.png") no-repeat center/cover;
  padding: 20px 5%;
  border-left: 100px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}
.logo img {
  height: 400px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .logo img {
    height: 45px;
    max-width: 120px;
  }
}
.header-right {
  text-align: left;
}
.company-name {
  font-size: 28px;
  margin: 0;
}
.address,
.phone,
.email {
  margin: 2px 0;
}

/* === NAVBAR === */
.navbar ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px;
  margin: 10px 0 0;
  background: rgba(0, 0, 0, 0.3);
}
.navbar li {
  margin: 5px 15px;
}
.navbar a {
  color: #f8f8f8;
  text-decoration: none;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #4ccbf6;
}

/* === MAIN WRAPPER === */
.main-wrapper {
  position: relative;
  background-color: rgba(165, 132, 88, 0.82); /* tan */
  margin: 0 auto;
  padding: 40px 0;
  max-width: 1200px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

/* === SECTIONS === */
.section {
  padding: 60px 10%;
}
.section h2 {
  border-bottom: 2px solid #ae6e07;
  color: #fafaf8;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === IMAGE COLLAGE / SLIDER === */
.slider {
  position: relative;
  overflow: hidden;
  background-color: #efefef;
  border: 4px solid #bd8f45;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin: 40px auto;
  max-width: 1200px;
}
.slides img {
  width: 100%;
  height: 800px;
  display: none;
  object-fit: cover;
}
.slides img.active {
  display: block;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
}
.prev:hover,
.next:hover {
  background-color: rgba(233, 233, 231, 0.8);
}
.prev {
  left: 15px;
}
.next {
  right: 15px;
}

/* === INTERNAL DIVIDERS === */
.divider {
  border-top: 3px solid #3b2410;
  width: 80%;
  margin: 0 auto;
}

/* === FORM === */
.contact-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  gap: 12px;
  width: 100%;
  max-width: 600px;
}
.contact-section input,
.contact-section textarea {
  width: 100%;
  font-size: 18px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #080808;
}
.contact-section button {
  background-color: #343535;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 20px;
  border-radius: 4px;
  cursor: pointer;
}
.contact-section button:hover {
  background-color: #313131;
}

/* === FOOTER === */
.site-footer {
  background: url("images/logo.JPG") no-repeat center/cover;
  color: #fdfdfd;
  padding: 40px 20px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  height: 200px;
  width: 100px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}
.footer-content h3 {
  font-size: 26px;
  margin: 5px 0;
}
.footer-content p {
  margin: 3px 0;
}

/* === RESPONSIVE === */
@media (max-width: 1199px) and (min-width: 992px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .header-right {
    text-align: center;
  }
  .section {
    padding: 40px 5%;
  }
  .slides img {
    height: 300px;
  }
}
/* =====================================================
  Mauler Contracting LLC — Weathered 3D Leather Upgrade
  ===================================================== */

/* === Add leather-like texture and light grain === */
body {
  background:
    radial-gradient(circle at top left, #faf9f9f6 0%, #3a2010 100%),
    url("images/photo7.jpg"); /* optional texture overlay */
  background-blend-mode: overlay;
  background-size: cover;
  background-attachment: fixed;
  color: #fdfcfc;
}

/* === Slight lighting gradient for depth === */
.main-wrapper {
  background: linear-gradient(
    180deg,
    rgba(248, 248, 247, 0.9) 0%,
    rgba(247, 246, 244, 0.88) 100%
  );
  box-shadow:
    0 0 15px rgba(0, 0, 0, 0.6),
    inset 0 3px 6px rgba(255, 255, 255, 0.1),
    inset 0 -4px 6px rgba(0, 0, 0, 0.6);
}

/* === Weathered edges and subtle vignette === */
.section {
  background: linear-gradient(
    180deg,
    rgba(199, 170, 131, 0.88) 50%,
    rgba(90, 57, 24, 0.92) 100%
  );
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.6),
    0 5px 3px rgba(0, 0, 0, 0.4);
  border-radius: 6px;
}

/* === Text & color balance pop === */
.section h2 {
  color: #fcfcfa; /* warmer gold */
  text-shadow: 1px 1px 2px #070707;
}
.section p,
.section li {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* === Collage elevation with embossed border === */
.slider {
  border: 3px solid rgba(75, 44, 8, 0.8);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 4px rgba(94, 93, 93, 0.2);
}

/* === Buttons and input areas weathering === */
input,
textarea {
  background-color: rgb(164, 163, 163);
  color: #fdfbfb;
  backdrop-filter: blur(2px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
input:focus,
textarea:focus {
  border-color: #d4a55a;
  box-shadow:
    0 0 6px rgba(8, 8, 8, 0.5),
    inset 0 0 6px rgba(255, 255, 200, 0.3);
  outline: none;
}

/* === Buttons with dimensional pop === */
button {
  background: linear-gradient(180deg, #906013 0%, #b5843b 100%);
  box-shadow:
    inset 0 2px 4px rgba(11, 11, 11, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.5);
  color: #2b1805;
  transition: transform 0.1s ease-in;
}
button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 3px rgba(243, 239, 239, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.6);
}

/* === Footer gloss and scuff === */
.site-footer {
  background:
    linear-gradient(
      180deg,
      rgba(80, 42, 17, 0.95) 0%,
      rgba(45, 20, 9, 0.95) 100%
    ),
    url("images/backgroundfooterheade.png");
  background-size: cover;
  box-shadow:
    inset 0 8px 16px rgba(0, 0, 0, 0.8),
    0 -6px 20px rgba(0, 0, 0, 0.6);
}
.footer-content h3,
.footer-content p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
main > section {
  width: 90%;
  max-width: 770px;
  margin: 40px auto;
}
/* ------------------------ Base Layout (Desktop Default) ------------------------ */
/* already built for max-width: 1200px */

/* ------------------------ Laptop (slightly reduced spacing) -------------------- */
@media (max-width: 1199px) and (min-width: 992px) {
  body {
    font-size: 19px;
  }
  .container {
    width: 92%;
  }
  .section {
    padding: 50px 0;
  }
  .slides img {
    height: 450px;
  }
}

/* ------------------------ Tablet (portrait + small landscape) ------------------ */
@media (max-width: 991px) and (min-width: 769px) {
  body {
    font-size: 18px;
  }

  header .header-container {
    flex-direction: column;
  }

  .logo img {
    height: 55px;
  }

  nav {
    padding: 10px 0;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap; /* allow wrapping if needed */
  }

  .section {
    padding: 45px 0;
    margin: 30px 0;
  }

  .slides img {
    height: 380px;
  }

  form {
    width: 85%;
  }
}

/* ------------------------ Mobile (Most Critical) ------------------------------- */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .logo img,
  .footer-content img {
    height: 45px;
  }

  nav {
    flex-direction: column;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .slides img {
    height: 300px;
  }

  .section {
    align-content: center;
    padding: 40px 0;
    margin: 25px 0;
  }

  form {
    width: 100%;
    padding: 15px;
  }

  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}

/* ------------------------ Ultra Large Displays (4K & Wide Screens) ------------- */
@media (min-width: 1600px) {
  body {
    font-size: 21px;
  }
  .container {
    max-width: 1400px;
  }
}
