@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.btn-primary {
  border: 1px solid #fff;
}

.btn-secondary,
.btn-third:hover {
  background: #383848;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-third {
  background: #772c15;
}

.primary-text {
  color: #772c15;
}

/* Header Start */
header {
  height: 100vh;
  background: url("./img/home_bg.jpeg") center center/cover no-repeat;
  position: relative;
}

#nav-bar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100px;
  width: 100%;
}

#nav-bar img {
  width: 80px;
}

nav ul {
  display: flex;
}

nav ul li a {
  padding: 15px 20px;
  font-weight: 600;
  transition: 0.6s ease-in-out;
}

nav ul li a:hover {
  border-bottom: 2px solid #772c15;
}

header .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 75%;
  /* Add exmple of greeen background */
}

header::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0, 0.6);
}

header .content h1 {
  font-size: 40px;
  color: #fff;
}

header .content p {
  color: #fff;
  margin: 20px 0 40px;
}

header * {
  z-index: 10;
}

/* Header End */

/* About */

#about {
  background: #f4f4f4;
  padding: 80px 0;
}

.title {
  text-align: center;
  margin-bottom: 4rem;
}

.title h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #772c15;
}

.title p {
  font-weight: 600;
  font-size: 14px;
  color: #9a9a9a;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-content p {
  line-height: 1.6;
  color: #9a9a9a;
  font-weight: 500;
}

#about img {
  max-width: 450px;
  width: 100%;
}

/* Offers */

#offers {
  background: url("./img/offer-background.jpg") center center/cover fixed;
  padding: 80px 0;
  text-align: center;
}

#offers .title p {
  color: #fff;
}

.offers-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.offers-items img {
  width: 200px;
}

.offers-items h3 {
  font-size: 25px;
  color: #fff;
  margin: 15px 0;
}

.offers-items p {
  color: #fff;
  font-size: 14px;
  padding: 0 20px;
  margin-bottom: 15px;
}

/* Menu */

#menu {
  background: #f4f2ed;
  padding: 80px 0;
}

.menu-items {
  display: flex;
  gap: 40px;
}

.menu-item {
  display: flex;
  align-items: center;
  margin: 25px 0;
}

.menu-item img {
  width: 80px;
  margin-right: 20px;
  border-radius: 50%;
}

.menu-item h3 {
  color: #383848;
  border-bottom: 1px dashed #c2bdbd;
  padding-bottom: 10px;
  position: relative;
}

.menu-item span {
  position: absolute;
  right: 0;
}

.menu-item p {
  margin-top: 10px;
}

#menu .btn {
  display: block;
  margin: 40px auto 0;
}

/* Daytime */

#daytime {
  background: url("./img/daytime_bg.jpeg") center/cover no-repeat;
  text-align: center;
  color: #772c15;
  padding: 60px 0;
}

.daytime-items {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.daytime-items h3 {
  font-size: 32px;
  margin: 20px 0;
}

/* Gallery */

#gallery {
  background: url(img/offer-background.jpg) center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}

.food-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.food-gallery img {
  width: 300px;
  height: 250px;
  border-radius: 10px;
  opacity: 0.8;
  transition: 0.3s;
}

.food-gallery img:hover {
  opacity: 1;
}

/* Contact */

#contact {
  padding: 80px 0;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact-info {
  width: 50%;
}

.contact-info div {
  margin: 40px 0;
}

.contact-info h3 {
  font-size: 26px;
  color: #383848;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 14px;
  color: #772c15;
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 5px;
}

.contact-info a i {
  background: #772c15;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
}

.contact-info a i:hover form {
  width: 50%;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border: none;
  background: #e3e2dd;
}

/* Footer */

#footer {
  background: #772c15;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

/* ======================
Responsive Design
====================== */

/* Tablet */

@media (max-width: 992px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    li {
      margin-bottom: 8px;
    }
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .menu-items {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  form {
    width: 100%;
  }
}

/* Mobile */

@media (max-width: 768px) {
  header .content h1 {
    font-size: 28px;
  }

  .offers-items {
    flex-direction: column;
  }

  .menu-item {
    flex-direction: column;
    text-align: center;
  }

  .menu-item img {
    margin-bottom: 10px;
  }

  .food-gallery img {
    width: 90%;
    height: auto;
  }
}

/* Small phones */

@media (max-width: 480px) {
  header .content h1 {
    font-size: 22px;
  }

  .title h2 {
    font-size: 28px;
  }

  .btn {
    padding: 10px 20px;
  }
}
