/* ===============================
   NAU Capstone Website Stylesheet
   =============================== */

:root {
    --nau-blue: #003466;
    --nau-gold: #FFC627;
}

/* Base layout fix for sticky footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Body + Typography */
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    position: relative;
    z-index: 0;

    /* Sticky footer essential layout */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background image (faded) */
body::before {
    content: "";
    position: fixed;         /* fixed ensures background doesn't move */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/background.png"); /* <-- replace with your image name */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;           /* transparency */
    z-index: -1;             /* behind all content */
    pointer-events: none;
}

/* Navbar */
.navbar-brand {
    color: var(--nau-blue);
}

/* Buttons */
.btn-primary {
    background-color: var(--nau-blue);
    border-color: var(--nau-blue);
}
.btn-primary:hover {
    filter: brightness(0.95);
}

/* Links */
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Image rules */
img {
    max-width: 100%;
    height: auto;
}

/* Card styling */
.card {
    border-radius: 1rem;
}

/* MAIN content must expand to push footer down */
main {
    flex: 1 0 auto;
}

/* Footer always sticks at bottom */
footer {
    flex-shrink: 0;
}
