@import url("https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
*,
*::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding: 30px;
}
body {
  font-family: "Open Sans", serif;
}
/* color */
:root {
  --defult-color: #ffffff;
  --home-bg-color: #eee;
  --head-color: #37373f;
  --tetx-color: #4f4f5a;
  --btn-color: #ce1212;
  --white-color: #ffffff;
  --hover-color: #e61414;
  --logo-color: #212529;
  --ancor-color: #7f7f90;
  --footer-color: #0009;
  --main-padding: 50px;
  --first-font: "Amatic SC", serif;
  --second-font: "Inter", serif;
  --third-font: "Open Sans", serif;
  --wave: url(../images/team-shape.svg);
}
.dark-theme {
  --home-bg-color: #252525;
  --head-color: #ffffff;
  --tetx-color: #5c5c64;
  --btn-color: #c17e1f;
  --white-color: #171717;
  --hover-color: #be883d;
  --logo-color: #ffffff;
  --ancor-color: #7f7f90;
  --footer-color: #0009;
  --wave: url(../images/dark.svg);
}

/* Glopal */
img {
  width: 100%;
}

a {
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.container {
  width: 85%;
  margin: auto;
}
.title {
  text-align: center;
  padding: 50px 0;
}
.title h2 {
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter", serif;
  color: var(--ancor-color);
  text-transform: uppercase;
}
.title p {
  font-family: "Amatic SC", serif;
  font-weight: 400;
  font-size: 50px;
  color: var(--logo-color);
}
.title span {
  color: var(--btn-color);
}

/* ====================================
   1- Navbar
   ========================================= */

.navagation {
  padding: 20px 0;
  background-color: var(--white-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.1));
}
.navagation .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--second-font);
  font-weight: 700;
  font-size: 24px;
  color: var(--logo-color);
  position: relative;
}
.navagation .logo a {
  color: var(--logo-color);
}
.logo::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--btn-color);
  border-radius: 50%;
  top: 60%;
  margin-left: 2px;
}
.navagation .icon {
  position: absolute;
  left: 90%;
  font-weight: 400;
  font-size: 18px;
  display: none;
  color: var(--logo-color);
  transition: all 1s;
}

.navagation .icon a {
  font-size: 24px;
  color: var(--logo-color);
}
.navagation .listt ul {
  display: flex;
  gap: 20px;
}
.navagation .listt ul li a {
  color: var(--ancor-color);
  font-size: 17px;
  font-weight: 600;
  position: relative;
}

.navagation .listt ul li a::after {
  content: "";
  position: absolute;
  height: 2.5px;
  width: 0;
  background-color: var(--btn-color);
  bottom: -10px;
  left: 0;
  transition: all 0.5s;
}
.navagation .listt ul li a:hover {
  color: var(--logo-color);
}

.navagation .listt ul li a:hover::after {
  width: 100%;
  color: var(--logo-color);
}
.navagation .icon-bar {
  font-size: 25px;
  font-weight: 900;
}

.navagation .icon-bar a {
  color: var(--logo-color);
}

/*==============================================
  2- Start home
  ================================================= */
.home {
  background-color: var(--home-bg-color);
  padding: var(--main-padding) 0;
}
.home .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.home .container .home-info {
  flex-basis: 60%;
}
.home .container .home-image {
  flex-basis: 40%;
  filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));
  margin-top: 70px;
}
.home .container .home-image img:hover {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}
@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
.home .container .home-info h2 {
  font-family: var(--first-font);
  font-weight: 700;
  font-size: 65px;
  color: var(--head-color);
  margin-bottom: 20px;
}
.home .container .home-info p {
  line-height: 1.6;
  color: var(--tetx-color);
  width: 70%;
}

.home-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-buttons button {
  background-color: var(--btn-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 20px 20px 20px;
  border: none;
}
.home-buttons button:hover {
  background-color: var(--hover-color);
}

.home-buttons a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--head-color);
}
.home-buttons a:hover {
  color: var(--btn-color);
}

.home-buttons .border {
  width: 55px;
  height: 55px;
  background-image: linear-gradient(
    to right,
    var(--btn-color) 0% 50%,
    transparent 50% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
}
.home-buttons .border::after {
  content: "";
  width: 40px;
  height: 40px;
  background-color: var(--white-color);
  position: absolute;
  border-radius: 50%;
}
.home-buttons i {
  z-index: 99;
}

/*========================================
  3- Start chefs 
  =========================================*/
#chefs {
  padding: var(--main-padding) 0;
  background-color: var(--white-color);
}
#chefs .chefs-info {
  display: flex;
  column-gap: 30px;
}
#chefs .chefs-info .card {
  width: 33.3%;
  text-align: center;
  background-color: var(--white-color);
  transition: all 0.5s;
  filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.1));
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

#chefs .chefs-info .card img {
  border-radius: 10px;
  position: relative;
}
#chefs .chefs-info .card .card-img {
  position: relative;
}
#chefs .chefs-info .card .card-img::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  background-image: var(--wave);
  background-repeat: repeat-x;
  width: 100%;
  height: 3.75rem;
}
.glass {
  position: absolute;
  top: 20px;
  right: -50px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  padding: 10px;
  transition: all 0.3s 0.5s;
}
.glass ul li {
  padding: 5px;
}
.glass a {
  color: var(--ancor-color);
}
.glass a:hover {
  color: var(--logo-color);
}

#chefs .chefs-info .card:hover {
  transform: scale(1.1, 1.1);
}
#chefs .chefs-info .card:hover .glass {
  right: 10px;
}
#chefs .chefs-info .card h3 {
  font-family: var(--second-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--logo-color);
  margin-bottom: 5px;
}
#chefs .chefs-info .card span {
  font-weight: 400;
  font-size: 14px;
  color: var(--ancor-color);
}
#chefs .chefs-info .card p {
  font-size: 14px;
  color: var(--ancor-color);
  font-style: italic;
  padding: 10px 15px;
  margin-bottom: 10px;
}

/*==============================================
   4- Start gallary
   =============================================== */
#gallery {
  padding: var(--main-padding) 0;
  background-color: var(--home-bg-color);
}
#gallery .gallary-imag {
  columns: 3 250px;
  gap: 10px;
}

#gallery .gallary-imag .image {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--white-color);
  margin-bottom: 10px;
}
#gallery .gallary-imag img {
  display: block;
  transition: all 0.5s;
}

#gallery .gallary-imag .image:hover img {
  transform: scale(1.1);
}
.layer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.5s;
}
.layer .layer-info {
  color: var(--defult-color);
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.layer .layer-info h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--second-font);
  text-align: center;
}
.layer .layer-info p {
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
}
#gallery .gallary-imag .image:hover .layer {
  top: 0;
}

/*=========================================
   5-Start contact
 ================================= */
#contact {
  background-color: var(--white-color);
  padding: var(--main-padding) 0;
}
#contact iframe {
  width: 100%;
  height: 21.875rem;
  margin-bottom: 20px;
}
#contact .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
#contact .box .contact-info {
  width: 49%;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  background-color: var(--home-bg-color);
}
#contact .box .contact-info .icon {
  background-color: var(--btn-color);
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
  margin: 0 10px;
  color: var(--defult-color);
  border-radius: 50%;
  flex-shrink: 0;
}
#contact .box .contact-info .adress h3 {
  font-weight: 700;
  font-size: 20px;
  font-family: var(--second-font);
  padding: 5px 0;
  color: var(--ancor-color);
  margin-bottom: 5px;
}
#contact .box .contact-info .adress p,
#contact .box .contact-info .adress a {
  color: var(--logo-color);
}
#contact .box .contact-info .adress span {
  font-weight: 700;
  color: var(--logo-color);
}
#contact .contact-form {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--white-color);
  filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.2));
}
#contact .contact-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
#contact .contact-form form .name {
  flex-basis: 49%;
}
#contact .contact-form form .name input {
  width: 100%;
  height: 50px;
  padding: 20px;
  border: 2px solid var(--home-bg-color);
  outline: none;
  font-size: 13px;
}
#contact .contact-form form .name input:focus {
  border: 2px solid var(--btn-color);
}
#contact .contact-form form .email {
  flex-basis: 49%;
}
#contact .contact-form form .email input {
  width: 100%;
  height: 50px;
  padding: 20px;
  border: 2px solid var(--home-bg-color);
  outline: none;
  font-size: 13px;
}
#contact .contact-form form .supject {
  flex-basis: 100%;
}
#contact .contact-form form .supject input {
  width: 99%;
  height: 50px;
  padding: 6px 12px;
  border: 2px solid var(--home-bg-color);
  outline: none;
  font-size: 13px;
}
#contact .contact-form form .message {
  flex-basis: 100%;
}
#contact .contact-form form .message textarea {
  width: 99%;
  height: 150px;
  padding: 6px 12px;
  border: 2px solid var(--home-bg-color);
  outline: none;
  font-size: 13px;
  resize: vertical;
}
#contact .contact-form form .btn {
  background-color: var(--btn-color);
  border: none;
  color: var(--white-color);
  padding: 15px 30px;
  margin: auto;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 20px;
}
#contact .contact-form form .name input:focus,
#contact .contact-form form .email input:focus,
#contact .contact-form form .supject input:focus,
#contact .contact-form form .message textarea:focus {
  border: 2px solid var(--btn-color);
}
#contact .contact-form form .btn:hover {
  background-color: var(--hover-color);
}

/*=====================================================
    6- Start footer 
    ==================================================*/
.footer {
  background-image: linear-gradient(var(--footer-color), var(--footer-color)),
    url(../images/footer-bg.jpeg);
  background-size: contain;
}
.footer .footer-info {
  display: flex;
  padding: 50px 0;
  gap: 20px;
}
.footer .footer-info .image-info {
  display: flex;
  align-items: center;
}
.footer .footer-info .image-info img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.footer .footer-info .image-info h2 {
  color: var(--defult-color);
}
.footer .footer-info .about p {
  color: var(--defult-color);
  margin-top: 10px;
}
.footer .footer-info .about h3 {
  font-family: var(--second-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--defult-color);
  text-align: center;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ancor-color);
}
.footer .footer-info .about ul {
  display: flex;
  padding: 10px 0;
}
.footer .footer-info .about ul li {
  text-align: center;
}
.footer .footer-info .about ul a {
  color: var(--defult-color);
  font-size: 24px;
  font-weight: 400;
  margin: 0 20px;
}
.footer .subscripe h3,
.footer .contact-details h3 {
  color: var(--defult-color);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--second-font);
  margin-bottom: 10px;
}
.footer .subscripe p {
  color: var(--defult-color);
  font-size: 16px;
}
.footer .subscripe .supcripe-group {
  display: flex;
  gap: 5px;
  margin: 10px 0;
}
.footer .subscripe .supcripe-group input {
  flex-grow: 1;
  height: 40px;
  padding: 10px;
  font-size: 14px;
  color: var(--ancor-color);
  outline: none;
}
.footer .subscripe .supcripe-group .btn {
  background-color: var(--btn-color);
  padding: 10px;
  border: none;
  color: var(--defult-color);
  font-size: 15px;
}
.footer .subscripe .supcripe-group .btn:hover {
  background-color: var(--hover-color);
}
.footer .subscripe .quick-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer .subscripe .quick-links ul li {
  flex-basis: calc(50% - 10px);
  position: relative;
  transition: all 0.5s;
}
.footer .subscripe .quick-links ul li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
}
.footer .subscripe .quick-links ul li a {
  color: var(--defult-color);
}
.footer .subscripe .quick-links ul li i {
  color: var(--defult-color);
  padding: 5px;
  font-size: 14px;
}

.footer .subscripe .quick-links ul li:hover::after {
  opacity: 1;
}
.footer .subscripe .quick-links ul li:hover {
  transform: translateX(10px);
}

.footer .contact-details ul i {
  color: var(--btn-color);
  font-weight: 900;
  font-size: 22px;
  margin-right: 15px;
}
.footer .contact-details ul li {
  display: flex;
  align-items: center;
  padding: 10px;
}
.footer .contact-details ul a,
.footer .contact-details ul span {
  color: var(--defult-color);
}
