/*
- Font sizes (px):
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128


Colors:
 - Text:
    #e8e8e8
    #ffffff

*/

:root {
  --color-primary: 204 153 0;

  font: 400 10px / 1.2 "Yeseva One";
  color: #e8e8e8;
}

.heading {
  font-family: "Yeseva One";
  text-align: center;
}

.heading-primary {
  font-size: 3.6rem;
  color: rgb(var(--color-primary));
}

.heading-secondary {
  font-size: 3.6rem;
  color: #fff;
}

.heading-tertiary {
  font-size: 2.1rem;
  color: #fff;
}

.text {
  font-family: "Lato";
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}

.container {
  position: relative;
  width: 160rem;
  margin: 0 auto;
}

.header {
  display: flex;
  height: 12rem;
  gap: 0.4rem;
  padding-left: 18rem;
  padding-right: 20.4rem;
  align-items: center;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.01)
  );

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.logo {
  font-size: 3.6rem;
  text-transform: uppercase;
  margin-right: auto;
}

.nav {
  align-self: stretch;
}

.nav-list {
  display: flex;
  gap: 2.2rem;
  height: 100%;
  align-items: stretch;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: "Gentium Book Plus";
  font-size: 2.1rem;
  font-weight: 700;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.nav-link::before {
  opacity: 0;
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background-color: #fff;
  transition: opacity 0.3s ease-in;
}

.nav-link.nav-link-active::before,
.nav-link:hover::before,
.nav-link:active::before {
  opacity: 0.8;
}

.social-list {
  display: flex;
}

.social-link {
  display: flex;
  height: 3.2rem;
  width: 3.2rem;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  transition: background-color 0.3s ease-in;
  cursor: pointer;
}

.social-icon {
  fill: #dab33e;
  height: 2.1rem;
  width: 2.1rem;
}

.social-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.social-link:active {
  background-color: rgba(0, 0, 0, 0.15);
}

/* ***************** */
/* Promo */
/* ***************** */
.promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  height: 75rem;
  background-image: url("../img/promo.jpg");
  padding-top: 12rem;
  padding-bottom: 5rem;
}

.promo-text {
  font-family: "Yeseva One";
  font-size: 9rem;
  line-height: 1.3;
  padding-left: 32rem;
  padding-right: 32rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgb(0 0 0 / 80%);
}

.promo-divider {
  width: 23.2rem;
  height: 4.3rem;
}

.promo-buttons {
  display: flex;
  gap: 3rem;
}

.btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease-in;
}

.btn-primary {
  font-family: "Lato";
  font-size: 1.8rem;
  height: 5.6rem;
  padding-left: 5rem;
  padding-right: 5rem;
  text-transform: uppercase;
}

.btn-secondary {
  font-family: "Open Sans";
  font-size: 1.6rem;
  color: #fff;
  padding: 0.8rem 6rem;
  text-align: center;
  height: 3.6rem;
}

.btn-black {
  border: 1px solid black;
  background-color: rgba(0, 0, 0, 0.6);
}

.btn-black:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.btn-black:active {
  background-color: rgba(0, 0, 0, 0.55);
}

.btn-white {
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn-white:active {
  background-color: rgba(255, 255, 255, 0.35);
}

.btn-gold {
  background-color: rgb(var(--color-primary));
}

.btn-gold:hover {
  background-color: rgb(var(--color-primary) / 90%);
}

.btn-gold:active {
  background-color: rgb(var(--color-primary) / 95%);
}

/* ***************** */
/* About */
/* ***************** */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 71rem;
  padding-left: 26rem;
  padding-right: 24rem;
  background-image: linear-gradient(
      to right bottom,
      rgb(255 255 255 / 14%),
      rgb(0 0 0 / 10%)
    ),
    url("../img/bg-about.png");
  box-shadow: inset 0 0 2.4rem 1.2rem rgb(0 0 0 / 6%);
}

.about-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 0.6rem;
  padding-bottom: 2rem;
}

.about-content figcaption {
  margin-bottom: 1.4rem;
}

.about-divider {
  width: 24.7rem;
  height: 2.4rem;
  margin-bottom: 2.4rem;
}

.about-text {
  color: #4c4c4c;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
  margin-bottom: 5rem;
}

.about-cook {
  width: 21.9rem;
  height: 22.1rem;
  margin-left: 7rem;
}

.about-img-container {
  flex-shrink: 0;
  margin-top: 3rem;
}

.about-img {
  width: 62.1rem;
  height: 62.5rem;
}

/* ***************** */
/* Ingredients */
/* ***************** */
.ingredients {
  display: flex;
  align-items: center;
  justify-content: right;
  padding-top: 10rem;
  padding-bottom: 10rem;
  background-image: url("../img/bg-ingredients.jpg");
  background-size: cover;
}

.ingredients-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 57rem;
  background-color: rgb(0 0 0 / 60%);
  padding: 7.6rem 7.6rem 7.4rem 8rem;
  margin-right: 21.6rem;
}

.ingredients-content figcaption {
  margin-bottom: 1.4rem;
}

.ingredients-divider {
  width: 24.7rem;
  height: 2.4rem;
  margin-bottom: 2.4rem;
}

.ingredients-text {
  margin-bottom: 6.8rem;
}

.ingredients-img-list {
  display: flex;
  gap: 3rem;
}

.ingredient-img {
  width: 100%;
  height: 100%;
  border: 0.5rem solid rgb(255 255 255 / 9%);
  border-radius: 50%;
}

/* ***************** */
/* Menu */
/* ***************** */
.menu {
  padding: 10.2rem 27.4rem 3.3rem;
  background-image: linear-gradient(
      to right bottom,
      rgb(32 90 91 / 14%),
      rgb(255 255 255)
    ),
    url("../img/bg-menu.png");
  box-shadow: inset 0 0 2.4rem 1.2rem rgb(0 0 0 / 6%);
}

.menu-content {
  column-gap: 14.6rem;
  columns: 2;
}

.menu-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 45.2rem;
  margin-bottom: 4rem;
}

.menu-group h2 {
  margin-bottom: 1.2rem;
  align-self: center;
}

.menu-divider {
  width: 24.7rem;
  height: 2.4rem;
  margin-bottom: 1.8rem;
  align-self: center;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.menu-dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  z-index: 0;
}

.menu-item.special::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0;
  left: -0.3rem;
  right: 0;
  border: 1px solid rgb(var(--color-primary) / 50%);
  z-index: -1;
}

.menu-item.special::after {
  content: "Special";
  position: absolute;
  top: 0;
  right: 0;

  font-family: "Lato";
  font-size: 1.4rem;
  color: #fff;
  padding: 0.2rem 1.2rem;
  background-color: #dab33ecc;
  transform: translateY(-1.6rem);
}

.menu-dish,
.menu-price {
  font-family: "Yeseva One";
  font-size: 2.2rem;
  color: rgb(var(--color-primary));
  letter-spacing: -0.6px;
}

.menu-price {
  justify-self: end;
}

.menu-item-description {
  grid-column: 1 / -1;
  color: #4c4c4c;
  text-align: left;
  border-top: 1px solid rgb(var(--color-primary) / 50%);
  padding-top: 0.8rem;
}

/* ***************** */
/* Reviews */
/* ***************** */
.reviews {
  display: flex;
  justify-content: center;
  background-image: url("../img/bg-reviews.jpg");
  background-size: cover;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.review {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(0 0 0 / 80%);
  width: 77rem;
  padding: 7.6rem 7.5rem 10.2rem;
}

.review-divider {
  margin-top: 1.6rem;
  margin-bottom: 1.8rem;
}

.review-text {
  position: relative;
  font-family: "Gentium Book Plus";
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 4.5rem;
  letter-spacing: 0.5px;
}

.review-text::before {
  content: open-quote;
  position: absolute;
  top: 0;
  left: -0.8rem;
  font-family: "Georgia";
  font-size: 7.6rem;
  transform: translateX(-100%);
}

.review-signature {
  font-family: "Lato";
  font-size: 1.8rem;
  margin-top: 3.4rem;
}

/* ***************** */
/* Reservation */
/* ***************** */
.reservations {
  background-image: linear-gradient(
      to right bottom,
      rgb(12 52 53 / 10%),
      rgb(0 0 0 / 6%)
    ),
    url("../img/bg-about.png");
  padding: 10rem 28.4rem 10.4rem 21.4rem;
  box-shadow: inset 0 0 2.4rem 1.2rem rgb(0 0 0 / 6%);
}

.reservations-content {
  display: flex;
  gap: 10rem;
}

.reservations-images {
  display: flex;
  gap: 3.2rem;
  flex-shrink: 0;
}

.reservations-images img {
  width: 27rem;
  height: 100%;
  object-fit: cover;
}

.reservations-content-form {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.reservations-description {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reservations-divider {
  margin-top: 0.8rem;
  margin-bottom: 2.7rem;
}

.reservations-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #4c4c4c;
}

.reservations-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr min-content;
  align-items: end;
  justify-items: center;
  column-gap: 3rem;
  row-gap: 2.6rem;
}

.field-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-label {
  font-family: "Open Sans";
  font-size: 1.4rem;
  font-weight: 700;
  color: rgb(var(--color-primary));
  line-height: 1.8rem;
}

.field-wrapper {
  position: relative;
}

.field-input {
  height: 3.6rem;
}

.field-input:focus {
  border: 1px solid rgb(var(--color-primary));
}

.field-input,
.field-select option {
  font-family: "Open Sans";
  font-size: 1.8rem;
  font-style: normal;
  color: #4c4c4c;
  border: 1px solid #8c8c8c;
  padding: 0.6rem 0.8rem 0.6rem 1.4rem;
  background-color: rgb(255 255 255 / 50%);
  width: 20rem;
}

.field-date:invalid::-webkit-datetime-edit,
.field-select:invalid,
.field-select option[value=""],
::placeholder {
  font-family: "Open Sans";
  font-size: 1.6rem;
  font-style: italic;
  color: #8c8c8c;
}

/* initial */
.field-date::before {
  content: attr(placeholder);
  font-family: "Open Sans";
  font-style: italic;
  font-size: 1.6rem;
  color: #8c8c8c;
}

.field-date::-webkit-datetime-edit {
  opacity: 0;
}

/* focus/valid */
.field-date:focus::before,
.field-date:valid::before {
  display: none;
}

.field-date:focus::-webkit-datetime-edit,
.field-date:valid::-webkit-datetime-edit {
  opacity: 1;
}

/* change icon */
.field-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  z-index: 1;
}

.field-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.4rem;
  color: #8c8c8c;
  transform: translate(-100%, 1rem);
  pointer-events: none;
}

.field-select ~ .field-icon {
  right: 0.6rem;
}

.reservations-form .btn-secondary {
  display: inline-block;
  margin-top: 0.6rem;
  grid-column: 1 / -1;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ***************** */
/* Footer */
/* ***************** */
.footer {
  display: flex;
  background-color: #191919;
  padding: 5.8rem 29.8rem 7rem 22.8rem;
  gap: 12.8rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 34.6rem;
}

.footer-divider {
  margin-top: 1.4rem;
  margin-bottom: 1.8rem;
  width: 19.8rem;
  height: 1.8rem;
}

.footer-text {
  font-family: "Open Sans";
}

.footer-text em {
  font-weight: 700;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: auto;
}

.footer-payments {
  display: flex;
  margin-top: auto;
  margin-left: 0.6rem;
}

.footer-location {
  display: flex;
  flex-direction: column;
  align-items: center;
}

address .footer-text {
  font-weight: 700;
}

.footer-icon {
  font-size: 1.6rem;
}

.footer-social {
  display: flex;
  margin-top: auto;
  margin-left: 1.4rem;
}

.footer-payments-link,
.footer-social-link {
  display: inline-block;
  padding: 0.6rem;
  transition: background-color 0.3s ease-in;
}

.footer-payments-link:hover,
.footer-social-link:hover {
  background-color: rgb(255 255 255 / 20%);
}

.footer-payments-link:active,
.footer-social-link:active {
  background-color: rgb(255 255 255 / 25%);
}
