@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&family=Oswald:wght@200..700&display=swap");

/* ===================== */
/* Global Reset */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
}

/* ===================== */
/* Variables */
/* ===================== */
:root {
  --bg--color: #f1f1f1;
  --bg--secondary: #fbfbfb;
  --dark-gray: #333;
  --light-brown: #c7a17a;
  --black: #1f2226;
  --shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
}

/* ===================== */
/* Base Elements */
/* ===================== */
h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  color: var(--dark-gray);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===================== */
/* Utility */
/* ===================== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #6f4e37;
  color: #fff;
  border-radius: 6px;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

/* ===================== */
/* Header */
/* ===================== */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

#header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

#header .logo {
  width: 220px;
  max-width: 100%;
}

#header ul {
  display: flex;
  align-items: center;
}

#header ul li a {
  margin: 0 15px;
  font-size: 17px;
  font-weight: 500;
}

#header ul li a:hover {
  color: var(--light-brown);
}

/* ===================== */
/* Home */
/* ===================== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.content-text {
  flex: 1;
}

.content-text h3 {
  color: #6f4e37;
}

.content-text h1 {
  font-size: 48px;
  margin: 15px 0;
}

.content-text p {
  line-height: 1.6;
  margin-bottom: 25px;
}

.home-content img {
  max-width: 450px;
  width: 100%;
}

/* ===================== */
/* Sections Padding */
/* ===================== */
#about,
#menu,
#testimonials,
#contact,
#footer .footer-top {
  padding: 6rem 0;
}

/* ===================== */
/* About */
/* ===================== */
#about .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

/* ===================== */
/* Menu */
/* ===================== */
#menu {
  background: var(--bg--secondary);
}

#menu .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

#menu .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 20px;
  gap: 15px;
}

#menu .item img {
  width: 70px;
}

#menu .details {
  flex: 1;
}

#menu .price {
  font-weight: bold;
  font-size: 18px;
}

/* ===================== */
/* Testimonials */
/* ===================== */
#testimonials .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

#testimonials .item {
  background: var(--bg--color);
  text-align: center;
  padding: 25px;
}

#testimonials .item img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-top: -45px;
  border: 5px solid #fff;
}

/* ===================== */
/* Contact */
/* ===================== */
#contact {
  background: var(--bg--color);
}

#contact .row {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 2rem;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
}

/* ===================== */
/* Footer */
/* ===================== */
#footer .footer-top {
  background: #202020;
  color: #fff;
}

#footer .footer-top .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

#footer .footer-top p {
  max-width: 400px;
  line-height: 1.6;
}

#footer .copyright {
  background: #333;
  text-align: center;
  padding: 25px;
  color: #fff;
}

/* ===================== */
/* Responsive */
/* ===================== */
@media (max-width: 992px) {
  #about .row,
  #menu .row,
  #testimonials .row,
  #footer .footer-top .row,
  #contact .row {
    grid-template-columns: 1fr;
  }

  .home-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #header {
    position: static;
  }

  #header .navbar {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }

  #header ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #menu .item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .content-text h1 {
    font-size: 28px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}
