/* ========================= */
/* MAIN WEBSITE BACKGROUND! */
/* ======================= */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #f5f5f5;
  background-color: #30343a;

  background-image: url(images/brushed-steel.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

}

/* -------------END-------------- */

/* ================================ */
/* QUALITY TRUCK AND REPAIR HEADER!! */
/* ================================ */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.header-row h1 {
  margin: 0;
  width: 325px;
  max-width: 100%;
}

.header-logo {
  display: block;
  width: 100%;
  max-width: 325px;
  height: auto;
  margin: 0;
}

header {
  border-width: 0 0 3px 0;
  border-style: solid;
  border-image: linear-gradient(to right, #0078cf 65%, #d90060) 1;
  font-size: 30px;
  background-color: #f5f5f5;
  color: #0078CF;
  text-align: center;
  padding: 5px 20px;
  
}

nav {
  margin-bottom: 4px;
}

header p {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .8;
  color: #4a4a4a;
  margin: 5px 0;

}

header h1 {
  margin: 1px 0;
}

/* -------------END--------------- */

/* ======================= */
/* NAVIGATION BUTTONSS!!! */
/* ===================== */
nav a {
  border-bottom: 3px solid #d90060;
  border-radius: 0 0 5px 5px;
  font-size: 18px;
  color: #3b3b3b;
  text-decoration: none;
  font-weight: bold;
  margin: 0 6px;
  display: inline-block;
transition: transform 0.05s ease-in-out;
}
nav a:active {
  transform: scale(0.95);
}

nav a:hover {
  color: #0078cf;
}

/* -------------END----------- */

/* ==================================================== */
/* ============MAIN CONTENT, MEAT AND POTATOES!========= */
/* ==================================================== */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* -----------END----------- */

/* ======================== */
/* SERVICE CARDS */
/* ====================== */
/* Default list styling */
h2 {
  color: #ffffff;
  font-size: 35px;
  letter-spacing: 1px;
  text-shadow: 2px 3px 4px #010003b1;
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, #0078cf 65%, #d90060) 1;
  padding-bottom: 10px;
}

#services>ul {
  display: block;
  columns: 240px;
  column-gap: 16px;
}

#services>ul>li {
  break-inside: avoid;
  margin-bottom: 0px;
  background-color: transparent;
  border: 0;
  padding: 0px;
}

ul {
  line-height: 1.8;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

li {
  background-color: #ffffff;
  border-left: 4px solid #1f2933;
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  min-height: 0px;
}

/* Drop down button styling */
#services details>summary {
  box-shadow: 0px 3px 6px #160467b1;
  border: 0px solid #012947;
  background: linear-gradient(to bottom, #087fcf, #006bb8);
  box-shadow: inset 0 4px 4px #ffffff40, inset 0 -5px 5px #00000040;
  border: 2px solid #a0a0a0;
  position: relative;
  cursor: pointer;

  font-weight: bold;
  margin: 0px 0;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  color: #ffffff
}
/* -----BOLTS FOR THE BUTTONS----- */
#services summary::before,
#services summary::after {
  content: "";
  position: absolute;
width: 10px;
height: 10px;
background: linear-gradient(135deg, #eeeeee, #a0a0a0, #555555);
top: 50%;
transform: translatey(-50%);
clip-path: polygon(
    25% 0%,
    75% 0%,
    100% 50%,
    75% 100%,
    25% 100%,
    0% 50%
);
}
#services summary::before {
  left: 10px;
}
  #services summary::after {
    right: 10px;
  }
  /* -----------END------------ */

#services details[open]>summary {
  margin-bottom: 10px;
}

/* This works when opening the service cards*/
#services details ul {
  display: block;
  list-style: disc;
  margin: 8px 0 0;
  padding-left: 22px;
  color: #ffffff;
}

#services>ul>li {
  min-height: 0px;
  margin-bottom: 20px;
  background-color: transparent;
  border: 0;
  padding: 0;
}

#services details ul li {
  background: transparent;
  border: 0;
  margin: 6px 0;
  padding: 0;
}

/* ---button animations--- */
#services details>summary {
  transition: transform 0.15s ease-in-out;
}

#services details>summary:active {
  transform: scale(0.94);
}

/* --------END---------- */

/* INFORMATION BUTTONS; CALL, DIRECTIONS, AND MAPS */
#shop-info {
  margin-top: 50px;
}
  h2 {
    /* -webkit-text-stroke: 1.25px black; */
    color: #ffffff;
    font-size: 35px;
    letter-spacing: 1px;
    text-shadow: 2px 3px 4px #010003b1;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #0078cf 65%, #d90060) 1;
    padding-bottom: 10px;
  }

  p {
    color: #ffffff;
    margin: 6px 0px;
    line-height: 1.4;
    font-size: 17px;
}
    #visit-or-call a {
    overflow-wrap: anywhere;
  }
.email {
  color: #8dccff;
  margin: 8px;
  display: inline-block;
  transition: transform 0l.15s ease-in-out;
}
.email:active {
  transform: scale(0.95); 
}
.email:hover {
  color: #fb0674;
}
.directions {
  margin: 0 0 8px 0;
  display: inline-block;
  background-color: #0078cf;
  color: #ffffff;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 300;
  transition: transform 0.05s ease-in-out;
  box-shadow: inset 0 4px 4px #ffffff40, inset 0 -5px 5px #00000040;
}
.directions:active {
  transform: scale(0.95);
}
.directions:hover {
  background-color: #d90060;
}

.call-button {
  display: inline-block;
  background-color: #0078cf;
  color: #ffffff;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 300;
  transition: transform 0.05s ease-in-out;
  box-shadow: inset 0 4px 4px #ffffff40, inset 0 -5px 5px #00000040;

}
.call-button:active {
  transform: scale(0.95);
}

.call-button:hover {
  background-color: #d90060;
}

.map-frame {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
  max-width: 100%;
}


/* --------END-------- */

/* ITS JUST A FUCKIN FOOTER */
footer {
   text-align: center;
  padding: 24px 20px;
  background-color: #323334;
  color: #ffffff;
  border-width: 3px 0 0 0;
  border-style: solid;
  border-image: linear-gradient(to right, #0078cf 65%, #d90060) 1;
}
footer p {
   font-size: 15px;
}
footer .griswoldiowa {
  font-size: 12px;
}

/* ----------END----------*/

/* PHOTOS HEADER */
.shop-photos {
  color: #0078CF;
  text-shadow: .05em .04em .01em black;
  -webkit-text-stroke: .015em black;
  font-size: clamp(60px, 10vw, 80px);
}

/* ----------END---------- */

/* THIS IS WHERE THE PHOTOS GO! */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-gallery figure {
  margin: 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  color: rgb(58, 58, 58);
  text-align: center;
}

.photo-gallery figcaption {
  padding: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* -----------END----------- */


@media (max-width: 600px) {
  .header-row {
    flex-direction: column;
  }

  header {
    padding: 10px;
  }

  header h1 {
    margin: 0;
  }

  header p {
    margin: 10px 0;
    font-size: 16px;
  }

  main {
    padding: 28px 16px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }
}