/* Override header + nav links to black */
.md-tabs__link,
.md-nav__link,
.md-header__title {
  color: #111111 !important;
}

/* Dark mode version (slightly grayish) */
[data-md-color-scheme="slate"] {
  --umeet-link-color: #bcbcbc;
}

/* Dark mode header text */
[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-tabs__link,
[data-md-color-scheme="slate"] .md-nav__link,
[data-md-color-scheme="slate"] .md-header__title {
  color: #bcbcbc !important;
}

/* Global link styles */
.md-typeset a,
.md-breadcrumb__link {
  color: var(--umeet-link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Make logo bigger */
.md-header__button.md-logo img {
  height: 48px;
  border-radius: 10px;
}

/* Padding Top*/
.md-content__inner {
  padding-top: 2rem;
}

/* Round the logo image and shadow */
.md-content__inner p img[alt="UMeet Logo"] {
  border-radius: 16px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 3px 6px var(--md-accent-fg-color));
}

/* Hero heading */
.md-content__inner .hero-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--md-default-fg-color);
}

/* Section heading */
.md-content__inner .section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--md-default-fg-color);
}
/* Accent underline */
.md-content__inner .section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background-color: var(--md-accent-fg-color);
}

/* Announcement bar */
.announce-wrapper {
  padding: 0.5rem 0;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: left;
  color: #ffffff !important;
}
#announce-left {
  position: relative;
  height: 100%;
}
#announce-left .item {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
#announce-left .item.active {
  display: block;
  opacity: 1;
}
/* Announcement link */
.announce-link {
  color: inherit;
  text-decoration: none;
}
.announce-link svg {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  margin-right: 0.1rem;
  fill: currentColor;
}

/* Platform cards*/
.download-cards {
  gap: 2rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.download-card img {
  height: 150px;
  transition: transform 0.2s ease;
}
.download-card:hover img {
  transform: scale(1.05);
}

/* Modal */
.qr-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}
/* Responsive modal container */
.qr-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  height: auto;
  max-height: 90vh;
  position: relative;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--md-default-bg-color);
}
/* Modal text + headings */
.qr-modal-content h3 {
  margin-bottom: 1rem;
  color: var(--md-default-fg-color);
}
/* QR image sizing */
.qr-modal-content img {
  width: 80%;
  height: auto;
  max-height: 60vh;
}
/* Text under QR */
.qr-text {
  margin-top: 1rem;
  font-size: 0.95rem;
  word-wrap: break-word;
  font-weight: bold;
  color: var(--md-default-fg-color);
}
.light-text {
  font-weight: normal;
}
/* Close button */
.qr-close {
  position: absolute;
  font-size: 2rem;
  right: 20px;
  top: 1px;
  font-weight: bold;
  cursor: pointer;
  color: var(--md-default-fg-color);
}
/* Mobile adjustments */
@media (max-width: 480px) {
  .qr-modal-content {
    margin: 20% auto;
    padding: 1rem;
  }
  .qr-modal-content h3 {
    font-size: 1.1rem;
  }
  .qr-text {
    font-size: 0.8rem;
  }
}
