/* GLOBAL */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5efe6;
  text-align: center;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #b22222;
  color: white;
  padding: 15px 30px;
}

header h1 {
  margin: 0;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

/* CART ICON */
.cart-icon {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

#cart-count {
  background: gold;
  color: black;
  padding: 5px 10px;
  border-radius: 50%;
  margin-left: 5px;
}

/* HERO */
.hero {
  position: relative;
  height: 350px;
  background: url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
}

/* SECTION */
section {
  padding: 50px 20px;
}

/* MENU */

#menu h2 {
  margin-bottom: 30px;
}

.menu-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* MENU CARD */

.menu-item {
  background: white;
  width: 260px;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.menu-item h3 {
  margin: 10px 0 5px;
}

.menu-item p {
  margin: 5px 0;
  color: #555;
}

/* QUANTITY CONTROL (+ -) */

.qty-control {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control button {
  width: 40px;
  height: 40px;
  background: green;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.qty-control button:hover {
  background: darkgreen;
}

.qty-control span {
  font-size: 18px;
  font-weight: bold;
}

/* CONTACT */

#contact h2 {
  margin-bottom: 10px;
}

#contact p {
  margin: 5px 0;
}

#contact iframe {
  width: 90%;
  max-width: 700px;
  height: 300px;
  margin-top: 15px;
  border: none;
  border-radius: 10px;
}

/* FOOTER */

footer {
  background: #333;
  color: white;
  padding: 20px;
  margin-top: 20px;
}

/* CHECKOUT */

.checkout {
  max-width: 500px;
  margin: auto;
}

input {
  width: 90%;
  padding: 10px;
  margin: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.cart-item {
  background: white;
  margin: 10px auto;
  padding: 10px;
  width: 300px;
  border-radius: 8px;
}

/* MOBILE (VERY IMPORTANT) */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 10px;
  }

  .menu-container {
    flex-direction: column;
    align-items: center;
  }

  .menu-item {
    width: 90%;
  }
}