@font-face {
  font-family: "CustomCursive";
  src: url("fonts/RockSalt-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: auto;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-color: rgb(200, 200, 200);
}

header {
  position: relative;
  z-index: 1000;
}

.section-divider {
  border: none;
  border-top: 5px solid black;
  margin: 15px auto;
  width: 85vw;
  z-index: 0;
  position: relative;
}

/* Main content will expand to fill available space */
.main-content {
  flex: 1;
  padding-top: 15vh;
}

/* Padding utilities */
.small-pad {
  padding: 5px;
}
.medium-pad {
  padding: 15px;
}
.large-pad {
  padding: 30px;
}

/* -------------------------------------------------------------------------- */
/* NAVBAR */
/* -------------------------------------------------------------------------- */
.logo-container {
  background-color: white; /* White background */
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

.logo {
  height: 75px; /* Adjust size as needed */
  width: auto;
}

/* Main Navbar Container */
.navbar {
  background-color: grey;
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.4s ease-in-out;
  padding: 20px 0;
}

.navbar-container {
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  width: 100%;
}

/* Centered Logo */
.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Center the logo in the middle grid cell */
.navbar-brand {
  justify-self: center;
  margin-right: 0;
}

.navbar-toggler {
  border-color: white; /* optional: makes border white */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.cart-container {
  align-items: center;
  gap: 1.5rem; /* Should work because .cart-container has both <a> and .dropdown as direct children */
}

.cart-icon,
.user-icon {
  font-size: 2.5rem; /* Bigger icons */
  color: white; /* White icons */
  transition: transform 0.2s ease-in-out;
}

.cart-icon:hover,
.user-icon:hover {
  transform: scale(1.2);
  color: #f0f0f0;
}

.user-dropdown {
  width: 300px;
}

.custom-offcanvas-title {
  font-family: CustomCursive;
  color: white;
  font-size: 1.6rem;
  transition: 0.2s ease-in-out;
}

.custom-offcanvas-title:hover {
  color: rgb(70, 184, 255);
}

.custom-offcanvas {
  background-color: rgb(200, 200, 200);
  width: 300px !important;
}

.custom-dropdown-toggle {
  display: block;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  letter-spacing: 1px;
  background: none;
  border: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease-in-out;
}

.custom-dropdown-toggle:hover {
  color: rgb(40, 40, 40);
}

/* Style the arrow (down by default) */
.custom-dropdown-toggle::after,
.custom-list-group-item::after {
  transition: transform 0.5s ease;
}

/* Rotate when expanded */
.custom-dropdown-toggle[aria-expanded="true"]::after,
.custom-list-group-item[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.custom-list-group-item {
  background-color: transparent;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: color 0.3s ease-in-out;
}

.custom-list-group-item:hover {
  color: rgb(41, 41, 41);
}

.child-item {
  padding-left: 36px;
}

/* -------------------------------------------------------------------------- */
/* ABOUT / BRAND SECTION */
/* -------------------------------------------------------------------------- */
.brand-section {
  background-color: rgb(200, 200, 200);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  text-align: center;
  padding: 20px;
}

.brand-content {
  padding-top: 50px;
  color: white;
}

.brand-title {
  font-family: CustomCursive;
  font-size: 6rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 15px;
}

.title-glow {
  font-weight: bold;
  color: white;
  transition: 0.3s ease-in-out;
}

.title-glow:hover {
  color: rgb(70, 184, 255);
}

.brand-description {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-text {
  color: white;
}
.about-title {
  font-family: CustomCursive;
}
.about-description {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}

@media (max-width: 800px) {
  .brand-section {
    height: 300px;
  }
  .brand-title {
    font-size: 4rem;
  }
  .brand-description {
    font-size: 1.2rem;
  }
}

/* Collection Text */
.collection-text {
  color: black;
  font-family: CustomCursive;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 30px;
}

/* -------------------------------------------------------------------------- */
/* SIZE FILTER */
/* -------------------------------------------------------------------------- */
.size-filter-container {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  padding-top: 10px;
}

.size-filter-container.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.size-filter-container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* -------------------------------------------------------------------------- */
/* PRODUCTS */
/* -------------------------------------------------------------------------- */
.products-container {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-card {
  position: relative;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.product-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.price-overlay {
  position: absolute;
  top: 10px;
  left: 70px;
  transform: translateX(-50%);
  background: grey;
  padding: 10px 15px;
  border-radius: 10px;
  width: auto;
  margin-bottom: 10px;
}

.price-text {
  font-size: 1rem;
  font-weight: bold;
  font-family: "CustomCursive", cursive;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bold-text {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.bold-text h2 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 1px;
}

.bold-text h3 {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 1px;
}

.bold-text-white {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 1px;
}

.text-white {
  color: white;
  letter-spacing: 1px;
}

.bold-text-link {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
}

.bold-text-link:hover {
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  transform: scale(1.05);
}

/* On hover, subtle glow/zoom */
.card:hover .product-img {
  transform: scale(1.05);
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 95%;
  max-width: 700px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.product-price {
  font-size: 1.7rem;
  font-weight: bold;
  color: #333;
}

.product-description {
  font-size: 1rem;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Buttons */
.btn-primary {
  background-color: grey;
  border: 1px solid grey;
  transition: background-color 0.3s ease-in-out;
}
.btn-primary:hover {
  background-color: white;
  color: grey;
  border: 1px solid grey;
}
button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Contact Styling (if needed) */
.contact-section {
  background-color: rgb(200, 200, 200);
  padding: 60px 20px;
  text-align: center;
}
.contact-section .container {
  max-width: 800px;
  margin: auto;
}
.contact-section .brand-title {
  font-family: CustomCursive;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}
.contact-section .brand-description {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.contact-section form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.contact-section .btn-primary {
  background-color: grey;
  border: none;
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out;
}
.contact-section .btn-primary:hover {
  background-color: white;
  color: grey;
  border: 1px solid grey;
}

/* Footer Styling */
.footer {
  background-color: grey;
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: auto;
}
.footer p {
  margin-bottom: 5px;
}
.footer .list-inline-item {
  margin: 0 10px;
}
.footer a {
  color: white;
  transition: color 0.3s ease-in-out;
}
.footer a:hover {
  color: #ff4500;
}

/* Base style for size buttons */
.size-btn {
  padding: 8px 14px;
  margin: 5px 6px 5px 0;
  border: 2px solid #888;
  border-radius: 8px;
  background-color: rgba(120, 120, 120, 0.2); /* Light gray background */
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.2s ease;
}

/* Hover effect */
.size-btn:hover {
  background-color: rgba(100, 100, 100, 0.3);
  border-color: #666;
  transform: translateY(-1px);
}

/* Selected (active) size button */
.size-btn.active {
  background-color: #666;
  color: white;
  border-color: #444;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.cart-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: rgb(199, 199, 199);
}

.section-one {
  background-color: lightskyblue;
}

.section-title {
  font-size: 3rem;
  font-family: CustomCursive;
}

.section-two {
  background-color: rgb(70, 184, 255);
}

.shop-section {
  padding: 3rem 2rem;
  border-radius: 8px;
  border: solid 5px white;
}

.shop-btn {
  font-size: 1.75rem;
  padding: 10px;
  margin: 10px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

/* ===================================================
   Dropdown Container & Button Styling
=================================================== */
.custom-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
}

.dropdown-selected {
  background-color: #666; /* Dark grey */
  border: 1px solid #666;
  border-radius: 4px;
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover state for the dropdown button */
.dropdown-selected:hover {
  background-color: #fff;
  color: #666;
  border: 1px solid #666;
}

/* ===================================================
   Dropdown Options Styling
=================================================== */
.dropdown-options {
  position: absolute;
  /* Opens upward with a 5px gap between the button and options */
  bottom: calc(100% + 5px);
  left: 0;
  width: 100%;
  border: 1px solid #666;
  border-radius: 4px;
  background-color: #666;
  z-index: 10;

  /* Animation properties */
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Visible state for dropdown options */
.dropdown-options.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ===================================================
   Individual Dropdown Option Styling
=================================================== */
.dropdown-option {
  padding: 8px 10px;
  text-align: center;
  color: #fff;
  background-color: #666;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Remove border on the last option */
.dropdown-option:last-child {
  border-bottom: none;
}

/* Hover state for dropdown options */
.dropdown-option:hover {
  background-color: #fff;
  color: #666;
}

.custom-dropdown.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
