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

/* Set up base font and background */
body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  background-color: var(--primary-color);
  color: #222;
  line-height: 1.6;
}

.navbar-div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 20px 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo-heading {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #e13f3b;
  font-size: 30px;
  padding: 0 20px;
}

a {
  font-size: 20px;
  color: #6b6b6b;
  text-decoration: none;
}

.navbar-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-left-ul {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-weight: 400;
}

.navbar-right-ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.navbar-links {
  transition: color 0.3s;
}

.navbar-links:hover {
  color: #e13f3b;
}

.navbar-icons {
  width: 30px;
}

.navbar-button {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s, border-color 0.3s;
}

.navbar-button:hover {
  background-color: #e13f3b;
  color: white;
  border-color: #adb5bd;
}

.active{
    color: #e13f3b;
}



/* SORTING SECTION */
.sorting-div {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

.sorting-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sorting-heading {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}

.sorting-select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* FLAVOURS SECTION */
.flavours-section {
  display: flex;
  padding: 2rem;
  gap: 2rem;
  background-color: #ffffff;
}

/* LEFT FILTERS */
.flavours-section-left {
  flex: 1;
  max-width: 250px;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #eee;
}

.flavour-filters-heading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.flavour-filter {
  margin-bottom: 1.5rem;
}

.flavour-filter label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #444;
}

.flavour-select,
#price-range {
  width: 100%;
  padding: 0.4rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

/* RIGHT FLAVOUR CARDS */
.flavours-section-right {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.flavour-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fcfcfc;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s ease;
}

.flavour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.flavour-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.flavour-name {
  font-size: 1.2rem;
  color: #222;
  margin-top: 0.8rem;
}

.flavour-description {
  font-size: 0.95rem;
  color: #555;
  margin: 0.5rem 0;
}

.flavour-price {
  font-weight: bold;
  color: #1c7d4d;
  font-size: 1rem;
}

.flavour-button {
  margin-top: 0.8rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background-color: #1c7d4d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.flavour-button:hover {
  background-color: #14633b;
}


/* snackbar */
/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #13ae25;
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 1.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}























/* footer */
.site-footer {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #e2e2e2;
}

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

.footer-logo {
  color: #e13f3b;
  font-size: 28px;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-tagline {
  color: #6b6b6b;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links li a {
  text-decoration: none;
  color: #6b6b6b;
  font-size: 16px;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 14px;
  color: #999;
}
