/* Main Page Style */
html, body {
  height: 100%;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

/* =========================
   Header / Navbar
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--color-primary);
}

/* Navbar Item Styles */
.navbar-nav .nav-item .nav-link {
    color: var(--color-white) !important;
}

.navbar-nav .nav-item .nav-link.active {
    color: var(--color-quaternary) !important; /* Active link color */
}

/* Navbar Dropdown Styles */
.navbar .dropdown-menu {
    background-color: var(--color-primary);
    border: none;
    box-shadow: 0px 4px 6px var(--color-shadow);
}

.navbar .dropdown-menu .dropdown-item {
    color: var(--color-white); /* White text */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--color-quaternary); /* Highlight color */
    color: var(--color-accent-primary);
    font-weight: bold;
}

/* Dropdown open on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Ensures the dropdown is aligned */
}

body.header {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Logo and text inline */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5rem; /* Larger font size for title */
}

.site-subtitle {
    font-size: 0.85rem; /* Smaller font size for subtitle */
    margin-bottom: 0;
}

/* To prevent the navbar from being covered */
main {
    position: relative;
    z-index: 10;
    padding-top: 80px; /* Adjust to the height of your navbar */
}

/* =========================
   Banner
========================= */

/* Banner wrapper */
#banner {
  margin-top: var(--navbar-height, 60px);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease-out;
  z-index: 0;
}

/* Banner image */
#banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fade banner on scroll */
#banner.shrink {
  opacity: 0;
}


/* =========================
   Footer
========================= */

footer {
	padding: 1em 0;
	margin-top: 60px;
	margin-bottom: 0 !important;
	background-color: var(--color-primary) !important;
	font-size: 90%;
	color: var(--color-white) !important;
}

.quick-links a {
	font-size: 2em;
	margin: auto 30px;
	transition: all 0.25s ease-in-out;
	color: var(--color-white);
}


.quick-links a:hover {
	color: var(--color-quaternary);
}
.footer-links a {
	transition: all 0.25s ease-in-out;
	color: var(--color-white);
	padding: 0 15px;
}

.footer-links a:hover{
	color: var(--color-quaternary);
}

.footer-sponsors .sponsor-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    height: 28px;
    transition: color 0.2s;
}

.footer-sponsors .sponsor-logo svg {
    height: 28px;
    width: auto;
}

.footer-sponsors .sponsor-logo:hover {
    color: var(--color-quaternary);
}
