/* ===== General Layout ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #800000;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0; /* REQUIRED for sticky to work */
  z-index: 1000; /* Keeps navbar on top of other content */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #800000;
    text-decoration: none; /* remove underline */
}

.menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #800000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #a00000;
}

/* ===== Dropdown ===== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  font-weight: 600;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  background-color: #ffffff;
  border: 1px solid #800000;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 1000;
  padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #800000;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
}

/* ===== Linktree Button ===== */
.navbar .linktree-button {
  background-color: #800000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.linktree-button:hover {
  background-color: #d19a9a;
}

/* ===== Footer ===== */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  margin-right: 10px;
  gap: 20px;
}

.footer-class {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-bio {
  margin: 0 0 20px;
}

.footer-icon {
  display: flex;
  gap: 15px;
  font-size: 18px;
}

.footer-icon a {
  color: white;
  text-decoration: none;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer .linktree-button {
  background-color: #800000;
  color: #ffffff;
  width: 100px;
  height: 30px  ;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;   
}

.footer-heading {
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: 100px;
}

.footer-column-group a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 6px;
  margin-left: 100px;
}

.footer-column-group a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 16px;
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    margin-right: 0;
  }

  .footer-heading,
  .footer-column-group a {
    margin-left: 0;
  }

  .footer-icon {
    justify-content: flex-start;
  }

  .footer .linktree-button {
    width: auto;
    padding: 6px 12px;
    display: inline-block;
  }
}
