* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #151c22;
  overflow-x: hidden;
}

p,
ul {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}

/* ************************************** */
/* REUSABLE COMPONENTS */
/* ************************************** */

.container {
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 3.2rem;
  column-gap: 3.2rem;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3--cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4--cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5--cols {
  grid-template-columns: repeat(5, 1fr);
}

.heading-1 {
  font-family: "Merriweather", serif;
  font-size: 6.2rem;
  margin-bottom: 1.6rem;
}

.heading-2 {
  font-family: "Merriweather", serif;
  font-size: 3rem;
  margin-bottom: 3.2rem;
  font-weight: 700;
}

.heading-3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.heading-4 {
  font-size: 2.4rem;
  font-family: "Merriweather", serif;
  color: #fff;
  margin-bottom: 3.2rem;
}

.line {
  content: none;
  height: 0.8rem;
  margin-bottom: 8rem;
  width: 100%;
}

.black-line {
  background-color: #151c22;
}

.white-line {
  background-color: #fff;
}

/* ************************************** */
/* HELPER CLASSES */
/* ************************************** */

.margin-bottom-large {
  margin-bottom: 8.6rem;
}

.margin-bottom-medium {
  margin-bottom: 3.2rem;
}

/* ************************************** */
/* PARALLAX */
/* ************************************** */

.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ************************************** */
/* ANIMATION */
/* ************************************** */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 2s ease-out,
    transform 0.7s ease-out;
  /* Optional: smoother look */
  will-change: opacity, transform;
}

/* When element is visible in viewport */

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ************************************** */
/* MOBILE */
/* ************************************** */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 3rem;
}

.icon-mobile-nav[name="close-icon"] {
  display: none;
}

/* ************************************** */
/* WHATSAPP BUTTON */
/* ************************************** */

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #fec128;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  /* box-shadow: 3px 3px 5px #00000041; */
  box-shadow: 0px 0px 10px #ffffff;
  z-index: 100;

  transition: all 0.3s;
}

.float:hover {
  transform: scale(1.1);
  box-shadow: 5px 5px 8px #00000020;
}

.my-float {
  margin-top: 16px;
}

/* ************************************** */
/* HEADER */
/* ************************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;

  height: 12rem;
  max-width: 135rem;
}

.logo {
  height: 6.4rem;
  transition: all 0.3s;
}

.main-nav-list {
  list-style: none;
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;

  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-bottom: 0;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  color: #fff;

  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #fec128;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  font-family: "Merriweather", serif;
  font-weight: 700;
  color: #151c22;
  background-color: #fec128;
  padding: 0.8rem 3.2rem;
  box-shadow: 3px 3px 0 #000000;
  font-size: 1.6rem;

  transition: all 0.3s;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #d4a121;
  box-shadow: 1px 1px 0 #000000;
}

/* ************************************** */
/* HERO */
/* ************************************** */

.hero-section {
  background-image: url("../img/hero-img.webp");
  background-attachment: fixed;
  background-position: right;
  background-size: cover;
}

.hero {
  height: 85vh;
  padding: 16rem 3.2rem;
  color: #fff;
}

.hero-strip-section {
  background-color: #fec128;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-desc {
  margin-bottom: 0;
  text-align: center;
  font-weight: 600;
}

/* ************************************** */
/* ABOUT */
/* ************************************** */

.about {
  position: relative;
}

.about-img {
  height: 100%;
}

.yellow-deco-about {
  position: absolute;
  background-color: #fec128;
  height: 18rem;
  width: 18rem;
  mix-blend-mode: multiply;
  left: -4.5%;
  bottom: 10%;
}

.about-dark-wrapper {
  background-color: #151c22;
  color: #fff;
  padding: 3.2rem;
}

.about-img-horizontal {
  display: none;
}

.about-link:link,
.about-link:visited {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  color: #272d32;
}

.about-link:active,
.about-link:hover {
  color: #fec128;
}

/* ************************************** */
/* WHY US */
/* ************************************** */

.whyus-section {
  background-color: #fec128;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 1.6rem 1.6rem;
  text-align: center;

  transition: all 0.3s;
}

.why-item:hover {
  transform: translateY(-1rem);
}

.why-icon {
  height: 12rem;
  max-width: 10rem;
  margin: 3.2rem;
}

/* ************************************** */
/* SERVICES */
/* ************************************** */

.service-grid {
  gap: 1.6rem;
}

.service-item {
  padding: 3.2rem 2.4em;
  box-shadow: 0 0 20px #00000023;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  overflow: hidden;

  text-align: center;

  position: relative;
  padding-top: 30rem;

  transition: all 0.3s;
}

.service-item-img {
  position: absolute;
  top: 0;
  width: 100%;
}

.service-cta {
  background-color: #fec128;
  padding: 3.2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s;
}

.service-item:hover,
.service-cta:hover {
  transform: translateY(-1rem);
}

.service-cta-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-cta-h3 {
  font-family: "Merriweather", serif;
  font-size: 3rem;
  font-weight: 700;
}

.service-cta-img {
  position: absolute;
  bottom: -2%;
  width: 100%;
}

/* ************************************** */
/* GALLERY */
/* ************************************** */

.gallery-section {
  background-color: #fff1ce;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.gallery-img {
  width: 100%;
  overflow: hidden;
  transition: all 0.3s;
}

.granite-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.granite-img {
  width: 100%;
  overflow: hidden;
  transition: all 0.3s;
}

.gallery-img:hover img,
.granite-img:hover img {
  transform: scale(105%);
}

/* ************************************** */
/* CTA */
/* ************************************** */

.cta-container {
  background-color: #fec128;
  position: relative;
  padding: 4.8rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-family: "Merriweather", serif;
  margin-bottom: 0.8rem;
}

.cta-form input,
select,
.cta-form textarea {
  width: 100%;
  padding: 1.2rem;
  border: solid 2px #151c22;
  margin-bottom: 2.4rem;
  background-color: #fff;
  resize: none;
}

.cta-btn {
  font-family: "Merriweather", serif;
  font-weight: 600;
  font-size: 1.8rem;
  padding: 0.8rem 2.4rem;
  width: 100%;

  color: #fff;
  background-color: #151c22;
  border: none;

  cursor: pointer;
  transition: all 0.3s;

  margin-bottom: 1.6rem;
}

.cta-btn:hover {
  background-color: #272d32;
}

.cta-disclaimer {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.cta-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 105%;
}

.yellow-deco-cta {
  position: absolute;
  background-color: #fec128;
  height: 18rem;
  width: 18rem;
  mix-blend-mode: multiply;
  right: -7%;
  bottom: 0;
}

/* ************************************** */
/* FOOTER */
/* ************************************** */

.footer {
  background-color: #151c22;
  padding-top: 8rem;
  padding-bottom: 16rem;
}

.footer-logo {
  height: 4.8rem;
  margin-bottom: 3.2rem;
}

.footer-p {
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-link:link,
.footer-link:visited {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-link:active,
.footer-link:hover {
  color: #fec128;
}

.social-wrapper {
  display: flex;
  gap: 1.6rem;
}

.social-icon {
  height: 3.2rem;
}

/* ************************************** */
/* BELOW 1200px */
/* ************************************** */

@media (max-width: 75rem) {
  /* cta */
  .cta-img {
    display: none;
  }
  .yellow-deco-cta {
    display: none;
  }
  .cta-container {
    text-align: center;
    grid-template-columns: 1fr;
    background:
      linear-gradient(#fec128c7, #fec128f3), url("../img/cta-img.webp");
    background-repeat: none;
    background-size: cover;
  }
}

/* ************************************** */
/* BELOW 1150px */
/* ************************************** */

@media (max-width: 71.875rem) {
  /* about */
  .about-img {
    height: auto;
  }

  .yellow-deco-about {
    height: 10rem;
    width: 10rem;
    left: 30%;
    bottom: 40%;
  }
}

/* ************************************** */
/* BELOW 1000px */
/* ************************************** */

@media (max-width: 62.5rem) {
  /* helper classes */
  .heading-2 {
    text-align: center;
  }

  /* services */
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-cta {
    display: none;
  }

  /* gallery */

  .gallery-grid-master,
  .gallery-grid {
    row-gap: 1.6rem;
    column-gap: 1.6rem;
  }
}

/* ************************************** */
/* BELOW 960px */
/* ************************************** */

@media (max-width: 60rem) {
  /* hero */
  .hero {
    text-align: center;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
  }

  /* WHY US */

  .whyus-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ************************************** */
  /* MOBILE NAV*/
  /* ************************************** */

  /* fix scoll to right on mobile */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.5s ease-in;
    transform: translatex(100%);

    z-index: 9998;

    /* HIDE */
    opacity: 0;

    /* unaccessible to mouse / keyboard */
    pointer-events: none;

    /* hide from screen readers */
    visibility: hidden;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translatex(0);
  }

  .nav-open .icon-mobile-nav[name="close-icon"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="hamburger-icon"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 5rem;
    font-size: 5rem;
  }
}
/* ************************************** */
/* BELOW 900px */
/* ************************************** */

@media (max-width: 56.25rem) {
  html {
    font-size: 56%;
  }
}

/* ************************************** */
/* BELOW 780px */
/* ************************************** */

@media (max-width: 48.75rem) {
  /* about */
  .about {
    grid-template-columns: 1fr;
  }
  .yellow-deco-about {
    display: none;
  }
  .about-img {
    display: none;
  }
  .about-img-horizontal {
    display: block;
    width: 100%;
    margin-bottom: 3.2rem;
  }
}
/* ************************************** */
/* BELOW 700px */
/* ************************************** */

@media (max-width: 43.75rem) {
  /* services */
  .service-grid {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    row-gap: 3.2rem;
  }

  .service-item {
    width: 30rem;
  }
}

/* ************************************** */
/* BELOW 600px */
/* ************************************** */

@media (max-width: 37.5rem) {
  /* gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid-2-to-1 {
    grid-template-columns: 1fr;
  }
  .grantie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* footer */
  .footer-container {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    text-align: center;
  }
  .social-wrapper {
    align-items: center;
    justify-content: center;
  }
}

/* ************************************** */
/* BELOW 500px */
/* ************************************** */

@media (max-width: 31.25rem) {
  /* header */
  .logo {
    height: 4.8rem;
  }
  /* whyus */
  .whyus-grid {
    grid-template-columns: 1fr;
  }
}

/* ************************************** */
/* BELOW 470px */
/* ************************************** */

@media (max-width: 29.375rem) {
  /* about */
  .about-p-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
