@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-color: #000;
  --text-color: #fff;
  --main-color: #e4cf83;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 62.5%;
}

html.sr .load-hidden {
  visibility: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
}

/* ### CENTER PAGE FLEX ### */
#container {
  padding: 1% 1% 1% 1%;
  width: 1550px;
  min-height: 100vh;
  min-height: 100svh;
  /* border: 1px solid white; */
  display: flex;
  flex-direction: column;
  background-image: url('../img/bg.jpg');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.1);
}

a,
a:hover {
  text-decoration: none;
}

.headingH2 {
  color: var(--main-color);
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 3rem;
}

.headingH3 {
  text-align: center;
  font-size: 3.5rem;
}

.dirtyWarning {
  font-size: 2rem;
  font-weight: 600;
  color: lightcoral;
  text-align: center;
}

.extraText {
  font-size: 1.8rem;
  font-weight: 600;
  color: lightcoral;
}

.goldText {
  color: var(--main-color);
  font-weight: 600;
  font-size: 2rem;
}

.goldTextBig {
  color: var(--main-color);
  font-weight: 700;
  font-size: 3.2rem;
}

.hidden-br {
  display: none !important;
}

/* PAGE NAVIGATION */
.navbar {
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.navbar a {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.navbar a.active {
  color: var(--main-color);
}

.navbar a:hover {
  color: var(--main-color);
}

.navbar-logo {
  flex: 1;
  align-items: center;
}

.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.navbar-menu li {
  font-size: 2.2rem;
  font-weight: 600;
  margin-left: 4rem;
}

.navbar-toggle {
  font-size: 3rem;
  display: none;
}

.navbar-toggle:hover {
  color: var(--main-color);
}

/* --- HOME PAGE --- */
#homePage {
  padding: 5rem 3rem 5rem 3rem;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  height: 100%;
}

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

.home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--main-color);
}

.home-content p {
  margin-top: 1rem;
  font-size: 2rem;
}

.multiple-text {
  color: var(--main-color);
  font-weight: 700;
  font-size: 3.2rem;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1.5rem var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: var(--main-color);
  border-radius: 4rem;
  box-shadow: none;
  font-size: 2rem;
  color: var(--second-bg-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.5s ease;
}

.btn:hover {
  box-shadow: 0 0 1.5rem var(--main-color);
}

.home-img {
  display: flex;
  align-items: flex-end;
  /* margin: auto; */
}

.home-img img {
  max-width: 90%;
  object-fit: contain;
}

/* PAGE FOOTER */
#footer {
  padding: 10px;
  margin-top: auto;
  text-align: center;
  justify-self: flex-end;
}

#footer p,
a {
  font-size: 1.6rem;
  color: white;
}

#footer a:hover {
  color: var(--main-color);
}

.break {
  flex-basis: 100%;
  height: 0;
}

/* CAR TYPE CHOOSE PAGE */
.carTypePage {
  padding: 5rem 3rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.typeCardsWrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: auto;
  gap: 15rem;
}

.carTypecard {
  text-align: center;
  height: 100%;
}

.carTypecard h3 {
  margin-top: 1rem;
  font-size: 3.2rem;
  font-weight: 700;
}

.carTypecard img {
  opacity: 0.7;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transition: transform 0.5s ease;
}

.carTypecard img:hover {
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transform: scale(1.2);
  transition: transform 0.5s ease;
  opacity: 1;
  /* cursor: pointer;
  animation: fadeInOutAnimation 1s forwards;
  animation-timing-function: ease-in-out; */
}

@keyframes fadeInOutAnimation {
  0% {
    opacity: 0.7;
  }
  30% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

/* SERVICE CATEGORIES PAGE */
.categoriesPage {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.chooseServiceWrapper {
  margin-top: 10rem;
  margin-bottom: 10rem;
  max-width: 110rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}

.categoryCard {
  text-align: center;
}

.categoryCard h3 {
  font-size: 2.8rem;
  font-weight: 700;
}

.categoryImg1,
.categoryImg2 {
  height: 132px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transition: transform 0.5s ease;
}

.categoryImg1:hover,
.categoryImg2:hover {
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transform: scale(1.2);
  transition: transform 0.5s ease;
  opacity: 1;
  opacity: 1;
}

.categoryImg1 img {
  width: 190px;
}

.categoryImg2 img {
  width: 250px;
}

/* PRICES PAGE */
.pricesPage {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

/* FLIP CARDS PRICES */

.flipCardsWrapper {
  margin-top: 10rem;
  margin-bottom: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.flip-card {
  margin: 20px;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.flip-card-front,
.flip-card-back {
  border: 2px solid #fff;
  width: 330px;
  min-height: 400px;
  height: auto;
  background-color: black;
  background-size: cover;
  background-position: center;
  text-align: center;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card-front {
  transform: rotateY(0deg);
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

.flip-card-front::after,
.flip-card-back::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.6;
}

.flip-card-front .inner,
.flip-card-back .inner {
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  z-index: 2;
}

.inner .icon {
  width: 200px;
}

.inner h3 {
  margin-top: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
}

.inner p {
  color: #fff;
  font-size: 17px;
  line-height: 25px;
}

#infoCeramicBtn,
#infoWaxBtn {
  width: 40px;
  height: 40px;
}

#infoCeramicBtn:hover,
#infoWaxBtn:hover {
  cursor: pointer;
  content: url(../img/car-wash-icons/infoGold.png);
  width: 40px;
  height: 40px;
}

.inner .timeText {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 500;
}

.inner .moneyText {
  margin-top: 10px;
  margin-bottom: 5px;
  color: #e4cf83;
  font-size: 25px;
  font-weight: 600;
}

.inner .extraService {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 400;
  color: lightcoral;
  font-style: italic;
}

.flip-card:hover .flip-card-front {
  transform: rotateY(-180deg);
}

.flip-card:hover .flip-card-back {
  transform: rotateY(0deg);
}

.articlePage {
  padding: 5rem 3rem 5rem 3rem;
  height: 100%;
}

.articlePage h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--main-color);
}

.articlePage h4 {
  font-size: 2rem;
  font-weight: 600;
}

.articlePage p {
  margin-top: 1rem;
  font-size: 1.6rem;
}

/* GALLERY PAGE */
.galleryPage {
  padding: 3rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
}

.galleryWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 30px;
}

.galleryTypeImg {
  max-width: 100%;
  object-fit: contain;
}

.galleryPage img {
  width: 100%;
  cursor: pointer;
  border: 2px solid white;
}

.galleryPage img:hover {
  transform: scale(1.2);
  transition: transform 0.5s ease;
}

.galleryChooseWrapper {
  margin: auto;
  max-width: 110rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}

.galleryChooseCard {
  text-align: center;
}

.galleryChooseCard h3 {
  margin-top: 1rem;
  font-size: 2.8rem;
  font-weight: 700;
}

.chooseImg {
  height: 132px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transition: transform 0.5s ease;
}

.chooseImg:hover {
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transform: scale(1.2);
  transition: transform 0.5s ease;
  opacity: 1;
  opacity: 1;
}

.chooseImg img {
  max-width: 100%;
  object-fit: contain;
}

.contactPage {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.contactWrapper {
  max-width: 80%;
  margin: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.contact-center {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 3rem;
  text-align: center;
}

.center-text {
  font-size: 2rem;
}

.center-icon {
  font-size: 3.5rem;
  color: var(--main-color);
}

.center-icon a {
  font-size: 3.5rem;
  color: var(--main-color);
}

.fb-details .center-icon,
.ig-details .center-icon,
.email-details .center-icon {
  cursor: pointer;
}

.write-us {
  text-align: center;
  font-size: 2.5rem;
  color: var(--main-color);
  font-weight: 500;
}

.contact-left-side iframe {
  width: 100%;
  height: 100%;
}

.contact-right-side .input-box {
  height: 50px;
  width: 100%;
  margin: 15px 0;
}

.contact-right-side .input-box input,
.contact-right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  font-size: 1.8rem;
  border-radius: 6px;
  background-color: #f0f1f8;
  padding: 0 10px;
}

.contact-right-side .message-box {
  min-height: 125px;
}

.contact-right-side input[type='submit'] {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--main-color);
  border-radius: 4rem;
  box-shadow: none;
  font-size: 1.8rem;
  outline: none;
  border: none;
  color: var(--second-bg-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.5s ease;
  cursor: pointer;
}

.contact-right-side input[type='submit']:hover {
  box-shadow: 0 0 1.5rem var(--main-color);
}

.thankyouPage {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media (max-width: 1200px) {
  #homePage {
    flex-direction: column;
    justify-content: flex-start;
  }

  .home-img {
    justify-content: flex-end;
    padding: 0;
  }

  .home-img img {
    width: 50%;
    object-fit: contain;
  }

  .flipCardsWrapper {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
}

@media (max-width: 1090px) {
  .contactWrapper {
    grid-template-columns: repeat(1, 4fr);
    gap: 3rem;
    max-width: 95%;
  }

  .contact-center {
    display: flex;
    grid-column: span 1;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .contact-right-side .sendBtn {
    text-align: center;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  html.sr .load-hidden {
    visibility: visible;
  }

  #homePage {
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 3rem 0em 3rem;
    gap: 5rem;
  }

  .chooseImg img {
    max-width: 85%;
    object-fit: contain;
  }

  .carTypecard img {
    max-width: 85%;
    object-fit: contain;
  }

  .typeCardsWrapper {
    gap: 5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 52.5%;
  }

  .hidden-br {
    display: block !important;
  }

  #container {
    padding-top: 1rem;
  }

  #homePage {
    flex-direction: column;
    justify-content: flex-start;
  }

  .home-content {
    text-align: center;
  }

  .home-img {
    justify-content: center;
    margin: 2rem 0 2rem 0;
  }

  .home-img img {
    width: 70%;
    object-fit: contain;
  }

  .navbar {
    display: block;
    position: relative;
  }

  .navbar-menu {
    margin-top: 15px;
    display: none;
    text-align: center;
  }

  .navbar-menu li {
    padding-top: 10px;
  }

  .navbar-menu.active,
  .navbar-toggle {
    display: block;
  }

  .navbar-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .carTypePage {
    flex-direction: column;
    justify-content: flex-start;
  }

  .galleryChooseWrapper {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .chooseImg img {
    max-width: 70%;
    object-fit: contain;
  }

  .typeCardsWrapper {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
  }

  .carTypecard img {
    max-width: 70%;
    object-fit: contain;
  }
}

@media (hover: none) {
  html.sr .load-hidden {
    visibility: visible;
  }

  .carTypecard img {
    opacity: 1;
  }

  .categoryImg1,
  .categoryImg2 {
    opacity: 1;
  }
}
