/* Start General */
:root {
  --section-background: #eee;
  --font-primary: "Amatic SC", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --main-padding: 100px 0;
  --animation-duration: all 0.4s;
}
:root:has(.mode:checked) body {
  background-color: #202020 !important;
  color: #fff;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  font-family: var(--font-secondary);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
}
.clr {
  clear: both;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #70768a;
  border-radius: 2em;
  transition: var(--main-transition);
}
::-webkit-scrollbar-thumb:hover {
  background: #454f6b;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Container Media */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 920px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End General */
.main-title {
  text-align: center;
  margin-bottom: 25px;
}
.main-title h2 {
  color: #7f7f9b;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}
.main-title p {
  font-family: var(--font-primary);
  font-size: 50px;
}
.main-title p span {
  color: #e61414;
}
/* Dark Mode */
.dark-mode {
  background-color: #252525;
  color: #fff;
}

.dark-mode nav {
  background-color: #171717;
  color: #fff;
}
.dark-mode .nav-links a:hover {
  color: #fff;
}
.dark-mode:has(#home:target) li a[href="#home"],
.dark-mode nav .logo a {
  color: #fff;
}
.dark-mode header,
.dark-mode header .header-content h2,
.dark-mode header .header-content .btn-group .btn-video::after {
  background-color: #252525;
  color: #fff !important;
}

.dark-mode .chefs {
  background-color: #202020;
}
.dark-mode .chefs .chefs-cards .card .card-content {
  background-color: #171717;
}

.dark-mode .gallery {
  background-color: #252525;
}

.dark-mode .contact {
  background-color: #171717;
}
.contact .details .info .address-contact p a {
  color: #000;
}
.dark-mode .contact .details .info,
.dark-mode .contact form,
.dark-mode .contact form input,
.dark-mode .contact form textarea {
  background-color: #0d0d0d;
  border-color: #9e9e9e;
}
@media screen and (min-width: 767px) {
  .dark-mode:not(body:has(:target)) li a[href="#home"],
  .dark-mode:has(#home:target) li a[href="#home"],
  .dark-mode:has(#contact:target) li a[href="#contact"],
  .dark-mode:has(#gallery:target) li a[href="#gallery"],
  .dark-mode:has(#chefs:target) li a[href="#chefs"] {
    color: #fff;
  }
}
/* Start Nav */
nav {
  background-color: #fff;
  padding: 25px 0;
  box-shadow: 0px 0px 14px 0px #0000001b;
  width: 100%;
  position: fixed;
  z-index: 9999;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo a {
  color: #212529;
  font-size: 30px;
  font-weight: bold;
}
nav .logo a::after {
  content: ".";
  color: #ce1212;
}
nav .nav-links {
  display: flex;
  font-weight: 600;
}
nav .nav-links li a {
  color: #7f7f90;
  font-size: 17px;
  margin-right: 30px;
  padding-bottom: 5px;
  position: relative;
  transition: var(--animation-duration);
}
nav .nav-links li a:hover {
  color: #000;
}
nav .nav-links li a::before {
  content: "";
  background-color: #ce1212;
  width: 0%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: var(--animation-duration);
}
nav .nav-links li a:hover::before {
  width: 100%;
}
body:not(body:has(:target)) li a[href="#home"]::before,
body:has(#home:target) li a[href="#home"]::before,
body:has(#contact:target) li a[href="#contact"]::before,
body:has(#gallery:target) li a[href="#gallery"]::before,
body:has(#chefs:target) li a[href="#chefs"]::before {
  width: 100%;
}
body:not(body:has(:target)) li a[href="#home"],
body:has(#home:target) li a[href="#home"],
body:has(#contact:target) li a[href="#contact"],
body:has(#gallery:target) li a[href="#gallery"],
body:has(#chefs:target) li a[href="#chefs"] {
  color: #000;
}
nav .menus i {
  cursor: pointer;
  font-size: 25px;
}
nav .menus {
  display: flex;
  gap: 20px;
}
nav .menus .menu {
  display: none;
}
@media screen and (max-width: 767px) {
  nav .menus .menu {
    display: block;
  }
  nav .nav-links {
    display: none;
  }
  nav .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 75px;
    background-color: #fff;
    width: 100%;
    text-align: center;
  }
  nav .nav-links li {
    padding: 15px;
  }
  nav .nav-links li a[href="#home"] {
    color: #000 !important;
  }
  nav .nav-links li a:hover{
    color: #000 !important;
  }
}
/* End Nav */

/* Start Header */
header {
  position: relative;
  background-color: var(--section-background);
}
header .container {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .header-content {
  width: 40%;
}
header .header-content h2 {
  font-family: var(--font-primary);
  font-size: 65px;
  color: #37373f;
}
header .header-content p {
  margin: 20px 0;
  line-height: 1.6;
  font-size: 16px;
  color: #4f4f5a;
}
header .header-content .btn-group {
  display: flex;
  align-items: center;
  gap: 30px;
}
header .header-content .btn-group .btn-book {
  font-size: 15px;
  background-color: #ce1212;
  color: #fff;
  padding: 15px 20px;
  border-radius: 0 30px 30px;
  transition: var(--animation-duration);
}
header .header-content .btn-group .btn-book:hover {
  background-color: #e61414;
}
header .header-content .btn-group .btn-video {
  color: #212529;
  font-weight: 600;
  transition: var(--animation-duration);
  display: flex;
  align-items: center;
}
header .header-content .btn-group .btn-video:hover {
  color: #ce1212;
}
header .header-content .btn-group .btn-video .icon {
  width: 45px;
  height: 45px;
  background-color: #fff;
  border: 5px solid;
  border-color: transparent transparent #ce1212 #ce1212;
  border-radius: 50%;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
}
header .header-content .btn-group .btn-video::after {
  content: "Watch a Video";
}
header .header-content .btn-group .btn-video .icon i {
  transform: rotate(75deg);
}
header .header-image {
  width: 40%;
}
header .header-image img {
  width: 100%;
  filter: drop-shadow(4px 4px 9px #000a);
}
header .header-image img:hover {
  animation: shake 1s 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);
  }
}

@media screen and (min-width: 1200px) {
  header .header-image {
    width: 30%;
  }
}
@media screen and (max-width: 992px) {
  header {
    padding: 200px 0 70px;
  }
  header .container {
    flex-direction: column-reverse;
    gap: 50px;
    height: auto;
  }
  header .header-image {
    width: 80%;
  }
  header .header-content {
    width: 100%;
    text-align: center;
  }
  header .header-content .btn-group {
    justify-content: center;
  }
}
/* End Header */

/* Start Chefs */
.chefs {
  padding: var(--main-padding);
}
.chefs .chefs-cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.chefs .chefs-cards .card {
  border-radius: 7px;
  text-align: center;
  box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--animation-duration);
}
.chefs .chefs-cards .card:hover {
  transform: scale(1.07);
}
.chefs .chefs-cards .card:hover .social-box {
  right: 10px;
}
.chefs .chefs-cards .card img {
  width: 100%;
}
.chefs .chefs-cards .card .image {
  position: relative;
}
.chefs .chefs-cards .card .image::after {
  content: "";
  width: 100%;
  height: 60px;
  background: url(../images/team-shape.svg) repeat-x;
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: -1px;
}
.chefs .chefs-cards .card .card-content {
  padding: 10px 25px 25px;
}
.chefs .chefs-cards .card .card-content h3 {
  font-family: var(--font-secondary);
}
.chefs .chefs-cards .card .card-content span {
  color: #7f7f9b;
  font-size: 14px;
  margin: 10px 15px;
  display: block;
}
.chefs .chefs-cards .card .card-content p {
  color: #7f7f9b;
  font-size: 15px;
  font-style: italic;
}
.chefs .chefs-cards .card .social-box {
  background-color: #ffffff4d;
  width: fit-content;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  top: 30px;
  right: -50px;
  transition: 0.4s 0.5s;
}
.chefs .chefs-cards .card .social-box li i {
  font-size: 18px;
  padding: 10px 5px;
  color: #37373f66;
  transition: var(--animation-duration);
}
.chefs .chefs-cards .card .social-box li i:hover {
  color: #37373fe6;
}
@media screen and (max-width: 767px) {
  .chefs .chefs-cards {
    flex-direction: column;
  }
  .chefs .chefs-cards .card:hover {
    transform: scale(1.02);
  }
}
/* End Chefs */

/* Start Gallery */
.gallery {
  padding: 100px 0 0;
  background-color: #eee;
}
.gallery .gallery-photos {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
  height: 1165px;
}
.gallery .gallery-photos .image {
  position: relative;
  border: 4px solid #fff;
  width: calc((100% - 40px) / 3);
  overflow: hidden;
}
.gallery .gallery-photos .image img {
  width: 100%;
}
.gallery .gallery-photos .image .layer {
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 15px;
  text-align: center;
  background-color: #00000096;
  position: absolute;
  left: 0;
  top: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: var(--animation-duration);
}
.gallery .gallery-photos .image:hover .layer {
  top: 0;
}
@media screen and (max-width: 1200px) {
  .gallery .gallery-photos {
    height: 845px;
  }
}
@media screen and (max-width: 992px) {
  .gallery .gallery-photos {
    height: 780px;
  }
}
@media screen and (max-width: 767px) {
  .gallery .gallery-photos {
    height: auto;
  }
  .gallery .gallery-photos .image {
    width: 100%;
  }
}
/* End Gallery */

/* Start Contact */
.contact {
  padding: var(--main-padding);
}
.contact iframe {
  width: 100%;
  height: 350px;
  margin-bottom: 25px;
}
.contact .details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.contact .details .info {
  width: 49%;
  display: flex;
  align-items: center;
  padding: 25px;
  background-color: #f5f5f5;
}
.contact .details .info .icon {
  min-width: 50px;
  min-height: 50px;
  background-color: #ce1212;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}
.contact .details .info .icon i {
  font-size: 18px;
  color: #fff;
}
.contact .details .info .address-contact h3 {
  color: #7d7d7d;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact form {
  width: 100%;
  background-color: #fff;
  padding: 20px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 0 1.875rem #00000014;
}
.contact form input,
.contact form textarea {
  padding: 15px;
  border: 2px solid #eee;
  color: #212529;
  transition: var(--animation-duration);
}
.contact form input:focus,
.contact form textarea:focus {
  outline: none;
  border-color: #ce1212;
}
.contact form .input-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.contact form .input-group input {
  flex-basis: 49%;
}
.contact form textarea {
  resize: none;
}
.contact form .send-message {
  padding: 12px 40px;
  font-size: 15px;
  width: fit-content;
  background-color: #ce1212;
  color: #fff;
  border: none;
  border-radius: 30px;
  margin: 0 auto;
  cursor: pointer;
  transition: var(--animation-duration);
}
.contact form .send-message:hover {
  background-color: #e61414;
}

@media screen and (max-width: 1202px) {
  .contact form .input-group input {
    flex-basis: 100%;
  }
}
@media screen and (max-width: 992px) {
  .contact .details .info {
    width: 48%;
  }
}
@media screen and (max-width: 767px) {
  .contact .details .info {
    width: 100%;
  }
}
/* End Contact */

/* Start Footer */
footer {
  padding: 40px 0;
  background-image: linear-gradient(#0009, #0009),
    url(../images/textured-metal-background.jpg);
  color: #fff;
  background-size: contain;
}
footer .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
footer .about {
  width: 33.3333%;
}
footer .about .logo {
  display: flex;
  gap: 10px;
}
footer .about .logo img {
  width: 32px;
  height: 32px;
}
footer .about .logo h2 {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
}
footer .about .logo h2::after {
  content: ".";
  color: #ce1212;
}
footer .about p {
  margin: 10px 0;
}
footer .about h3 {
  text-align: center;
  padding: 10px;
  border-bottom: 2px solid #ddd6;
  margin-bottom: 10px;
}
footer .about .social-media {
  padding: 10px;
  display: flex;
  justify-content: space-around;
}
footer .about .social-media li i {
  font-size: 24px;
  color: #fff;
}

footer .subscription {
  width: 33.3333%;
}
footer .subscription .subscription-info p {
  margin: 10px 0;
}
footer .subscription .subscription-info .subscription-form {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
footer .subscription .subscription-info .subscription-form input {
  padding: 10px;
  flex-grow: 1;
  border: none;
  outline: none;
}
footer .subscription .subscription-info .subscription-form .btn-subscription {
  background-color: #e61414;
  color: #fff;
  border: none;
  padding: 10px;
}
footer .subscription .quick-links ul {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
footer .subscription .quick-links li {
  width: 45%;
  padding: 5px;
  margin-right: 5px;
  transition: var(--animation-duration);
}
footer .subscription .quick-links li:hover {
  transform: translateX(10px);
  background-color: #222;
}
footer .subscription .quick-links li a {
  color: #fff;
}
footer .subscription .quick-links li a i {
  margin-right: 5px;
}

footer .contact-details {
  width: 33.3333%;
}
footer .contact-details h3 {
  margin-bottom: 10px;
}
footer .contact-details ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
footer .contact-details ul li i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #ce1212;
  margin-right: 8px;
}
footer .contact-details ul li a {
  color: #fff;
  display: inline-block;
}

@media screen and (max-width: 1200px) {
  footer .subscription .quick-links ul {
    gap: 0px;
  }
  footer .about,
  footer .subscription,
  footer .contact-details {
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  footer .container {
    flex-wrap: wrap;
    gap: 50px;
  }
  footer .about,
  footer .subscription,
  footer .contact-details {
    width: 100%;
  }
}
/* footer Footer */
