@import url('https://fonts.googleapis.com/css2?family=Croissant+One&display=swap');

/* Box Model Hack */
* {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clear {
  clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
:root {
  --white: #fff;
  --orange: rgb(255, 115, 0);
}

body {

}

/******************************************
/* LAYOUT
/*******************************************/

main {
  background-image: url(/img/ginger-guy.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0;
  height: 800px;
  padding-top: 20px;
}

header {
  display: flex;
  padding-right: 0.4em;
  /* justify-content: space-evenly; */
}

.logo {

  font-family: "Croissant One", serif;
  font-weight: 400;
  font-style: normal;
  width: 10%;
  margin: 1% 5%;
  font-size: 1.2em;
  text-align: center;
  color: #645a00;
  position: relative;
  
}

.logo::before,
.logo::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  background: linear-gradient( to right, #F0E68C, #645a00);
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.logo::before{
  top: -5px;
  transform-origin: left;
}

.logo:hover::after,
.logo:hover::before {
transform: scaleX(1);
}

.nav-bar{
  width: 100%;
  margin-left: auto;
  /* justify-items: end; */
}

.nav-bar ul {
display: flex;
}

.nav-bar li  {
  flex: 1;
  font-size: 1.2em;
  font-weight: bold;
  color: #f79400;
  text-align: center;
  transition: transform 0.2s ease-out;
}
.nav-bar li a{
  color: #f79400;
}

.nav-bar li::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0.5px;
  background: linear-gradient( to right, #f19f81, #ff4500);
  left: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
  margin: 0 3px;
}

.nav-bar li:hover::after {
transform: scaleX(1);
}

.nav-bar li:hover:not(.fm, .cart ) {
  /* font-size: 1.3em; */
  /* font-weight: 900; */
  /* text-decoration: underline; */
  color: #ff4500;
  transform: scale(1.05);
}

.cart img {
  width: 25%;
  height: 25px;

}

.hamburger {
  display: none;
}



/********************   hero-section   **********************/

.hero {
  /* clear: both; */
  padding: 5%;
}

.hero h1 {
  font-size: 5em;
  width: 35%;
  color: #6b6631;
  /* color: #272402; */
  transition: transform 0.2s ease-in-out;
}

.hero h1:hover {
  color: #0a0a04;
  transform: scale(1.05)
}

.hero form {
  margin: 0;
  display: flex;
}

.hero input {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background: var(--white);
  border-inline: none;
  border: none;
  padding: 1%;
  margin: 0;
  width: 35%;
}

.hero form a,
.about-section a {
  /* float: left; */
  background: var(--orange);
  padding: 1%;
  margin: 0;
  text-decoration: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: var(--white);
  font-size: 1.1em;
}

.hero ul {
  /* clear: both; */
  display: flex;
}

.hero li {
  /* float: left; */
  padding: 3%;
}

/********** just- styling ***********/

.just-for-styling {
  height: 5px;
  background: rgb(141 137 137 / 49%);
}

.fa-brands {
  font-size: 1.8em;
}

.facebook {
color:  #1877F2 ;
}
.insta {
color: #FCAF45;
}

.x {
color: #000000;
}

.call {
  color: brown;
}

/********************    about-section   **********************/

.about-section {
  background-image: url(/img/second-main.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 800px;
  /* margin-top: 2px; */
  display: flex;
}

.about-section div {
  /* float: right; */
  width: 50%;
  padding: 5%;
  margin-right: 5%;
  margin-left: auto;
}

.about-section h2 {
  color: #9f995e;
  /* color: #474100; */
}


.about-section h2:hover {
  color: #0a0a04;
  /* color: #474100; */
}

.about-section span,
.order-section span,
.bookings-section .span,
footer.testimonial .test-span {
  color: var(--orange);
  font-size: 1.3em;
  font-weight: bold;
  position: relative;
  transition: transform 0.2s ease-out;
}

.about-section span:hover,
.order-section span:hover,
.bookings-section .span:hover,
footer.testimonial .test-span:hover {
  color: #ff4500;
  transform: scale(1.05);
  font-size: 1.4em;
}

.about-section span::after,
.order-section span::after,
.bookings-section .span::after,
footer.testimonial .test-span::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  background: linear-gradient( to right, #f19f81, #ff4500);
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
  margin: 0 3px;
}

.about-section span:hover::after,
.order-section span:hover::after,
.bookings-section .span:hover::after,
footer.testimonial .test-span:hover::after{ 
  transform: scaleX(1);
}

.about-section h2 {
  font-size: 3.5em;
  width: 65%;
}


.about-section p {
  font-size: 1.2em;
}

.about-section p + p {
  margin-bottom: 7%;
}

.about-section a {
  padding: 2%;
  border-radius: 5px;
}

/********************    order-section   **********************/

.order-section {
  background-image: url(/Cuisine_Solution/img/try-2nd.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 1200px;
  text-align: center;
  padding: 5%;
  display: flex;
  flex-direction: column;
}

.order-section h3,
.bookings-section h3,
.testimonial h2 {
  font-size: 5em;
  margin: 3% 0;
  color: #9f995e;
  /* color: #6b6631; */
}

.order-ul {
  padding: 0 27%;
  display: flex;
  margin-bottom: 5%;
}

.order-ul > li {
  /* float: left; */
  margin: 4%;
  font-size: 1.5em;
  position: relative;
  transition: transform 0.2s ease-out;
}

.order-ul > li:hover {
  color: #645a00;
  transform: scale(1.05);
  /* font-size: 1.4em; */
}

.order-ul > li::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  background: linear-gradient( to right,  #F0E68C, #645a00);
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
  margin: 0 3px;
}

.order-ul > li:hover::after {
  transform: scaleX(1);
}

.order-img-ul {
  /* clear: both;*/
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
  gap: 8px;
   padding: 0;
}

.order-img-ul > li {
  height: 230px;
  width: 25%;
  /* float: left; */
  overflow: hidden;
  position: relative;
 margin-right: 6px;
 margin-bottom: 3px;
}

.img1 {
  position: absolute;
  z-index: 2;
  transition: .4s;
  transform-origin: 50%, 50%;
  object-fit: contain;
  width: 270px;
  height: 300px; 
  
 
}

.img2 {
  filter: blur(20px);
  transform: scale(1.1s);
  opacity: 1;
  transition: 4s;
  /* width: 70%; */
  object-fit: contain;
  width: 270px;
  height: 300px; 
}

.order-img-ul > li:hover .img1 {
  filter: blur(20px);
  transform: scale(1.1s);
  opacity: 0;
}

.order-img-ul > li:hover .img2 {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

/********************    bookings-section   **********************/

.bookings-section {
  /* clear: both; */
  background-image: url(/Cuisine_Solution/img/strawberry.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 1100px;
  text-align: center;
  padding: 7%;
}

.bookings-section h3 + strong + span {
  display: block;
  color: #000;
}

.bookings-section h4 {
  font-size: 2em;
  color: var(--orange);
  margin: 0;
}

.bookings-section ul {
  padding: 0 10%;
  margin: 2% 3% 9%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /* margin-bottom: 9%; */
}

.bookings-section li {
  /* float: left; */
}

.bookings-section li:last-of-type {
  /* float: right; */
}

.bookings-section li span {
  font-size: 1.2em;
  color: #000;
}

.bookings-section li strong {
 font-size: 1.5em;
 font-weight: bolder;
}

.bookings-section .img-div {
  clear: both;
  margin: 5%;
}

.bookings-section .img-div img {
  width: 100%;
  height: 450px;
}



/********************    testimonial-section   **********************/

/* footer {
} */

.testimonial {
  background: var(--white);
  height: 800px;
  text-align: center;
  padding: 7%;

}


.testimonial img {
  width: 150px;
  height: 150px;
  border-radius: 100%;
}

.testimonial i {
  display: block;
  margin: 2%;
  color: var(--orange);
}

.testimonial p {
  width: 50%;
  margin: 3% auto;
}

.testimonial a {
  text-decoration: none;
  display: block;
  color: var(--orange);
}

.hidden {
  display: none;
}


/******************************************
/* ADDITIONAL STYLES @media
/*******************************************/


@media (min-width: 768px) and (max-width: 1035px) {

  main, 
  .about-section {
    height: 600px;
  }

  .logo {
    font-size: 0.8em;
    /* width: 7%; */
  }

  .logo::before {
    top: -6px;
  }
  
  .logo::before,
  .logo::after {
    left: 5px;
    bottom: 3px;
}

  .nav-bar li  {
    font-size: 0.8em;
  }

  .cart img {
    height: 16px;
  }
  .hero {
    margin-top: 35px;
  }

  .hero h1 {
    font-size: 3em;
    margin: 0.9em 0;
    width: 37%;
  }

  .fa-brands {
    font-size: 1em;
  }

  .hero ul {
    margin-top: 30px;
  }

  .hero form a, 
  .about-section a {
    font-size: 0.9em;
  }

  .about-section p + p {
    margin-bottom: 15%;
  }


  /********  About section   ********/



  .about-section h2 {
    width: 100%;
    font-size: 2.6em;
  }

  .about-section p {
    font-size: 1em;
  }

  .about-section span,
  .order-section span,
  .bookings-section .span,
  footer.testimonial .test-span {
    font-size: 1em;
  }

  /********************    order-section   **********************/

  .order-section {
    height: 1000px;
  }

  .order-section h3,
  .bookings-section h3,
  .testimonial h2 {
    font-size: 2.6em;
}

  .order-ul {
    padding: 0 7%;
    justify-content: center;
  }

  .order-ul li {
    font-size: 1em;
  }

  .order-img-ul {
    gap: 10px;
  }

  .order-img-ul li {

  }
  
  .img1,
  .img2 {
    width: 220px;
    height: 250px;
  }

  .bookings-section {
    height: 850px;
  }


  .bookings-section h4 {
    font-size: 1.1em;
  }

  .bookings-section li span {
    font-size: 0.8em;
  }

  .bookings-section > strong {
    display: block;
    margin-bottom: 5px;
  }
  /* .img2 {

  } */
}


/******************* media-mobile************************/

/* mobile styles here */
@media (max-width: 760px) {


  header {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    background: #fff;
  }

  .nav-bar {
    display: none;
  }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #hamburger span {
    display: block;
    background: #000;
    width: 2em;
    height: 10%;
    margin: 3px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  }
  .hero h1 {
    font-size: 3em;
    /* padding: 1rem;  */
    margin-top: 150px;
    text-align: center;
    word-wrap: break-word;
    width: 100%;
    color: #ed006b;
  }
  
  .hero form {
    display: flex;
    justify-content: space-between;
    margin: 25px;
  }


  .hero input {
    width: 15em;
    padding: 5%;
  }

  .hero form a {
    padding: 5%;
  }

  .socials {
      margin-top: 50px;
      justify-content: space-around;
      width: 60%;
  }

  /********************    about-section   **********************/

  .about-section {
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about-section span {
    margin-top: 30px;
    font-size: 1.7em;
  }

  .about-section div {
    margin: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7%;
  }

  .about-section h2 {
    font-size: 3em;
    width: 70%;
    word-break: break-word;
    color: #ed006b;
  }
  
  .about-section h2:hover,
  .hero h1:hover {
  color: #fc2809e5;
  /* color: #474100; */
}

  .about-section p {
    background: beige;
    /* filter: alpha(opacity=50); 
    opacity: 0.5; */
  }

  /********************    order-section   **********************/
  .order-section h3,
.bookings-section h3,
.testimonial h2 {
  font-size: 3em;
  margin: 3% 0;
  color: #9f995e;
  /* color: #6b6631; */
}

.order-ul {
  padding: auto;
  margin: 0;
  flex-direction: column;
}

.order-img-ul {
  display: none;
}

.mobile-slider {
  display: flex;
  /* flex-direction: column; */
  width: max-content;
}

.mobile-img-ul {
  display: flex;
  flex-direction: column;
}

.mobile-img-ul-two {
  display: flex;
}
 
/* .swiper {
  height: 500px;
   width: 50%; 
}

.swiper-slide {
  display: flex;
  justify-content: space-between;

}

.swiper img {
  width: 400px;
  height: 400px; 
} */

.img2 {
  filter: none;
}


.testimonial img {
  width: 100px;
  height: 100px;
}
}