/* Styling for Custom Heading and Subheading */

/* Default Styles for Desktop */

.content-section {
  background-color: white;
  padding: 10px;
  margin: 20px 250px;
}

.heading {
  color: black;
  font-size: 36pt;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
}

.subheading {
  color: #D2042D;
  font-size: 24pt;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  text-align: center;
}

/* Media Query for Tablets and Small Devices (max-width: 768px) */

@media (max-width: 768px) {
  .heading {
    font-size: 24pt;
  }
}

@media (max-width: 768px) {
  .subheading {
    font-size: 18pt;
  }
}

@media (max-width: 768px) {
  .content-section {
    margin: 50px 20px;
  }
}

/* Media Query for Mobile Devices (max-width: 480px) */

@media (max-width: 480px) {
  .heading {
    font-size: 16pt;
  }
}

@media (max-width: 480px) {
  .subheading {
    font-size: 14pt;
  }
}

@media (max-width: 480px) {
  .content-section {
    margin: 20px;
  }
}

/* Header Phone and Icons */

.header-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 85%;
  width: 100%;
  padding: 0 10px;
}

/* CSS Styles for all code blocks of 'product-cat-2items' */

/* Ensure no padding/margin on the body or html */

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.product-cat-2items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 250px;
  padding: 0;
}

.product-cat-2items a {
  width: 50%;
  margin-bottom: 20px;
}

.product-cat-2items a img {
  width: 100%;
  height: auto;
}

/* Mobile styles */

@media (max-width: 768px) {
  .product-cat-2items {
    margin: 0px;
  }
}

@media (max-width: 768px) {
  .product-cat-2items a {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 10px;
  }
}

/* CSS Styles for all code blocks of 'product-cat-3items' */

/* Ensure no padding/margin on the body or html */

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.product-cat-3item-a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 250px;
  padding: 0;
}

.product-cat-3item-a a {
  width: 32%;
  margin-bottom: 20px;
}

.product-cat-3item-a a img {
  width: 100%;
  height: auto;
}

/* Mobile styles */

@media (max-width: 768px) {
  .product-cat-3item-a {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .product-cat-3item-a a {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 10px;
  }
}

/* Header Contact Home, Cart Icons etc */

contact {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

contact a {
  margin-left: 10px;
}

contact a:first-child {
  margin-left: 0;
}

@media (max-width: 768px) {
  .call-to-action, div[style*="flex-basis: 50%"] {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 25px;
    padding-bottom: 10px;
  }
}

@media (max-width: 768px) {
  contact {
    justify-content: right;
  }
}

/* Header Logo Panel */

/* Default styles for desktop */

.banner-section {
  background-color: #00296B;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20%;
  padding-right: 20%;
}

#tagline-left, #tagline-right {
  color: white;
  font-family: Ubuntu, sans-serif;
  font-weight: 300;
  text-align: center;
  margin: -20px auto;
  max-width: 200px;
}

.logo-container {
  flex-grow: 1;
  text-align: center;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-width: 600px;
}

/* Mobile styles */

@media (max-width: 768px) {
  .banner-section {
    flex-direction: column;
    padding: 0;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
}

@media (max-width: 768px) {
  #tagline-left, #tagline-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo-container {
    margin: 0 auto;
    width: 99%;
  }
}

@media (max-width: 768px) {
  .logo-container img {
    max-width: 100%;
    height: auto;
  }
}

/* Prevent horizontal scroll */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
}

/* Header Navigation Bar */

/* When hamburger menu is clicked, show the menu */

nav ul.show {
  display: flex !important;
}

/* Nav styling */

nav {
  background-color: #D2042D;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0px 0px;
  position: relative;
}

/* Adjust the ul to make links cover full height */

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 85%;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav li {
  list-style: none;
}

nav a {
  color: white;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 26px;
  padding: 10px 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

nav a:hover {
  background-color: black;
  height: 100%;
}

/* Hamburger menu styling */

#hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    background-color: black;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    z-index: 999;
  }
}

@media (max-width: 768px) {
  nav ul.show {
    display: flex;
  }
}

@media (max-width: 768px) {
  nav li {
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  nav a:hover {
    background-color: #d2042d;
  }
}

@media (max-width: 768px) {
  #hamburger {
    display: block;
  }
}

/* Smaller font and padding for the mobile menu */

@media (max-width: 768px) {
  nav a {
    font-size: 18px;
    padding: 10px 0;
  }
}

/* Footer Product Menu */

/* Grid Container */

/* Basic Styles for all categories */

.grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-left: 200px;
  padding-right: 200px;
  box-sizing: border-box;
  background-color: black;
}

.banner-rush-widget-container {
  background-color: black;
  padding: 10px;
  margin-bottom: 20px;
}

.banner-rush-product-menu-page-link {
  text-decoration: none;
  color: white;
  display: block;
  padding: 9px 0;
  line-height: 1.0;
  text-align: center;
  font-weight: bold;
}

.banner-rush-product-menu-page-link:hover {
  color: #D2042D !important;
}

/* Title Styles */

.category-title {
  font-size: 22px;
  font-weight: bold;
  color: #D2042D;
  display: block;
  padding: 9px 0;
  text-align: center;
  margin-bottom: 10px;
}

/* Responsive Layout - Stack for smaller screens */

@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Grid Container */

/* Basic Styles for all categories */

.grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-left: 200px;
  padding-right: 200px;
  box-sizing: border-box;
  background-color: black;
}

.banner-rush-widget-container {
  background-color: black;
  padding: 10px;
  margin-bottom: 20px;
}

.banner-rush-product-menu-page-link {
  text-decoration: none;
  color: white;
  display: block;
  padding: 9px 0;
  line-height: 1.0;
  text-align: center;
  font-weight: bold;
}

.banner-rush-product-menu-page-link:hover {
  color: #D2042D !important;
}

/* Title Styles */

.category-title {
  font-size: 22px;
  font-weight: bold;
  color: #D2042D;
  display: block;
  padding: 9px 0;
  text-align: center;
  margin-bottom: 10px;
}

/* Responsive Layout - Stack for smaller screens */

@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Footer Copyright and Scroll to Top */

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  background-color: #D2042D;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  animation: scrollUp 4s ease-in-out;
}

#scrollToTop img {
  width: 40px;
  height: 40px;
}

** Four Item Product / background: #efefef; body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.product-cat-4items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0;
  background: #00000;
  max-width: 1200px;
  /*Optional: Set a max-width for the container to prevent it from stretching too much on large screens;*/
}

.product-cat-4items a {
  width: 24%;
  margin-bottom: 20px;
}

.product-cat-4items a img {
  width: 100%;
  height: auto;
}

/* Mobile Styles */

@media (max-width: 768px) {
  .product-cat-4items a {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 10px;
  }
}

/* Base styles for larger screens (default desktop view) */

.top-header {
  background-color: black;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12pt;
  font-weight: 300;
  color: white;
}

.top-header p {
  margin: 0;
}

.header-left {
  flex: 1;
  text-align: left;
}

.header-center {
  flex: 2;
  text-align: center;
}

.header-right {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.header-right a {
  color: white;
  margin-left: 10px;
}

/* --- Mobile Styles --- */

/* Adjust this breakpoint as needed (e.g., 768px is common for tablets/mobiles) */

@media (max-width: 768px) {
  .header-left, .header-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-header {
    justify-content: center;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .header-right {
    flex: none;
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-right a {
    margin: 0 5px;
  }
}

