/* Catalog Page Styles */
/* General Reset and Base */
* {
  box-sizing: border-box;
}

h1 {
  font-size: larger;
}

body {
  font-family: Arial;
  background: #fff;
  color: #2a2a2a;
  text-align: center;
  margin: 0;
}

p {
  padding: 1em;
}

a {
  color: #0074d4;
}

a:visited {
  color: #4d4545;
}

code {
  font-size: 1.1em;
}

.container {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.labelpill {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 90%;
  font-weight: 600;
  color: #fff;
  background-color: #28a745; /* green */
  border-radius: 0.25em;
  font-family: sans-serif;
}

.labelpill.bug {
  background-color: #d73a49; /* red */
}

.labelpill.feature {
  background-color: #007bff; /* blue */
}

.labelpill.documentation {
  background-color: #6f42c1; /* purple */
}

.modal-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal {
  background: white;
  padding: 2em;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal button {
  margin-top: 1em;
  padding: 0.5em 1.2em;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal button:hover {
  background: #0056b3;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 5em;
  background: #4d4545;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2em;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.shrink {
  height: 56px;
}

nav img.logo {
  height: 60%;
  max-height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-left: auto;
  cursor: pointer;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

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

.nav-links a:hover {
  color: #fad837;
}

.right-links {
  display: flex;
  align-items: center;
  gap: 1em;
  color: white;
  cursor: pointer;
  height: -webkit-fill-available;

}

.menu-icon {
  font-size: 1.8em;
  line-height: 1;
  color: white;
  padding: 0.24rem 0.3rem;
  margin: 1rem 2rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #4d4545;
  box-shadow:
    -4px 0 10px 0 rgba(0, 0, 0, 0.4), 
    4px 0 10px 0 rgba(0, 0, 0, 0.4);
  clip-path: inset(0px -15px -15px -15px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  min-width: 160px;
  z-index: 999;
  border-radius: 0 0 0 12px;
  font-size: large;
}

.right-links:hover .dropdown-menu {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  padding: 0.75em 1.5em;
  display: block;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: #fad837;
  color: #4d4545;
}

/* DESKTOP CSS for the footer section */
.footer-section-wrapper {
	background: linear-gradient(to top, #2a2a2a, #1a1a1a);
	color: #ccc;
	display: grid;
	justify-content: center;
	align-items: center;
	border-top: 1px solid #ccc;	
}

.footer-upper {
  max-width: 1000px;
  margin: auto 0 0 0;
  display: flex;
  flex-wrap: nowrap;
  width: -webkit-fill-available;
  gap: 4rem;
  position: relative;
  padding: 4rem;
  text-align: left;
  }

.footer-section {
  flex: 1 1 13rem;
}

.footer-lower {
  width: 100%;
  max-width: 1200px;
  padding: 3rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
}

.footer-heading {
	color: #fbb63f;
	margin-bottom: 0.8em;
	font-size: 1.1rem;
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fbb63f;
  text-decoration: underline;
}

.footer-top {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto
}

.footer-logo {
  max-width: 230px;
  object-fit: contain;
}

.footer-social a {
  margin: 0 0.4rem;
}

.footer-social img {
  height: 28px;
  width: 28px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-social img:hover {
  opacity: 1;
}

.footer-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fbb63f;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  color: #ccc;
  font-size: 0.85rem;
  text-align: center;
}