:root {
  --title: #272593;
  --primary: #f3090d;
  --button: #be6564;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  padding: .25rem 1rem;
}

h2.center {
  text-align: center;
}

h1.underline::after {
  content: "";
  display: block;
  width: 250px;
  border-radius: 6px;
  height: 3px;
  background-color: #be6564;
  margin: 1rem auto;
}

section.container h1,
section.container h2,
#services h2 {
  font-size: 3rem;
  color: #be6564;
  margin-bottom: 2rem;
}

section.container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 500px) {
  h2.underline::after {
    width: 175px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: "Work Sans", sans-serif;
}

@font-face {
  font-family: "Carwash";
  src: url("/styles/fonts/Carwash.ttf");
}

.work-sans-300 {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.icon {
  width: 32px;
  height: 32px;
}


.popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 100;
}

.popup .close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1rem 2rem;
  font-weight: 900;
  cursor: pointer;
}

.popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popupContent {
  position: absolute;
  max-width: 80vw;
  max-height: 80vh;
  background-color: white;
  padding: 1rem 2rem;
}

/* HERO */

#hero {
  height: 100vh;
  display: flex;
  color: white;
}

#subsite {
  background-color: #2a2a2ae6 !important;
  background: url("/styles/images/texture.png");
}

#hero video {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

#hero .video-overlay {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("/styles/images/texture.png");
  opacity: 0.4;
}

header {
  z-index: 3;
  color: white;
  display: flex;
  padding: 1rem 0;
  height: fit-content;
  width: 100%;
  align-items: center;
}

header .logo {
  width: 200px;
}

header h1 {
  font-family: "Carwash";
  font-size: 3rem;
  margin-left: 1rem;
}

nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: .25rem;
  margin-right: 2rem;
}

nav .close {
  display: none;
}

header .scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

header .scroll img {
  width: 52px;
}

nav.active {
  z-index: 99;
}

nav.active .close {
  display: block;
  position: fixed;
  top: 16px;
  right: 8px;
  width: 48px;
  height: 48px;
  z-index: 100;
  cursor: pointer;
}

nav.active ul {
  z-index: 99;
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: black;
  width: 100%;
  height: 100%;
}

nav ul a {
  text-decoration: none;
  color: white;
  font-size: 1.75rem;
}

nav ul a:not(.cta):hover {
  color: #be6564;
}

nav ul a.selected {
  color: var(--primary);
}

header .burger {
  display: none;
}

#hero .slogan {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  width: 100%;
  max-width: 90%;
}

@media screen and (max-width: 950px) {
  #hero header {
    padding: 1rem;
  }

  #hero .logo {
    width: 150px;
  }

  #hero header h1 {
    font-size: 2rem;
  }

  nav ul a {
    font-size: 1.25rem;
  }

  nav ul li {
    margin-bottom: 1.5rem;
  }

  #hero .slogan {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 750px) {
  #hero header {
    padding: 1rem 0.5rem;
  }

  #hero .slogan {
    font-size: 1.5rem;
  }

  header .burger {
    display: block;
    position: relative;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: 1rem;
    cursor: pointer;
  }

  nav ul a {
    font-size: 2rem;
  }

  nav {
    display: none;
  }

  nav.active {
    display: block;
  }
}

/* FOOTER */

footer {
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

footer .footer-logo {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .footer-logo img {
  width: 140px;
}

footer .footer-menu {
  display: flex;
  list-style: none;
}

footer .footer-menu a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
}

footer .footer-social {
  display: flex;
  align-items: center;
}

footer .footer-social img {
  width: 32px;
  height: 32px;
  margin: 0 0.5rem;
}

footer .credit {
  margin-bottom: 2rem;
  text-decoration: none;
  color: white;
}

@media screen and (max-width: 680px) {
  footer .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
}

/* content */

.cta {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: flex;
  width: fit-content;
  transition: translate 400ms ease-in-out;
  cursor: pointer;
}

.cta:hover {
  translate: 0 -5px;
}

.cta.center {
  margin: 2rem auto 0 auto
}

.cta.selected {
  color: white !important;
}

.more {
  margin-left: auto;
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
}

section.container {
  max-width: 1200px;
  margin:auto;
  padding: 4rem;
}

section.container.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.columns3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 680px) {
  section.container {
    padding: 2rem;
  }

  section.container h1,
  #services h1 {
    font-size: 2rem;
  }

  .more {
    font-size: 1rem;
  }
}

/*specific*/
#team {
  margin-top: 1rem;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 85%;
}

@media screen and (max-width: 900px) {
  #about-us img {
    width: 100% !important;
  }

  .columns3,
  .columns {
    grid-template-columns: 1fr;
  }

  #about-us .column {
    grid-column: auto !important;
    margin-right: 0 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 4rem !important;
  }
}

#services {
  padding-top: 3rem;
}

#services {
  background-color: #2a2a2ae6 !important;
  background: url("/styles/images/texture.png");
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.banners .span2{
  grid-column: span 2;
}

@media screen and (max-width: 1100px) {
  .banners {
    grid-template-columns: 1fr;
  }

  .banners .span2 {
    grid-column: span 1;
  }
}

.services .service,
.service-banner {
  position: relative;
  width: 100%;
  height: 300px;
}

.service-banner{
  height: 325px;
}

@media screen and (max-width: 900px){
  .service-banner {
    height: 350px;
  }
}

.more-services {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.more-services .service {
  display: flex;
  flex-direction: column;
  border: 1px solid #be6564;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(135deg, #fff 70%, #f9eaea 100%);
  box-shadow: 0 4px 24px rgba(190, 101, 100, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.more-services .service:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(190, 101, 100, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.more-services .service .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: auto 1rem 1rem auto;
  background: #fff5f5;
  padding: 0.5rem 1.25rem;
  border-radius: 32px 0 16px 32px;
  box-shadow: 0 2px 8px rgba(190, 101, 100, 0.08);
  transition: background 0.2s;
}

.more-services .service:hover .price {
  background: #ffeaea;
}

.service-banner {
  margin: auto;
  width: 100%;
  overflow: hidden;
}

.services .service img,
.service-banner img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services .image-overlay,
.service-banner .image-overlay {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}

.services .content,
.service-banner .content {
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
  color: white;
  height: 100%;
}

.service-banner .content .features {
  padding: 0;
  padding-left: 1rem;
  list-style: "✔";
  margin: 0;
  display: grid;
  column-gap: .5rem;
  row-gap: .25rem;
}

.service-banner .content .features .new {
  list-style: "+";
}

.service-banner .content .features li {
  padding-left: .5rem;
}


.services .content h3,
.service-banner .content h3 {
  color: #f3090d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 1100px) {

  .more-services .service h3,
  .services .content h3,
  .service-banner .content h3 {
    font-size: 1.5rem;
  }
}

.services .content ul {
  list-style: none;
}

.services .content ul li,
.service-banner .content p {
  margin-bottom: 0.35rem;
}

.services .content .price,
.service-banner .content .price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.services .content .price a:not(.cta),
.service-banner .content .price a:not(.cta) {
  background-color: var(--primary);
  text-decoration: none;
  color: white;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.service-pricing-wrapper {
  max-width: 600px;
  margin: auto;
}

.service-pricing {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: .25rem;
  gap: 1rem;
}

.service-pricing:nth-child(even) {
  background-color: #cbcbcb;
}

@media screen and (max-width: 1200px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }

  .services .service:nth-child(3) {
    grid-column: span 2;
  }
}

@media screen and (max-width: 700px) {
  .services {
    grid-template-columns: 1fr;
  }

  .services .service:nth-child(3) {
    grid-column: span 1;
  }
}

.comparisons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

#contact .map {
  width: 58vw;
  height: 500px;
}

@media screen and (max-width: 900px) {
  #contact .map {
    width: 100%;
  }

  #contact .info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

#contact h1 {
  font-family: Carwash;
  font-size: 2rem;
  margin-bottom: 0;
  margin-top: 1rem;
  color: var(--primary);
}

#contact .contact,
#contact .address,
#contact .hours {
  margin: 2rem auto;
  width: 250px;
  text-align: left;
}

#contact a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: .25rem 2rem .25rem 0;
}

#contact .icon {
  width: 24px;
  height: 24px;
}

.cars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cars>div {
  cursor: pointer;

}

.cars .img {
  width: 128px;
  height: 84px;
  overflow: hidden;
  margin: auto;
}

.cars svg {
  width: 128px;
  height: 128px;
  translate: 0 -15px;
}

.cars>div .price {
  font-size: 1.8rem;
  text-align: center;
}

.cars ~.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 100%;
  gap: .4rem;
  margin-top: 1rem;
}

.cars ~.contact .phone{
  display: flex;
  align-items: center;
  gap: .25rem;
  color: black;
  text-decoration: none;
}

.cars ~#description ul{
  list-style: "✓ ";
  margin: 1rem 2rem;
}

@media screen and (max-width: 500px) {
  .cars .img {
    width: 100px;
    height: 64px;
  }

  .cars svg {
    width: 100px;
    height: 100px;
    translate: 0 -15px;
  }
}