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

body {
  font-family: Arial, sans-serif;
  background: #f3f3f3;
  /*padding-top: 70px; /* adjust if needed */
}

/* Navbar container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* keeps center area centered */
  background: #222;
  padding: 15px 20px;
  box-sizing: border-box;
  color: white;
}

/* Logo - stay left */
.nav-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: bold;
  z-index: 1100;
}

/* Main menu alignment */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  padding: 6px 4px;
}

.nav-menu li a:hover {
  color: #00eaff;
}

/* Dropdown base */
.dropdown {
  position: relative;
  display: inline-block;
  /* IMPORTANT: fixes hover disappearing */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;
  border-radius: 5px;
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: white;
}

.dropdown-menu li a:hover {
  background: #444;
}

.ProductDescription {
  width: 70vw;
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
}

.below-parallax h2 {
  margin-bottom: 15px;
}

/****** PRODUCT STYLES **************/
/* Product grid layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Product card */
.product-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  font-size: 0.9rem;
}

.product-card input,
.product-card select {
  width: 100%;
  max-width: 200px;
  padding: 6px 8px;
  border-radius: 6px;
}


/* Hover effect */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.22);
}

/* Product image */
.product-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Product title */
.product-card h3 {
  margin: 10px 0 5px 0;
}

/* Product price */
.product-price {
  font-weight: bold;
  margin-top: 8px;
  font-size: 1.1em;
}





/* =======================
   MOBILE STYLE Menu
======================= */
/* Hamburger button */
.nav-toggle {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none;
}

/* Desktop dropdown hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile nav */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    right: 0;
    top: 70px;
    background: #222;
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 15px 0;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    padding: 10px 20px;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
    position: relative;
    width: 100%;
    background: #333;
  }
}


/** Products grid spacing**/
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================
   MOBILE STYLES
======================= */

/* ---------- CART BADGE ---------- */
.cart-count {
  background: red;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-left: 6px;
}

/* ---------- SIDEBAR ---------- */
#cart-sidebar-container {
  padding: 0;
}

#empty-message {
  text-align: center;
  margin-top: 30px;
  color: #ed1e1e;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  transition: right .35s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

/* Header */
.cart-header {
  padding: 18px;
  background: #222;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn,
.cart-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* Content */
.cart-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Footer */
.cart-footer {
  padding: 18px;
  border-top: 1px solid #ddd;
  background: #f4f4f4;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-total-row {
  font-weight: bold;
  margin-top: 10px;
}

.cart-totals {
  margin-top: 20px;
  padding: 0 10px;
  font-size: 16px;
}

.cart-total {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1500;
}

/* ---------- CART ITEMS ---------- */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
}

.cart-item-details {
  flex: 1;
}

.cart-item img {
  border-radius: 6px;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: bold;
}

.cart-item-price {
  color: #444;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: #ddd;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Delete button */
.delete-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 5px 8px;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
}

.delete-btn:hover {
  background: #cc0000;
}



#cart-overlay.show {
  display: block;
  opacity: 1;
}


.local-pickup {
  margin: 15px 0;
}

.pickup-note {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

/***Parallax item ****/
.parallax {
  position: relative;
  height: 70vh;
  background-image: var(--bg-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Frosted Glass Overlay */
.glass-overlay {
  width: 85%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}


/* Logo */
.glass-logo img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
}


/* Text Section */
.glass-text h1 {
  font-size: 3rem;
  margin: 0;
}


.glass-text p {
  margin-top: 15px;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* Footer matches your navbar styling */
.site-footer {
  background: #222;
  /* same as navbar */
  color: white;
  padding: 35px 20px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Footer  */
.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00eaff;
  /* same hover color as navbar */
  opacity: 1;
}

/* Mobile stacked layout */
@media (max-width: 768px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}

.centered-list {
  width: 30%;
  /* Adjust as needed */
  margin: 0 auto;
  /* Centers the block */
  text-align: left;
  /* Keeps bullets + text aligned properly */
  padding: 0;
}

.centered-list ul {
  padding-left: 18px;
  /* Close bullets */
  list-style: disc;
  margin: 6px 0;
}

.centered-list>li {
  margin-bottom: 15px;
  font-weight: bold;
  list-style: none;
  /* No bullet for main items */
}

.centered-list ul li {
  margin: 4px 0;
}

/* Container to center the single button */
.single-cart-btn {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

/* Single Add to Cart button */
.btn-add-cart {
  background: #00eaff;
  color: #000;
  padding: 12px 28px;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 234, 255, 0.3);
}

.btn-add-cart:hover {
  background: #00c6d1;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 234, 255, 0.45);
}

/* Container is centered on the page */
.multi-btn-group {
  width: 100%;
  margin: 8px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* space between rows */
  text-align: left;
}

/* Each row: button + label on one line */
.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  /* space between button and text */
}

/* Make sure button stays its natural size */
.btn-row button {
  width: auto;
  /* prevents full-width behavior */
  flex: 0 0 auto;
  /* DO NOT grow */
  white-space: nowrap;
  /* keep the button text on one line */
}

/* Make sure the label doesn’t wrap under the button */
.btn-row span,
.btn-row p,
.btn-row label {
  white-space: nowrap;
}


/* Buttons */
.btn-option {
  background: #00eaff;
  color: #000;
  padding: 10px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 234, 255, 0.3);
}

.btn-option:hover {
  background: #00c6d1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 234, 255, 0.45);
}

/* Optional text label */
.btn-label {
  font-size: 1.05rem;
  color: #222;
}

/* ============================================================
   MOBILE CART SIDEBAR TIGHTENING
============================================================ */
@media (max-width: 480px) {

  /* Sidebar width */
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .cart-sidebar.open {
    right: 0;
  }

  /* Header */
  .cart-header {
    padding: 14px;
  }

  .cart-header h2 {
    font-size: 1.1rem;
  }

  .cart-close-btn {
    font-size: 20px;
  }

  /* Cart items */
  .cart-item {
    padding: 8px;
    gap: 10px;
  }

  .cart-item img {
    width: 48px;
    height: auto;
  }

  .cart-item-name {
    font-size: 0.95rem;
  }

  .cart-item-price {
    font-size: 0.85rem;
  }

  /* Options text */
  .cart-item-options {
    font-size: 0.8rem;
    margin-top: 4px;
  }

  /* Controls */
  .cart-item-controls {
    gap: 6px;
    margin-top: 6px;
  }

  .qty-btn {
    padding: 4px 6px;
    font-size: 0.9rem;
  }

  .delete-btn {
    padding: 4px 6px;
    font-size: 0.8rem;
  }

  /* Totals section */
  .cart-totals {
    padding: 0 8px 12px;
    font-size: 0.9rem;
  }

  .cart-row {
    margin-bottom: 6px;
  }

  .pickup-note {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  /* Checkout button */
  .checkout-btn {
    padding: 10px;
    font-size: 0.95rem;
  }

  /* Prevent overflow */
  #cart-items {
    overflow-x: hidden;
  }
}


/* ----- MOBILE: stack button + text ----- */
@media (max-width: 1400px) {
  .btn-row {
    flex-direction: column;
    /* stack button over text */
    align-items: flex-start;
    /* left-align both items */
    gap: 6px;
    /* small space between them */
  }

  /* Make sure button stays its natural size */
  .btn-row button {
    width: auto;
    flex: 0 0 auto;
  }

  /* Allow the text to wrap naturally under the button */
  .btn-row span,
  .btn-row p,
  .btn-row label {
    white-space: normal;
    text-align: left;
  }
}

/* --- Gallery---- */
div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* centered horizontally */
  align-items: center;
  /* optional: centers vertically */
}

div.gallery-item {
  margin: 5px;
  /*
  border: 1px solid #ccc;
  */
  width: 250px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}