@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  background: #FFE000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #799F0C, #FFE000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #799F0C, #FFE000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.nav-wrapper {
  position: sticky;
  top: 0;
  background: #FFE000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #799F0C, #FFE000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #799F0C, #FFE000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 10px;
  box-shadow: 1px 5px 20px rgba(0, 0, 0, 0.25);
  z-index: 100;
  margin-bottom: 32px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

#menu-toggle-icon {
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.restaurant-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.hero-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 50px;
}

.hero-dish-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-dish-image img {
  width: 100%;
  max-width: 500px;
}

.hero-text-block {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-label {
  background-color: #149f39;
  color: white;
  padding: 5px 10px;
  align-self: center;
  font-weight: 500;
}

.hero-text-block h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
}

.btn-explore-menu {
  padding: 10px 15px;
  background-color: #149f39;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  align-self: flex-start;
}

.btn-explore-menu:hover {
  opacity: 0.8;
  background-color: #FFE000;
}

.restaurant-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 80px 0 50px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  transition: box-shadow 0.2s ease-in-out;
}

.feature-card img {
  width: 72px;
}

.feature-card:hover {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.section-divider {
  border: 1px solid #ccc;
  margin: 30px 0;
}

.menu-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
}

.promo-label {
  font-size: 1rem;
  font-weight: bold;
  color: #dfd0cb;
  text-transform: uppercase;
}

.menu-showcase h2 {
  font-size: 2.5rem;
  color: #333;
}

.menu-gallery-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2%;
  width: 90%;
  max-width: 1200px;
}

.menu-box:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
.menu-box:nth-child(2) {
  grid-column: 3 / span 1;
  grid-row: 1 / span 2;
}
.menu-box:nth-child(3) {
  grid-column: 4 / span 1;
  grid-row: 1 / span 1;
}
.menu-box:nth-child(4) {
  grid-column: 1 / span 1;
  grid-row: 3 / span 1;
}
.menu-box:nth-child(5) {
  grid-column: 2 / span 1;
  grid-row: 3 / span 1;
}
.menu-box:nth-child(6) {
  grid-column: 3 / span 1;
  grid-row: 3 / span 1;
}
.menu-box:nth-child(7) {
  grid-column: 4 / span 1;
  grid-row: 2 / span 2;
}

.menu-box {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.menu-box:hover {
  transform: scale(1.05);
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.footer-wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  color: #f0f0f0;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-restaurant {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 150px;
}

.footer-links,
.newsletter-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-links h3,
.newsletter-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffae00;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffae00;
}

.newsletter-section input[type="email"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 1.5rem;
  color: #f0f0f0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ffae00;
  transform: scale(1.2);
}

@media (max-width: 430px) {
  body {
    background: #fceabb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f8b500, #fceabb);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f8b500, #fceabb); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  }
  .nav-wrapper {
    background: #fceabb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #f8b500, #fceabb);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #f8b500, #fceabb); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  }
}

@media (min-width:431px) and (max-width:770px) {
  body {
    background: #fffc00;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #ffffff, #fffc00);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #ffffff, #fffc00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  }
  .nav-wrapper {
    background: #fffc00;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ffffff, #fffc00);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ffffff, #fffc00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  }
}