/* Claude AI Code */

/* Variables */
:root {
  --font-heading: "Boldonse", system-ui;
  --font-body: "PT Serif", serif;
  --color-primary: #ffffff;
  --color-secondary: #d9d9d9;
  --color-dark: #3b3b3b;
  --color-info: #17a2b8;
}

/* Base Styles */
body {
  font-family: var(--font-body);
}

.heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
}

.thin {
  font-weight: 300;
}

.main-bg {
  background-color: var(--color-primary);
}

.dark-bg {
  background-color: var(--color-dark);
}

/* Navbar Styles */
.custom-navbar {
  background-color: var(--color-dark);
}

.navbar-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin: 0;
}

.navbar-brand {
  color: var(--color-primary) !important;
  text-decoration: none;
}

.auth-link {
  color: var(--color-primary);
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 0.8rem;
}

.auth-link:hover {
  color: var(--color-secondary);
}

.mobile-logo {
  height: 30px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.custom-toggler {
  border: none;
  color: var(--color-primary);
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.custom-toggler:focus {
  box-shadow: none;
}

.nav-collapse-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu-link {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  text-decoration: none;
  text-align: center;
  padding: 0.6rem 0;
  max-width: 280px;
  width: 100%;
}

.menu-link:hover {
  color: var(--color-secondary);
}

/* Navbar Search Styles */
.navbar-search {
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-search .form-control {
  border: none;
}

.navbar-search .btn {
  border: none;
}

.navbar-search .form-control:focus {
  box-shadow: none;
}

/* Menu Dropdown Styles */
.menu-dropdown {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.menu-dropdown-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.menu-link-main {
  width: auto;
  margin: 0;
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 0.95rem;
  padding: 0;
}

.menu-toggle-btn:focus {
  box-shadow: none;
}

.submenu-panel {
  margin-top: 0.75rem;
  padding: 0.5rem 0;
}

.submenu-section {
  margin-bottom: 1.25rem;
}

.submenu-heading {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.submenu-group-title {
  color: var(--color-secondary);
  font-weight: 700;
  margin: 0.5rem 0 0.2rem;
}

.submenu-link {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.25rem 0;
}

.submenu-link:hover {
  color: var(--color-secondary);
}

/* Homepage Styles */
.main-image {
  width: 100%;
  max-width: 950px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.leading-p {
  font-size: 1.4rem;
  max-width: 75%;
}

/* Merchandise Styles */
a.category-badge > span.badge:hover {
  background: #212529 !important;
  color: #fff !important;
}

.text-black {
  color: #000 !important;
}

.btt-button {
  height: 42px;
  width: 42px;
  position: fixed;
  bottom: 10px;
  right: 10px;
}

.btt-link {
  cursor: pointer;
}

/* Code Institute */
.btn.btn-black.rounded-0.text-uppercase.mt-5 {
    background-color: black;
    color: white !important;
    border-color: black;
}

.btn.btn-black.rounded-0.text-uppercase.mt-5:hover,
.btn.btn-black.rounded-0.text-uppercase.mt-5:active,
.btn.btn-black.rounded-0.text-uppercase.mt-5:focus {
    background-color: white;
    color: black !important;
    border-color: black;
}

/* ChatGPT Code */

.btn-black {
    background-color: #000;
    color: #fff;
    border: none;
}

.btn-black:hover {
    background-color: #222;
    color: #fff;
}

/* Code Institute Bootstrap Toast */

.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999999;
}

/* ChatGPT */
.custom-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.toast-capper {
    height: 2px;
}

/* from CSS-tricks.com: https://css-tricks.com/snippets/css/css-triangle/ */

.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent; 
    border-bottom: 10px solid black;
    position: absolute;
    top: -10px;
    right: 36px;
}

/* Code Institute - Convenience classes - colors copied from Bootstrap */
.arrow-primary {
    border-bottom-color: #007bff !important;
}

.arrow-secondary {
    border-bottom-color: #6c757d !important;
}

.arrow-success {
    border-bottom-color: #28a745 !important;
}

.arrow-danger {
    border-bottom-color: #dc3545 !important;
}

.arrow-warning {
    border-bottom-color: #ffc107 !important;
}

.arrow-info {
    border-bottom-color: #17a2b8 !important;
}

.arrow-light {
    border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
    border-bottom-color: #343a40 !important;
}

.bag-notification-wrapper {
    height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Shopping Bag Icon Styles */
.nav-link {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link i {
  color: var(--color-primary);
}

.nav-link-text {
  color: var(--color-primary);
}

.text-info {
  color: var(--color-info) !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.update-link,
.remove-item {
    cursor: pointer;
}

@media (max-width: 1199.98px) {
  .navbar .nav-link,
  .navbar .nav-link i {
    color: var(--color-primary) !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-link i {
    font-size: 1.2rem;
  }

  .nav-link span {
    font-size: 0.9rem;
    padding-left: 0.5rem;
  }

  /* Hide text on smaller screens */
  .nav-link span {
    display: none;
  }
}

@media (max-width: 767.98px) {
  /* Hide text on smaller screens */
  .nav-link span {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .leading-p {
    font-size: 1.2rem;
  }
}