*,
*::before,
*::after {
   box-sizing: border-box;
   padding: 0;
   margin: 0;
   transition: all 0.2s ease-out;
}

body {
   font-family: 'Poppins', sans-serif;
   min-height: 100dvh;
   color: #231a10;
   position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: 'Playfair Display', serif;
   color: #110d08;
}

h1 {
   font-size: 3rem;
}

header,
main,
footer {
   width: 80dvw;
   max-width: 960px;
   margin: auto;
}

.text-dark {
   color: #110d08;
}

.text-light {
   color: #231a10;
}

.text-color {
   color: #fb9e41;
}

#logo-container {
   background-image: url('/public/logo_background.webp');
   background-size: 100%;
   width: 60%;
   margin: auto;

   img {
      width: 100%;
   }
}

#about {
   display: grid;
   grid-template-columns: 40% auto;
   gap: 4rem;
   align-items: center;

   .image-grid {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: 20px;
   }

   img {
      width: 100%;
      border-radius: 20px;

      &:hover {
         scale: 1.075;
         box-shadow: 0 0 20px #ccc8c2ff;
      }
   }
}

#pricing {
   display: grid;
   grid-template-rows: auto auto;
   align-items: start;
   text-align: center;
   gap: 2rem;
   padding: 6rem 0;
}

#pricing-cards-grid {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   align-items: start;
   justify-items: center;
}

.pricing-card {
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-content: start;
}

.pricing-card-title {
   font-weight: 600;
   font-size: 1.5rem;
}

.pricing-card-price {
   font-weight: 600;
   font-size: 2.5rem;
   color: #fb9e41;
}

.pricing-card-text {
   font-size: .9rem;
}

#gallery {
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-auto-rows: 800px;
   gap: 4rem;
   margin-bottom: 8rem;

   img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;

      &:hover {
         scale: 1.075;
         box-shadow: 0 0 20px #ccc8c2ff;
      }
   }

   img:nth-child(2n) {
      margin-top: 4rem;
   }
}

#contact {
   position: relative;
   width: 100%;
   overflow: hidden;
   border-radius: 20px;
   padding: 2rem 0;

   video {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -2;
}

.dark {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -1;
   background-color: #1f1d1b;
   opacity: 50%;
}

.orange {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -1;
   background-color: #eebc8a;
   opacity: 40%;
}
}

#contact-container {
   display: grid;
   grid-template-rows: auto auto;
   align-items: start;
   justify-items: center;
   gap: 2rem;
   color: rgb(245, 241, 235);

   h1 {
      color: rgb(245, 241, 235);
   }
}

#contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: start;
   justify-items: center;

   .text-block {
      padding-top: 1rem;

      div {
         display: flex;
         flex-direction: row;
         align-items:center;
         gap: 10px;
         margin: 10px 0;

         &:hover > img {
            scale: 1.2;
         }
      }

      img {
         height: 35px;
      }

      a {
         text-decoration: none;
         cursor: pointer;
         color: inherit;
      }
   }
}

#contact-form {
   width: 60%;

   label {
      font-size: .8rem;
      /* color: #231a10; */
   }

   input {
      outline: none;
      border: 1px solid #aca8a4ff;
      height: 2rem;
      width: 100%;
      border-radius: 7px;
      background-color: #f5f3f2;
      padding: .5rem;
      margin-bottom: 10px;

      &:focus {
         border-color: #fb9e41;
         background-color: white;
      }
   }

   textarea {
      width: 100%;
      height: 8rem;
      outline: none;
      border: 1px solid #aca8a4ff;
      border-radius: 7px;
      background-color: #f5f3f2;
      padding: .5rem;
      resize: vertical;

      &:focus {
         border-color: #fb9e41;
         background-color: white;
      }
   }
}

.btn {
   all: unset;
   margin: auto;
   background-color: #fb9e41;
   border: none;
   border-radius: 7px;
   padding: 8px 15px;
   font-weight: 600;
   color: white;
   font-size: larger;
   cursor: pointer;
   transition: all .2s ease-out;
   margin-top: 15px;
   display: block;

   &:hover {
      scale: 1.03;
      background-color: #d86f19;
   }
}

#google-map {
   padding-top: 4rem;
   padding-bottom: 2rem;

   iframe {
      width: 100%;
      border-radius: 20px;
   }
}

#footer-background {
   z-index: -99999;
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   width: 100%;
   height: 70dvh;
   background: url('/public/footer_background.webp') 50% 100% no-repeat;
}

@media (max-width: 992px) {
   h1 {
      font-size: 2.5rem;
      text-align: center;
   }

   #logo-container {
      width: 100%;
   }

   #about {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
   }

   #about .text-block {
      order: -1;
   }

   #pricing-cards-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      gap: 3rem;
   }

   #gallery {
      grid-template-columns: auto;
      margin-bottom: 4rem;
      grid-auto-rows: 600px;

      img:nth-child(2n) {
         margin-top: 0;
      }
   }

   #contact {
      width: 100dvw;
      transform: translateX(-10dvw);
      border-radius: 0;
   }

   #contact-grid {
      width: 80%;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 2rem;

      .text-block {
         padding-top: 0;
         order: -1;
      }
   }

   #contact-form {
      width: 100%;
   }
}