/* General Styles */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
body {
  background-color: #a1a5a9;
  font-family: Oswald, sans-serif;
  margin: 50px 0px;
  padding: 0 20px 50px 20px; /* Space for the fixed top bar */
  display: flex;
  justify-content: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 30px auto; /* Space for the fixed top bar and horizontal spacing*/
}

.site-title {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.index header {
  flex-direction: column;
  margin: 0 auto;
  text-align: center; /* Center all text */
}

.index header h1 {
  font-size: 70px;
  margin: 0; /* Remove margins */
}

.index header p {
  line-height: 1.2; /* Adjusts the space between lines */
  letter-spacing: 0.02em; /* Adjusts the space between characters */
  font-size: 25px;
  margin: 0; /* Remove margins */
  padding-bottom: 75px; /* Add space between the words and the buttons */
}

html, body {
  overflow: auto;
}

/* Top Bar Styles */
.top-bar-extra {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(161, 165, 169, 0.5019607843);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-extra.scrolled {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.7s ease; /* Add smooth transition for shadow */
}

.menu-button:hover {
  color: white;
}

.top-bar-extra span:hover {
  cursor: pointer;
}

.top-bar-extra #navLinks {
  display: flex;
  align-items: center;
}

/* Nav links (right-aligned) */
.nav-links {
  list-style-type: none;
  padding: 0 15px 0 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: black;
  text-decoration: none;
}

.top-bar-extra .nav-links li a:hover {
  color: white;
}

/* Side Menu Styles */
.side-menu {
  height: 100vh;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(161, 165, 169, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  transition: all 0.5s ease;
  padding-top: 60px;
  z-index: 18;
  display: flex;
  flex-direction: column;
}

.side-menu .close-menu {
  position: absolute;
  top: 20px;
  left: 25px;
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

/* Override inside side menu */
.side-menu .nav-links {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 40px;
  padding: 20px 10px;
  list-style: none;
  align-items: flex-start;
}

.side-menu .nav-links li a {
  color: black;
  text-decoration: none;
  font-size: 25px;
  text-transform: uppercase;
}

.side-menu .nav-links li a:hover {
  color: white;
}

/* Open the side menu */
.side-menu.open {
  width: 250px; /* Adjust width as needed */
  background-color: rgba(161, 165, 169, 0.8);
  backdrop-filter: blur(10px);
}

.side-menu .nav-links li a span.material-symbols-outlined {
  font-size: 42px;
}

/* Bar A: always visible */
.top-bar-always {
  position: fixed;
  top: 0;
  left: 0;
  width: 99%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px;
  background: transparent;
  z-index: 20;
  pointer-events: none; /* disable clicks by default */
}

.top-bar-always > * {
  pointer-events: auto; /* buttons/logo/title stay clickable */
}

/* Left side (menu + logo + title) */
.top-bar-always .left-section {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* spacing between items */
  padding-left: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

/* Right side (cart only) */
.top-bar-always .right-section {
  display: flex;
  align-items: center;
}

/* Hide nav bar when sidebar opens */
.sidebar-open .top-bar-extra {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
  z-index: 15;
}

.overlay.show {
  visibility: visible;
  opacity: 1;
}

/* Blur effect */
.main-content.blur {
  filter: blur(5px);
}

/* Footer Styles */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: transparent; /* remove the old flat blur */
  z-index: 20;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: transparent; /* no flat color here */
  z-index: 20;
  overflow: visible; /* allow pseudo-element to bleed upward */
}

footer::before {
  content: "";
  position: absolute;
  top: -40px; /* extend ABOVE the footer */
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  /* This gradient makes the top fade smoothly */
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95), rgb(0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95), rgb(0, 0, 0));
  pointer-events: none; /* don't block clicks */
  z-index: -1; /* sit behind footer text/icons */
}

footer p {
  margin-top: 0;
  font-size: 10px;
  font-family: Oswald, sans-serif;
}

/*
.footer-content {
    display: inline-block;
    background: rgba(161, 165, 169, 0.1);
    border-radius: 9px;
    padding: 5px 5px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(4px);
}

.footer-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}
*/
.social-media {
  display: flex;
  justify-content: center;
}

.social-media a {
  margin: 0 7px;
  font-size: 1.5em;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a.active {
  color: #fff; /* white */
  font-weight: 700; /* bold */
  font-size: larger; /* slightly larger */
}

/* Responsive Styles for small screens */
@media screen and (max-width: 800px) {
  .nav-links.active {
    display: flex;
  }
  .menu-button {
    display: inline-block;
  }
  .menu-button.active + .nav-links {
    display: flex;
  }
}
@media screen and (max-width: 700px) {
  .nav-links {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .menu-button {
    display: block;
  }
}
/* Larger screens */
@media screen and (min-width: 801px) {
  .menu-button {
    display: none;
  }
}
.hero-compact {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  max-width: 925px;
}

.hero-media video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-copy h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}

.hero-ctas .btn {
  margin-right: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary {
  background: #0b74de;
  color: #fff;
}

.btn-ghost {
  border: 1px solid #ddd;
  padding: 10px 16px;
}

@media (max-width: 800px) {
  .hero-compact {
    grid-template-columns: 1fr;
  }
}
/* ====================== SHOP ======================== */
/* Snipcart styles */
.cart_btn {
  vertical-align: middle;
  transform: translateY(-1px);
}

.snipcart-summary {
  display: flex;
  align-items: center;
  gap: 5px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-content: center;
  margin: 0 auto;
  margin-top: 40px;
  max-width: 1400px;
  place-items: stretch;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "image info";
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 18.025px 20px rgba(0, 0, 0, 0.25);
  margin: 20px 0px;
  max-width: 750px; /* Maximum width for each product */
}

.product-container {
  display: flex;
  gap: 70px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.shop-category {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}

/* Add media query for larger screens */
@media screen and (min-width: 1200px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 100%;
  }
}
.product__information {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.buy-button {
  color: #fff;
  background-color: black;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  outline: none;
  border: none;
  white-space: nowrap;
  transition: 0.2s transform ease-in-out, 0.2s box-shadow ease-in-out;
  box-shadow: 0 0 0 rgba(62, 62, 62, 0.2);
}

.buy-button:hover {
  cursor: pointer;
  transform: translate(0px, -4px);
  box-shadow: 0 4px 6px rgba(62, 62, 62, 0.2);
}

.product__image {
  grid-area: image;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18.025px 43.775px rgba(0, 0, 0, 0.25);
}

.product__link {
  text-decoration: none;
  color: inherit;
  display: block; /* keeps layout intact */
}

button.buy-button.coming-soon {
  background-color: rgb(87, 87, 87);
  cursor: not-allowed;
  color: #fff;
  font-weight: bold;
  transition: none;
  transform: none;
  box-shadow: none;
}

/* Add this media query for small screens */
@media screen and (max-width: 450px) {
  .product {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "image" "info";
  }
  .product__image {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  .product__information {
    padding: 10px 0;
  }
  .products {
    grid-template-columns: 1fr;
    min-width: unset;
    padding: 10px;
  }
}
#snipcart footer {
  all: revert;
}

.cart-link {
  display: flex;
  gap: 6px;
  text-decoration: none;
  color: black;
  align-items: center;
  font-size: larger;
}

.top-bar-always .cart-link:hover {
  color: white;
}

/* Hamburger base */
.menu-button {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  position: relative;
}

.menu-button span {
  display: block;
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Transform to X */
.menu-button.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ==================== BULLETIN ====================== */
/* ==================== SEARCH ====================== */
.search-page {
  padding: 4rem;
  max-width: 800px;
  margin: 0 auto;
}
.search-page .search-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 30px;
}
.search-page .search-container input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.search-page .search-container input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.3);
}
.search-page .search-container button {
  padding: 12px 24px;
  background: none;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.search-page .search-container button:hover {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 18.025px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.search-page .search-results .result-item {
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.search-page .search-results .result-item h3 {
  margin: 0 0 0.5rem 0;
}
.search-page .search-results .result-item h3 a {
  color: #333;
  text-decoration: none;
}
.search-page .search-results .result-item h3 a:hover {
  text-decoration: underline;
}
.search-page .search-results .result-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.top-bar-always .cart-icon {
  font-size: 28px;
}

.top-bar-always .cart-total {
  font-size: 20px;
}

/*# sourceMappingURL=main.css.map */