/* Define CSS variables for reusability */
:root {
    --uhn-blue: #192958;
    --uhn-red: #c0233c;
    --white: #ffffff;
    --neutral: #e4e4e4;
    --lilac: #c58bbd;
    --cobalt: #255caa;
}

/* Global styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--uhn-blue);
    color: var(--white);
    text-align: center;
}

/* Header/banner section with background image */
header {
    background: url("<?= htmlspecialchars($meta['image']) ?>") center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    padding: 100px 20px 60px;
    border-top: 3em solid var(--uhn-blue);
}

/* Logo styling */
.logo-img {
    width: 200px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 3em auto;
    border: 4px solid var(--white);
}

/* Logo hover animation */
.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--uhn-blue);
}

/* Main title */
h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Intro card for homepage message */
.intro-card {
    background: var(--white);
    color: var(--uhn-blue);
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin: -40px auto 40px;
    max-width: 700px;
}

/* Primary button */
.btn-blue {
    color: var(--white);
    background-color: var(--uhn-blue);
}

.btn-blue:hover {
    color: var(--uhn-blue);
    background-color: var(--white);
    border-color: var(--uhn-blue);
}

/* Large call-to-action button */
.btn-custom {
    background-color: var(--uhn-red);
    color: var(--white);
    padding: 16px 24px;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    max-width: 500px;
}

.btn-custom:hover {
    background-color: var(--cobalt);
    transform: translateY(-2px);
}

/* External link indicator using Font Awesome */
.external-link::after {
    font-family: "Font Awesome 5 Free";
    content: "\f360";
    /* fa-external-link-alt icon */
    font-weight: 900;
    margin-left: 0.1em;
}

/* Footer styling */
footer {
    background-color: var(--cobalt);
    padding: 20px;
    color: var(--neutral);
}

/* Email link styling */
a.email {
    color: var(--cobalt);
    text-decoration: underline;
}

a.email:hover {
    text-decoration: none;
}

/* Responsive tweaks for smaller devices */
@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }

    .btn-custom {
        font-size: 1rem;
        padding: 14px 18px;
    }
}

/* Sticky table headers for better readability */
.table-responsive thead th {
    position: sticky;
    top: 0;
    background-color: var(--white);
    color: var(--uhn-blue);
}