/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clear {
clear: both;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Young Serif', serif;
}

/******************************************
/* BASE STYLES
/*******************************************/

.container {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
}

.row {
  display: flex;
  /* border: 1px solid red; */
}

a {
  text-decoration: none;
  color: black;
  font-weight: 900;
}

li {
  list-style: none;
  color: black;
  text-wrap: nowrap;
  margin: 0;
  padding: 0;
}

span {
  text-wrap: nowrap;
}
/* img {
  width: 100%;
} */

.header__section {
  background: brown;
  padding: 20px 0;
  margin-top: 0;
}

.nav__list li {
  margin-right: 1em;
  /* border: 1px solid red; */
}

.main,
.aboutus,
.order__section, 
.contact__section,
.testimonials__section {
  padding: 50px 0;
}

.socials__section {
  padding: 15px 0;
  width: 50%;
}

.img__list {
  padding: 15px 0;
}

.icons {
  width: 20px;
}

.icons img {
  width: 100%;
}

.arrow-right {
  width: 25px;
  display: block;
  margin: 0 auto;
}

#logo {
  width: 50px;
  /* margin: 0 auto;
  justify-self: center; */
}
.shopping div{
  width: 30px;
}

.shopping {
  gap: 30px
}

/******************************************
/* LAYOUT
/*******************************************/
.hero {
  background:  url(assets/hermes-rivera-Ww8eQWjMJWk-unsplash.jpg) 100%/cover no-repeat;
  color: black;
  padding: 0 0 80px 0;
  opacity: 0.7;
}

.hero__title {
  font-size: clamp(6vw, 5em, 50px);
  opacity: 1;
}

.hero__intro {
  width: 50%;
}

.hero .form input {
  width: 60%;
  /* max-width: 100px; */
  height: 50px;
  border-radius: 10px 0 0 10px;
}

.hero .form a,
.aboutus a {
  /* display: inline-block; */
  background: orange;
  color: white;
  width: 40%;
  min-width: fit-content;
  text-align: center;
  padding: 13px 30px;
  border-radius: 0 10px 10px 0;
}

.socials__section{
  display: flex;
  width: 50%;
  gap: 15px;
}

.social__items {
  display: flex;
  align-self: center;
}

.form {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 300px;
  justify-content: stretch;
}

.form > *{
  align-self: center;  
}

main {
  background: url(assets/pexels-cats-coming-7568491.jpg) 100%/cover no-repeat;
  transform: scaleX(-1);
  color: black;
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
}

/* .form {
  width: 100%;
} */

.aboutus {
  width: 40%;
  transform: scaleX(-1);
}

.aboutus__section span,
.order__section--titles span,
.contact__section--titles span,
.contact__section--phone span + span,
.testimonials__section--titles span {
    display: inline-block;
    width: 100%;  
     color: orangered;
     font-size: 2rem;
     font-weight: 900;
    text-align: center;
}

.aboutus__links {
  width: 50%;
  
  display: flex;
}

a.aboutus__link--1 {
  width: 80%;
  border-radius: 10px 0 0 10px;
  background: orange;
}

a.aboutus__link--2 {
  width: 20%;
  background: rgb(247, 194, 95);
  border-radius: 0 10px 10px 0 ;
}

.order__section--titles h2,
.contact__section--titles h2,
.testimonials__section--titles h2{
  text-align: center;
}

.img__list {
  margin: 0 auto;
  width: 80%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.img__list,
.img__list > * {
    border: 1px solid red;
}

.order__section--img img {
  display: block;
  width: 100%;
  /* border: 1px solid red; */
  /* max-width: 602px; */
  /* margin: 0 auto; */
}

.order__section .nav__list {
  margin: 0 auto;
  padding: 30px 0;
}

.contact__section--phone,
.contact__section--openings .week,
.contact__section--openings .weekend{
  width: 100%;
  text-align: center;
  margin: 20px auto;

  display: flex;
  flex-direction: column;
}


.contact__section--openings .days {
  text-decoration: underline;
}

.contact__section--openings .timings,
.customer__intro div + p {
  font-size: 1.4rem;
}

.customer--img {
  width: clamp(250px, 40%, 280px);
  margin: 0 auto;
  height: 250px;
}

.customer--img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid gold;
}

.customer__intro {
  width: 80%;
  text-align: center;
  margin: 0 auto;
}

.pasta__section {
  background:  url(assets/brooke-lark-kXQ3J7_2fpc-unsplash.jpg) 100%/cover no-repeat;
  color: black;
  padding: 300px 0;
  opacity: 0.7; 
}

.review__section {
  display: flex;
  justify-content: center;
  width: 100%;
}



/******************************************
/* ADDITIONAL STYLES
/*******************************************/

@media (max-width: 900px) {
  
  .contact__section span,
  .row {
    display: block;
    /* border: 1px solid red; */
  }
  .aboutus {
    width: 100%;
    align-self: flex-start;
    /* color: lime */
  }

  .img__list img{
    margin-bottom: 10px;
  }
}

/*
------------- testing :
*/

/*
default :
*/

.nav--toggle {
  display: none;
}

/* header,
header #logo,
#menu__nav {
  border: 1px solid red;
} */

.logo__nav {
  /* background: lightblue; */
  position: relative;
  height: 100%;

  display: flex;
  width: 100%;
  justify-content: center ;
  /* background-color: lime; */
  /* gap: 35% */
}

/* #logo {
  width: 50px;
  margin: 0 auto;
  background-color: blue;
} */


#menu__nav {
  /* width: 100%; */
 /* background-color: blue; */
 position: absolute;
 left: 10px;
 ;
}

#menu__nav img {
  background: black;
  border-radius: 50%;
  width: 40px;
  padding: 5px;
}

#main__nav a {
  border-bottom: 1px solid black;
}
#main__nav{
  text-transform: uppercase;
}
#shopping__nav img:hover,
#main__nav a:hover {
  color: white;
  border-bottom: 3px solid white;
}

.nav--visible {
  display: block;
  text-align: center;
  margin: 0 auto;
}
.nav--visible li {
  padding-top: 20px;
}

#shopping__nav {
  align-items: center;
}

/* -------- CAROUSEL -------------*/

.carousel {
  position: relative;
  width: 80%;
  height: 300px;
  margin: 0 auto;
}

.carousel__image {
  width: 100%;
  height: 100%;
  object-fit:cover;
}

.carousel__track-container {
  background: rgba(0,0,0,.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}

.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel__button:hover {
  background: gray;
  opacity: .1;
}

.carousel__button--left {
  left: -30px
}

.carousel__button--right {
  right: -30px
}

.carousel__nav {
  /* background: pink; */
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: rgba(0,0,0,.3);
  margin: 0 5px;
}

.carousel__indicator.current-slide {
  background: rgba(0,0,0,.75);
}

.is-hidden {
  display: none;
}

/* 
from 600px
*/

/* #nav,
#nav > * {
  border: 1px solid red
} */

/***********
from 600px
*************/

@media (min-width: 600px) {
  #nav {
    justify-content: center;
    /* border: 1px solid red; */
    visibility: visible;
    height: auto;
    display: flex;
    flex-direction: column;
  }
}
/********************************
from 950px : 
******************************/

@media (min-width: 975px) {

  #menu__nav {
    display: none;
  }

  #main__nav,
  #shopping__nav {
    display: flex;
    align-items: center;
    font-size: clamp(1.5vw, 1.2em, 10px);
  }
/* 
  #main__nav,
  .logo__nav,
  #logo,
  #main__nav li {
    border: 1px solid red;
  } */

  #main__nav {
    width: 90%;
  }

  #main__nav div {
    width: 100%;
    justify-content: center;
    gap: 20px;
    /* background: lime; */

  }

  .logo__nav {
    width: 10%;
  }

  /* #logo {
    margin: 0 auto;
    width: 50px;
  } */

  #nav {
    flex-direction: row;
    /* border: 1px solid red; */
  }

  #shopping__nav  {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
   }

  .nav--visible {
    display: flex;
    align-items: center;
  }

  .carousel {
    position: relative;
    width: 80%;
    height: 600px;
    margin: 0 auto;
  }

  #logo {
    position: relative;
    width: 65px;
    top: 50%;
    transform: translateX(-50%);
  }
}


