
/* RESET & BASE */
* {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #333;
}
.nav-left img.logo {
  height: 50px;
}
.nav-right a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}
.nav-right a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  position: relative;
  height: 350px;
  background: url('/images/hero.jpeg') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.hero-text h2 {
  font-size: 2rem;
}

/* INFO SECTION */
.info-section {
  background-color: #444;
  color: white;
  padding: 40px 20px;
}

/* Side-by-side layout */
.info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertically center both sides */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left side (buttons) */
.buttons-side {
  flex: 1;
  max-width: 350px;
}

/* Primary buttons */
.primary-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.big-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  min-width: 140px;
}
.big-btn.delivery {
  background-color: orange;
}
.big-btn.pickup {
  background-color: #ffcc00;
  color: black;
}

/* Secondary buttons grid */
.secondary-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.small-btn {
  background-color: #666;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
}
.small-btn:hover {
  background-color: #888;
}

/* Right side (info text) */
.info-details {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  max-width: 600px;
}

/* FOOTER */
footer {
  font-size: 0.85rem;
  color: #aaa;
  background-color: #222;
  text-align: center;
  padding: 15px;
  border-top: 1px solid #555;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .info-wrapper {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .buttons-side {
    max-width: 100%;
  }
  .primary-btns {
    flex-direction: column;
    align-items: center;
  }
  .big-btn {
    width: 80%;
  }
  .secondary-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .small-btn {
    width: 80%;
  }
  .info-details {
    text-align: center;
    max-width: 100%;
  }
}

/* Side-by-side layout */
.info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* let both columns stretch equally */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px; /* ensures enough height for centering */
}

/* Left side (buttons) */
.buttons-side {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  gap: 20px;
}

/* Right side (info text) */
.info-details {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  gap: 20px;
  text-align: left;
  max-width: 600px;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .info-wrapper {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }
  .buttons-side, .info-details {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
