/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600&family=Unbounded:wght@700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(30, 100%, 58%);
  --black-color: hsl(220, 12%, 8%);
  --white-color: hsl(48, 90%, 90%);
  --text-color: hsl(220, 8%, 28%);
  --body-color: hsl(48, 80%, 90%);
  --shadow-img: drop-shadow(0 16px 24px hsla(0, 0%, 0%, .2));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --second-font: "Unbounded", sans-serif;
  --biggest-font-size: 3rem;
  --bigger-font-size: 2.5rem;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 6rem;
    --bigger-font-size: 4.5rem;
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--black-color);
}

input,
button {
  border: none;
  outline: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
  font-family: var(--second-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section_title, 
.section_subtitle {
  text-align: center;
  font-family: var(--second-font);
}

.section_title {
  font-size: var(--big-font-size);
  margin-bottom: 1rem;
}

.section_subtitle {
  display: block;
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--first-color);
  z-index: var(--z-fixed);
  transition: box-shadow 0.4s;
}


.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_logo{
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.nav_logo img{
  width: 1.5rem;
}

.nav_logo span{
  color: var(--black-color);
  font-weight: var(--font-semi-bold);
}


.nav_toggle,
.nav_close{
  display: inline-flex;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px){
  .nav_menu{
    position: fixed;
    top: 0;
    right: -100%;
    row-gap: 3.5rem;
    background-color: var(--first-color);
    width: 80%;
    height: 100%;
    padding: 8rem 3.5rem 0;
    box-shadow: -4px 0 16px hsla(0, 0%, 0%, .1);
    transition: right .4s;
  }
}

.nav_list{
  display: flex;
  flex-direction: column;
  row-gap: 3.5rem;
}

.nav_link{
  color: var(--black-color);
  font-family: var(--second-font);
  transition: color .4s;
}

.nav_link:hover{
  color: var(--white-color);
}

.nav_close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show_menu{
  right: 0;
}

/* Add shadow header */
.shadow_header{
  box-shadow: 0 4px 16px hsla(0,0%,0%, .1);
}

/* Active link */
.active-link{
  color: var(--white-color);
}

/*=============== HOME ===============*/
.home{
  background-color: var(--first-color);
}

.home_container{
  padding-block: 4rem 1rem;
  row-gap: 3rem;
}

.home_data{
  position: relative;
  text-align: center;
}

.home_title{
  font-size: var(--bigger-font-size);
  margin-bottom: .5rem;
}

.home_title span{
  color: var(--white-color);
}

.home_description{
  margin-bottom: 2rem;
}

.home_dam-1,
.home_dam-2,
.home_dam-3,
.home_dam-4,
.home_dam-5{
  position: absolute;
}

.home_dam-1{
  width: 60px;
  top: 4.5rem;
  right: -1.5rem;
}

.home_dam-2{
  width: 80px;
  top: -3.5rem;
  left: -2.5rem;
}

.home_images{
  position: relative;
  justify-self: center;
}

.home_img{
  width: 280px;
  filter: var(--shadow-img);
}

.home_dam-3{
  width: 60px;
  top: -2rem;
  right: -1rem;
}

.home_dam-4{
  width: 60px;
  right: .75rem;
  bottom: -1.25rem;
}

.home_dam-5{
  width: 80px;
  top: 5rem;
  left: -2.5rem;
}
/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  border-radius: .75rem;
  transition: box-shadow .4s;
}

.button:hover{
  box-shadow: 0 8px 24px hsla(0,0%,0%, .2);
}
/*=============== ABOUT ===============*/
.about{
  background-color: var(--first-color);
}

.about_container{
  padding-bottom: 3rem;
  row-gap: 9rem;
}

.about_data{
  text-align: center;
}

.about_data .section_subtitle{
  color: var(--white-color);
}

.about_description{
  margin-bottom: 2rem;
}

.about_images{
  position: relative;
  justify-self: center;
  margin-right: 2rem;
}

.about_img-1{
  width: 280px;
  position: relative;
  z-index: 10;
  filter: var(--shadow-img);
}

.about_img-2{
  width: 210px;
  position: absolute;
  top: -6.5rem;
  right: -2rem;
  filter: var(--shadow-img);
}

.about_tooltip-1,
.about_tooltip-2{
  position: absolute;
  display: inline-block;
  padding: .25rem 1.5rem;
  border-radius: .75rem;
  font-weight: var(--font-semi-bold);
}

.about_tooltip-1{
  background-color: var(--white-color);
  top: -4rem;
  left: 0;
}

.about_tooltip-2{
  background-color: var(--black-color);
  color: var(--first-color);
  right: -3rem;
  bottom: 3rem;
  z-index: 10;
}

.about_tooltip-1::after,
.about_tooltip-2::after{
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 12px;
  margin: auto 0;
  rotate: 45deg;
  border-radius: .25rem;
  background-color: red;
}

.about_tooltip-1::after{
  right: -8px;
  background-color: var(--white-color);
}

.about_tooltip-2::after{
  left: -8px;
  background-color: var(--black-color);
}
/*=============== ORDER ===============*/
.order .section_title{
  color: var(--first-color);
}

.order_container{
  padding-block: 1.5rem 3rem;
}

.order_card{
  position: relative;
  display: grid;
}

.order_img-1{
  width: 190px;
  filter: var(--shadow-img);
}

.order_img-2{
  width: 250px;
  justify-self: flex-end;
  filter: var(--shadow-img);
}

.order_shape-1,
.order_shape-2{
  background-color: var(--first-color);
  border-radius: 1rem;
  align-self: center;
  position: absolute;
}

.order_shape-1{
  width: 180px;
  height: 100px;
  left: -3rem;
}

.order_shape-2{
  width: 180px;
  height: 140px;
  right: -3rem;
}

.order_tooltip-1,
.order_tooltip-2{
  position: absolute;
  background-color: var(--first-color);
  align-self: center;
  padding: .75rem 2rem .75rem .75rem;
  border-radius: 1.5rem;
  z-index: 5;
}

.order_tooltip-1{
  right: 0;
}

.order_tooltip-2{
  left: 0;
}

.order_tooltip-1::after,
.order_tooltip-2::after{
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: var(--first-color);
  margin: auto 0 ;
  rotate: 45deg;
  border-radius: .25rem;
  z-index: -1;
}

.order_tooltip-1::after{
  left: -8px;
}

.order_tooltip-2::after{
  right: -8px;
}

.order_title{
  font-size: var(--normal-font-size);
  color: var(--white-color);
}

.order_subtitle{
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: 1.25rem;
}

.order_button{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: .5rem;
  background-color: var(--black-color);
  color: var(--first-color);
  position: absolute;
  right: 0.75rem;
  bottom: .75rem;
  cursor: pointer;
}
/*=============== COMBO ===============*/
.combo{
  background-color: var(--first-color);
} 

.combo .section_title span{
  color: var(--white-color);
}

.combo_container{
  padding: 4rem 9rem;
}

.combo_content{
  position: relative;
  display: grid;
}

.combo_img{
  width: 350px;
  justify-self: center;
  filter: var(--shadow-img);
  z-index: 5;
}

.combo_numbers{
  position: absolute;
  top: -3rem;
  justify-self: center;
  display: flex;
  column-gap: 4rem;
}

.combo_number{
  display: grid;
  row-gap: .25rem;
  text-align: center;
}

.combo_number span{
  font-size: var(--h3-font-size);
  font-family: var(--second-font);
}

.combo_number i{
  font-size: 1.25rem;
}

.combo_title{
  font-size: var(--biggest-font-size);
  color: var(--white-color);
  line-height: 110%;
  letter-spacing: 10px;
}

.combo_titles{
  position: absolute;
  top: 0;
  justify-self: center;
}

.combo_data{
  position: absolute;
  bottom: -3.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-self: center;
}

.combo_info{
  background-color: var(--white-color);
  padding: .75rem;
  border-radius: .5rem;
  font-size: var(--small-font-size);
}

.combo_info b{
  font-family: var(--second-font);
}

.combo_price{
  background-color: var(--black-color);
  color: var(--first-color);
  padding: 1.25rem;
  border-radius: 1rem;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
}

/*=============== CONTACT ===============*/
.contact_container{
  padding-block: 4rem 3rem;
  row-gap: 3rem;
  justify-self: center;
}

.contact_data{
  position: relative;
}

.contact_title{
  font-size: var(--bigger-font-size);
}

.contact_title span{
  font-size: var(--bigger-font-size);
  color: var(--first-color);
}

.contact_img-1,
.contact_img-2{
  position: absolute;
  filter: var(--shadow-img);
}

.contact_img-1{
  width: 110px;
  top: 1.5rem;
  right: 4rem;
}

.contact_img-2{
  width: 90px;
  top: 3rem;
  right: 2rem;
}

.contact_dam-1,
.contact_dam-2,
.contact_dam-3,
.contact_dam-4{
  position: absolute;
}

.contact_dam-1{
  width: 60px;
  top: -4rem;
  right: 1rem;
}

.contact_dam-2{
  width: 80px;
  right: -2rem;
  bottom: -6rem;
}

.contact_dam-3{
  width: 60px;
  left: 0;
  bottom: -4rem;
}

.contact_dam-4{
  width: 80px;
  top: -6rem;
  left: -2rem;
}

.contact_info{
  text-align: center;
}

.contact_subtitle{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.contact_social{
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact_social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.contact_social-link:hover{
  transform: translateY(-0.25rem);
}

.contact_address{
  color: var(--text-color);
  font-style: initial;
  font-weight: var(--font-semi-bold);
}

/*=============== FOOTER ===============*/
.footer{
  background-color: var(--first-color);
  padding-block: 3rem 2rem;
}

.footer_container,
.footer_content{
  row-gap: 3rem;
}

.footer_logo{
  display: flex;
  align-items: center;
  justify-self: center;
  column-gap: .25rem;
}

.footer_log img{
  width: 1.5rem;
}

.footer_logo span{
  color: var(--black-color);
  font-weight: var(--font-semi-bold);
}

.footer_social,
.footer_pay,
.footer_form{
  display: flex;
  justify-self: center;
  column-gap: 1rem;
}

.footer_title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
  text-align: center;
}

.footer_social-link{
  font-size: 1.5rem;
  color: var(--black-color);
  transition: transform .4s;
}

.footer_social-link:hover{
  transform: translateY(-.25rem);
}

.footer_pay-card{
  width: 30px;
}

.footer_form{
  background-color: var(--white-color);
  padding: .5rem;
  border-radius: 1rem;
}

.footer_input{
  width: 100%;
  background: transparent;
  padding-left: .5rem;
  color: var(--black-color);
}

.footer_input::placeholder{
  color: var(--black-color);
}

.footer_button{
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  cursor: pointer;
}

.footer_copy{
  display: block;
  margin-top: 6rem;
  text-align: center;
  font-size: var(--small-font-size) ;
}
/*=============== SCROLL BAR ===============*/
::-webkit_scrollbar{
  width: 0.6rem;
  background-color: hsl(30, 32%, 70%);
}
::-webkit_scrollbar-thumb{
  background-color: hsl(30, 32%, 60%);
}
::-webkit_scrollbar-thumb:hover{
  background-color: hsl(30, 32%, 50%);
}



/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: 3rem;
  background-color: var(--white-color);
  box-shadow: 0 4px 16px hsl(0, 0%, .1);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}
.scrollup:hover{
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
#scroll-up {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#scroll-up.show-scroll {
  opacity: 1;
  pointer-events: auto;
}


/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container{
    margin-inline: 1rem;
  }
  .home_title,
  .contact_title{
    font-size: 2rem;
  }

  .combo_title,
  .contact_title span{
    font-size: 2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px){
  .nav_menu{
    width: 55%;
  }

  .home_container,
  .about_container,
  .order_container{
    grid-template-columns: 460px;
    justify-content: center;
  }
}

/* For large devices */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }

  .nav{
    height: calc(var(--header-height) + 2rem);
  }

  .nav_toggle,
  .nav_close{
    display: none;
  }
  .nav_menu{
    width: initial;
  }
  .nav_list{
    flex-direction: row;
    column-gap: 4rem;
  }
  .home_container{
    grid-template-columns: 530px 530px;
    align-items: center;
    column-gap: 2rem;
    padding-block: 8rem 3rem;
  }
  .home_data{
    text-align: initial;
  }
  .home_title{
    margin-bottom: 1rem;
    position: relative;
    z-index: 5;
  }
  .home_description{
    margin-bottom: 3.5rem;
    padding-right: 7.75rem;
  }
  .home_dam-1{
    width: 100px;
    right: 10rem;
    top: initial;
    bottom: -1rem;
  }
  .home_dam-2{
    width: 120px;
    top: -4.5rem;
    left: -4.5rem;
  }
  .home_img{
    width: 550px;
    position: relative;
    z-index: 5;
  }
  .home_dam-3{
    width: 110px;
    top: -3.5rem;
    right: -2rem;
  }
  .home_dam-4{
    width: 110px;
    right: 2.5rem;
    bottom: -2.5rem;
  }
  .home_dam-5{
    width: 150px;
    top: initial;
    left: -3rem;
    bottom: 9rem;
  }
  .about_container{
    grid-template-columns: 460px 420px;
    align-items: center;
    column-gap: 11rem;
    padding-block: 10rem 4rem;
  }
  .about_data{
    order: 1;
    text-align: initial;
    margin-bottom: 7rem;
  }
  .about_data :is(.section_title, .section_subtitle){
    text-align: initial;
  }
  .about_description{
    margin-bottom: 3.5rem;
  } 
  .about_images{
    margin-right: 0;
  }
  .about_img-1{
    width: 460px;
  }
  .about_img-2{
    width: 360px;
    top: -11rem;
    right: -6.5rem;
  }
  .about_tooltip-1{
    font-size: var(--h3-font-size);
    top: -5rem;
    left: 5rem;
  }
  .about_tooltip-2{
    font-size: var(--h3-font-size);
    right: -4rem;
    bottom: 8rem;
  }
  .about_tooltip-1::after,
  .about_tooltip-2::after{
    top: 1rem;
  }

  .order_container{
    grid-template-columns: 740px;
    row-gap: 0;
    padding-block: 4rem;
  }
  .order_img-1{
    width: 340px;
  }
  .order_img-2{
    width: 450px;
  }
  .order_shape-1{
    width: 330px;
    height: 180px;
    border-radius: 2rem;
    left: -6rem;
  }
  .order_shape-2{
    width: 330px;
    height: 260px;
    border-radius: 2rem;
    right: -6rem;
  }
  .order_card:nth-child(1){
    justify-self: flex-start;
  }
  .order_card:nth-child(2){
    justify-self: flex-end;
  }
  .order_tooltip-1,
  .order_tooltip-2{
    padding: 1.25rem 4rem 1.25rem 1.25rem;
    border-radius: 2rem;
  }
  .order_tooltip-1{
    right: -16rem;
  }
  .order_tooltip-2{
    left: -16rem;
  }
  .order_title{
    font-size: var(--h3-font-size);
  }
  .order_subtitle{
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
  }
  .order_price{
    font-size: var(--h1-font-size);
  }
  .order_button{
    width: 44px;
    height: 44px;
    border-radius: .75rem;
    font-size: 2rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .combo_container{
    padding-block: 6rem 13rem;
  }
  .combo_img{
    width: 750px;
  }
  .combo_numbers{
    column-gap: 10rem;
  }
  .combo_number span{
    font-size: var(--h2-font-size);
  }
  .combo_titles{
    top: 1rem;
  }
  .combo_title{
    letter-spacing: 40px;
  }
  .combo_data{
    bottom: 1.5rem;
  }
  .combo_info{
    padding: 1.25rem 2.5rem 1.25rem 1.25rem;
    font-size: var(--h3-font-size);
    border-radius: 1rem;
  }
  .combo_price{
    padding: 2rem;
    border-radius: 1.5rem;
  }

  .contact_container{
    grid-template-columns: 550px 450px;
    align-items: center;
    column-gap: 3.5rem;
    padding-block: 9rem 13rem;
  }
  .contact_img-1{
    width: 190px;
    top: 3rem;
    right: 8rem;
  }
  .contact_img-2{
    width: 160px;
    top: 5rem;
    right: 4rem;
  }
  .contact_dam-1{
    width: 100px;
    top: -8rem;
    right: 4.5rem;
  }
  .contact_dam-2{
    width: 120px;
    bottom: -9rem;
  }
  .contact_dam-3{
    width: 100px;
    bottom: -8rem;
  }
  .contact_dam-4{
    width: 120px;
    top: -9rem;
    left: -4rem;
  }
  .contact_info{
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .contact_subtitle{
    margin-bottom: 1rem;
  }

  .footer{
    padding-block: 4rem 2rem;
  }
  .footer_container{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .footer_content{
    grid-template-columns: repeat(4, max-content);
    column-gap: 4rem;
  }
  .footer_logo{
    align-self: flex-start;
  }
  .footer_logo img{
    width: 2rem;
  }
  .footer_logo span{
    font-size: var(--h3-font-size);
  }
  .footer_social,
  .footer_pay,
  .footer_form{
    justify-self: initi;;
  }
  .footer_title{
    text-align: initial;
  }
  .footer_form{
    width: 340px;
  }
  .scrollup{
    right: 3rem;
  }
}

/* For 2K resolutions (2048 x 1152, 2048 x 1536) */
@media screen and (min-width: 2048px) {
  body{
    zoom: 1.4rem;
  }
}
