/* =========================================================
   RESET & BASE STYLES
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  
}
body {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 1%, rgba(89, 89, 89, 1) 100%);
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
}
body.beers-page {
  background: #000000;
  background-image: url('images/beerbackground.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.cocktails-page {
  background: #000000;
  background-image: url('images/cocktailsbackground.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.shochu-page {
  background: #000000;
  background-image: url('images/shochubackground.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}
body.shots-page {
  background: #000000;
  background-image: url('images/shotsbackground.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.soft-page {
  background: #000000;
  background-image: url('images/softdrinksback.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.food-page {
  background: #000000;
  background-image: url('images/foodbackground.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 10px 20px 0px 20px;
  min-height: 100vh;
  margin: 5px;
  color: #f3f3f3; 
  text-shadow: #686868 2px 2px 0px;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* =========================================================
   TYPOGRAPHY
   ========================================================= */
a {
  text-decoration: none;
  color: #363636;
  font-family: "Arial";
  text-shadow: #acacac 1px 1px 0px;
}

header {
  padding: 5px 0px 10px 0px;
}
   header h1 {
  font-family: "Bahiana", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  font-style: normal;
  color: #303030;
  text-shadow: #bbbbbb 3px 3px 0px;
}
h1 {
  font-size: 1.8rem;
  padding: 10px 0px 10px 0px;
  font-family: "Bahiana", sans-serif;
}
h2 {
  font-size: 1.2rem;
  font-family: "Bahiana", sans-serif;
  padding: 20px 0px 5px 0px;
}

p {
  font-size: 1.2rem;
  text-align: center;
  align-items: center;
}

.price {
  font-size: 1.2rem;
  margin: 0px 5px 0px 5px;
  font-family: "Courier New";
  font-weight: bolder;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #9b9b9b;
  color: white;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 1001;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-links li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 2.2rem;
  font-family: "Bahiana", sans-serif;
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================================
   RESPONSIVE NAVIGATION (MOBILE)
   ========================================================= */
@media (max-width: 600px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background-color: #8b8b8b;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1002;
  }

  .nav-links.show {
    right: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .overlay.show {
    opacity: 1;
    pointer-events: all;
  }
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */
#container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.boxes {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(92, 92, 92, 0.37);
  backdrop-filter: blur(20px);
  color: #525252;
  text-align: center;
  padding: 4px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.boxes img {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 8px;
}

#list {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(92, 92, 92, 0.37);
  backdrop-filter: blur(20px);
  color: #d4d4d4;
  text-align: center;
  padding: 4px;
  border-radius: 8px;
  text-shadow: #bbbbbb 0px 0px 0px;
}
/* =========================================================
   CART ITEMS
   ========================================================= */
.item {
  display: flex;
  justify-content: space-evenly;
  align-items: start;
  border-bottom: 1px solid #ccc;
  font-size: 1.0rem;
}

.item-qty {
  width: 20px;
  font-size: 1.2rem;
  padding: 2px;
  margin: 1px;
  font-family: "Courier New";
  border-radius: 4px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
  font-size: 1.1rem;
}
/* =========================================================
   BUTTONS
   ========================================================= */
button,
#btncart,
#btnback,
#checkout,
#confirm-payment,
.add-to-cart {
  font-family: "Courier New";
  font-weight: bolder;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Cart / Go back / Checkout / Payment Buttons */
#btncart {
   width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #119c50;
  color: #fff;
  font-size: 1.1rem;
}
#checkout {
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #f54802;
  color: #fff;
  font-size: 1.1rem;
}
#confirm-payment {
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #119c50;
  color: #fff;
  font-size: 1.1rem;
}
#add-all-to-cart {
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #f54802;
  color: #fff;
  font-size: 1.1rem;
}
#btnback {
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #363636;
  color: #fff;
  font-size: 1.2rem;
}

/* Add to Cart Button  */
.add-to-cart {
  padding: 2px 4px;
  margin-left: 5px;
  background-color: #28a745;
  color: white;
  border-radius: 4px;
  font-size: 1.2rem;
  
}
.qty-btn {
  padding: 2px 6px;
  margin: 2px;
  background-color: #858585e7;
  color: white;
  border-radius: 4px;
  font-size: 1.2rem;
}