:root {
  --black: #242424;
  --gray: #969696;
  --orange: #DD6B00;
    --orange-dark: #BA5A00;
    --orange-darker: #914600;
    --gradient: linear-gradient(145deg,rgba(221, 107, 0, 1) 0%, rgba(145, 70, 0, 1) 100%);
  /* compound colors based on --orange */
    --red: #DE2B00;
    --blue: #00B0DE;
    --blue-dark: #003BDE;
    --gradient-comp: linear-gradient(145deg,rgba(221, 107, 0, 1) 50%, rgba(0, 176, 222, 1) 100%);
    --gradient-comp-2: linear-gradient(145deg,rgba(221, 107, 0, 1) 50%, rgba(0, 176, 222, 1) 100%);
  /* split comp colors based on --orange */
    --blue-sc: #006ADE;
    --slate: #2F465E;
}

html, body, * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom:1.5rem; }
h3 { font-size: 1.5rem; margin-bottom:.5rem; }
address { font-style: inherit; }
p { font-size: 1.25rem; line-height: 1.3; }
p + p { margin-top: 1.25rem; }
a { color: inherit; font-size: inherit; }

.container {
  margin: 2rem auto;
  max-width: 1200px;
  width: 95%;
}

header { 
  background: #fff;
  /* border-bottom: solid 1px #333; */
  position: fixed;
  top:0;
  left: 0;
  right: 0;
  z-index: 100;
  .container { 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;    
  }
  .logo img { max-width: 120px; margin: .25rem 0; }
  #hours-banner { 
    background: var(--orange); 
    color: #fff;
    text-align: center;
    padding: .75rem 0;
    text-shadow: 1px 1px 1px rgba(0,0,0,.45);
    p { 
      font-size: 1rem; 
      display: flex; 
      gap: 1rem; 
      align-items: center;
      max-width: 1200px;
      width: fit-content;
      margin: 0 auto;
    }
    strong { margin-right: .25rem; }
  }
}

#main-nav {
  padding: .75rem 0;
  z-index: 100;
  ul {
    display: flex;
    list-style: none;
    gap: .75rem;
    position: relative;
    a { color: #333; text-decoration: none; }
    a:hover, a:focus { 
      text-decoration: underline; 
      opacity: .8;
      + ul {display:block; }
    }
    li ul {
      display: none;
      background: #fff;
      position: absolute;
      padding: .5rem 0;
      border: solid 1px #acacaf;      
      a { padding: .5rem; display: block; width: 100%; min-width: max-content; }
      /* a:hover, a:focus { background: #cdcdcf; } */
      /* li + li { margin-top: .25rem; } */
    }
    li ul:hover, li ul:has(*:hover), li ul:has(*:focus) {display: block;}  
  }
}

#hero-img {
  min-height: 40vh;  
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  text-shadow: 1px 1px 2px var(--black);
  background-size: cover;  
  h1 { margin-bottom: .5rem; }
  .container { z-index: 1; }
}
#hero-img::before {
  background: var(--gradient); 
  opacity: .25;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* z-index: -1; */
}

#about, #contact { margin: 5rem 0; }

#services, #ratings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  article { 
    padding: 2rem; 
    background-size: cover;
    position: relative;
    display: grid;
    align-content: center;
    align-items: center;
  }
  article::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    opacity: .75;
    z-index: 1;
  }
  article:first-child::before { background-color: var(--orange); }
  article:last-child, article:first-child { color: #fff; text-shadow: 1px 1px 2px var(--black); }
  article:last-child::before { background-color: var(--black); color: #fff; }
  h3 { text-align: center; z-index: 2; position: inherit; }
  p { font-size: 1.15rem; z-index: 2; position: inherit; }
}

#additional-services {
  background-color: var(--black);
  padding: 1rem;
  .container { margin: 0 auto; }
  text-align: center;
  overflow: hidden;
  ul { 
    display: flex; 
    gap: 2.25rem;
    list-style-type: none;
    font-weight: bold;
    color: #fff;
    width: max-content;
    animation: marquee 60s linear infinite;
  } ul:hover { animation-play-state: paused; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@media (prefers-reduced-motion: reduce) {
  #additional-services ul { animation-play-state: paused; }
}

#testimonials {
  background: var(--black);
  padding: 1.5rem 0;
  h2 { text-align: center; color: #fff;}
  article {
    blockquote {
      display: grid;
      align-self: right;
      align-content: right;
    }
    blockquote p {
      font-style: italic;
      background: #fcfcff;
      border-radius: 8px;
      padding: 1rem;
      width: 90%;
      max-width: 700px;
      margin-top: 3rem;
    }
    blockquote + p {
      font-weight: bold;
      margin-top: .5rem;
      color: var(--orange);
    }
  }
  :first-child blockquote p { margin-top: 1.25rem; }
  article:nth-child(even) {
    blockquote { justify-items: right; }
    blockquote p, blockquote + p { text-align: right; }
  }
}

#ratings { text-align: center; }
.rating strong {
  font-size: 2.25rem;
  margin-bottom: .25rem;
  display: block;
}

#contact {
  address { margin-top: 1rem; }
  h3 { margin-top: 2rem; }
  .links { margin-top: .5rem; display: flex; gap: 1rem; margin-bottom: 2rem;} 
}
#location { display: flex; gap: 1rem; justify-content: space-between; }
#map-wrap { width: 100%; max-width: 725px; margin-top: 1.5rem;}

footer {
  background-color: var(--black);
  width: 100%;
  padding: .5rem 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  p { font-size: .9rem; color: #fff; margin: 0; }
  #dev-tag a { color: inherit; }
  a:hover, a:focus { opacity: .8; }
}



@media (max-width: 850px) {
  #services, #location, #ratings { display: block; }
  #map-wrap { max-width: none; }
}
@media (max-width: 630px) {
  #hours-banner span:not(.today) { display: none; }
}