*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  margin: auto;
}

/* =========================
          NAVBAR
========================= */

.nav-bar {
  background-color: white;

  padding: 20px 0;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-bar .container {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.nav-bar .nav-logo {
  position: relative;
}

.nav-bar .nav-logo h1 {
  margin: 0;
}

.nav-bar .nav-logo::after {
  content: "";

  width: 6px;
  height: 6px;

  background-color: #ce1212;

  position: absolute;

  bottom: 5px;
  right: -6px;

  border-radius: 50%;
}

.nav-bar .nav-logo a {
  color: black;

  font-size: 1.875rem;

  font-weight: bold;

  font-family: "Open Sans", sans-serif;
}

.nav-bar .nav-links ul {
  display: flex;

  gap: 30px;

  font-size: 1.0625rem;
}

.nav-bar .nav-links ul li a {
  position: relative;

  color: #7f7f90;
}

.nav-bar .nav-links ul li:hover a {
  color: #000;
}

.nav-bar .nav-links ul li a::after {
  content: "";

  position: absolute;

  bottom: -8px;
  left: 0;

  width: 100%;
  height: 3px;

  background-color: #ce1212;

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 400ms;
}

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

.nav-bar .nav-links a.first {
  color: #000;
}

.nav-bar .nav-links a.first::after {
  transform: scaleX(1);
}

.nav-bar .nav-icon i {
  color: black;

  font-size: 1.5625rem;
}

/* =========================
            HOME
========================= */

.home {
  background-color: #eeeeee;
}

.home .container {
  min-height: calc(100vh - 90px);

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.home .home-content {
  width: 50%;
}

.home .home-content h2 {
  margin: 0 0 20px;

  font-family: "Amatic SC", sans-serif;

  font-size: 4.0625rem;

  font-weight: 400;

  line-height: 1.2;

  color: #37373f;
}

.home .home-content p {
  max-width: 520px;

  margin: 0 0 25px;

  font-family: "Open Sans", sans-serif;

  font-size: 1rem;

  line-height: 1.6;

  color: #4f4f5a;
}

.home .home-icon {
  display: flex;

  align-items: center;

  gap: 35px;
}

.home .home-icon .btn {
  padding: 12px 25px;

  background-color: #ce1212;

  color: white;

  border-radius: 0 25px 25px 25px;

  font-family: "Open Sans", sans-serif;

  font-size: 0.95rem;
}

.home .home-icon .video-btn {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #37373f;

  font-family: "Open Sans", sans-serif;

  font-weight: 600;
}

.home .home-icon .video-btn i {
  width: 50px;
  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 5px solid transparent;

  border-radius: 50%;

  color: #ce1212;

  background:
    linear-gradient(white, white) padding-box,
    conic-gradient(from 220deg, #ce1212 0deg 120deg, transparent 120deg 360deg)
      border-box;
}

.home .home-icon .video-btn:hover {
  color: #ce1212;
}

.home .home-img {
  width: 40%;
}

.home .home-img:hover {
  animation: shake infinite 1s;
}

.home .home-img img {
  width: 100%;

  display: block;
}

/* =========================
            CHEFS
========================= */

.chefs {
  padding: 80px 0;

  background-color: white;
}

.chefs .chefs-header {
  text-align: center;
}

.chefs .chefs-header h2 {
  margin: 0 0 10px;

  font-family: "Open Sans", sans-serif;

  font-size: 1rem;

  font-weight: 400;

  color: #7f7f90;
}

.chefs .chefs-header p {
  margin: 0 0 40px;

  font-family: "Amatic SC", sans-serif;

  font-size: 3rem;

  color: #212529;
}

.chefs .chefs-header p span {
  color: #ce1212;
}

.chefs .chefs-card {
  display: flex;

  justify-content: space-between;

  gap: 30px;
}

.chefs .card {
  width: calc(33.333% - 20px);

  overflow: hidden;

  background-color: white;

  border-radius: 8px;

  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

  transition: transform 600ms;
}

.chefs .card:hover {
  transform: scale(1.05);
}

.chefs .card-img {
  width: 100%;
}

.chefs .card-img img {
  width: 100%;

  display: block;
}

.chefs .card-content {
  padding: 20px;

  text-align: center;
}

.chefs .card-content h3 {
  margin: 0 0 5px;

  font-family: "Open Sans", sans-serif;

  font-size: 1.25rem;

  color: #212529;
}

.chefs .card-content span {
  color: #7f7f90;

  font-family: "Open Sans", sans-serif;

  font-size: 0.9rem;
}

.chefs .card-content p {
  margin: 10px 0 0;

  color: #7f7f90;

  font-family: "Open Sans", sans-serif;

  font-size: 0.9rem;

  font-style: italic;

  line-height: 1.5;
}

/* =========================
          GALLERY
========================= */

.gallery {
  padding: 80px 0;

  background-color: #eeeeee;
}

/* GALLERY TITLE */

.gallery .main-title {
  text-align: center;
}

.gallery .main-title h2 {
  margin: 0 0 10px;

  font-family: "Open Sans", sans-serif;

  font-size: 1rem;

  font-weight: 400;

  color: #7f7f90;
}

.gallery .main-title p {
  margin: 0 0 40px;

  font-family: "Amatic SC", sans-serif;

  font-size: 3rem;

  color: #212529;
}

.gallery .main-title span {
  color: #ce1212;
}

/* GALLERY LAYOUT */

.gallery-photo {
  display: flex;

  align-items: flex-start;

  gap: 10px;
}

.gallery-column {
  width: calc((100% - 20px) / 3);

  display: flex;

  flex-direction: column;

  gap: 10px;
}

/* GALLERY ITEMS */

.gallery-item {
  position: relative;

  overflow: hidden;

  border: 4px solid white;
}

.gallery-item img {
  width: 100%;

  display: block;

  transition: transform 1s;
}

/* GALLERY LAYER */

.gallery-item .layer {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  padding: 20px;

  background-color: rgba(0, 0, 0, 0.6);

  text-align: center;

  transform: translateY(100%);

  transition: transform 400ms;
}

.gallery-item:hover .layer {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .layer h2 {
  margin: 0 0 10px;

  color: white;

  font-family: "Open Sans", sans-serif;

  font-size: 1.5rem;
}

.gallery-item .layer p {
  margin: 0;

  color: white;

  font-family: "Open Sans", sans-serif;

  font-size: 0.9rem;

  line-height: 1.5;
}

/* =========================
           CONTACT
========================= */

.contact {
  padding: 80px 0;

  background-color: white;
}

/* CONTACT TITLE */

.contact-title {
  text-align: center;
}

.contact-title h2 {
  margin: 0 0 10px;

  font-family: "Open Sans", sans-serif;

  font-size: 1rem;

  font-weight: 400;

  color: #7f7f90;
}

.contact-title p {
  margin: 0 0 40px;

  font-family: "Amatic SC", sans-serif;

  font-size: 3rem;

  color: #212529;
}

.contact-title p span {
  color: #ce1212;
}

/* MAP */

.map {
  width: 100%;

  height: 350px;

  margin-bottom: 25px;
}

.map iframe {
  width: 100%;

  height: 100%;

  border: 0;
}

/* CONTACT DETAILS */

.contact-details {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;

  margin-bottom: 25px;
}

.contact-box {
  width: calc(50% - 7.5px);

  display: flex;

  align-items: center;

  gap: 15px;

  padding: 25px;

  background-color: #f5f5f5;
}

.contact-icon {
  min-width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  background-color: #ce1212;

  color: white;

  border-radius: 50%;
}

.contact-icon i {
  font-size: 1.2rem;
}

.contact-content h3 {
  margin: 0 0 5px;

  font-family: "Open Sans", sans-serif;

  font-size: 1.25rem;

  color: #7d7d7d;
}

.contact-content p {
  margin: 0;

  font-family: "Open Sans", sans-serif;

  font-size: 0.9rem;

  color: #212529;
}

/* CONTACT FORM */

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 15px;

  padding: 20px;

  background-color: white;

  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.input-row {
  display: flex;

  gap: 15px;
}

.input-row input {
  width: 50%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 15px;

  border: 2px solid #e8e3e3;

  outline: none;

  font-family: "Open Sans", sans-serif;

  transition: border-color 300ms;
}

.contact-form textarea {
  height: 150px;

  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ce1212;
}

.contact-form button {
  align-self: center;

  margin-top: 15px;

  padding: 13px 30px;

  border: 0;

  border-radius: 25px;

  background-color: #ce1212;

  color: white;

  font-family: "Open Sans", sans-serif;

  cursor: pointer;

  transition: background-color 300ms;
}

.contact-form button:hover {
  background-color: #e61414;
}

/* =========================
            FOOTER
========================= */

.footer {
  padding: 45px 0;

  background-color: #050505;

  color: white;

  font-family: "Open Sans", sans-serif;
}

.footer .container {
  display: flex;

  align-items: flex-start;

  gap: 25px;
}

/* LEFT */

.footer-about {
  width: 25%;
}

.footer-logo {
  display: flex;

  align-items: center;

  gap: 10px;
}

.footer-logo-icon {
  width: 40px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.footer-logo-icon img {
  width: 100%;

  height: 100%;

  object-fit: contain;

  display: block;
}

.footer-logo h2 {
  position: relative;

  margin: 0;

  font-size: 1.875rem;
}

.footer-logo h2::after {
  content: ".";

  color: #ce1212;
}

.footer-about > p {
  margin: 15px 0;

  font-size: 0.95rem;

  line-height: 1.5;
}

.footer-about h3 {
  margin: 20px 0 10px;

  padding-bottom: 10px;

  text-align: center;

  border-bottom: 2px solid #585858;
}

.social-links {
  display: flex;

  justify-content: space-around;

  padding-top: 10px;
}

.social-links a {
  color: white;

  font-size: 1.5rem;

  transition: color 300ms;
}

.social-links a:hover {
  color: #ce1212;
}

/* MIDDLE */

.footer-subscribe {
  width: 50%;
}

.footer-subscribe > h3,
.quick-links h3,
.footer-contact h3 {
  margin: 0 0 10px;

  font-size: 1.2rem;
}

.footer-subscribe > p {
  margin: 0 0 15px;

  line-height: 1.4;
}

/* SUBSCRIBE */

.subscribe-input {
  display: flex;

  gap: 5px;

  margin-bottom: 20px;
}

.subscribe-input input {
  flex-grow: 1;

  min-width: 0;

  padding: 12px;

  border: none;

  outline: none;
}

.subscribe-input button {
  padding: 12px 15px;

  border: none;

  background-color: #ce1212;

  color: white;

  font-family: "Open Sans", sans-serif;

  cursor: pointer;

  transition: background-color 300ms;
}

.subscribe-input button:hover {
  background-color: #e61414;
}

/* QUICK LINKS */

.quick-links ul {
  display: flex;

  flex-wrap: wrap;

  column-gap: 20px;
}

.quick-links li {
  width: calc(50% - 10px);

  transition:
    transform 300ms,
    background-color 300ms;
}

.quick-links li:hover {
  transform: translateX(10px);

  background-color: #222;
}

.quick-links a {
  display: block;

  padding: 7px;

  color: white;
}

.quick-links a i {
  margin-right: 8px;
}

/* RIGHT */

.footer-contact {
  width: 25%;
}

.footer-contact ul {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.footer-contact li {
  display: flex;

  align-items: center;

  gap: 15px;
}

.footer-contact li > i {
  min-width: 25px;

  color: #ce1212;

  text-align: center;

  font-size: 1.4rem;
}

.footer-contact a {
  color: white;

  overflow-wrap: anywhere;
}

/* =========================
          TABLET
========================= */

@media screen and (max-width: 992px) {
  /* NAVBAR */

  .nav-bar .nav-links ul {
    gap: 15px;
  }

  /* HOME */

  .home .container {
    padding: 50px 0;
  }

  .home .home-content {
    width: 50%;
  }

  .home .home-img {
    width: 45%;
  }

  /* CHEFS */

  .chefs .chefs-card {
    flex-wrap: wrap;
  }

  .chefs .card {
    width: calc(50% - 15px);
  }

  /* GALLERY */

  .gallery-photo {
    flex-wrap: wrap;
  }

  .gallery-column {
    width: calc(50% - 5px);
  }

  /* FOOTER */

  .footer .container {
    flex-wrap: wrap;
  }

  .footer-about,
  .footer-contact {
    width: calc(50% - 13px);
  }

  .footer-subscribe {
    width: 100%;

    order: 3;
  }
}

/* =========================
          MOBILE
========================= */

@media screen and (max-width: 768px) {
  /* NAVBAR */

  .nav-bar .container {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;

    order: 3;

    margin-top: 20px;
  }

  .nav-bar .nav-links ul {
    justify-content: center;

    gap: 20px;
  }

  /* HOME */

  .home .container {
    flex-direction: column-reverse;

    justify-content: center;

    padding: 50px 0;

    text-align: center;
  }

  .home .home-content {
    width: 100%;
  }

  .home .home-content p {
    margin-left: auto;

    margin-right: auto;
  }

  .home .home-img {
    width: 80%;

    margin-bottom: 40px;
  }

  .home .home-content h2 {
    font-size: 3.5rem;
  }

  .home .home-icon {
    justify-content: center;

    flex-wrap: wrap;
  }

  /* CHEFS */

  .chefs .chefs-card {
    flex-direction: column;
  }

  .chefs .card {
    width: 100%;
  }

  .chefs .card:hover {
    transform: scale(1.03);
  }

  /* GALLERY */

  .gallery-photo {
    flex-direction: column;
  }

  .gallery-column {
    width: 100%;
  }

  /* CONTACT */

  .contact-box {
    width: 100%;
  }

  .input-row {
    flex-direction: column;
  }

  .input-row input {
    width: 100%;
  }

  .map {
    height: 300px;
  }

  /* FOOTER */

  .footer .container {
    flex-direction: column;
  }

  .footer-about,
  .footer-subscribe,
  .footer-contact {
    width: 100%;
  }

  .subscribe-input {
    flex-direction: column;
  }

  .subscribe-input button {
    width: 100%;
  }
}

/* =========================
       SMALL MOBILE
========================= */

@media screen and (max-width: 500px) {
  .nav-bar .nav-links ul {
    gap: 12px;

    font-size: 0.9rem;
  }

  .home .home-content h2 {
    font-size: 3rem;
  }

  .home .home-img {
    width: 100%;
  }

  .home .home-icon {
    gap: 20px;
  }

  .contact-box {
    padding: 18px;
  }

  .contact-icon {
    min-width: 45px;

    height: 45px;
  }

  .quick-links ul {
    column-gap: 10px;
  }

  .quick-links li {
    width: calc(50% - 5px);
  }
}
