/*   FILE : home_page.css
       @IT Lecturer: Thay Vu Duy Linh
       Craetor : Chau Thai - B2005731, thaib2005731@student.ctu.edu.vn
       @Created : 16 - Nov - 2022  
*/
/* setting default */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500;600;700;800&family=Poiret+One&display=swap");
*{
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
}
:root{
  --mauvang:#E5BF4A;
  --mauden :#0A0A0A;
  --mauxam: #4c4c4c;
  --fontJost: "Jost", sans-serif;
  --fontPoiret: "Poiret One";
}
html{
  font-family: var(--fontJost);
  font-size: 16px;
  line-height: 1;
  font-weight: normal;
  background: var(--mauden);
}
h1,h2,h3,h4,h5,h6{
  font-family: var(--fontPoiret);
}
a{text-decoration: none;}
/* end setting default */
section#page{
  display: grid;
  grid-template-areas: 
  "header"
  "main"
  "footer";
  height: 100vh;
  grid-template-rows: repeat(3,auto);
}
#page > .page__header{
  grid-area: header;
  display: flex;
  flex-flow: column wrap;
}
.page__header > .header__banner{
  display: flex;
  flex-flow: row no-wrap;
  justify-content: space-between;
  align-items: center;
  height: 112px;
  padding: 30px 20px 10px;
  margin-left: 50px;
  margin-right: 50px;
}
.header__banner > .banner__social-icon{
  display: flex;
  flex-flow: row nowrap;
}
.banner__social-icon > .icon__link{
  padding-right: 20px;
  text-align: left;
  color: #fff;
}
.banner__social-icon > .icon__link > i{
  transition: all 0.4s ease 0s;
}
.banner__social-icon > .icon__link:hover > i{
  transform: rotateY(180deg);
  color: var(--mauvang);
}
.header__banner > .banner__logo{
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  /* padding-left: 100px; */
}
.header__banner > .banner__logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header__banner > .banner__info{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.header__banner .banner__info > a{
  margin-right: 30px;
}
.header__banner > .banner__info > div:not(:last-child){
  margin-right: 30px;
}
.banner__info  i{
  color: #fff;
  transition: all 0.3s ease-in-out 0s;
}
.banner__info .shopping__cart{
  position: relative;
}
.shopping__cart p{
  position: absolute;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  align-items: center;
  padding: 3px 8px;
  top: -17px;
  left: 12px;
  z-index: 999;
  border-radius: 50%;
  border: 1px solid #FFF;
  background-color: #0A0A0A;
  transition: all 0.5s ;
}
.banner__info a:hover i{
  color: var(--mauvang);
  transform: scale(1.3);
}
.header__form-search {
  margin: 0px auto !important;
  padding-left: 50px;
}
.header__form-search  form {
  display: flex;
  visibility: hidden;
  margin-bottom: -31px;
} 
.header__form-search  form input{
  padding: 6px 5px;
  width: 700px !important;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  margin-right: 5px;
}
.header__form-search  form button{
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px 10px;
  background-color: transparent;
  color: var(--mauvang);
  font-family: var(--fontJost);
  border-radius: 10px;
  border: 1px solid var(--mauvang);
}
.header__form-search  form button:hover {
  background-color: var(--mauvang);
  color: #fff;
}
.show__search-form{
  visibility: visible !important;
  margin-bottom: 50px !important;
}

/* header navigation display on PC */
.page__header > .header__nav{
  height: 87px;
}
.header__nav > .header__nav--pc{
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__nav--pc > .nav__link {
  padding: 32px 7px;
  font-size: 15px;
  line-height: 22.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0px 14px !important;
  position: relative;
}
.header__nav--pc > .blog__dropdown {
  position: relative;
}
.header__nav--pc > .nav__link::after,
.header__nav--pc > .blog__dropdown::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 0%;
  left: 0%;
  bottom: 20px;
  background-color: var(--mauvang);
  transition: all 0.3s ease-in-out 0s;
}
.header__nav--pc > .nav__link:hover {
  color: var(--mauvang);
}
.header__nav--pc > .nav__link:hover::after,
.header__nav--pc > .blog__dropdown:hover::after {
  width: 100%;
}
/* END NAVIGATION PC */
.page__header .header__nav .header__nav--respon{
  height: 54px;
  background-color: var(--mauxam);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0px 20px;
  position: relative;
}
.header__nav--respon .menu__btn{
  padding: 10px;
  background-color: #222;
  border-radius: 4px;
  text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
  cursor: pointer;
}
.menu__btn button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.menu__btn span {
  line-height: 1.188em;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 3px #000;
}
.menu__btn i {
  line-height: 1.188em;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 3px #000;
}
.menu__dropdown {
  position: absolute;
  left: 0px;
  top: 54px;
  padding: 10px 20px;
  display: flex;
  width: 100%;
  overflow: hidden;
  z-index: 9999;
  opacity: 1;
  flex-direction: column;
  background-color: var(--mauxam);
  display: none;
  visibility: hidden;
}
.menu__dropdown .dropdown__link{
  display: block;
  padding: 10px ;
  color: #fff;
  border-radius: 5px;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
}
.dropdown__link:hover {
  background-color: gray;
  color: var(--mauvang);
}
.show__menu{
  display: block;
  visibility: visible;
}
/* MAIN EREA */
#page > .page__main{
  grid-area: main;
  display: grid;
  grid-template-rows: repeat(7,auto); 
}
/* SLIDE SECTION */
.page__main>.slide__section {
  display: flex;
  height: 700px;
  background: url("../img/icon/slider-banner.webp");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  align-items: center;
}
.slide__section .slide__caption {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.slide__caption .slide__title{
  font-size: 70px;
  line-height: 82px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 40px;
}
.slide__caption .slide__btn{
  outline: none;
  color: #000;
  border: 1px solid var(--mauvang);
  background-color: var(--mauvang);
  font-family: var(--fontJost);
  font-size: 15px;
  line-height: 15px;
  padding: 22px 41px;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.4s ease-in-out 0s;
  border-radius: 10px;
}
.slide__caption .slide__btn:hover{
  border: 1px solid var(--mauvang);
  background-color: transparent;
  color: var(--mauvang);
}
/* MAIN CONTAINER GROUP */
.container{
  max-width: 1140px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* ABOUT SECTION */
.about__section{
  display: flex;
  padding: 50px 0px;
  flex-flow: column nowrap;
}
.about__section > .about__caption{
  display: flex;
  justify-content: center;
}
.about__caption > h2{
  flex: 0 0 auto;
  text-align: center;
  font-weight: 400;
  line-height: 1.3;
  width: 50%;
  margin-bottom: 12px;
  font-size: 40px;
  color: #dfdfdf;
}
.about__section > .about__content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  align-items: center;
}
.about__content > .content__desc{
  padding: 10px;
}
.content__desc > h2{
  color: var(--mauvang);
  font-size: 24px;
  line-height: 31.2px;
}
.content__desc > p{
  color: #fff;
  margin: 20px 0px;
  text-align: justify;
  font-weight: 300;
  line-height: 24px;
}
.about__content > .content__img{
  padding: 10px;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}
.content__img > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* CARD SECTION */
.card__section{
  padding: 50px 0px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0px 20px;
}
.card__section > .card__item{
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid skyblue;
}
.card__item > .group__layer{
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.card__item >.group__layer > img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: all 0.4s ease-out 0s;
}
.card__item > .group__layer > a{
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(150px);
  bottom: 0%;
  padding: 12px 0px;
  width: 100%;
  text-align: center;
  background: #e5bf4a ;
  transition: 0.5s all ease;
}
.card__item >.group__layer:hover > img{
  transform: scale(1.3);
}
.card__item >.group__layer:hover > a{
  transform: translateY(0);
  left: 0;
  color: #000;
  opacity: 1;
  visibility: visible;
}
.card__item > .card__body{
  padding:20px;
}
.card__item > .card__body > .card__title{
  display: block;
  font-size: 24px;
  line-height: 28.8px;
  color: #fff;
  font-family: var(--fontPoiret);
}
.card__item > .card__body > .card__price{
  color: #e5bf4a;
  font-size: 20px;
  line-height: 30px;
}
/* Video section */
.video__section{
  background: url("../img/home-img/video_bg.webp") no-repeat 50% 50%;
  background-size: cover;
  max-width: 1140px;
  margin: auto !important;
  min-height: 668px;
  position: relative;
}
.video__section >.icon__play{
  position: absolute;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 20px 50px;
}
.video__section > .icon__play > a{
  font-size: 90px;
  color: rgb(229,191,74);
  transition: all 0.4s ease;
}
.icon__play:hover > a{
  color: #fff;
}
/* customer feedback section */
.customer__section{
  display: grid;
  grid-template-rows: 1fr 1fr;
  padding: 20px 0px;
}
.customer__section > .customer__caption{
  justify-self: center;
  align-self: center;
}
.customer__section > .customer__caption > h2{
  font-size: 40px;
  line-height: 52px;
  color: #dfdfdf;
}
.customer__section > .customer__group{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid #363636;
  border-bottom: 1px solid #363636;
}
.customer__group >.customer__item{
  display: grid;
  grid-template-rows: 50px 1fr 50px;
  row-gap: 10px;
  grid-auto-rows: auto;
  padding: 50px 30px;
  border-right: 1px solid #363636;
}
.customer__group > div:last-of-type{
  border-right: none;
}
.customer__item > .customer__evaluate > i{
  color: #e5df4a;
}
.customer__item > .customer__comment > p{
  font-size: 16px;
  color: #fff;
}
.customer__group > div:first-child > .customer__info{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 10px;
  align-items: center;
}
.customer__group > div:nth-child(2) > .customer__info{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 10px;
  align-items: center;
}
.customer__group > div:last-child > .customer__info{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  column-gap: 10px;
  align-items: center;
}
.customer__info > .customer__name{
  color: #fff;
}
/*  Blog section*/
.blog__section{
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 25px;
  padding: 50px 0px;
}
.blog__section > .blog__section--top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: 10px;
}
.blog__section--top > h2{
  color: #dfdfdf;
  font-size: 40px;
  line-height: 52px;
}
.blog__section--top > a > button{
  outline: none;
  border: 1px solid var(--mauvang);
  font-family: var(--fontJost);
  font-weight: 600;
  background-color: var(--mauvang);
  padding: 20px 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
}
.blog__section--top > a > button:hover{
  border: 1px solid var(--mauvang);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.blog__section > .blog__section--end{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}
.blog__section--end > .blog__item{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.blog__item > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog__item >.blog__content{
  padding: 20px 31px;
  border: 1px solid #363636;
  border-left: none;
}
.blog__content > h3{
  color: #e5bf4a;
  font-size: 24px;
  font-weight: 700;
  line-height: 28.8px;
  margin-bottom: 20px;
}
.blog__content > p{
  color: #fff;
  font-weight: 300;
  line-height: 24px;
  font-size: inherit;
  margin-bottom: 30px;
}
.blog__content > .blog__btn{
  color: #e5df4a ;
  background-color: transparent;
  padding: 15px 24px;
  border-radius: 5px;
  width: 80%;
  border: 1px solid #e5df4a;
  cursor: pointer;
}
.blog__btn > a{
  font-size: 15px;
  color: var(--mauvang);
  transition: all 0.4s ease-in-out;
}
.blog__btn:hover > a{
  letter-spacing: 1px;
}
/* Contact section */
.contact__section{
  display: grid;
  grid-template-rows: auto auto;
  padding: 100px 0px;
}
.contact__section > .contact__caption{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr ;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
}
.contact__caption > h2{
  color: #dfdfdf;
  font-size: 40px;
  line-height: 52px;
  font-weight: 300;
}
.contact__caption > .contact__btn{
  text-align: center;
  color: #e5df4a ;
  border: 1px solid #e5df4a;
  padding: 15px 0px;
  width: 50%;
  justify-self: center;
  background-color: transparent;
}
.contact__btn  > a{
  color: #E5BF4A;
}
.contact__btn > a >i{
  margin-right: 10px;
}
.contact__section > .contact__img-group{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 15px;
}
.contact__img-group > img{
  width: 100%;
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
}
/* FOOTER AREA */
#page > .page__footer{
  grid-area: footer;
  display: grid;
  grid-template-rows: 1fr 1fr 85px;
  max-width: 1140px;
  margin: auto !important;
}
.footer__menu{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid #363636;
}
.footer__contact--info{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 20px;
  padding: 20px 0px 50px;
  border-bottom: 1px solid #363636;
}
/* left */
.footer__contact--info > .contact--info-left{
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  row-gap: 10px;
  padding: 10px 20px;
}
.contact--info-left > .contact__des{
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
.contact--info-left > .contact__social{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 10px;
}
.contact--info-left > .contact__social > .social__item{
  padding:10px;
  text-align: center;
  border: 2px solid #363636;
  cursor: pointer;
}
.contact--info-left > .contact__social > .social__item:hover{
  border: 2px solid skyblue;
}
.contact__social > .social__item > a{
  color: #fff;
  font-size: 15px;
  line-height: 22.5px;
  transition: all 0.4s ease-in-out 0s;
}
.social__item:hover > a{
  color: #e5df4a;
}
.social__item > a > i{
  margin-right: 8px;
}
/* middle */
.footer__contact--info > .contact--info-middle{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  align-items: center;
}
.contact--info-middle > h4{
  color: #e5df4a;
  font-size: 24px;
  line-height: 28.8px;
  font-weight: 400;
}
.contact--info-middle > p{
  color: #fff;
}
/* right */
.footer__contact--info > .contact--info-right{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  align-items: center;
}
.contact--info-right > h4{
  color: #e5df4a;
  font-size: 24px;
  line-height: 28.8px;
  font-weight: 400;
}
.contact--info-right > a{
  color: #fff;
  text-decoration: underline !important;
}
.contact--info-right > p{
  color: #fff;
}
/* footer license */
.footer__license{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}
.footer__license > p >i{
  color: #e5df4a;
}
.footer__license > p >a{
  color: skyblue;
  font-size: 16px;
  line-height: 28.8px;
  font-family: "Poiret One";
}
